mirror of
1
Fork 0
forgejo/routers/web/user
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745)
* Remove unnecessary functions of User struct

* Move more database methods out of user struct

* Move more database methods out of user struct

* Fix template failure

* Fix bug

* Remove finished FIXME

* remove unnecessary code
2021-11-22 23:21:55 +08:00
..
setting Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
auth.go Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
auth_openid.go Move user follow and openid into models/user/ (#17613) 2021-11-17 17:58:31 +08:00
avatar.go Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 2021-10-06 01:25:46 +02:00
home.go Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
home_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
notification.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
oauth.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
oauth_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 2021-11-16 16:53:21 +08:00
profile.go Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
task.go Correctly handle failed migrations (#17575) 2021-11-13 19:28:50 +08:00