gitea/routers/web/user/setting
Lunny Xiao 26095115f4
Move some repository related code into sub package ()
* Move some repository related code into sub package

* Move more repository functions out of models

* Fix lint

* Some performance optimization for webhooks and others

* some refactors

* Fix lint

* Fix

* Update modules/repository/delete.go

Co-authored-by: delvh <dev.lh@web.de>

* Fix test

* Merge

* Fix test

* Fix test

* Fix test

* Fix test

Co-authored-by: delvh <dev.lh@web.de>
..
security Adding button to link accounts from user settings ()
account.go Prevent NPE when cache service is disabled ()
account_test.go Update HTTP status codes to modern codes ()
adopt.go Move almost all functions' parameter db.Engine to context.Context ()
applications.go Move almost all functions' parameter db.Engine to context.Context ()
keys.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) ()
main_test.go Use a struct as test options ()
oauth2.go Move almost all functions' parameter db.Engine to context.Context ()
profile.go Move some repository related code into sub package ()