20 Commits

Author SHA1 Message Date
c239819376 validate file version on upload 2025-02-04 19:40:34 +01:00
50d0f6dfa5 implement user creation, getting and deletion, add locking to file uploads, add some more .bru 2025-02-02 17:34:58 +01:00
163d2a61ca implement simple locking to be used for locking simultaneous updates of files 2025-02-01 22:53:24 +01:00
Nico Fricke
c53bdb0ad3 improve sqlite integration
- add BEFORE_DISCONNECT and AFTER_CONNECT to run some pragmas on connection creation and destruction
- add STRICT keyword to create table statements and fix not existing DATETIME in sqlite
- use env::temp_dir to get a temp directory to run the database tests against which should make this runnable on windows as well
- create/update version of FileModel in database when updating it
2025-01-31 09:55:02 +01:00
851c74cd2d implement repo and add some tests 2025-01-30 21:16:34 +01:00
Nico Fricke
0384364579 wip: add repository trait, implement simple database with sqlite 2025-01-30 15:50:58 +01:00
8ce49f7c3d refactor: move jwks loading to function 2025-01-22 19:58:05 +01:00
a574efb3b1 fix Cargo.lock 2025-01-22 19:56:29 +01:00
6bbe4ea6ae feat: oidc login (#5)
Co-authored-by: Nico Fricke <nfricke@eos-uptrade.de>
Reviewed-on: #5
Co-authored-by: Nico Fricke <nico@nifni.net>
Co-committed-by: Nico Fricke <nico@nifni.net>
2025-01-22 19:40:01 +01:00
Nico Fricke
edf6e84a9a add bruno collection 2025-01-17 14:05:02 +01:00
Nico Fricke
fb025fa4cc implement file downloads 2025-01-17 13:56:56 +01:00
Nico Fricke
f8a13f095b refactor small things and add some documentation 2025-01-16 17:12:00 +01:00
Nico Fricke
2eee67bdd1 implement endpoint to list files in a directory 2025-01-16 16:45:27 +01:00
Nico Fricke
5023028c50 add some proper error handling for some edge cases instead of using unwrap and move some common utils to the files mod.rs 2025-01-15 11:00:13 +01:00
Nico Fricke
6c850263ad move file upload to its own module to prepare for more stuff around files 2025-01-15 09:29:02 +01:00
Nico Fricke
dfbc5ad6b0 move routes to routes.rs from folder + mod.rs structure 2025-01-15 09:23:35 +01:00
Nico Fricke
897bbeb198 implement fileupload 2025-01-15 09:13:00 +01:00
Nico Fricke
d86ac5822c add proper configuration and logging 2025-01-13 07:38:26 +01:00
Nico Fricke
1e2df49ced initial 2025-01-08 15:24:07 +01:00
Nico Fricke
b794efd304 initial 2025-01-08 15:23:32 +01:00