This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/web/org
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
..
home.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
members.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
org.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
org_labels.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
setting.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
teams.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00