Commit Graph

22 Commits

Author SHA1 Message Date
Marc Ole Bulling
c875e4a66d Refactoring, added tests 2023-04-01 01:21:12 +02:00
Marc Ole Bulling
dc61ab02d1 Update dependencies 2023-03-31 15:47:36 +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
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
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
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
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
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
f965aa9807 Fixed password CLI input on Windows 2021-05-11 15:17:56 +02:00
Marc Ole Bulling
84c6a07635 Fixed reading terminal input on Windows, fixed upload error for Files > 20MB, fixed build tags 2021-05-11 14:22:09 +02:00
Marc Ole Bulling
e75b35f921 Undo incorrect refactoring 2021-04-30 12:53:31 +02:00
Marc Ole Bulling
d635d62268 Refactoring, enhancing unit tests 2021-04-30 12:46:36 +02:00
Marc Ole Bulling
05e4dd3e38 Fixed lint warnings 2021-04-19 23:33:17 +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
abec640d64 Added unit tests, refactoring 2021-04-15 15:22:23 +02:00
Marc Ole Bulling
9ff90c40a0 Formatting and resolving golint warnings 2021-04-13 14:48:57 +02:00
Marc Ole Bulling
2142bc5747 Refactoring to comply with standard go package structure 2021-04-13 12:03:08 +02:00