mirror of
1
Fork 0
forgejo/models/user
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
..
avatar.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
email_address.go Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00
email_address_test.go Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00
error.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
external_login_user.go add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
follow.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
follow_test.go Move user follow and openid into models/user/ (#17613) 2021-11-17 17:58:31 +08:00
list.go Accounts with WebAuthn only (no TOTP) now exist ... fix code to handle that case (#18897) 2022-03-02 01:24:31 +01:00
main_test.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
openid.go Move user follow and openid into models/user/ (#17613) 2021-11-17 17:58:31 +08:00
openid_test.go Move user follow and openid into models/user/ (#17613) 2021-11-17 17:58:31 +08:00
redirect.go
redirect_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
search.go Refactor admin user filter query parameters (#18965) 2022-03-02 16:30:14 +01:00
setting.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
setting_keys.go Added auto-save whitespace behavior if it changed manually (#15566) 2022-02-08 14:15:04 +08:00
setting_test.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
user.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
user_test.go Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00