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
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
external_login_user.go add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
follow.go
follow_test.go
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
openid.go
openid_test.go
redirect.go
redirect_test.go
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