Commit Graph

134 Commits

Author SHA1 Message Date
Marc Ole Bulling
063c8c6798 Don't allow selection of port when running setup with docker 2022-07-20 18:17:24 +02:00
Marc Ole Bulling
21063956b1 Added tests 2022-07-16 16:37:52 +02:00
Marc Ole Bulling
23feaa241c Fixed bug where encrypted files could not be downloaded after rerunning setup #64, output error message if incorrect key is provided during download instead of panic, added note about password entry on setup 2022-07-15 14:59:01 +02:00
Marc Ole Bulling
5bb338f91c Breaking: Make API output less verbose #63, fixed hotlink not working with "duplicate" API call, added option to change filename with duplicate API call 2022-07-15 02:29:49 +02:00
Marc Ole Bulling
a10c036c6a Fixed API call duplication, refactoring, added tests 2022-07-11 19:02:41 +02:00
Marc Ole Bulling
7927e462e0 Added API call to duplicate existing files #66 2022-07-11 16:25:00 +02:00
Marc Ole Bulling
803016af3c Fixed hotlink not being generated for uploads through API with unlimited storage time 2022-06-11 17:35:21 +02:00
Marc Ole Bulling
b1b38ba160 Updated documentation 2022-06-08 10:28:27 +02:00
Marc Ole Bulling
dfd13acf39 Fixed content-type for incorrect-hotlink-picture #56 2022-06-07 20:07:47 +02:00
Marc Ole Bulling
3abdf4df8e Fixed tests 2022-06-07 20:02:47 +02:00
Marc Ole Bulling
882ddd4731 Added hotlinks for non-image files #62 2022-06-07 18:57:13 +02:00
Marc Ole Bulling
0b78939d09 Updated yaml dependency - although dependabot raised an issue, Gokapi was not affected by CVE-2022-28948, as v2 was used 2022-05-31 18:33:41 +02:00
Marc Ole Bulling
37facb96a2 Fix file permissions for created files #60, export variable to disable flag parsing 2022-05-22 00:06:25 +02:00
Marc Ole Bulling
1c28174cda Move Flagparser, fixed tests 2022-05-21 11:14:09 +02:00
Marc Ole Bulling
a449e91b78 Added flags for config, data and port, better flag usage overview 2022-05-21 00:50:08 +02:00
Marc Ole Bulling
093a4bb393 Fixed tests 2022-05-01 12:00:38 +02:00
Marc Ole Bulling
8c094a1d48 Don't upload to AWS if file already exists 2022-05-01 11:46:48 +02:00
Marc Ole Bulling
3ced4be96a Fixed incorrect handling of the option to save images locally 2022-05-01 01:39:17 +02:00
Marc Ole Bulling
989076510c Formatting 2022-03-25 13:37:16 +01:00
Marc Ole Bulling
057709a794 Added Downloadcount #53, refactoring 2022-03-25 13:36:15 +01:00
Marc Ole Bulling
a2cf7f2219 Fixed regex for html filtering 2022-03-16 19:08:28 +01:00
Marc Ole Bulling
b5bdc5ada8 Added regex to prevent creating a text file if an image was pasted with HTML info 2022-03-16 18:57:36 +01:00
Marc Ole Bulling
376d0b0f35 Fixed comments 2022-03-16 18:35:17 +01:00
Marc Ole Bulling
a72236ab70 Refactor: Rename datastorage to database 2022-03-16 18:31:55 +01:00
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
58acee8d11 Removed debug code 2022-03-12 09:00:46 +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
Raif Coonjah
39075f7e38 UI Design Improvements (#51)
* Design improvement
* Beautify code.
*  Made dropzone lighter and added hover effect.
* Fix/removed the white border.
* Made card-title text bold (900).
* Add a 2px border to make card standout
2022-03-10 16:06:42 +01:00
Marc Ole Bulling
bfaf95f9ef Host serviceworker on same domain if using https #49 2022-03-10 14:31:36 +01:00
Marc Ole Bulling
c4fb3746f5 Fixed initial setup not showing cloud storage option #50 2022-03-10 13:55:41 +01:00
Marc Ole Bulling
83e4e4a39c Fixed test, minor UI changes 2022-03-08 18:49:04 +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
81f6125815 Added tests 2022-02-28 22:10:09 +01:00
Marc Ole Bulling
8b19d30beb Close webserver gracefully on Gokapi shutdown, added tests 2022-02-28 14:47:28 +01:00
Marc Ole Bulling
b382b7da76 Another test 2022-02-26 21:31:46 +01:00
Marc Ole Bulling
c0f8403b3f Test for runtime error 2022-02-26 21:00:21 +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
ac18cde0a8 Fixed test 2022-02-26 17:10:33 +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