Commit Graph

58 Commits

Author SHA1 Message Date
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
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
5068b742aa Fixed upload not working when using suburl #20 2021-06-04 14:13:57 +02:00
Marc Ole Bulling
8d786df90a Increased upload limit to 100GB 2021-05-28 12:44:44 +02:00
Marc Ole Bulling
8c2b893efe Changed version number, final release 2021-05-17 11:44:53 +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
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
1ff8cb2913 Fixed build 2021-05-10 16:59:07 +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
1645b74166 Open API documentation in new tab 2021-05-07 17:22:54 +02:00
Marc Ole Bulling
c8a019e22a Fixed lint issues, set Go version to 1.16.4 2021-05-07 17:15:12 +02:00
Marc Ole Bulling
e6c3cfdc68 Final release v1.2.0 2021-05-07 16:53:41 +02:00
Marc Ole Bulling
91ca09ac03 Finished API and API documentation 2021-05-07 16:07:48 +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
b40702f10b Working API except upload and documentation 2021-05-06 21:55:30 +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
a3a4ac1a71 Updated version number, enhanced unit tests 2021-05-05 13:53:42 +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
7a9ffee8c7 Fixed unit test 2021-05-03 23:07:24 +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
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
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
05e4dd3e38 Fixed lint warnings 2021-04-19 23:33:17 +02:00