githaven/routers/api/v1
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-28 01:38:53 +00:00
..
activitypub More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
admin Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
misc Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
notify Fix bugs related to notification endpoints (#25548) 2023-06-28 10:26:56 -04:00
org Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
packages Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
repo make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger refactor(API): refactor secret creation and update functionality (#26751) 2023-08-28 13:08:19 +08:00
user Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
utils New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
api.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00