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.
gitea/modules
Jason Song fd59cd9450
Avoid losing token when updating mirror settings (#30429)
Fix #30416.

Before (it shows as "Unset" while there's a token):

<img width="980" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/d7148e3e-62c9-4d2e-942d-3d795b79515a">

After:

<img width="977" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/24aaa1db-5baa-4204-9081-470b15ea72b5">

The username shows as "oauth2" because of
f9fdac9809/services/migrations/dump.go (L99)

I have checked that all usage of `MirrorRemoteAddress` has been updated.

<img width="1806" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/2f042501-2824-4511-9203-c84a6731a02d">

However, it needs to be checked again when backporting.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
12 months ago
..
actions Fix some pending problems (#29985) 1 year ago
activitypub Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
analyze Rename code_langauge.go to code_language.go (#26377) 2 years ago
assetfs Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 2 years ago
auth Use `crypto/sha256` (#29386) 1 year ago
avatar Use `crypto/sha256` (#29386) 1 year ago
badge Implement actions badge svgs (#28102) 1 year ago
base Refactor StringsToInt64s (#29967) 1 year ago
cache Refactor cache and disable go-chi cache (#30417) 12 months ago
charset Render embedded code preview by permlink in markdown (#30234) 1 year ago
container Add container.FilterSlice function (#30339) 12 months ago
csv Render embedded code preview by permlink in markdown (#30234) 1 year ago
dump Refactor "dump" sub-command (#30240) 1 year ago
emoji Update emoji set to Unicode 15 (#25595) 2 years ago
eventsource Final round of `db.DefaultContext` refactor (#27587) 1 year ago
generate Refactor JWT secret generating & decoding code (#29172) 1 year ago
git Refactor cache and disable go-chi cache (#30417) 12 months ago
gitgraph More `db.DefaultContext` refactor (#27265) 2 years ago
gitrepo Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 1 year ago
graceful Remove unused error in graceful manager (#29871) 1 year ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
hostmatcher Support allowed hosts for webhook to work with proxy (#27655) 1 year ago
html Refactor backend SVG package and add tests (#26335) 2 years ago
httpcache Also match weakly validated ETags (#28957) 1 year ago
httplib Refactor external URL detection (#29973) 1 year ago
indexer Render embedded code preview by permlink in markdown (#30234) 1 year ago
issue/template Extend issue template yaml engine (#29274) 1 year ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs fix: close file in the Upload func (#30262) 1 year ago
log Reduce some allocations in type conversion (#26772) 2 years ago
markup Use raw Wiki links for non-renderable Wiki files (#30273) 12 months ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Reduce usage of `db.DefaultContext` (#27073) 2 years ago
migration Refactor locale&string&template related code (#29165) 1 year ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
optional migrate some more "OptionalBool" to "Option[bool]" (#29479) 1 year ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Some NuGet package enhancements (#30280) 12 months ago
paginator Use more specific test methods (#24265) 2 years ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Performance optimization for git push (#30104) 12 months ago
process Replace assert.Fail with assert.FailNow (#27578) 1 year ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Refactor CORS handler (#28587) 1 year ago
queue Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) 1 year ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references Fix issue link does not support quotes (#29484) (#29487) 1 year ago
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Add user blocking (#29028) 1 year ago
secret Use `crypto/sha256` (#29386) 1 year ago
session Next round of `db.DefaultContext` refactor (#27089) 2 years ago
setting Fix oauth2 builtin application logic (#30304) 12 months ago
sitemap Fix sitemap (#22272) 2 years ago
ssh Remove SSH workaround (#27893) 1 year ago
storage Fix object storage path handling (#27024) 2 years ago
structs Add API for `Variables` (#29520) 1 year ago
svg Refactor markdown attention render (#29984) 1 year ago
sync Implement FSFE REUSE for golang files (#21840) 2 years ago
system Replace more db.DefaultContext (#27628) 1 year ago
templates Avoid losing token when updating mirror settings (#30429) 12 months ago
test Move web/api context related testing function into a separate package (#26859) 2 years ago
testlogger Replace `interface{}` with `any` (#25686) 2 years ago
timeutil Refactor "dump" sub-command (#30240) 1 year ago
translation Render embedded code preview by permlink in markdown (#30234) 1 year ago
turnstile Add new captcha: cloudflare turnstile (#22369) 2 years ago
typesniffer Detect ogg mime-type as audio or video (#26494) 2 years ago
updatechecker Replace more db.DefaultContext (#27628) 1 year ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
util Fix and rewrite contrast color calculation, fix project-related bugs (#30237) 12 months ago
validation Check blocklist for emails when adding them to account (#26812) 2 years ago
web Refactor locale&string&template related code (#29165) 1 year ago
webhook Fix schedule tasks bugs (#28691) 1 year ago