0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 19:44:38 +01:00
gitea/modules/context
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
..
api.go just overload to not get it by mistake again ... (#14440) 2021-01-23 21:33:43 +02:00
api_org.go
api_test.go
auth.go
context.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
org.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
pagination.go
permission.go
repo.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
response.go Fix log http status is always zero (#14400) 2021-01-19 20:47:43 -05:00