Commit Graph

12 Commits

Author SHA1 Message Date
Marc Bulling
9a574dbed5 Added a CLI tool for uploading that also supports e2e (#280) 2025-08-08 16:51:54 +02:00
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
94def515ca Added tests, changed version number 2024-07-15 13:30:28 +02:00
Marc Ole Bulling
9c9ea6dbb7 Add end-to-end encryption (#71)
* Added WASM module for e2e

* Added cmd util to read database

* Changed to go 1.19

* Fixed crash with random string generator

* Fixed typos and tests

* Host service worker on github
2022-08-11 13:37:55 +02:00
Marc Ole Bulling
3ea8e22042 Added comments, fixed tests 2022-07-27 14:08:17 +02:00
Marc Ole Bulling
44260f012b Use chunked uploads instead of single upload (#68)
* Change to chunked uploads

* Renamed SHA256 attribute to SHA1

* Breaking: removed /upload endpoint

* Changed timeout to 15 minutes for reading

* Change session key only after 12 hours

* Added API calls for chunk upload, refactoring, added tests

* Add content-type based on file extension for images if empty
2022-07-25 13:21:38 +02:00
Marc Ole Bulling
23feaa241c Fixed bug where encrypted files could not be downloaded after rerunning setup #64, output error message if incorrect key is provided during download instead of panic, added note about password entry on setup 2022-07-15 14:59:01 +02:00
Marc Ole Bulling
26f542f8f2 Added tests, minor changes 2022-03-08 18:14:47 +01:00
Marc Ole Bulling
eedabbd8f7 Added tests and comments 2022-03-08 13:17:39 +01:00
Marc Ole Bulling
1c230b3c5e Added tests and comments 2022-03-01 16:12:04 +01:00
Marc Ole Bulling
8f84b89402 Disable selection of binding to localhost in Docker image, added tests 2022-02-26 15:53:39 +01:00
Marc Ole Bulling
58c1e2aa56 Support for file encryption (#38) 2022-02-24 14:53:02 +01:00