Tim Gröger
95c9a5d7ee
Auto Merge
2020-11-12 21:57:28 +01:00
Ferdinand Thiessen
90f5267a36
[Controller] Fixed bug in registration, thanks @crimsen
2020-11-12 21:53:38 +01:00
Ferdinand Thiessen
fb631f92e9
[Controller] Fixed bug in registration, thanks @crimsen
2020-11-12 21:48:33 +01:00
Tim Gröger
0f64c718f5
[System] Usermodel geändert
...
* firstname und lastname nun 50 Zeichen lang
* email 60 zeichen lang
2020-11-12 19:30:18 +01:00
Tim Gröger
130774e665
[LDAP] User können erstellt werden.
...
* erstelle neuen user im ldap (ohne rollen)
2020-11-12 19:29:24 +01:00
Ferdinand Thiessen
c524f2a7db
[System] Fixed user controller to allow new roles
2020-11-12 16:58:40 +01:00
Ferdinand Thiessen
53c39f4f92
[System] Added util for 201&204 HTTP response and some code formatting
2020-11-12 00:12:52 +01:00
Ferdinand Thiessen
7074c29d63
[Script] Fixed export function to work with Optional (requires python 3.8+)
2020-11-11 23:56:07 +01:00
Ferdinand Thiessen
824ffc8675
[Plugin] Roles: Fixed controller and Model
...
* Identify role by id not name, as name might change
* Set permissions and Delete Role are fixed (db exception was thrown)
2020-11-09 03:44:35 +01:00
Ferdinand Thiessen
6f0e9854d6
[API][Plugin] Bugfix and API change
...
* users: Fixed bug in edit_user where if modify by admin
* API: Users return list of roles as string not Roles
2020-11-06 01:13:52 +01:00
Ferdinand Thiessen
7aba295e45
Fixed members of Session for frontend usage
2020-11-05 03:57:55 +01:00
Ferdinand Thiessen
03aefbb35a
[Plugin] balance: Allow debiting from own account if DEBIT_OWN is set
2020-11-02 17:12:59 +01:00
Ferdinand Thiessen
d8100b129e
[Plugin] schedule: Allow creating JobSlots from POST
2020-11-02 16:30:10 +01:00
Ferdinand Thiessen
5a8a4aa23d
[Plugin] schedule: Basics work (all models)
2020-11-02 15:45:38 +01:00
Ferdinand Thiessen
ac1189ecaa
[Plugin] schedule: Use utils to parse datetime
2020-11-02 15:45:38 +01:00
Ferdinand Thiessen
4da4c1ee01
[Plugin] schedule: Working Event, EventSlot, EventType and JobType
2020-11-02 15:45:38 +01:00
Ferdinand Thiessen
363ec6530b
[Plugin] schedule: Added EventType and JobType support
2020-11-02 15:45:38 +01:00
Ferdinand Thiessen
7dec0144d9
[Plugin] schedule: Fixed models and controller
2020-11-02 15:45:38 +01:00
Ferdinand Thiessen
b4234c43b8
[Plugin] schedule: Fixed models
2020-11-02 15:45:38 +01:00
Ferdinand Thiessen
63660743bd
[Plugin] schedule: Restructure plugin
2020-11-02 15:45:38 +01:00
Ferdinand Thiessen
67fb895cf4
[Plugin] auth: Handle exception if data is not json
2020-11-02 15:45:24 +01:00
Ferdinand Thiessen
79c05fa2f4
[System] Fixed typo in utils
2020-11-02 13:38:52 +01:00
Ferdinand Thiessen
22499b7ece
[System][Plugin] Allow military timezone names for datetime
2020-11-02 13:32:44 +01:00
Ferdinand Thiessen
56a0a8e06a
[System][Script] Improved run_flaschengeist to also export plugin models
2020-11-02 04:38:38 +01:00
Ferdinand Thiessen
d1fcbcf68f
[Plugin] balance: Fixed controller
2020-11-02 03:29:29 +01:00
Ferdinand Thiessen
d07aa977b5
[Doc] Some more documentation on Plugin
2020-11-01 18:43:44 +01:00
Ferdinand Thiessen
d439cd93c8
[Plugin] balance: Enhanced the model by adding serialization members
2020-11-01 18:38:53 +01:00
Ferdinand Thiessen
36c4027c5d
[System] Some cleanup
2020-11-01 18:37:08 +01:00
Ferdinand Thiessen
2f9446be2f
[Doc] Some more documentation
2020-11-01 16:25:54 +01:00
Ferdinand Thiessen
425eb1c849
[Plugin] balance: Added config option to add a default limit
2020-11-01 16:16:51 +01:00
Tim Gröger
66d559f63b
Fixed Bug to check Permissions
2020-10-31 21:30:48 +01:00
Ferdinand Thiessen
7b2334bd98
[Plugin] Remove redundant code, balance and roles
2020-10-31 18:03:04 +01:00
Ferdinand Thiessen
39f34ff434
[Plugin] Fixed return values for balance and roles routes
2020-10-31 15:23:49 +01:00
Ferdinand Thiessen
e5b39a6ef6
[Plugin] Fixed return values in auth and users routes
2020-10-31 15:20:28 +01:00
Ferdinand Thiessen
278111bf5e
Added wsgi file
2020-10-31 01:17:14 +01:00
Ferdinand Thiessen
de5a2e1c65
Added registration feature
2020-10-31 00:02:02 +01:00
Ferdinand Thiessen
5da5fcde8f
[System] Some improvements on models and decorator
...
* User: userid is now not nullable
* Session: __eq__ fixed
* decorator: split decorator and session extration
2020-10-31 00:00:23 +01:00
Ferdinand Thiessen
9455920141
[System] config now deep update when multiple config files are used
2020-10-30 23:59:07 +01:00
Ferdinand Thiessen
f60c06bc17
Some Cleanup of setup.py and documentation in auth
2020-10-30 22:19:16 +01:00
Ferdinand Thiessen
9bbcaa5bc9
[DB] Breaking change: User Attribute is now a pickle type
2020-10-30 22:18:46 +01:00
Ferdinand Thiessen
ff6c973eef
[System] Fixed issue when Authorization header is missing
2020-10-30 22:17:43 +01:00
Ferdinand Thiessen
32783041d8
[Plugin] Added balance plugin
...
Extends the users plugin.
* Users can have an account with a balance
* Users can send from them to others
* Admins can set the balance
* Admins can set limits
2020-10-30 22:15:37 +01:00
Ferdinand Thiessen
e0d3b211bb
[Doc] User plugin documentation created
2020-10-30 05:53:15 +01:00
Ferdinand Thiessen
8a9776ae0e
[Doc] More documentation on decorator and plugins roles and auth*
2020-10-30 04:05:59 +01:00
Ferdinand Thiessen
a5d3b837cd
Restructured project, renamed modules, removed geruecht as it is dead.
2020-10-30 03:30:46 +01:00
Ferdinand Thiessen
58302595f3
[Doc] Added full documentation to Auth
2020-10-30 03:06:18 +01:00
Ferdinand Thiessen
4a7caad7e8
[Doc] pdoc route documentation test
2020-10-30 02:46:29 +01:00
Ferdinand Thiessen
56fff76bc2
[Doc] pdoc route documentation test
2020-10-30 02:28:15 +01:00
Ferdinand Thiessen
6dfdffebf9
[Doc] Some more documentation
2020-10-30 02:12:06 +01:00
Ferdinand Thiessen
50b6ac85ce
[Plugin] auth_* Fixed some minor issues
2020-10-29 02:07:40 +01:00