Commit Graph

70 Commits

Author SHA1 Message Date
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
Marc Ole Bulling ab4edaff94 Added env variables, major refactoring 2021-04-01 14:08:50 +02:00
Marc Ole Bulling d9fbcce75b Documentation 2021-03-28 22:09:48 +02:00
Marc Ole Bulling cf971b0fc2 Merge branch 'master' of https://github.com/Forceu/Gokapi 2021-03-28 19:54:00 +02:00
Marc Ole Bulling b342a7886d Refactoring, adding of documentation 2021-03-28 19:53:31 +02:00
Marc Ole Bulling 587e992897 Update README.md 2021-03-27 15:02:39 +01:00
Marc Ole Bulling 3a4dd396d3 Create robots.txt 2021-03-25 11:38:23 +01:00
Marc Ole Bulling f430e30c02 Enhanced Docker build / release build 2021-03-19 00:10:56 +01:00
Marc Ole Bulling c8e73f50e1 Update workflow 2021-03-18 22:39:26 +01:00
Marc Ole Bulling bf070a6f22 Merge pull request #7 from mraif13/patch-1
Clean up footer
2021-03-18 22:15:24 +01:00
Raif Coonjah 20fb31a7b3 Clean up footer
-Instead of using Gokapi's github link as text, I turn the text with the current version into the link and added a "Powered by" next to it. Makes the footer look a little cleaner.
2021-03-19 01:03:12 +04:00
Marc Ole Bulling d5b5ff6ed9 Update README.md 2021-03-18 20:34:59 +01:00
Marc Ole Bulling 9bdfb0b769 Update version number v1.1.0 2021-03-18 15:29:39 +01:00
Marc Ole Bulling c8866d9484 Added option to add password protection 2021-03-18 15:25:15 +01:00
Marc Ole Bulling beab181f02 Fixed bug that download limits and expiry dates were not submitted 2021-03-18 14:09:16 +01:00