Commit graph

176 commits

Author SHA1 Message Date
008f0b2cf6 require email field 2022-03-31 16:34:36 +00:00
5d0d996288 resolved all warnings 2022-03-31 16:32:07 +00:00
69b0a619e0 test: certify device with id 1 2022-03-30 23:59:25 +00:00
968e9491cf use ORG mode for client- and server certs 2022-03-30 23:41:34 +00:00
2566702d9e actually issuing certs 2022-03-30 22:27:17 +00:00
23a806e325 create /service router 2022-03-30 21:19:06 +00:00
a524c02138 easyrsa: use config 2022-03-30 21:18:54 +00:00
366b4dc6a0 rename launch config 2022-03-30 21:17:43 +00:00
1f4a9994a6 get_current_config dependable 2022-03-30 20:57:09 +00:00
d98d234cc1 formatting 2022-03-30 20:55:53 +00:00
c1e7f31501 main_router prefix 2022-03-30 20:43:31 +00:00
d9552cbf42 make some config parts optional 2022-03-30 11:24:47 +00:00
24721dd342 better type hinting 2022-03-30 11:15:38 +00:00
e1ae186382 typo/regression 2022-03-30 10:53:52 +00:00
e078c7b094 minor refactoring 2022-03-30 10:53:36 +00:00
53cb7c9c1e doc strings 2022-03-30 10:43:02 +00:00
d6702165b8 clarifications 2022-03-30 10:36:14 +00:00
f6032829cd Device.approved 2022-03-30 10:23:24 +00:00
667fcba559 plan: server props 2022-03-30 10:15:24 +00:00
b202f85d3b country max_length 2022-03-30 08:30:20 +00:00
f899e0c0df Merge branch 'feature/permission-rework' into develop 2022-03-30 02:17:43 +00:00
d02239816a admin can login 2022-03-30 02:16:06 +00:00
cb3a3fca69 typo 2022-03-30 02:11:04 +00:00
598b0ca2cb remove NEEDS_ADMIN 2022-03-30 02:07:22 +00:00
3b66565481 remove get_current_user_if_admin 2022-03-30 02:02:45 +00:00
9b5a98e0c0 rework User methods 2022-03-30 01:51:58 +00:00
03d3a86668 basic permissions system 2022-03-29 23:36:23 +00:00
0d02c24b64 start "permission" implementation 2022-03-29 20:47:25 +00:00
bb53bab0c0 rename "capability" -> "tag" 2022-03-29 20:22:03 +00:00
e11f96b0af dirty commit 2022-03-29 16:35:41 +00:00
fdce81c5a3 refactor get_user_by_name_if_editable 2022-03-29 16:12:55 +00:00
5990577699 possible security flaw 2022-03-29 16:12:29 +00:00
617ae92d72 deleting a device 2022-03-29 15:56:25 +00:00
0c8298871f several minor fixes 2022-03-29 15:56:25 +00:00
ec0f7890ef rename rollback 2022-03-29 15:56:25 +00:00
fdc85bf529 don't delete yourself 2022-03-29 15:56:25 +00:00
f058f29d9a use kwarg in User.create 2022-03-29 15:56:25 +00:00
4120a9b71f Merge branch 'develop' into develop 2022-03-29 00:20:14 +00:00
4ca92a11b2 remove ugly kwargs versions 2022-03-29 00:14:36 +00:00
8a0058f7f0 cleanup in _common 2022-03-29 00:13:38 +00:00
d3ed11fce4 use get_user_by_name 2022-03-29 00:10:24 +00:00
186ac0eab3 User.create() methods 2022-03-29 00:01:28 +00:00
865e712ea5 POST /device route 2022-03-29 00:01:12 +00:00
cd3cccb540 minor bugs 2022-03-28 23:22:32 +00:00
e4548aab3a remove SQLAlchemy direct dependency 2022-03-28 23:07:13 +00:00
a87a1848c9 pyproject reformat, poetry update 2022-03-28 23:06:11 +00:00
d42ef089ff Merge pull request 'develop1' (#1) from Yavook.de/kiwi-vpn:develop into develop
Reviewed-on: penner/kiwi-vpn#1
2022-03-28 22:27:11 +00:00
567b863742 comment 2022-03-28 22:25:37 +00:00
dbbe7a8c35 syntax error 2022-03-28 22:20:25 +00:00
6254daa51d check: user can login, "admin" can do everything 2022-03-28 22:17:31 +00:00