-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* set up upload framework * initial implementation * add title and summary * include category id in upload API * complete title summary args for handling_incoming_file * clean and refactor * rename upload to create * add exception to handle missing payload * handle missing file better * implement sha1 verification * reflect mojo upload object * add thumbnail generation for upload api * remove utf downgrade * standardize api response * put upload API behind login * fix error * add status for 400 messages, add sc * misplaced status code * edit documentation (#12) * edit documentation * temporarily change file and data to path * move path to query (should be data/file) * remove upload file parameters * implement redis lock * move checksum mismatch to 417 and add utf downgrade handler * show error reason for file upload * handle_incoming_file return http status code * be more explicit with responses * Update lib/LANraragi/Controller/Api/Archive.pm Co-authored-by: Difegue <8237712+Difegue@users.noreply.github.com> * edit response when fail move file * no need for success status * upload api docs * this is why i have a chatgpt subscription * add redis lock response code * Update tools/Documentation/api-documentation/archive-api.md Co-authored-by: Difegue <8237712+Difegue@users.noreply.github.com> * Update tools/Documentation/api-documentation/archive-api.md Co-authored-by: Difegue <8237712+Difegue@users.noreply.github.com> * Update tools/Documentation/api-documentation/archive-api.md Co-authored-by: Difegue <8237712+Difegue@users.noreply.github.com> * replace utf downgrade with redis encode --------- Co-authored-by: Difegue <8237712+Difegue@users.noreply.github.com>
- Loading branch information
1 parent
6f89fcc
commit 53dc4d8
Showing
5 changed files
with
293 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.