Commit Graph

84 Commits

Author SHA1 Message Date
Marc Ole Bulling 28d91c8947 Clean up go.mod, go generate more verbose 2021-05-07 20:06:25 +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 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
Marc Ole Bulling 64020b58bb Minor changes 2021-04-19 23:29:12 +02:00
Marc Ole Bulling d8b7553aa5 Fixed unit test 2021-04-19 22:59:07 +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 08c27d09c7 Added code coverage badge in readme 2021-04-19 16:39:24 +02:00
Marc Ole Bulling abec640d64 Added unit tests, refactoring 2021-04-15 15:22:23 +02:00
Marc Ole Bulling 1a47cbcc89 Fixed workflow 2021-04-13 20:56:33 +02:00
Marc Ole Bulling ec17c9f732 Added unit test 2021-04-13 20:54:25 +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 17d7a49f50 Added header to show download progress 2021-04-13 14:25:45 +02:00
Marc Ole Bulling 2142bc5747 Refactoring to comply with standard go package structure 2021-04-13 12:03:08 +02:00
Marc Ole Bulling 38fb63ac8d Added 2h timeout for webserver 2021-04-13 11:25:56 +02:00
Marc Ole Bulling 0a67998c7a Changed upload timeout from 30s to 2h 2021-04-11 21:46:23 +02:00
Marc Ole Bulling 6097c27d3b Fixed bug where empty salt was used for admin password hashing on first startup v1.1.3 2021-04-08 09:36:40 +02:00
Marc Ole Bulling 642492dd65 Update README.md 2021-04-07 23:05:30 +02:00
Marc Ole Bulling 0155e88203 Changed version number 2021-04-07 22:38:29 +02:00
Marc Ole Bulling 70cfe7997a Fixed bug that salt was not used for password hashing, introduced in ab4edaff94 2021-04-07 22:23:41 +02:00
Marc Ole Bulling 4a85b4162f Fixed crashes introduced in last commit 2021-04-07 22:18:55 +02:00
Marc Ole Bulling 36e4fff525 Added Logout button #1, fixed sorting if items expire at the same second, refactored header template 2021-04-07 22:06:36 +02:00
Marc Ole Bulling 132187dd08 Added hotlinking for image files 2021-04-06 15:16:48 +02:00
Marc Ole Bulling 779e68af3d Generate random password hashes on first startup, refactoring 2021-04-06 13:13:10 +02:00
Marc Ole Bulling a2a59a25cb Update docker-publish-multiarch-release.yml 2021-04-03 16:46:41 +02:00
Marc Ole Bulling 867029512e Fixed error setting data dir, fixed build script v1.1.2 2021-04-03 15:01:28 +02:00
Marc Ole Bulling 1868238003 Set a minimum length for IDs 2021-04-03 14:51:11 +02:00
Marc Ole Bulling 029ba49b0d Update README.md 2021-04-03 14:44:45 +02:00
Marc Ole Bulling 2f8bb075c3 Save data directory path to config, add ENV variable table to readme 2021-04-03 14:39:53 +02:00
Marc Ole Bulling d51d0fa06b Update README.md 2021-04-03 13:49:07 +02:00
Marc Ole Bulling ce5888bdb6 Enhanced go generate command, added notice if using local folders 2021-04-03 13:38:22 +02:00
Marc Ole Bulling 57752af405 Added go generate command for version number in templates 2021-04-02 12:36:59 +02:00
Marc Ole Bulling e0d351b5b0 Fixed Dockerfile 2021-04-02 12:16:33 +02:00