1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/api/v1/user
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649)
* Add redirect for user

* Add redirect for orgs

* Add user redirect test

* Appease linter

* Add comment to DeleteUserRedirect function

* Fix locale changes

* Fix GetUserByParams

* Fix orgAssignment

* Remove debug logging

* Add redirect prompt

* Dont Export DeleteUserRedirect & only use it within a session

* Unexport newUserRedirect

* cleanup

* Fix & Dedub API code

* Format Template

* Add Migration & rm dublicat

* Refactor: unexport newRepoRedirect() & rm dedub del exec

* if this fails we'll need to re-rename the user directory

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-01-24 16:23:05 +01:00
..
app.go Fix api doc response code (#14123) 2020-12-24 18:14:01 +00:00
email.go Add email validity check (#13475) 2020-11-14 11:53:43 -05:00
follower.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
gpg_key.go Allow addition of gpg keyring with multiple keys (#12487) 2020-08-21 13:45:50 +03:00
helper.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
key.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
repo.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
star.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
user.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
watch.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00