Ferdinand Thiessen
4b2cb56fbe
[System] Fix issue with avatar in userController
2020-11-18 03:18:52 +01:00
Ferdinand Thiessen
57930837ac
[Plugin] balance: Added reverting feature
2020-11-18 02:55:31 +01:00
Ferdinand Thiessen
737dd9d5cf
[Plugin]auth: Fixed possible issue with POST paramenters on login
2020-11-18 02:48:44 +01:00
Ferdinand Thiessen
4a4930d683
[Plugin] Schedule: Mostly final backend implemented. Tested.
2020-11-18 02:47:40 +01:00
Ferdinand Thiessen
6612a84cd3
[System] avatar URL needs to be generated as path might change
2020-11-18 01:56:33 +01:00
Ferdinand Thiessen
40651c3279
[Script] Respect root if running devel server
2020-11-18 01:55:02 +01:00
Ferdinand Thiessen
2d6b86e2eb
[System][Plugin] Improved Hooks, roles and auth_ldap improvements
...
* Hooks now allow multiple hooked functions
* Hooks can now be called before and after a function call
* Fixed issue in datetime util when string is None or empty
* Roles: Return new created role as json
* auth_ldap: Use new Hooks
* auth_ldap: Fixed an issue where ldap response is not checked (when role gets renamed)
2020-11-18 00:39:25 +01:00
Ferdinand Thiessen
58e121473b
Fixed avatar URL
2020-11-17 17:46:07 +01:00
Ferdinand Thiessen
88ff46c193
[Plugin] auth_plain: Implemented Avatar
2020-11-17 03:32:47 +01:00
Ferdinand Thiessen
28865649b4
[Plugin] Use plugin function instead of HookCall
2020-11-17 03:28:04 +01:00
Ferdinand Thiessen
39a259a693
[Plugin] roles: New permission needed for deleting roles
2020-11-16 14:21:19 +01:00
Ferdinand Thiessen
09c7f4a258
[Plugin] auth_ldap: Use Pillow to convert avatar if installed
2020-11-16 13:35:23 +01:00
Ferdinand Thiessen
a270857c41
[Plugin]users, auth_ldap: Implemented avatar
2020-11-16 02:30:24 +01:00
Ferdinand Thiessen
9409533f7c
[Plugin] Users: Allow roles in data if not changed.
2020-11-15 19:44:49 +01:00
Ferdinand Thiessen
602e1bc941
[System] Detect offline database
2020-11-15 18:53:46 +01:00
Ferdinand Thiessen
1d36aa4033
[Script][System] Added date as export format and added birthday as user attribute
2020-11-15 15:52:20 +01:00
Tim Gröger
04753e9a41
[Role] Fix Rolerename
...
Wenn gleicher name mitgesendet wird, wird die umbenennung nicht durchgeführt.
2020-11-15 14:19:59 +01:00
Tim Gröger
c7642758ed
[LDAP] editieren von bestehenden rollen.
2020-11-15 01:21:32 +01:00
Tim Gröger
709b4c6aef
Merge remote-tracking branch 'origin/pluginify' into pluginify
2020-11-14 13:18:47 +01:00
Tim Gröger
2365f07588
[auth_ldap] lösche nicht benutzte gruppen im ldap
...
benötigt eine neue konfiguration des ldaps. Maingruppen dürfen nicht in der gleichen organisationunit wie alle anderen rollen sein.
2020-11-14 13:18:17 +01:00
Tim Gröger
89257a7d37
[auth_ldap] delete unused roles in ldap
2020-11-14 13:16:30 +01:00
Ferdinand Thiessen
f9a873d303
[System] Fixed typo
2020-11-13 08:24:25 +01:00
Ferdinand Thiessen
2e77855fe9
[System] Fixed HTTP status when user has insufficient permission
2020-11-13 03:57:23 +01:00
Ferdinand Thiessen
cbcd5b39a3
[Plugin] Added plugin function when roles are modified
...
LDAP: Use same config style as the rest.
2020-11-13 01:20:25 +01:00
Tim Gröger
96765ee932
[LDAP] Neue Rollen werden hinzugefügt
2020-11-12 23:42:03 +01:00
Tim Gröger
65af9ab367
[LDAP] Rollen updaten
...
* LDAP-Rollen werden geupdatet, wenn User geändert wird
* LDAP-Rollen werden geupdatet, wenn eine neue Person hinzugefügt wird.
2020-11-12 22:47:10 +01:00
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