Commit Graph

98 Commits

Author SHA1 Message Date
Marc Ole Bulling
83e4e4a39c Fixed test, minor UI changes 2022-03-08 18:49:04 +01:00
Marc Ole Bulling
26f542f8f2 Added tests, minor changes 2022-03-08 18:14:47 +01:00
Marc Ole Bulling
169e1afc01 Set new version, added tests 2022-03-08 15:36:13 +01:00
Marc Ole Bulling
eedabbd8f7 Added tests and comments 2022-03-08 13:17:39 +01:00
Marc Ole Bulling
327763a9ad Added salt to file checksum if encrypted, added tests 2022-03-07 19:15:45 +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
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) 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
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
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
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
724489d2a4 Minor changes, added tests 2021-12-02 16:05:21 +01:00
Marc Ole Bulling
d88a3cdd1e Added env DISABLE_LOGIN in order to support 3rd party authentication #30 2021-12-01 22:25:33 +01:00
Marc Ole Bulling
30526a4caa Decrease min length username to 3 and make it more accessible through a constant 2021-11-22 21:01:43 +01:00
Marc Ole Bulling
749682d924 Fixed typo 2021-08-05 11:05:17 +02:00
Marc Ole Bulling
205cac48ca Fixed typo that lead to slighly inaccurate max filesize 2021-07-04 09:54:37 +02:00
Marc Ole Bulling
18902ac954 Changed version number 2021-07-03 17:36:28 +02:00
Marc Ole Bulling
4172caad49 Fixed tests 2021-07-03 17:33:56 +02:00
Marc Ole Bulling
10d17d0807 Added maximum filesize setting throuh env variable #23 2021-07-03 16:51:26 +02:00