Commit Graph

21 Commits

Author SHA1 Message Date
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
a10c036c6a Fixed API call duplication, refactoring, added tests 2022-07-11 19:02: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
26f542f8f2 Added tests, minor changes 2022-03-08 18:14:47 +01:00
Marc Ole Bulling
eedabbd8f7 Added tests and comments 2022-03-08 13:17:39 +01:00
Marc Ole Bulling
81f6125815 Added tests 2022-02-28 22:10:09 +01:00
Marc Ole Bulling
b382b7da76 Another test 2022-02-26 21:31:46 +01:00
Marc Ole Bulling
c0f8403b3f Test for runtime error 2022-02-26 21:00:21 +01:00
Marc Ole Bulling
58c1e2aa56 Support for file encryption (#38) 2022-02-24 14:53:02 +01:00
Marc Ole Bulling
7a233b388f Refactoring, added tests, minor changes 2022-01-05 10:54:15 +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
6cffccb3be Added logging #18, set Dockerfile to Go 1.16.5, minor changes 2021-06-16 19:44:27 +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
72aba12a15 Reduced write operations for temp files, enhanced tests, minor changes to readme 2021-05-13 17:30:59 +02:00
Marc Ole Bulling
8f02aeb881 Logout all sessions after changing password, enhanced unit tests 2021-05-10 21:45:31 +02:00
Marc Ole Bulling
26c6c8e946 Fixed error when uploading new file, updated dropzone, completed API tests, TODO: api doc / api upload 2021-05-07 00:00:34 +02:00
Marc Ole Bulling
a3a4ac1a71 Updated version number, enhanced unit tests 2021-05-05 13:53:42 +02:00
Marc Ole Bulling
d635d62268 Refactoring, enhancing unit tests 2021-04-30 12:46:36 +02:00