Commit Graph

24 Commits

Author SHA1 Message Date
Marc Ole Bulling 10d17d0807 Added maximum filesize setting throuh env variable #23 2021-07-03 16:51:26 +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 8d786df90a Increased upload limit to 100GB 2021-05-28 12:44:44 +02:00
Marc Ole Bulling e42586fcd6 Fixed AWS upload / download 2021-05-16 23:34:29 +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 f965aa9807 Fixed password CLI input on Windows 2021-05-11 15:17:56 +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 884c2d94b5 Added AWS S3 support #14 2021-05-10 14:37:29 +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 6af8896bdc Added "cache-control:no-store" header, updated unit tests 2021-05-04 11:57:23 +02:00
Marc Ole Bulling ca58161e19 Limit tries of username entries and display message (most likely when Docker container run without -it flag, see #3) 2021-05-03 23:13:30 +02:00
Marc Ole Bulling bccedcb980 Fix for #11, Docker containers were not reachable 2021-05-03 23:02:09 +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 d635d62268 Refactoring, enhancing unit tests 2021-04-30 12:46:36 +02:00
Marc Ole Bulling f92a0f1776 Prevent race conditions for sessions 2021-04-22 14:52:38 +02:00
Marc Ole Bulling 8d1e45f228 Fixed CleanUp deleting file that was actively downloaded, which then failed the download, fixed write timeout, made webserver unit tests parallel, serve correct content header. 2021-04-21 18:06:23 +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 7486d3df51 Resolving lint warnings, badge added 2021-04-13 14:54: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