This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers
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
..
admin Merge default and system webhooks under one menu (#14244) 2021-01-15 01:24:03 +02:00
api/v1 Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
dev
events
org Merge default and system webhooks under one menu (#14244) 2021-01-15 01:24:03 +02:00
private Check for 'main' as potential default branch name (#14193) 2020-12-30 15:46:26 +00:00
repo Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
routes Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
user Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
utils
home.go
init.go Use IsProd instead of testing if it's equal. (#14336) 2021-01-14 23:17:03 +02:00
install.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go