Commit Graph

33 Commits

Author SHA1 Message Date
Marc Ole Bulling 58bb7131f3 Increased delay for test, added notes in setup 2022-08-17 15:01:31 +02:00
Marc Ole Bulling 5cae317c2e Increased test delay for slow Github action runner 2022-08-17 13:59:27 +02:00
Marc Ole Bulling 689f643f35 Dynamically show secured endpoints during setup, change version number 2022-08-17 13:42:14 +02:00
Marc Ole Bulling 2ad33b79dd Only run release builder on stable releases, not pre-releases, fixed test on slow build runners 2022-08-11 18:38:13 +02:00
Marc Ole Bulling 7a9a0a7233 Fix test 2022-08-11 13:55:30 +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 063c8c6798 Don't allow selection of port when running setup with docker 2022-07-20 18:17:24 +02:00
Marc Ole Bulling 23feaa241c Fixed bug where encrypted files could not be downloaded after rerunning setup #64, output error message if incorrect key is provided during download instead of panic, added note about password entry on setup 2022-07-15 14:59:01 +02:00
Marc Ole Bulling b1b38ba160 Updated documentation 2022-06-08 10:28:27 +02:00
Marc Ole Bulling a72236ab70 Refactor: Rename datastorage to database 2022-03-16 18:31:55 +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 93c4c89053 Added test button for AWS config in setup 2022-03-12 12:24:51 +01:00
Marc Ole Bulling 58acee8d11 Removed debug code 2022-03-12 09:00:46 +01:00
Marc Ole Bulling d9845cfc8d Fixed tests 2022-03-12 08:54:06 +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 1c230b3c5e Added tests and comments 2022-03-01 16:12:04 +01:00
Marc Ole Bulling 81f6125815 Added tests 2022-02-28 22:10:09 +01:00
Marc Ole Bulling 8b19d30beb Close webserver gracefully on Gokapi shutdown, added tests 2022-02-28 14:47:28 +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 8f84b89402 Disable selection of binding to localhost in Docker image, added tests 2022-02-26 15:53:39 +01:00
Marc Ole Bulling 58c1e2aa56 Support for file encryption (#38) 2022-02-24 14:53:02 +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 3766c9257f Replace writable parts of config with database (#40) 2022-01-20 23:52:34 +01:00
Marc Ole Bulling 2fbf9ad579 Cloud storage cannot be selected in setup if build without AWS support 2022-01-11 15:48:44 +01:00
Marc Ole Bulling 7a233b388f Refactoring, added tests, minor changes 2022-01-05 10:54:15 +01:00
Marc Ole Bulling d963166d10 Fix setup JS, formatting setup 2022-01-02 23:18:01 +01:00
Marc Ole Bulling 6be3a92b7b Replace env parsing with caarlos0/env library 2022-01-02 14:01:09 +01:00
Marc Ole Bulling 7d47744a20 More client-side setup validation, changed setup layout, return 127.0.0.1 if unknown IP 2021-12-31 18:00:08 +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