gitea/services
KN4CK3R ee5e1c4a88
Rewrite of the LFS server (#15523)
* Restructured code. Moved static checks out of loop.

* Restructured batch api. Add support for individual errors.

* Let router decide if LFS is enabled.

* Renamed methods.

* Return correct status from verify handler.

* Unified media type check in router.

* Changed error code according to spec.

* Moved checks into router.

* Removed invalid v1 api methods.

* Unified methods.

* Display better error messages.

* Added size parameter. Create meta object on upload.

* Use object error on invalid size.

* Skip upload if object exists.

* Moved methods.

* Suppress fields in response.

* Changed error on accept.

* Added tests.

* Use ErrorResponse object.

* Test against message property.

* Add support for the old invalid lfs client.

* Fixed the check because MinIO wraps the error.

* Use individual repositories.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-06-06 02:59:27 +03:00
..
archiver Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
comments
externalaccount
forms Restore PAM user autocreation functionality (#15825) 2021-05-13 23:11:47 +01:00
gitdiff
issue label and milestone webhooks on issue/pull creation (#14363) 2021-01-17 16:15:57 +02:00
lfs Rewrite of the LFS server (#15523) 2021-06-06 02:59:27 +03:00
mailer Don't manipulate input params in email notification (#16011) 2021-05-30 10:38:38 +01:00
mirror
pull Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 2021-05-15 16:22:26 +02:00
release
repository add permission check for ``GenerateRepository`` (#15946) 2021-05-27 12:08:46 -04:00
webhook
wiki