0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 04:24:08 +01:00
gitea/modules/context
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
..
access_log.go
api_org.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
api_test.go
api.go
auth.go
captcha.go
context.go Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
csrf.go
form.go
org.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
pagination.go
permission.go
private.go
repo.go Refactor repo clone button and repo clone links, fix JS error on empty repo page (#19208) 2022-03-29 05:21:30 +02:00
response.go
xsrf_test.go
xsrf.go