-
eef2517480
apply formatting with current black/isort versions
main
ac107458
2024-04-08 12:28:53 +02:00
-
fa2bec5299
fix dataclasses.field(init=...) parameter - should be a bool (mypy lint)
ac107458
2024-04-08 12:26:52 +02:00
-
7082eeeda7
add labels and conntrack stats to prometheus output
ac107458
2023-11-15 17:29:59 +01:00
-
5c5a309934
make path of custom templates and static files configurable
ac107458
2023-11-15 13:14:45 +01:00
-
a7dc356dd9
mypy: enable warn_redundant_casts, warn_unused_ignores, warn_unreachable
ac107458
2023-11-15 12:55:36 +01:00
-
39191514cc
mypy: enable warn_return_any
ac107458
2023-11-15 12:21:51 +01:00
-
fdd38d7498
move flake8 and mypy to lints.sh; add fmts.sh; use more linters
ac107458
2023-11-15 12:15:57 +01:00
-
09ddea939c
order imports with isort
ac107458
2023-11-15 11:22:00 +01:00
-
0f45f89211
format with black (mostly quotes)
ac107458
2023-11-15 10:02:28 +01:00
-
ced589f28a
replace some typing.* constructs with native ones
ac107458
2023-11-15 10:35:38 +01:00
-
29d1a3226a
fix DispatchingJinjaLoader to not use internal methods of parent class
ac107458
2023-11-15 08:57:59 +01:00
-
9e31c8c673
support custom location for database persistent statefile (defaults to "capport.state" in cwd)
ac107458
2023-08-08 13:35:43 +02:00
-
8eedb6b367
ipneigh: handle missing mac from neighbor entry
ac107458
2023-08-02 12:03:30 +02:00
-
2a3bd36d3b
templates: add ip_in_networks test
ac107458
2023-08-02 11:23:20 +02:00
-
79a21c20cb
stats: fix capport_unique_ipv6 comment
ac107458
2023-11-15 09:33:20 +01:00
-
437e78d395
add api-port and controller-port config options
ac107458
2023-11-15 09:30:15 +01:00
-
ab804354de
add --config CLI parameter
ac107458
2023-11-15 09:20:36 +01:00
-
1acb693e2b
nft_socket.NFTTransaction: use pyroute2 nlm_request_batch instead of hack. fixes leak of sequence ids.
ac107458
2023-03-22 13:50:34 +01:00
-
3d74447fd9
can't abort transaction if creation failed
ac107458
2023-03-22 10:41:09 +01:00
-
a89e884b75
add contrib
ac107458
2023-01-13 14:05:05 +01:00
-
5e1e67f2c4
move project to our public git
ac107458
2023-01-12 15:27:26 +01:00
-
867044a407
hypercorn forks workers now, don't want that - manual hypercorn calls
ac107458
2023-01-12 15:13:27 +01:00
-
26357f7f21
pyroute2 fixed NFTA_SET_ELEM_LIST_TABLE
ac107458
2023-01-12 14:28:17 +01:00
-
d31abea777
upgrade dependencies too on ./setup-env.sh run
ac107458
2023-01-12 14:20:58 +01:00
-
3a45b2be4d
upgrade requirements on ./setup-env.sh run
ac107458
2023-01-12 14:18:53 +01:00
-
9325950f51
flake8 linting
ac107458
2023-01-12 13:16:51 +01:00
-
f9c9b98868
update pyroute2 handling (pr2modules is gone)
ac107458
2023-01-12 12:17:49 +01:00
-
65116375b3
update compiled protobuf
ac107458
2023-01-12 11:52:08 +01:00
-
b9b0e422fd
fix typing in ipneigh
ac107458
2022-04-12 12:13:29 +02:00
-
5cecfb4bbe
support systemd notify and watchdog
ac107458
2022-04-12 11:46:30 +02:00
-
416b0c1770
don't bind iproute netlink socket
ac107458
2022-04-12 10:27:44 +02:00
-
f1b36bd171
prometheus stats cli tool
ac107458
2022-04-11 18:17:00 +02:00
-
c753f490ac
move reverse proxy "fix" to before request context gets created so url_for gets fixed too
ac107458
2022-04-11 16:48:53 +02:00
-
30e50a599f
extend README with a few internals
ac107458
2022-04-11 12:25:11 +02:00
-
aa23f6b24f
fix Origin https scheme check
ac107458
2022-04-11 10:31:51 +02:00
-
123e94111d
improve Origin handling; forbind non-https origins in production
ac107458
2022-04-11 10:29:17 +02:00
-
3059a81d56
patch pyroute2 set_elem list elem attr type
ac107458
2022-04-11 09:17:23 +02:00
-
2a778ff46c
login/logout only valid from some origin as host (and host is already checked by hypercorn)
ac107458
2022-04-08 17:39:58 +02:00
-
156e11a882
add time helpers to MacPublicState for views
ac107458
2022-04-08 16:35:53 +02:00
-
daf21d0afd
find custom static folder
ac107458
2022-04-08 11:49:40 +02:00
-
dd9c21b431
increase cleanup time to 5 minutes
ac107458
2022-04-07 17:26:37 +02:00
-
896cd93224
disable buffering for incremental statefile updates
ac107458
2022-04-07 17:24:52 +02:00
-
1896f33c77
fix statefile load, increasing cleanup time
ac107458
2022-04-07 17:18:09 +02:00
-
e1b1ec195f
sync controller database to disk and load it on start
ac107458
2022-04-07 17:11:11 +02:00
-
1e23b1205a
remove debug line in index view
ac107458
2022-04-07 15:12:25 +02:00
-
2e6b368670
login/logout: check client mac from form as csrf protection, check accept in login
ac107458
2022-04-07 15:11:24 +02:00
-
237640f0d7
fix resetting session lang if unset
ac107458
2022-04-07 14:59:14 +02:00
-
8de390b6f9
use debug loglevel for login/logout messages
ac107458
2022-04-07 14:54:21 +02:00
-
f8a3676555
only set session (cookie) lang on changes
ac107458
2022-04-07 13:56:02 +02:00
-
7420b4107e
fix i18n
ac107458
2022-04-07 13:53:45 +02:00
-
71e7fe7b09
support i18n
ac107458
2022-04-07 13:26:52 +02:00
-
99db542326
remove flash messages
ac107458
2022-04-07 12:12:28 +02:00
-
7e15835ebd
split templates, add static files (bootstrap 5.1.3)
ac107458
2022-04-06 20:35:42 +02:00
-
4d98d825bf
split api, support custom templates
ac107458
2022-04-06 19:47:08 +02:00
-
4ef792e97d
support hypercorn server_names against dns rebind attacks, add cookie sessions to flash messages
ac107458
2022-04-06 18:59:07 +02:00
-
d1050d2ee4
initial commit
ac107458
2022-04-04 19:21:51 +02:00