0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 01:14:10 -05:00
forgejo/routers
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
..
admin Enable admin to search by email (#2888) 2017-11-26 16:40:38 +08:00
api/v1 Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Fix error when add user has full name to team (#2973) 2017-11-26 10:01:48 +02:00
private improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
repo Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
routes Git LFS lock api (#2938) 2017-11-28 22:58:37 +02:00
user Disable add key button if SSH is disabled (#2873) 2017-11-21 11:49:33 +08:00
home.go Add search mode option to /api/repo/search (#2756) 2017-10-27 00:16:13 +03:00
init.go Set session and indexers' data files rel to AppDataPath (#2192) 2017-11-03 10:56:20 +02:00
install.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00