1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 02:04:27 +00:00
Antoine GIRARD d99f4ab003 Git LFS lock api (#2938)
* Implement routes

* move to api/sdk and create model

* Implement add + list

* List return 200 empty list no 404

* Add verify lfs lock api

* Add delete and start implementing auth control

* Revert to code.gitea.io/sdk/gitea vendor

* Apply needed check for all lfs locks route

* Add simple tests

* fix lint

* Improve tests

* Add delete test + fix

* Add lfs ascii header

* Various fixes from review + remove useless code + add more corner case testing

* Remove repo link since only id is needed.

Save a little of memory and cpu time.

* Improve tests

* Use TEXT column format for path + test

* fix mispell

* Use NewRequestWithJSON for POST tests

* Clean path

* Improve DB format

* Revert uniquess repoid+path

* (Re)-setup uniqueness + max path length

* Fixed TEXT in place of VARCHAR

* Settle back to maximum VARCHAR(3072)

* Let place for repoid in key

* Let place for repoid in key

* Let place for repoid in key

* Revert back
2017-11-28 22:58:37 +02:00
..
2017-10-27 09:10:54 +03:00
2017-10-26 08:49:16 +08:00
2017-05-26 09:38:18 +08:00
2017-05-04 13:54:56 +08:00
2017-11-28 22:58:37 +02:00
2017-06-12 10:01:09 -05:00
2017-01-03 10:52:09 +08:00
2017-02-22 17:10:45 -05:00
2017-11-28 22:58:37 +02:00
2014-04-13 03:14:43 -04:00
2017-03-22 22:30:40 +08:00
2017-11-28 22:58:37 +02:00
2017-10-27 09:10:54 +03:00
2017-10-27 09:10:54 +03:00
2017-09-12 09:48:13 +03:00
2017-10-02 23:22:25 +03:00
2017-10-27 09:10:54 +03:00
2017-11-28 17:43:51 +08:00
2017-10-27 09:10:54 +03:00
2017-11-21 06:26:43 +02:00
2017-11-28 17:43:51 +08:00
2017-11-28 17:43:51 +08:00