forgejo/services/issue
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
..
assignee.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
assignee_test.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
commit.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
commit_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
content.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
issue.go [API] Allow removing issues (#18879) 2022-03-01 01:20:15 +01:00
issue_test.go Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
label.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
label_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
milestone.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
status.go Restore propagation of ErrDependenciesLeft (#18325) 2022-01-19 00:26:42 +01:00