Commit Graph

597 Commits

Author SHA1 Message Date
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
Marc Ole Bulling cc59fff80f Implemented API calls for uploading files as file request 2026-01-06 10:42:03 +01:00
Marc Ole Bulling c21a4f5996 Changed file request ID to string type, updated openapi 2026-01-03 14:13:28 +01:00
Marc Ole Bulling 4a2abdea62 Merge branch 'master' into guestupload 2026-01-02 13:22:23 +01:00
Marc Ole Bulling c1d2bf9623 Better animation for permissions 2026-01-02 13:21:47 +01:00
Marc Ole Bulling f3905e327d Merge branch 'master' into guestupload 2026-01-02 12:58:13 +01:00
Marc Ole Bulling 21725ef549 Added on hover effect for permission icons 2026-01-02 12:57:36 +01:00
Marc Ole Bulling 20fc6329ee Improved file view ui 2026-01-02 12:30:13 +01:00
Marc Ole Bulling 70917e2683 Fixed file request expiry defaults 2026-01-02 12:04:44 +01:00
Marc Ole Bulling b61d914352 Working file list for file requests 2026-01-02 11:24:48 +01:00
Marc Ole Bulling bc0afcf3aa Refactoring, fixed GetAll() not populating files, added placeholder for file view, added option showFileRequests for file list API call 2026-01-02 10:34:50 +01:00
Marc Ole Bulling 260bbabe1c Refactoring 2026-01-01 18:03:48 +01:00
Marc Ole Bulling 4500d04182 Fixed creation date not being saved for file request, updated openapi 2026-01-01 12:51:39 +01:00
Marc Ole Bulling 49aaa99f3e Merge branch 'master' into guestupload 2026-01-01 12:41:38 +01:00
Marc Ole Bulling 94b822f4ff Create api key for new file request, don't allow file request api key to be used in other functions 2026-01-01 12:40:50 +01:00
Marc Ole Bulling b490ada6a6 Change sqlite busy timeout to 30s 2026-01-01 12:39:43 +01:00
Marc Ole Bulling f80f49ee09 Merge branch 'master' into guestupload 2025-12-31 12:35:56 +01:00
Marc Ole Bulling 2fafae8b60 Updated bootstrap icons, replaced bi-share with svg to fix #274 2025-12-31 12:32:12 +01:00
Marc Ole Bulling de4b483e12 Add logging for file requests 2025-12-31 11:38:22 +01:00
Marc Ole Bulling 571e018273 Download all working now in UI 2025-12-31 11:03:16 +01:00
Marc Ole Bulling b9e86a6af0 Working implementation of zipping files, add base64 decoding for headers to autogenerated code 2025-12-31 10:35:53 +01:00
Marc Ole Bulling 25ab29b3ac Working download if only one file is uploaded to file request, indicator for new file request and add to top instead of appending 2025-12-30 22:20:48 +01:00