Commit Graph

40 Commits

Author SHA1 Message Date
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
a313d26718 Added log viewer, set JS versions through go generate 2023-02-13 23:25:47 +01:00
Marc Ole Bulling
a03b7469ed Update Go to 1.20 2023-02-13 22:30:22 +01:00
Marc Ole Bulling
74b5d3572a Updated OpenApi specs, fixed test 2022-12-14 23:14:06 +01:00
Marc Ole Bulling
a537d7fec4 Remove building noaws version 2022-08-11 13:44:52 +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
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
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
2a51cbaaf8 Added option to have pictures always stored locally for hotlink support 2022-03-11 22:06:09 +01:00
Marc Ole Bulling
c4fb3746f5 Fixed initial setup not showing cloud storage option #50 2022-03-10 13:55:41 +01:00
Marc Ole Bulling
58c1e2aa56 Support for file encryption (#38) 2022-02-24 14:53:02 +01:00
Marc Ole Bulling
ba706f2c03 Adjusted Docker build files to new package name 2022-01-25 14:19:19 +01:00
Marc Ole Bulling
7ae36d1a52 Changed modulename to github.com/forceu/gokapi 2022-01-25 13:44:21 +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
929c0247cd Fixed build 2021-12-10 19:31:43 +01:00
Marc Ole Bulling
442e75bb77 Fixed build 2021-12-10 19:16:17 +01:00
Marc Ole Bulling
2d892912eb Fixed build and tests 2021-12-10 19:06:59 +01:00
Marc Ole Bulling
68bb1781d3 Upgrade to Go 1.16.6 2021-07-13 11:39:40 +02: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
6cffccb3be Added logging #18, set Dockerfile to Go 1.16.5, minor changes 2021-06-16 19:44:27 +02:00
Marc Ole Bulling
afdcda34ba Fixed AWS test 2021-05-17 11:40:09 +02:00
Marc Ole Bulling
e6227a95be Fixed AWS tests, refactoring 2021-05-17 11:04:39 +02:00
Marc Ole Bulling
19e542c436 Updated Readme 2021-05-16 22:05:29 +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
04de068d96 Added simple integration test 2021-05-13 18:41:04 +02:00
Marc Ole Bulling
3be4ec7096 Added mock function for AWS S3, updated tests 2021-05-10 16:48:35 +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
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
a3a4ac1a71 Updated version number, enhanced unit tests 2021-05-05 13:53:42 +02:00
Marc Ole Bulling
8d1e45f228 Fixed CleanUp deleting file that was actively downloaded, which then failed the download, fixed write timeout, made webserver unit tests parallel, serve correct content header. 2021-04-21 18:06:23 +02:00
Marc Ole Bulling
64020b58bb Minor changes 2021-04-19 23:29:12 +02:00
Marc Ole Bulling
aae4138fb6 Refactoring, fixed that GOKAPI_LENGTH_ID was ignored, check for incorrect cli flags, significantly increased test coverage 2021-04-19 22:44:02 +02:00
Marc Ole Bulling
08c27d09c7 Added code coverage badge in readme 2021-04-19 16:39:24 +02:00
Marc Ole Bulling
abec640d64 Added unit tests, refactoring 2021-04-15 15:22:23 +02:00
Marc Ole Bulling
2142bc5747 Refactoring to comply with standard go package structure 2021-04-13 12:03:08 +02:00