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.
gitea/routers/api/v1
wxiaoguang 7a2786ca6c
Refactor CORS handler (#28587) (#28611)
Backport #28587, the only conflict is the test file.

The CORS code has been unmaintained for long time, and the behavior is
not correct.

This PR tries to improve it. The key point is written as comment in
code. And add more tests.

Fix #28515
Fix #27642
Fix #17098
1 year ago
..
activitypub More refactoring of `db.DefaultContext` (#27083) 1 year ago
admin chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525) 1 year ago
misc More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
notify More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
org Delete repos of org when purge delete user (#27273) (#27728) 1 year ago
packages Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
repo Also sync DB branches on push if necessary (#28361) (#28403) 1 year ago
settings Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger refactor(API): refactor secret creation and update functionality (#26751) 2 years ago
user enable system users search via the API (#28013) (#28018) 1 year ago
utils Fix comment permissions (#28213) (#28216) 1 year ago
api.go Refactor CORS handler (#28587) (#28611) 1 year ago