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
68dd846f14
Fixed noaws version
2022-03-12 12:37:56 +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
d9845cfc8d
Fixed tests
2022-03-12 08:54:06 +01:00
Marc Ole Bulling
c3fcd6981c
Added warning if CORS settings are not set encryption enabled
2022-03-12 08:46:23 +01:00
Marc Ole Bulling
6d4d8b332c
Fixed crash when changing to local storage and remote files exist #52 , fixed tests
2022-03-12 07:56:39 +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
f22f95a993
Fixed that full encryption was active when selecting Level 1
2022-03-10 16:27:37 +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
43a3a67906
Fixed API to work with unlimited downloads and unlimited time #46
2022-02-26 20:52:53 +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
58c1e2aa56
Support for file encryption ( #38 )
2022-02-24 14:53:02 +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
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
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
1b300a6691
Automated formatting for go1.17
2021-12-12 20:06:33 +01: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
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
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
4ee4bca975
Changed Mutex to RWMutex
2021-06-23 11:58:59 +02: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
afdcda34ba
Fixed AWS test
2021-05-17 11:40:09 +02:00
Marc Ole Bulling
e6227a95be
Fixed AWS tests, refactoring
2021-05-17 11:04:39 +02:00
Marc Ole Bulling
e42586fcd6
Fixed AWS upload / download
2021-05-16 23:34:29 +02:00
Marc Ole Bulling
80c2a70030
Added documentation, modified AWS config example
2021-05-16 21:53:13 +02:00
Marc Ole Bulling
51c6ffab8c
Fixed lint warnings
2021-05-16 18:43:42 +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
84c6a07635
Fixed reading terminal input on Windows, fixed upload error for Files > 20MB, fixed build tags
2021-05-11 14:22:09 +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
3be4ec7096
Added mock function for AWS S3, updated tests
2021-05-10 16:48:35 +02:00
Marc Ole Bulling
884c2d94b5
Added AWS S3 support #14
2021-05-10 14:37:29 +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
c9ad7064fa
Refactoring, early implementation of API
2021-05-06 12:35:07 +02:00
Marc Ole Bulling
733aa55637
Use config mutex for sessions to prevent data race, added note about bug in Go <1.17 regarding data race in html/template
2021-05-05 14:55:03 +02:00
Marc Ole Bulling
3ebcafbb81
Refactoring, using mutex to prevent race conditions for all configuration reads/writes
2021-04-30 15:12:34 +02:00
Marc Ole Bulling
e75b35f921
Undo incorrect refactoring
2021-04-30 12:53:31 +02:00
Marc Ole Bulling
d635d62268
Refactoring, enhancing unit tests
2021-04-30 12:46:36 +02:00