Commit Graph

49 Commits

Author SHA1 Message Date
Marc Ole Bulling
3b7cdae6fd Added settings to set the chunk size and amount of parallel uploads for faster upload speed, fixes #162. Updated documentation 2024-06-07 16:38:59 +02:00
Marc Ole Bulling
fe3616fdcd Add option to proxy S3 dowmloads #75 2024-05-24 12:35:44 +02:00
Marc Ole Bulling
ac12cca1bf Add nginx header for SSE, update nginx documentation 2024-05-24 11:01:56 +02:00
Marc Ole Bulling
9641e2828d Added /auth/create API endpoint #133, fixed wrong openapi schemes, added examples to openapi 2024-02-07 14:34:41 +01:00
Marc Ole Bulling
6936ced93e Fixed setup not saving recheck interval, fixed tests 2024-01-20 11:55:19 +01:00
Marc Ole Bulling
15c2bd9c67 Added wildcard for OIDC groups and users, better login flow for OIDC, updated documentation to add OIDC provider examples 2024-01-20 11:40:20 +01:00
Marc Ole Bulling
9083ac3d05 Added option to restrict OIDC users and groups better with custom scopes, better OIDC error handling, try silent OIDC consent first before showing prompt, fixed download button symbol on e2esetup 2024-01-19 17:28:22 +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
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
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
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
0ccca6cf19 Refactoring, table now searchable when using E2E encryption #99 2023-04-14 15:35:26 +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
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
c5c01b9bab Added tests, added note when port in use during setup, added port env variable to documentation 2022-10-29 00:02:21 +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
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
3abdf4df8e Fixed tests 2022-06-07 20:02: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
057709a794 Added Downloadcount #53, refactoring 2022-03-25 13:36:15 +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
6d4d8b332c Fixed crash when changing to local storage and remote files exist #52, fixed tests 2022-03-12 07:56:39 +01:00
Marc Ole Bulling
2a51cbaaf8 Added option to have pictures always stored locally for hotlink support 2022-03-11 22:06:09 +01:00
Marc Ole Bulling
1c230b3c5e Added tests and comments 2022-03-01 16:12:04 +01:00
Marc Ole Bulling
58c1e2aa56 Support for file encryption (#38) 2022-02-24 14:53:02 +01:00
Marc Ole Bulling
f42faf8f53 Added option to disable upload and time limit during upload #13 2022-02-15 20:20:53 +01:00
Marc Ole Bulling
49f11e94da Reformatting, added documentation, fixed Setup_test.go 2022-01-25 16:08:28 +01:00
Marc Ole Bulling
7ae36d1a52 Changed modulename to github.com/forceu/gokapi 2022-01-25 13:44:21 +01:00
Marc Ole Bulling
9f41697eb2 Refactored config to json 2022-01-24 13:18:45 +01:00
Marc Ole Bulling
3766c9257f Replace writable parts of config with database (#40) 2022-01-20 23:52:34 +01:00
Marc Ole Bulling
3595a18dbd Replace CLI/env based setup with web UI setup, add OAuth2 (#33)
* Initial commit websetup

* Added writing cloudstorage credentials

* Clean up old configuration generation

* Added Oauth2 OpenID Connect support

* Bugfixes and fixed tests

* Refactoring

* Refactoring, added first tests

* Added documentation

* Refactoring, updated docs

* Added tests

* Added option to reshow setup for reconfiguring Gokapi instance

* Added docs and tests
2021-12-31 01:40:10 +01:00
Marc Ole Bulling
1b300a6691 Automated formatting for go1.17 2021-12-12 20:06:33 +01:00
Marc Ole Bulling
a7888896f0 Added test tag requirement for unit tests, added minor tests 2021-06-24 13:34:53 +02:00
Marc Ole Bulling
51c6ffab8c Fixed lint warnings 2021-05-16 18:43:42 +02:00
Marc Ole Bulling
e9dad37710 Refactoring, changed AWS env variable names, AWS config can be loaded from file as well, enhanced unit tests 2021-05-16 18:32:46 +02:00
Marc Ole Bulling
884c2d94b5 Added AWS S3 support #14 2021-05-10 14:37:29 +02:00
Marc Ole Bulling
c8a019e22a Fixed lint issues, set Go version to 1.16.4 2021-05-07 17:15:12 +02:00
Marc Ole Bulling
91ca09ac03 Finished API and API documentation 2021-05-07 16:07:48 +02:00
Marc Ole Bulling
b40702f10b Working API except upload and documentation 2021-05-06 21:55:30 +02:00
Marc Ole Bulling
c9ad7064fa Refactoring, early implementation of API 2021-05-06 12:35:07 +02:00
Marc Ole Bulling
3ebcafbb81 Refactoring, using mutex to prevent race conditions for all configuration reads/writes 2021-04-30 15:12:34 +02:00
Marc Ole Bulling
d635d62268 Refactoring, enhancing unit tests 2021-04-30 12:46:36 +02:00