Marc Ole Bulling
37facb96a2
Fix file permissions for created files #60 , export variable to disable flag parsing
2022-05-22 00:06:25 +02:00
Marc Ole Bulling
1c28174cda
Move Flagparser, fixed tests
2022-05-21 11:14:09 +02:00
Marc Ole Bulling
a449e91b78
Added flags for config, data and port, better flag usage overview
2022-05-21 00:50:08 +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
1c230b3c5e
Added tests and comments
2022-03-01 16:12:04 +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
f42faf8f53
Added option to disable upload and time limit during upload #13
2022-02-15 20:20:53 +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
e2a023bf56
Check if ID length fits into db
2022-01-24 17:03:23 +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
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
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
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
10d17d0807
Added maximum filesize setting throuh env variable #23
2021-07-03 16:51:26 +02: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
e6227a95be
Fixed AWS tests, refactoring
2021-05-17 11:04:39 +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
ec850562e6
Added SSL support #16
2021-05-11 20:36:16 +02:00
Marc Ole Bulling
884c2d94b5
Added AWS S3 support #14
2021-05-10 14:37:29 +02:00
Marc Ole Bulling
d635d62268
Refactoring, enhancing unit tests
2021-04-30 12:46:36 +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