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
..
2021-04-01 19:41:09 +02:00
2021-05-31 02:54:16 -04:00
2021-04-19 18:25:08 -04:00
2021-04-19 18:25:08 -04:00
2021-05-10 20:48:23 +01:00
2021-03-16 00:20:05 +01:00
2021-06-05 15:32:19 +03:00
2021-04-17 10:27:25 +01:00
2020-10-02 23:37:53 -04:00
2021-04-12 10:49:26 -04:00
2021-04-25 21:48:12 +03:00
2021-06-06 02:59:27 +03:00
2018-11-04 22:20:00 -05:00
2021-05-03 13:24:24 -04:00
2019-06-12 15:41:28 -04:00
2021-06-05 15:23:22 +01:00
2020-04-05 07:20:50 +01:00
2021-01-26 16:36:53 +01:00