1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/routers/api/v1
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518)
* Move organization related structs into sub package

* Fix test

* Fix lint

* Move more functions into sub packages

* Fix bug

* Fix test

* Update models/organization/team_repo.go

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Apply suggestions from code review

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Fix fmt

* Follow suggestion from @Gusted

* Fix test

* Fix test

* Fix bug

* Use ctx but db.DefaultContext on routers

* Fix bug

* Fix bug

* fix bug

* Update models/organization/team_user.go

* Fix bug

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-29 14:29:02 +08:00
..
admin Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
misc format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notify Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
org Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
repo Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
user Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
utils Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
api.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00