forgejo/routers/repo
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
..
activity.go
attachment.go
blame.go
branch.go Add pager to the branches page (#14202) 2021-01-19 05:07:38 +01:00
commit.go
compare.go
download.go Display SVG files as images instead of text (#14101) 2021-01-12 22:45:19 -05:00
editor.go Use path not filepath in routers/editor (#14390) 2021-01-19 00:20:10 +01:00
editor_test.go
http.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
issue.go Enhance Ghost comment mitigation Settings (#14392) 2021-01-21 21:56:19 -05:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
issue_test.go
issue_timetrack.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
issue_watch.go
lfs.go Display SVG files as images instead of text (#14101) 2021-01-12 22:45:19 -05:00
main_test.go
middlewares.go
migrate.go
milestone.go
projects.go Project: show referenced PRs in issue cards (#14183) 2021-01-20 21:53:48 +02:00
projects_test.go KanBan: be able to set default board (#14147) 2021-01-15 22:29:32 +02:00
pull.go Use ServerError provided by Context (#14333) 2021-01-14 21:27:22 +01:00
pull_review.go Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
release.go
release_test.go
repo.go Add TrN for repository limit (#12492) 2021-01-22 00:44:37 +01:00
search.go
setting.go
setting_protected_branch.go
settings_test.go
topic.go
view.go Fix lfs preview bug (#14428) 2021-01-22 17:49:13 +00:00
webhook.go Merge default and system webhooks under one menu (#14244) 2021-01-15 01:24:03 +02:00
wiki.go
wiki_test.go