Commit Graph

8 Commits

Author SHA1 Message Date
Marc Bulling
d88f649209 Add support for multiple different users, rewrote API, breaking API changes, UI changes
* Require 1.9.6 for upgrade, add function to get userID from request

* Automatically add user when successfully authenticated with headers / oauth, disallow modifing own user permissions

* Dont show user/pw page when using header authentication

* Only display redacted versions of API keys #228, fixed deployment password

* Added animation for deleting API key

* Only create salt once

* Disable elements on upload UI if insufficient permissions

* BREAKING: User field must be email for OAUTH2, added warning in setup when changing database

* BREAKING: Added option to restrict to only registered users

* Fixed crash due to concurrent map iteration

* Replace /uploadComplete with API call, BREAKING API is now in headers

* BREAKING: require true|false instead of only checking for true

* BREAKING API: Renamed apiKeyToModify parameter to targetKey
2025-02-04 09:22:55 +01:00
Marc Ole Bulling
53d27c2889 Make /uploadComplete non blocking (#224), added /files/list/{id} API call, changed UploadStatus from database to in-memory, internal WebUI calls return 401 if unauthorised, make specific-test verbose 2024-12-14 13:24:23 +01:00
Marc Ole Bulling
0d40a017f9 Fixed test, do not use cached test when using make test-specific 2024-12-11 18:19:01 +01:00
Marc Ole Bulling
3130917829 Fixed crash when OIDC returns nil for groups #198, added make file build to include debug symbols, minor rewording 2024-07-29 19:51:05 +02:00
Marc Ole Bulling
b56970bf88 Add Redis support / make database location and provider selectable in setup (#180) 2024-07-07 22:13:51 +02:00
Marc Ole Bulling
7fef0450bc Updated makefile, added tests, remove lastupdate database entry for uploadstatus 2024-06-09 19:33:23 +02:00
Marc Ole Bulling
b14d9f9e51 Added tests and coverage to makefile, updated dependencies, added tests 2024-06-09 17:43:45 +02:00
Marc Ole Bulling
9dc9aa5df8 Added makefiles 2024-06-07 19:18:18 +02:00