Commit Graph

17 Commits

Author SHA1 Message Date
Marc Ole Bulling ed8d476f3c Change download count atomically to prevent race condition (#223) 2024-12-12 17:02:31 +01:00
Marc Ole Bulling 6f582b25d8 Store upload defaults locally (#214), breaking API changes 2024-12-06 14:36:08 +01:00
Marc Ole Bulling ddc72b0a98 Use API for most of UI interactions with an internal API key (#211), breaking API changes
* Changed color of API procressing status

* Added internal system key, use system key for API page perm changes, BREAKING: removed session auth

* API: Added /auth/delete, added option to include basic parameters in /auth/create, migrated API overview page completely to use API calls

* Added toast in API menu for clipboard, removed reference to session authentication in documentation

* Changed delete button in upload menu to API call, fixed modify API call in menu #210

* Set Api key in API menu for changing permissions, renamed title for Deleting Uploads permission, refactoring

* Added tests, refactoring
2024-12-05 13:55:11 +01:00
Marc Ole Bulling e0741c86c0 Fixed SQLite update #189 2024-07-12 19:47:06 +02:00
Marc Ole Bulling f909db076f Have seperate Database schema version, do not run upgrade when initiating database 2024-07-12 19:15:58 +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 c68afacaa5 Added permission model for API keys #79, replaced button text with icons 2023-11-28 13:47:51 +01:00
Marc Ole Bulling b0e44d2036 Add minimum spacing for Action column in admin menu #98, added comment 2023-11-27 23:12:39 +01:00
Marc Ole Bulling 1d0bde6644 Changed to sqlite, dropped Windows 32bit support, fixed data dir env not being persistant #115, updated readme 2023-11-21 20:50:30 +01:00
Marc Ole Bulling 246b3f5edc Upload status display is now handled natively with SSE instead of the Dropzone object. #26 #85
Protected URLs are generated to the documentation with go:generate automatically
2023-04-03 02:08:17 +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 803016af3c Fixed hotlink not being generated for uploads through API with unlimited storage time 2022-06-11 17:35:21 +02:00
Marc Ole Bulling 376d0b0f35 Fixed comments 2022-03-16 18:35:17 +01:00
Marc Ole Bulling a72236ab70 Refactor: Rename datastorage to database 2022-03-16 18:31:55 +01:00