0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-21 06:32:52 +01:00
gitea/modules
mrsdizzie 2842f6cf42
Include query in sign in redirect (#11579)
* Include query in sign in redirect

Include query string in ctx.Data["SignInLink"] so people are redirected to the right page after singing in. Fixes case of:

Visit:

 https://try.gitea.io/mrsdizzie/testcase/issues?q=&type=all&sort=&state=open&labels=7071&milestone=0&assignee=0

Sign in, then redirected to:

 https://try.gitea.io/mrsdizzie/testcase/issues

Create a new "SignInLink" instead of updating the existing "Link" because too many places in the code assume "Link" won't have a query

* Apply suggestions from code review

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-06-03 23:41:02 -04:00
..
analyze Exclude generated files from language statistics (#11653) 2020-05-29 09:20:01 +03:00
auth
avatar
base Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
cache
charset Fix chardet test and add ordering option (#11621) 2020-06-02 19:20:19 -03:00
context Include query in sign in redirect (#11579) 2020-06-03 23:41:02 -04:00
convert Issue/Pull expose IsLocked Property on API (#11708) 2020-06-01 22:01:55 +01:00
cron
emoji Update emoji dataset with skin tone variants (#11678) 2020-06-02 02:22:40 -04:00
eventsource
generate
git Fix language stat calculation (#11692) 2020-05-31 01:58:55 +03:00
gitgraph
graceful
highlight
httplib
indexer Fix language stat calculation (#11692) 2020-05-31 01:58:55 +03:00
lfs
log
markup Update emoji regex (#11584) 2020-05-29 17:08:36 +01:00
metrics
migrations
notification
options
password
pprof
private
process Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
public
queue
recaptcha
references
repofiles Fix numbr of files, total additions, and deletions (#11614) 2020-05-26 01:58:07 -04:00
repository Add API Endpoint for Branch Creation (#11607) 2020-05-29 19:16:20 +01:00
secret
session
setting Allow site admin to disable mirrors (#11740) 2020-06-02 21:21:38 -04:00
ssh
structs Issue/Pull expose IsLocked Property on API (#11708) 2020-06-01 22:01:55 +01:00
sync
task
templates
test Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
timeutil
upload
user
util
validation
webhook