Commit Graph

168 Commits

Author SHA1 Message Date
Marc Ole Bulling 27f267d484 Merge branch 'master' of https://github.com/Forceu/Gokapi 2022-02-28 14:49:05 +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 910e9ab8fd Fixed setup test (#47) 2022-02-26 21:37:32 +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 43a3a67906 Fixed API to work with unlimited downloads and unlimited time #46 2022-02-26 20:52:53 +01:00
Marc Ole Bulling ac18cde0a8 Fixed test 2022-02-26 17:10:33 +01:00
Marc Ole Bulling 0b2a3836b0 Fixed test 2022-02-26 17:06:58 +01:00
Marc Ole Bulling da00d3fb02 Fixed removing of files, make deleting source non-blocking 2022-02-26 17:02:27 +01:00
Marc Ole Bulling 3cbf388b5f Remove password when unticking checkbox, addded feature to paste text #45 2022-02-26 16:56:19 +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) v1.5.0-beta1 2022-02-24 14:53:02 +01:00
Marc Ole Bulling 1b92f5f3fc Fixed files with unlimited attribute not showing 2022-02-23 23:45:09 +01:00
Marc Ole Bulling f42faf8f53 Added option to disable upload and time limit during upload #13 2022-02-15 20:20:53 +01:00
Marc Ole Bulling a2daccd972 Filestorage Test now checks if the file was actually stored 2022-01-25 20:48:10 +01:00
Marc Ole Bulling 603508c589 Fixed file not being saved after upload to AWS 2022-01-25 20:36:38 +01:00
Marc Ole Bulling 8bb79e5de0 Fixed file not being saved if using a temp file 2022-01-25 20:31:29 +01:00
Marc Ole Bulling 2b79dcc63c Fixed Upgrade package 2022-01-25 16:14:28 +01:00
Marc Ole Bulling 49f11e94da Reformatting, added documentation, fixed Setup_test.go 2022-01-25 16:08:28 +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 ef71183cc5 Fixed test 2022-01-24 17:14:44 +01:00
Marc Ole Bulling e2a023bf56 Check if ID length fits into db 2022-01-24 17:03:23 +01:00
Marc Ole Bulling 28f9aff798 Better documentation for customising #41, added upgrade instructions for v1.5, fixed API link 2022-01-24 14:37:08 +01:00
Marc Ole Bulling 9f41697eb2 Refactored config to json 2022-01-24 13:18:45 +01:00
Marc Ole Bulling 8d11235456 Move log to data dir 2022-01-22 14:30:51 +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 efc9ebe2f1 Only load MaxMemory from env if actually set 2022-01-10 16:08:13 +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 4eb609ece9 Fixed setup if no config directory exists
Remove temp files after upload
Set temp directory for docker to data directory by default #37
Increase default memory to 40
Added TMPDIR env
Update doc
2022-01-01 21:01:39 +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
Marc Ole Bulling 1b300a6691 Automated formatting for go1.17 2021-12-12 20:06:33 +01:00
Marc Ole Bulling 8e10f3710c Added header-based authentication #30 2021-12-12 20:02:07 +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 20ea34ffe9 Fixed build (finally) 2021-12-10 19:24:59 +01:00
Marc Ole Bulling d16d250a8d Fixed build 2021-12-10 19:22:13 +01:00
Marc Ole Bulling 442e75bb77 Fixed build 2021-12-10 19:16:17 +01:00
Marc Ole Bulling a473df10fd Fixed tests 2021-12-10 19:09:27 +01:00
Marc Ole Bulling 2d892912eb Fixed build and tests 2021-12-10 19:06:59 +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 0bd9bd1a8d Changed /api endpoint to /apiKeys in order to avoid confusion with /api/ 2021-12-02 16:30:57 +01:00
Marc Ole Bulling 4b411f113f Updated docs 2021-12-02 16:20:59 +01:00
Marc Ole Bulling 724489d2a4 Minor changes, added tests 2021-12-02 16:05:21 +01:00
Marc Ole Bulling 0e31aba457 Fixed table in docs 2021-12-01 22:33:49 +01:00