You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
admin Merge default and system webhooks under one menu (#14244) 3 years ago
api/v1 Redirect on changed user and org name (#11649) 3 years ago
dev Display ui time with customize time location (#7792) 5 years ago
events Add EventSource support (#11235) 4 years ago
org Merge default and system webhooks under one menu (#14244) 3 years ago
private Check for 'main' as potential default branch name (#14193) 4 years ago
repo Redirect on changed user and org name (#11649) 3 years ago
routes Display current stopwatch in navbar (#14122) 3 years ago
user Redirect on changed user and org name (#11649) 3 years ago
utils Return the full rejection message and errors in flash errors (#13221) 4 years ago
home.go Simplify CheckUnitUser logic (#12854) 4 years ago
init.go Use IsProd instead of testing if it's equal. (#14336) 3 years ago
install.go migrate from com.* to alternatives (#14103) 4 years ago
metrics.go Move metrics from macaron to chi (#13601) 4 years ago
swagger_json.go Add gitea-vet (#10948) 4 years ago