You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 years ago
..
admin Enable admin to search by email (#2888) 7 years ago
api/v1 Add fingerprint to ssh key endpoints. (#3009) 7 years ago
dev Make time diff translatable (#2057) 7 years ago
org Fix error when add user has full name to team (#2973) 7 years ago
private improve protected branch to add whitelist support (#2451) 7 years ago
repo Various wiki bug fixes (#2996) 7 years ago
routes Git LFS lock api (#2938) 7 years ago
user Disable add key button if SSH is disabled (#2873) 7 years ago
home.go Add search mode option to /api/repo/search (#2756) 7 years ago
init.go Set session and indexers' data files rel to AppDataPath (#2192) 7 years ago
install.go Feature: Timetracking (#2211) 7 years ago