1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-03 14:57:55 -05:00
gitea/modules
KN4CK3R 8752d89be7
Redirect to new repository owner ()
Fixes 

If you rename `user1` to `user2` and visit `/user1` you get redirected
to `/user2`. But if you visit `/user1/repo` you just get a 404 error.
With this PR the user is redirected to `/user2/repo`.
2022-10-11 19:54:44 +08:00
..
activitypub Refactor AssertExistsAndLoadBean to use generics () 2022-08-16 10:22:25 +08:00
analyze Simplify IsVendor () 2022-05-06 10:12:30 +01:00
appstate Use a struct as test options () 2022-04-14 21:58:21 +08:00
auth Remove legacy +build: constraint () 2022-05-02 23:22:45 +08:00
avatar Go 1.19 format () 2022-08-30 21:15:45 -05:00
base Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
cache Update go-chi/cache to utilize Ping() () 2022-05-15 20:43:27 +02:00
charset Move go-licenses to generate and separate generate into a frontend and backend component () 2022-09-05 14:04:18 +08:00
container Move reaction to models/issues/ () 2022-03-31 17:20:39 +08:00
context Redirect to new repository owner () 2022-10-11 19:54:44 +08:00
convert Make external issue tracker regexp configurable via API () 2022-10-07 20:49:30 +08:00
csv Go 1.19 format () 2022-08-30 21:15:45 -05:00
doctor Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
emoji Go 1.19 format () 2022-08-30 21:15:45 -05:00
eventsource Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
generate Use base32 for 2FA scratch token () 2022-01-26 12:10:10 +08:00
git Stop logging CheckPath returns error: context canceled () 2022-10-10 21:54:30 +01:00
gitgraph Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
graceful Support Proxy protocol () 2022-08-21 19:20:43 +01:00
hcaptcha hCaptcha Support () 2020-10-02 23:37:53 -04:00
highlight Upgrade chroma to v2.3.0 () 2022-09-26 13:50:03 +08:00
hostmatcher Add proxy host into allow list () 2022-08-16 20:15:54 -04:00
httpcache Add Cache-Control header to html and api responses, add no-transform () 2022-07-23 14:38:03 +08:00
httplib refactor httplib () 2022-01-19 19:31:39 -05:00
indexer test: use T.TempDir to create temporary test directory () 2022-09-04 16:14:53 +01:00
issue/template Support Issue forms and PR forms () 2022-09-02 15:58:49 +08:00
json Refactor legacy unknwon/com package, improve golangci lint () 2022-04-01 16:47:50 +08:00
lfs Removed some vestigial code related to Range bounds checks () 2022-07-28 11:04:36 +08:00
log test: use T.TempDir to create temporary test directory () 2022-09-04 16:14:53 +01:00
markup Fix slight bug in katex () 2022-10-05 19:55:36 +01:00
mcaptcha Add support mCaptcha as captcha provider () 2022-08-10 15:20:10 +02:00
metrics Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
migration Add more checks in migration code () 2022-09-04 13:47:56 +03:00
mirror Implement sync push mirror on commit () 2022-07-08 20:45:12 +01:00
nosql fix broken insecureskipverify handling in rediss connection uris () 2022-08-29 16:38:49 +02:00
notification Webhook for Wiki changes () 2022-09-04 20:54:23 +01:00
options Fix and improve incorrect error messages () 2022-10-06 07:00:54 +01:00
packages npm package registry support for bin () 2022-10-08 13:24:44 +08:00
paginator Remove legacy unmaintained packages, refactor to support change default locale () 2022-04-03 17:46:48 +08:00
password Fixed assert statements. () 2021-06-07 07:27:09 +02:00
pprof Go 1.19 format () 2022-08-30 21:15:45 -05:00
private log real ip of requests from ssh () 2022-10-11 16:57:37 +08:00
process Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
proxy Return nil proxy function if proxy not enabled () 2021-08-19 16:41:20 -04:00
proxyprotocol Support Proxy protocol () 2022-08-21 19:20:43 +01:00
public Remove legacy +build: constraint () 2022-05-02 23:22:45 +08:00
queue test: use T.TempDir to create temporary test directory () 2022-09-04 16:14:53 +01:00
recaptcha refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
references Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
regexplru Custom regexp external issues () 2022-06-10 13:39:53 +08:00
repository Remove unnecessary length check for repo's Description & Website () 2022-09-18 10:35:24 +08:00
secret Use CryptoRandomBytes instead of CryptoRandomString () 2022-02-04 18:03:15 +01:00
session format with gofumpt () 2022-01-20 18:46:10 +01:00
setting Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI () 2022-10-02 01:26:33 +08:00
sitemap Add sitemap support () 2022-06-25 19:06:01 +02:00
ssh Support Proxy protocol () 2022-08-21 19:20:43 +01:00
storage Save files in local storage as umask () 2022-09-24 21:04:14 +08:00
structs Make external issue tracker regexp configurable via API () 2022-10-07 20:49:30 +08:00
svg Remove legacy +build: constraint () 2022-05-02 23:22:45 +08:00
sync Use queue instead of memory queue in webhook send service () 2022-04-25 20:03:01 +02:00
templates Add nicer error handling on template compile errors () 2022-10-07 22:02:24 +01:00
test Refactor AssertExistsAndLoadBean to use generics () 2022-08-16 10:22:25 +08:00
timeutil Share HTML template renderers and create a watcher framework () 2022-08-28 10:43:25 +01:00
translation Use en-US as fallback when using other default language () 2022-09-25 02:00:16 +03:00
typesniffer Rework raw file http header logic () 2022-07-29 17:26:55 +02:00
updatechecker format with gofumpt () 2022-01-20 18:46:10 +01:00
upload Simplify parameter types () 2021-12-20 04:41:31 +00:00
uri Prevent NPE if gitea uploader fails to open url () 2021-12-23 16:27:33 +00:00
user Add gitea-vet () 2020-04-05 07:20:50 +01:00
util Save files in local storage as umask () 2022-09-24 21:04:14 +08:00
validation Add more checks in migration code () 2022-09-04 13:47:56 +03:00
watcher Share HTML template renderers and create a watcher framework () 2022-08-28 10:43:25 +01:00
web refactor webhook *NewPost () 2022-08-11 17:48:23 +02:00