Commit Graph

618 Commits

Author SHA1 Message Date
Marc Ole Bulling
8e110b6a7f Added docs 2026-01-26 16:14:52 +01:00
Marc Ole Bulling
8c17325e93 Set box shadow to all sites, prevent scrolling 2026-01-26 15:11:33 +01:00
Marc Ole Bulling
a9da3f8c88 Retry on status 429 for 60 seconds, refactoring and formatting 2026-01-26 15:00:19 +01:00
Marc Ole Bulling
afb1423a65 Added drag&drop and paste function 2026-01-26 14:26:24 +01:00
Marc Ole Bulling
cd924a60ba Add API call to remove UUID reservation for cancelled or failed uploads 2026-01-26 14:20:16 +01:00
Marc Ole Bulling
d49ccd60ac Fixed openapi specs, show error when -i is not passed to gokapi-cli, make complete call non-blocking 2026-01-26 13:00:22 +01:00
Marc Ole Bulling
4a0fae5311 Implement decryption of cloud storage files for download 2026-01-26 10:47:44 +01:00
Marc Ole Bulling
581bf5dab7 Better logging for uploads to file request 2026-01-26 00:08:01 +01:00
Marc Ole Bulling
10b5b45d16 Only enable upload button with uploadable files, restore upload bar on failed items 2026-01-25 23:57:07 +01:00
Marc Ole Bulling
dcc781ebe3 Align upload bar, fixed API specs, allow upload of 0B files 2026-01-25 23:42:47 +01:00
Marc Ole Bulling
a01dff6098 Add re-try and proper error messages 2026-01-25 21:55:01 +01:00
Marc Ole Bulling
72d4ff8cf6 Fixed tests 2026-01-25 19:35:24 +01:00
Marc Ole Bulling
920e800d6d Added errorCodes in API output 2026-01-25 19:22:55 +01:00
Marc Ole Bulling
c8f81351a3 Added documentation 2026-01-24 22:47:20 +01:00
Marc Ole Bulling
0757f1902e Merge branch 'master' into guestupload 2026-01-24 22:30:15 +01:00
Marc Ole Bulling
e2ec083f1e Generate environment variables documentation automatically 2026-01-24 22:25:52 +01:00
Marc Ole Bulling
25d6c0485f Merge branch 'master' into guestupload 2026-01-24 21:07:29 +01:00
Marc Ole Bulling
76c1b6bc8b Ensure int env variables are not negative 2026-01-24 21:06:19 +01:00
Marc Ole Bulling
c3cf344fb6 Check that env can only be positive, add UR limites for non-admin users, refactoring 2026-01-24 21:02:08 +01:00
Marc Ole Bulling
548cd62f27 Refactoring: Make environment variable private 2026-01-23 16:18:18 +01:00
Marc Ole Bulling
424e48f25e Breaking: Check that chunks are at least 5MB, added rate limmiting for uuid reservation TODO add env variable 2026-01-23 13:48:36 +01:00
Marc Ole Bulling
7ab8bfcc84 Changed wording, fixed tests 2026-01-19 11:14:31 +01:00
Marc Ole Bulling
15af392c45 Better error page 2026-01-19 11:05:10 +01:00
Marc Ole Bulling
335f204d6f Remove file after upload if requested, output json result 2026-01-19 10:45:00 +01:00
Marc Ole Bulling
0a2ca7fe68 Add download option for gokapi-cli, TODO: error on e2e 2026-01-18 22:19:14 +01:00
Marc Ole Bulling
c0f1abd344 Fixed tests 2026-01-15 21:30:26 +01:00
Marc Ole Bulling
00b82b91ed Added chunk reservation system for public uploads, fixed openapi 2026-01-15 21:22:03 +01:00
Marc Ole Bulling
867dbd606a Change api name 2026-01-15 00:06:02 +01:00
Marc Ole Bulling
4d66e5c02a Merge branch 'master' into guestupload 2026-01-14 23:40:31 +01:00
Marc Ole Bulling
145e51485a Added API call to change file owner, only admin/superadmin is now allowed to delete logs 2026-01-14 23:35:01 +01:00
Marc Ole Bulling
3944206bae Merge branch 'master' into guestupload 2026-01-14 16:07:27 +01:00
Marc Ole Bulling
44d12bfaf7 Change file owner to API caller on /files/duplicate, fixed openapi.json 2026-01-14 15:57:59 +01:00
Marc Ole Bulling
725d26432a Fixed DB upgrade, working prototype for upload page 2026-01-12 14:16:17 +01:00
Marc Ole Bulling
421e254d92 Merge branch 'master' into guestupload 2026-01-12 13:17:21 +01:00
lif
4286d75b4d fix: prevent download of files with pending deletion status (#344)
Add check in GetFile() to return false for files that have a pending
deletion timestamp set. This fixes a race condition where files could
still be downloaded during the grace period after deletion was
scheduled but before the actual deletion occurred.

Fixes #341

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: majiayu000 <1835304752@qq.com>
2026-01-12 13:15:25 +01:00
Marc Ole Bulling
f464ecb705 Merge branch 'master' into guestupload 2026-01-12 12:31:01 +01:00
Marc Ole Bulling
638b29fbbc Raise error if the database if from a newer Gokapi version 2026-01-12 12:30:25 +01:00
Marc Ole Bulling
bd8385bc37 Merge branch 'master' into guestupload 2026-01-12 12:10:57 +01:00
Marc Bulling
6b07bf0194 Check if enough free space is available before accepting an upload (#349), fixed docs 2026-01-12 12:08:54 +01:00
Marc Ole Bulling
3a79f40ea9 Add delete button for files to be uploaded 2026-01-07 17:59:39 +01:00
Marc Ole Bulling
3a9639fb6e Show icon button for expanding instead of clickable file number, add hover effect 2026-01-07 17:31:18 +01:00
Marc Ole Bulling
96f975da78 Refactoring JS, adding note for upload requests, better view for public upload 2026-01-07 13:38:13 +01:00
Marc Ole Bulling
f315b3b81b Fixed tests 2026-01-06 22:44:35 +01:00
Marc Ole Bulling
de36c1b532 Fixed JSON output for chunkcomplete, fixed tests 2026-01-06 22:34:58 +01:00
Marc Ole Bulling
b314fa3152 Fixed logs for file requests and fixed some tests 2026-01-06 16:43:48 +01:00
Marc Ole Bulling
315fb510f3 Merge branch 'master' into guestupload 2026-01-06 15:52:26 +01:00
Marc Ole Bulling
568f535ba2 Make Dropzone uuid generation more secure 2026-01-06 15:48:44 +01:00
Marc Ole Bulling
c87c23f92d Add URL to JS on new file request, fixed race condition 2026-01-06 14:56:27 +01:00
Marc Ole Bulling
c4f5a1ece3 Check for max file count and expiry 2026-01-06 14:29:13 +01:00
Marc Ole Bulling
3fad4c21f7 First working prototype 2026-01-06 13:45:34 +01:00