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
David Svantesson 9ff4e1d2d9
Add API branch protection endpoint (#9311)
* add API branch protection endpoint

* lint

* Change to use team names instead of ids.

* Status codes.

* fix

* Fix

* Add new branch protection options (BlockOnRejectedReviews, DismissStaleApprovals, RequireSignedCommits)

* Do xorm query directly

* fix xorm GetUserNamesByIDs

* Add some tests

* Improved GetTeamNamesByID

* http status created for CreateBranchProtection

* Correct status code in integration test

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
..
admin Movde dependents on macaron from modules/setting (#10050) 4 years ago
api/v1 Add API branch protection endpoint (#9311) 4 years ago
dev Display ui time with customize time location (#7792) 5 years ago
org Language statistics bar for repositories (#8037) 4 years ago
private Fix push-create SSH bugs (#10145) 4 years ago
repo Add feishu webhook support (#10229) 4 years ago
routes Add feishu webhook support (#10229) 4 years ago
user Language statistics bar for repositories (#8037) 4 years ago
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
home.go API add/generalize pagination (#9452) 4 years ago
init.go Language statistics bar for repositories (#8037) 4 years ago
install.go Add support for database schema in PostgreSQL (#8819) 4 years ago
metrics.go Use gitea forked macaron (#7933) 5 years ago
swagger_json.go Swagger.v1.json template (#3572) 6 years ago