32 Commits

Author SHA1 Message Date
Marc Ole Bulling
fa4c0bc35d Changed OIDC promt to "consent" instead of "select_account" #121, updated dependencies 2024-01-17 16:18:52 +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
4114cc7a06 Updated dependencies 2023-10-12 14:34:56 +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
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
dc61ab02d1 Update dependencies 2023-03-31 15:47: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
c49a21414c Updated dependecies 2023-02-23 19:03:11 +01:00
Marc Ole Bulling
a03b7469ed Update Go to 1.20 2023-02-13 22:30:22 +01: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
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
7927e462e0 Added API call to duplicate existing files #66 2022-07-11 16:25:00 +02:00
Marc Ole Bulling
0b78939d09 Updated yaml dependency - although dependabot raised an issue, Gokapi was not affected by CVE-2022-28948, as v2 was used 2022-05-31 18:33:41 +02: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
58c1e2aa56 Support for file encryption (#38) 2022-02-24 14:53:02 +01:00
Marc Ole Bulling
7ae36d1a52 Changed modulename to github.com/forceu/gokapi 2022-01-25 13:44:21 +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
6be3a92b7b Replace env parsing with caarlos0/env library 2022-01-02 14:01:09 +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
094c51aa85 Fixed go.mod, removed go mod tidy 2021-12-12 12:31:42 +01:00
Marc Ole Bulling
cb5374f6c9 Update dependencies 2021-12-10 19:39:20 +01:00
Marc Ole Bulling
cbbbef41c5 Fixed Gokapi not parsing parameters when uploading through API #31 2021-12-10 18:56:54 +01:00
Marc Ole Bulling
e6227a95be Fixed AWS tests, refactoring 2021-05-17 11:04:39 +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
28d91c8947 Clean up go.mod, go generate more verbose 2021-05-07 20:06:25 +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
abec640d64 Added unit tests, refactoring 2021-04-15 15:22:23 +02:00
Marc Ole Bulling
b342a7886d Refactoring, adding of documentation 2021-03-28 19:53:31 +02:00
Marc Ole Bulling
5b9bbebc20 Initial commit 2021-03-12 10:38:42 +01:00