Commit Graph

235 Commits

Author SHA1 Message Date
Marc Ole Bulling
5cae317c2e Increased test delay for slow Github action runner 2022-08-17 13:59:27 +02:00
Marc Ole Bulling
689f643f35 Dynamically show secured endpoints during setup, change version number 2022-08-17 13:42:14 +02:00
Marc Ole Bulling
2ad33b79dd Only run release builder on stable releases, not pre-releases, fixed test on slow build runners 2022-08-11 18:38:13 +02:00
Marc Ole Bulling
8da7fe4fcb Changed version name v1.6.0-beta1 2022-08-11 14:01:47 +02:00
Marc Ole Bulling
7a9a0a7233 Fix test 2022-08-11 13:55:30 +02:00
Marc Ole Bulling
a537d7fec4 Remove building noaws version 2022-08-11 13:44:52 +02:00
Marc Ole Bulling
9c9ea6dbb7 Add end-to-end encryption (#71)
* Added WASM module for e2e

* Added cmd util to read database

* Changed to go 1.19

* Fixed crash with random string generator

* Fixed typos and tests

* Host service worker on github
2022-08-11 13:37:55 +02:00
Marc Ole Bulling
482d651056 Set theme jekyll-theme-minimal 2022-08-11 12:34:24 +02:00
Marc Ole Bulling
844dd350c4 Added flag to disable CORS check on startup, fixed usage view exiting with code 2 2022-08-01 14:51:30 +02:00
Marc Ole Bulling
a8cbf2b25c Added timout for AWS if endpoint is invalid #72 2022-08-01 14:29:41 +02:00
Marc Ole Bulling
e824a94f81 Fixed dropzone.js not uploading chunks if filesize = 0 2022-07-28 13:54:21 +02:00
Marc Ole Bulling
3ea8e22042 Added comments, fixed tests 2022-07-27 14:08:17 +02:00
Marc Ole Bulling
44260f012b Use chunked uploads instead of single upload (#68)
* Change to chunked uploads

* Renamed SHA256 attribute to SHA1

* Breaking: removed /upload endpoint

* Changed timeout to 15 minutes for reading

* Change session key only after 12 hours

* Added API calls for chunk upload, refactoring, added tests

* Add content-type based on file extension for images if empty
2022-07-25 13:21:38 +02:00
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
5d5506a32c Added arm64 to Docker latest image 2022-06-14 00:36:59 +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 v1.5.2 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
8746a86530 Fixed tests 2022-05-21 00:55:14 +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
abc214e8b6 Merge branch 'master' of https://github.com/Forceu/Gokapi 2022-05-01 11:29:12 +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
372065b10a Merge pull request #55 from emanuelduss/patch-1
Use correct docker image
2022-04-21 23:02:47 +02:00
Emanuel Duss
f97d6736c6 Use correct docker image 2022-04-21 22:39:41 +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
9e7fa0fa33 Added more version info 2022-03-16 12:06:22 +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
e96f8bb02e Added arm64 linux target for docker 2022-03-12 08:06:47 +01:00