Commit graph

170 commits

Author SHA1 Message Date
762af5dd48 issue: server DN default value evaluation time 2022-04-01 16:44:28 +00:00
821d72a773 init pki endpoint 2022-04-01 15:40:08 +00:00
78e0515042 CertificateType instead of str 2022-04-01 15:39:48 +00:00
72fc209349 HTTP 201 2022-04-01 06:35:28 +00:00
b291c20ed6 User.is_admin property 2022-04-01 06:20:20 +00:00
3b79efaa80 brevity 2022-04-01 00:14:12 +00:00
ae16c884d6 comments 2022-03-31 23:15:49 +00:00
26d171e6d3 refactoring 2022-03-31 16:59:14 +00:00
583d1de06a error messages 2022-03-31 16:49:04 +00:00
a88168b8d4 fix: device creation 2022-03-31 16:48:52 +00:00
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
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
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
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