115 Commits

Author SHA1 Message Date
Marc Ole Bulling
c88c9f8421 Updated API documentation, changed Go Build to 1.21 2023-12-09 13:55:31 +01:00
Marc Ole Bulling
64de638e0c Updated documentation, version number 2023-12-09 13:31:58 +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
d24ea9735a Fixed tests 2023-11-28 14:20:33 +01: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
06e934daa0 Added tests, removed file data for e2e config from database 2023-11-22 13:19:18 +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
358a32af91 Removed app_name from templateVersions 2023-05-13 20:16:56 +02:00
Marc Ole Bulling
add194a184 Fixed "Powered by Gokapi" URL not clickable in admin menu due to toast div, formatting 2023-05-13 20:12:33 +02:00
Marc Ole Bulling
59271c2ff2 Added option to change the name in the setup, show filename in title for downloads, use sessionStorage instead of localStorage for e2e decryption, replaced expiry image with dynamic SVG 2023-05-13 14:33:37 +02:00
Marc Ole Bulling
1e75b9641d Updated version number 2023-04-14 19:42:26 +02:00
Marc Ole Bulling
9a913492ac Fixed background not loading #101, removed duplicate call from minify go:generate 2023-04-14 19:40:21 +02:00
Marc Ole Bulling
d2eae38b50 Fixed CSS minify process 2023-04-14 16:05:29 +02:00
Marc Ole Bulling
569e0d2c1c Updated version number 2023-04-14 15:41:47 +02: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
87145635d8 Minify CSS and JS, removed shadow from text input 2023-04-03 20:33:37 +02:00
Marc Ole Bulling
5994d4c211 Show toast on clipboard copy action, updated clipboardjs 2023-04-03 19:18:29 +02:00
Marc Ole Bulling
0eefdb1ed2 Added QR code button #97, fixed button order on new upload 2023-04-03 15:09:40 +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
5bb3b29bc6 Additionally use http.MaxBytesReader for enforcing maximum file size 2023-04-01 23:04:19 +02:00
Marc Ole Bulling
dd16c9c8d7 Added tests 2023-04-01 13:26:24 +02:00
Marc Ole Bulling
a97979a899 Replaced go generate commands with native go code 2023-03-31 13:56:25 +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
2d57cd663a Update upload count dynamically #92, remove debug log, update dependencies 2023-03-10 21:30:07 +01:00
Marc Ole Bulling
7fe7f6158b Updated versions 2023-02-13 23:52:39 +01:00
Marc Ole Bulling
14771f0ff0 Added prompt if page is closed when still uploading #83 2023-02-13 23:46:03 +01:00
Marc Ole Bulling
a313d26718 Added log viewer, set JS versions through go generate 2023-02-13 23:25:47 +01:00
Marc Ole Bulling
74b5d3572a Updated OpenApi specs, fixed test 2022-12-14 23:14:06 +01:00
Marc Ole Bulling
bdeaac4926 Make overview sortable and searchable #86 2022-12-14 23:01:51 +01:00
Marc Ole Bulling
510ee9d493 Change timeout back to 12 hours #81 2022-09-14 18:44:23 +02:00
Marc Ole Bulling
648baae684 Fixed that setup on docker was unable to complete 2022-08-17 22:50:10 +02:00
Marc Ole Bulling
689f643f35 Dynamically show secured endpoints during setup, change version number 2022-08-17 13:42:14 +02:00
Marc Ole Bulling
8da7fe4fcb Changed version name 2022-08-11 14:01:47 +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
e824a94f81 Fixed dropzone.js not uploading chunks if filesize = 0 2022-07-28 13:54:21 +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
21063956b1 Added tests 2022-07-16 16:37:52 +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
dfd13acf39 Fixed content-type for incorrect-hotlink-picture #56 2022-06-07 20:07:47 +02:00
Marc Ole Bulling
882ddd4731 Added hotlinks for non-image files #62 2022-06-07 18:57:13 +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
989076510c Formatting 2022-03-25 13:37:16 +01:00
Marc Ole Bulling
057709a794 Added Downloadcount #53, refactoring 2022-03-25 13:36:15 +01:00
Marc Ole Bulling
a2cf7f2219 Fixed regex for html filtering 2022-03-16 19:08:28 +01:00