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>
10 months ago
..
actions Fix some pending problems (#29985) 11 months ago
activitypub Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
analyze
assetfs
auth Use `crypto/sha256` (#29386) 12 months ago
avatar Use `crypto/sha256` (#29386) 12 months ago
badge Implement actions badge svgs (#28102) 12 months ago
base Refactor StringsToInt64s (#29967) 11 months ago
cache Refactor cache and disable go-chi cache (#30417) 10 months ago
charset Render embedded code preview by permlink in markdown (#30234) 11 months ago
container Add container.FilterSlice function (#30339) 10 months ago
csv Render embedded code preview by permlink in markdown (#30234) 11 months ago
dump Refactor "dump" sub-command (#30240) 11 months ago
emoji
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) 10 months ago
gitgraph
gitrepo Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 11 months ago
graceful Remove unused error in graceful manager (#29871) 11 months ago
hcaptcha
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
httpcache Also match weakly validated ETags (#28957) 1 year ago
httplib Refactor external URL detection (#29973) 11 months ago
indexer Render embedded code preview by permlink in markdown (#30234) 11 months ago
issue/template Extend issue template yaml engine (#29274) 12 months ago
json
label
lfs fix: close file in the Upload func (#30262) 11 months ago
log
markup Use raw Wiki links for non-renderable Wiki files (#30273) 10 months ago
mcaptcha
metrics
migration Refactor locale&string&template related code (#29165) 1 year ago
nosql
optional migrate some more "OptionalBool" to "Option[bool]" (#29479) 12 months ago
options
packages Some NuGet package enhancements (#30280) 10 months ago
paginator
pprof
private Performance optimization for git push (#30104) 10 months ago
process Replace assert.Fail with assert.FailNow (#27578) 1 year ago
proxy
proxyprotocol
public Refactor CORS handler (#28587) 1 year ago
queue Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) 12 months ago
recaptcha
references Fix issue link does not support quotes (#29484) (#29487) 12 months ago
regexplru
repository Add user blocking (#29028) 12 months ago
secret Use `crypto/sha256` (#29386) 12 months ago
session
setting Fix oauth2 builtin application logic (#30304) 10 months ago
sitemap
ssh Remove SSH workaround (#27893) 1 year ago
storage
structs Add API for `Variables` (#29520) 11 months ago
svg Refactor markdown attention render (#29984) 11 months ago
sync
system Replace more db.DefaultContext (#27628) 1 year ago
templates Avoid losing token when updating mirror settings (#30429) 10 months ago
test
testlogger
timeutil Refactor "dump" sub-command (#30240) 11 months ago
translation Render embedded code preview by permlink in markdown (#30234) 11 months ago
turnstile
typesniffer
updatechecker Replace more db.DefaultContext (#27628) 1 year ago
uri
user
util Fix and rewrite contrast color calculation, fix project-related bugs (#30237) 10 months ago
validation
web Refactor locale&string&template related code (#29165) 1 year ago
webhook Fix schedule tasks bugs (#28691) 1 year ago