|
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 |
|
|
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 |
|
|
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 |
|
|
a465dba92e
|
side effects
|
2022-03-28 22:07:12 +00:00 |
|
|
7dbd25b894
|
rollback tablename settings
|
2022-03-28 21:54:39 +00:00 |
|
|
21b85d7cfa
|
formatting
|
2022-03-28 21:41:56 +00:00 |
|
|
499c97a28a
|
Capability -> UserCapabilityType
|
2022-03-28 21:41:49 +00:00 |
|
|
5b623e885c
|
table names
|
2022-03-28 21:26:47 +00:00 |
|
|
270de7f87c
|
Settings.config_file_name
|
2022-03-28 21:00:16 +00:00 |
|
|
1b24861e48
|
Docstrings
|
2022-03-28 20:58:40 +00:00 |
|
|
3d2abbc39b
|
fix user router
|
2022-03-28 20:18:19 +00:00 |
|
|
77b40cb836
|
User.delete return value
|
2022-03-28 20:18:00 +00:00 |
|
|
a5783a0c40
|
fix: typing
|
2022-03-28 20:04:49 +00:00 |
|
|
aa8563995e
|
Settings.get() -> Settings._
|
2022-03-28 20:04:19 +00:00 |
|
|
799b2f7585
|
simplify set_config
|
2022-03-28 02:38:52 +00:00 |
|
|
d9a9ad98f7
|
Merge branch 'develop' into feature/db-redesign
|
2022-03-28 02:34:44 +00:00 |
|
|
71ac02e5d7
|
actually, app must be a string!
|
2022-03-28 02:33:56 +00:00 |
|
|
d406f15382
|
app not a string
|
2022-03-28 02:29:14 +00:00 |
|
|
a20699d6ca
|
Merge branch 'develop' into feature/db-redesign
|
2022-03-28 02:27:28 +00:00 |
|
|
6b6da69bb4
|
app not a string
|
2022-03-28 02:27:14 +00:00 |
|
|
ca955d1104
|
fix for crypt_context and load()
|
2022-03-28 02:23:00 +00:00 |
|
|
3d83ddb6cc
|
Config.load_sync -> Config._
|
2022-03-28 02:15:42 +00:00 |
|
|
b7179e7cfc
|
limit query
|
2022-03-28 02:03:31 +00:00 |
|
|
ce9ea61da5
|
some testing stuff
|
2022-03-28 02:02:12 +00:00 |
|
|
19dd5aaee7
|
use correct database URI
|
2022-03-28 02:00:58 +00:00 |
|
|
ae8894f5cc
|
repaired admin routes
|
2022-03-28 01:52:56 +00:00 |
|
|
12432286bf
|
rename db_new -> db
|
2022-03-28 01:34:52 +00:00 |
|
|
b4a74aca5f
|
remove old db
|
2022-03-28 01:34:15 +00:00 |
|
|
0619f00f6a
|
rework common and admin router for new db
|
2022-03-28 01:31:37 +00:00 |
|
|
6012998ecf
|
don't play with new db
|
2022-03-28 01:30:37 +00:00 |
|
|
d41cd9b15b
|
check if user can do
|
2022-03-28 01:28:49 +00:00 |
|
|
22e1ef7bf4
|
don't require email
|
2022-03-28 01:00:07 +00:00 |
|
|
396359ceff
|
message to future me
|
2022-03-28 00:59:53 +00:00 |
|
|
89069c9d0f
|
typo
|
2022-03-28 00:55:18 +00:00 |
|
|
bc3f7984f5
|
some fun with db_new
|
2022-03-28 00:50:21 +00:00 |
|
|
c7f93d468e
|
rename
|
2022-03-28 00:50:00 +00:00 |
|
|
24ade65bb0
|
db_new interface
|
2022-03-28 00:48:59 +00:00 |
|
|
04a5798258
|
capabilities rework
|
2022-03-28 00:48:44 +00:00 |
|
|
730c7ab966
|
add devices
|
2022-03-28 00:43:28 +00:00 |
|
|
e2f916debc
|
Capabilities
|
2022-03-27 13:47:38 +00:00 |
|
|
9625336df9
|
User CRUD
|
2022-03-27 13:47:18 +00:00 |
|
|
ae3627cbe0
|
use "cls"
|
2022-03-27 01:22:28 +00:00 |
|
|
e7030eb521
|
"user" table with sqlmodel
|
2022-03-27 01:17:54 +00:00 |
|
|
8daeb946f8
|
Merge branch 'develop' into feature/db-redesign
|
2022-03-26 16:06:11 +00:00 |
|
|
b5e9323026
|
git close diff on operation
|
2022-03-26 16:05:36 +00:00 |
|
|
94fbab278c
|
add models.User.from_db()
|
2022-03-26 01:49:47 +00:00 |
|
|
557bceed1f
|
legacy
|
2022-03-25 23:56:57 +00:00 |
|
|
c47fa5a89b
|
split db.schemas -> db.schemata package
|
2022-03-25 23:54:19 +00:00 |
|
|
02225cdf09
|
plan models + schemas
|
2022-03-25 23:03:56 +00:00 |
|
|
1ed3b587c7
|
quark
|
2022-03-25 15:50:45 +00:00 |
|
|
972359cb49
|
router tags
|
2022-03-24 23:45:01 +00:00 |
|
|
c117698e48
|
use APIRouter instead of another FastAPI
|
2022-03-24 23:44:51 +00:00 |
|
|
c0e21315e7
|
easyrsa gen-dh
|
2022-03-24 23:27:35 +00:00 |
|
|
5b873aed18
|
add git-flow
|
2022-03-24 22:56:29 +00:00 |
|
|
46fa347451
|
fix common getters
|
2022-03-24 15:51:36 +00:00 |
|
|
437bc570e4
|
Endpoint POST api/dn
|
2022-03-23 15:44:35 +00:00 |
|
|
ac6e506486
|
back population
|
2022-03-23 15:30:22 +00:00 |
|
|
c4ad9a8e40
|
Error 404
|
2022-03-23 15:27:41 +00:00 |
|
|
814a19d864
|
nullables + Type hints
|
2022-03-23 15:00:35 +00:00 |
|
|
fba1bf6514
|
nonexistent user deletion
|
2022-03-23 13:42:43 +00:00 |
|
|
70df7a47db
|
typo
|
2022-03-23 13:40:14 +00:00 |
|
|
673c91bc33
|
User creation/deletion
|
2022-03-23 13:25:00 +00:00 |
|
|
f886f9e9dc
|
add User.is_admin()
|
2022-03-23 13:23:33 +00:00 |
|
|
2ed09a5b3f
|
brevity
|
2022-03-23 01:17:38 +00:00 |
|
|
ae73c8ff70
|
add and remove capabilities
|
2022-03-23 00:41:45 +00:00 |
|
|
5dce05816f
|
minor DB refactoring
|
2022-03-22 16:29:02 +00:00 |
|
|
12d39bb923
|
experiments no longer needed
|
2022-03-22 00:57:09 +00:00 |
|
|
f671e1efa9
|
crude EasyRSA class
|
2022-03-22 00:34:06 +00:00 |
|
|
e3acc9b7e0
|
User update
|
2022-03-20 13:14:12 +00:00 |
|
|
98cdc43bb2
|
poetry update
|
2022-03-20 04:01:00 +00:00 |
|