Commit Graph

103 Commits

Author SHA1 Message Date
Marc Ole Bulling d215994eb8 Update download count in real time #206 2024-12-11 16:18:09 +01:00
Marc Ole Bulling a3d90ee899 Added hotlink support for avif and apng format 2024-08-15 09:56:32 +02:00
Marc Ole Bulling d6b0670c18 Fixed tests 2024-08-05 17:39:07 +02:00
Marc Ole Bulling 5ef0e89297 Ensure headers are set when proxying S3 file #199 2024-08-05 17:31:48 +02:00
Marc Ole Bulling f08490e69e Fixed crash after running setup and changing encryption #197, changed versioning of css/js files to prevent caching #195 2024-07-26 14:19:51 +02:00
Marc Ole Bulling 4f71a2b1c3 Fix processing/uploading status not showing after upload #193, updated comment in string_constants.tmpl 2024-07-22 20:12:58 +02:00
Marc Ole Bulling 94def515ca Added tests, changed version number 2024-07-15 13:30:28 +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 98e20beaff Replaced SSE library with own code 2024-06-09 15:27:23 +02:00
Marc Ole Bulling ee7fc54df9 Added tests 2024-06-09 13:03:06 +02:00
Marc Ole Bulling fdd5a0d892 Refactoring 2024-06-09 11:36:33 +02:00
Marc Ole Bulling da1fb032a7 Dont display unexpected EOF error when user stops upload/download 2024-05-29 13:04:06 +02:00
Marc Ole Bulling 7b3f83e50a Added test for header verification for AWS downloads, updated documentation 2024-05-27 16:42:59 +02:00
Marc Ole Bulling 97368ca6ae Fix setup option "save images always locally" reverting to default in setup #165, added option to proxy downloads from s3 to setup #75, rewording in setup 2024-05-26 22:01:39 +02:00
Marc Ole Bulling fe3616fdcd Add option to proxy S3 dowmloads #75 2024-05-24 12:35:44 +02:00
Marc Ole Bulling 839de59cf5 Add cleanup for orphaned hotlinks, add/remove hotlinks on edit #136 2024-02-07 16:05:38 +01:00
Marc Ole Bulling 0f9cf21f1c Added tests and comments 2023-12-12 18:55:26 +01:00
Marc Ole Bulling 77a18ea72a Dont log IP by default, to be GDPR compliant #119 2023-12-09 13:10:02 +01:00
Marc Ole Bulling a130357018 Added feature for editing uploaded files #103, updated Bootstrap to 5.3 2023-11-29 20:45:27 +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 0ccca6cf19 Refactoring, table now searchable when using E2E encryption #99 2023-04-14 15:35:26 +02:00
Marc Ole Bulling a352cf5656 Fixed tests 2023-04-03 02:19:13 +02: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 dd16c9c8d7 Added tests 2023-04-01 13:26:24 +02:00
Marc Ole Bulling c875e4a66d Refactoring, added tests 2023-04-01 01:21:12 +02:00
Marc Ole Bulling 63c3828805 Fixed that hotlink was created when file requiered client-side decryption.
Fixed hotlink being displayed if password was set and client-side decryption required
2023-03-30 16:21:44 +02:00
Marc Ole Bulling a86e64f2c3 Refactor uploading of new files from chunks, introduced filesystem driver 2023-03-30 15:53:36 +02:00
Marc Ole Bulling e4e2bf0abe Fix crash when uploading files on Windows #95 2023-03-26 23:25:40 +02:00
Marc Ole Bulling bdeaac4926 Make overview sortable and searchable #86 2022-12-14 23:01:51 +01: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 a8cbf2b25c Added timout for AWS if endpoint is invalid #72 2022-08-01 14:29:41 +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 5bb338f91c Breaking: Make API output less verbose #63, fixed hotlink not working with "duplicate" API call, added option to change filename with duplicate API call 2022-07-15 02:29:49 +02:00
Marc Ole Bulling a10c036c6a Fixed API call duplication, refactoring, added tests 2022-07-11 19:02:41 +02:00
Marc Ole Bulling 7927e462e0 Added API call to duplicate existing files #66 2022-07-11 16:25:00 +02:00
Marc Ole Bulling 37facb96a2 Fix file permissions for created files #60, export variable to disable flag parsing 2022-05-22 00:06:25 +02:00
Marc Ole Bulling 093a4bb393 Fixed tests 2022-05-01 12:00:38 +02:00
Marc Ole Bulling 8c094a1d48 Don't upload to AWS if file already exists 2022-05-01 11:46:48 +02:00
Marc Ole Bulling 3ced4be96a Fixed incorrect handling of the option to save images locally 2022-05-01 01:39:17 +02:00
Marc Ole Bulling 057709a794 Added Downloadcount #53, refactoring 2022-03-25 13:36:15 +01:00
Marc Ole Bulling a72236ab70 Refactor: Rename datastorage to database 2022-03-16 18:31:55 +01:00
Marc Ole Bulling 7f9037ff1f Updated to Go 1.18, removed debug log, added Go Version to --version output 2022-03-16 10:56:46 +01:00
Marc Ole Bulling 68dd846f14 Fixed noaws version 2022-03-12 12:37:56 +01:00
Marc Ole Bulling 93c4c89053 Added test button for AWS config in setup 2022-03-12 12:24:51 +01:00
Marc Ole Bulling d9845cfc8d Fixed tests 2022-03-12 08:54:06 +01:00
Marc Ole Bulling c3fcd6981c Added warning if CORS settings are not set encryption enabled 2022-03-12 08:46:23 +01:00