Marc Ole Bulling
59271c2ff2
Added option to change the name in the setup, show filename in title for downloads, use sessionStorage instead of localStorage for e2e decryption, replaced expiry image with dynamic SVG
2023-05-13 14:33:37 +02:00
Marc Ole Bulling
246b3f5edc
Upload status display is now handled natively with SSE instead of the Dropzone object. #26 #85
...
Protected URLs are generated to the documentation with go:generate automatically
2023-04-03 02:08:17 +02:00
Marc Ole Bulling
a23a0999f0
Added go:generate for protected URLs, fixed test and reduced time for Setup test significantly, updated dependencies
2023-04-01 16:45:37 +02:00
Marc Ole Bulling
dd16c9c8d7
Added tests
2023-04-01 13:26:24 +02:00
Marc Ole Bulling
a86e64f2c3
Refactor uploading of new files from chunks, introduced filesystem driver
2023-03-30 15:53:36 +02:00
Marc Ole Bulling
82f9f0f7e2
Fixed tests
2023-02-14 00:24:39 +01:00
Marc Ole Bulling
bdeaac4926
Make overview sortable and searchable #86
2022-12-14 23:01:51 +01:00
Marc Ole Bulling
c5c01b9bab
Added tests, added note when port in use during setup, added port env variable to documentation
2022-10-29 00:02:21 +02:00
Marc Ole Bulling
648baae684
Fixed that setup on docker was unable to complete
2022-08-17 22:50:10 +02:00
Marc Ole Bulling
58bb7131f3
Increased delay for test, added notes in setup
2022-08-17 15:01:31 +02:00
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
7a9a0a7233
Fix test
2022-08-11 13:55:30 +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
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
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
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
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
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
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
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
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
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
26f542f8f2
Added tests, minor changes
2022-03-08 18:14:47 +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
8f84b89402
Disable selection of binding to localhost in Docker image, added tests
2022-02-26 15:53:39 +01:00
Marc Ole Bulling
58c1e2aa56
Support for file encryption ( #38 )
2022-02-24 14:53:02 +01:00
Marc Ole Bulling
f42faf8f53
Added option to disable upload and time limit during upload #13
2022-02-15 20:20:53 +01:00
Marc Ole Bulling
2b79dcc63c
Fixed Upgrade package
2022-01-25 16:14:28 +01:00
Marc Ole Bulling
49f11e94da
Reformatting, added documentation, fixed Setup_test.go
2022-01-25 16:08:28 +01:00
Marc Ole Bulling
7ae36d1a52
Changed modulename to github.com/forceu/gokapi
2022-01-25 13:44:21 +01:00
Marc Ole Bulling
ef71183cc5
Fixed test
2022-01-24 17:14:44 +01:00
Marc Ole Bulling
e2a023bf56
Check if ID length fits into db
2022-01-24 17:03:23 +01:00
Marc Ole Bulling
9f41697eb2
Refactored config to json
2022-01-24 13:18:45 +01:00
Marc Ole Bulling
8d11235456
Move log to data dir
2022-01-22 14:30:51 +01:00