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
Lunny Xiao 430fe6c0c1
Avoid losing token when updating mirror settings (#30429) (#30466)
Fix #30416.
Backport #30429 

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: Jason Song <i@wolfogre.com>
11 months ago
..
actions Show Actions post step when it's running (#29926) (#29928) 11 months ago
activitypub More refactoring of `db.DefaultContext` (#27083) 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 Next round of `db.DefaultContext` refactor (#27089) 1 year ago
avatar Remove nfnt/resize and oliamb/cutter (#25999) 2 years ago
base Use general token signing secret (#29205) (#29325) 1 year ago
cache improve unit test for caching (#26185) 2 years ago
charset Preserve BOM in web editor (#28935) (#28959) 1 year ago
container Implement FSFE REUSE for golang files (#21840) 2 years ago
context Use strict protocol check when redirect (#29642) (#29644) 12 months ago
contexttest Make "/user/login" page redirect if the current user has signed in (#29583) (#29599) 12 months ago
csv Refactor locale number (#24134) 2 years ago
doctor Fix gitea doctor will remove repo-avatar files when execute command storage-archives (#30094) (#30120) 11 months ago
emoji Update emoji set to Unicode 15 (#25595) 2 years ago
eventsource More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
generate Use general token signing secret (#29205) (#29325) 1 year ago
git Include encoding in signature payload (#30174) (#30181) 11 months ago
gitgraph More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
graceful Avoid unexpected panic in graceful manager (#29629) (#29630) 12 months ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight Add option to disable ambiguous unicode characters detection (#28454) (#28499) 1 year ago
hostmatcher Support allowed hosts for webhook to work with proxy (#27655) (#27675) 1 year ago
html Refactor backend SVG package and add tests (#26335) 2 years ago
httpcache Less naked returns (#25713) 2 years ago
httplib Less naked returns (#25713) 2 years ago
indexer Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447) 11 months ago
issue/template Replace `interface{}` with `any` (#25686) 2 years ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs Close file in the Upload func (#30262) (#30269) 11 months ago
log Reduce some allocations in type conversion (#26772) 2 years ago
markup Fixes #27605: inline math blocks can't be preceeded/followed by alphanumerical characters (#30175) (#30250) 11 months ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Reduce usage of `db.DefaultContext` (#27073) 1 year ago
migration Replace `interface{}` with `any` (#25686) 2 years ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Close all hashed buffers (#27787) (#27790) 1 year 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) (#30354) 11 months ago
process Less naked returns (#25713) 2 years 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) (#28611) 1 year ago
queue Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) (#29546) 1 year ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references Fix issue link does not support quotes (#29484) (#29487) (#29536) 1 year ago
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Only log error when tag sync fails (#29295) (#29327) 1 year ago
secret Improve decryption failure message (#24573) 2 years ago
session fix: Fix to delete cookie when AppSubURL is non-empty (#30375) (#30468) 11 months ago
setting Support GITEA_I_AM_BEING_UNSAFE_RUNNING_AS_ROOT env (#29788) (#29791) 12 months ago
sitemap Fix sitemap (#22272) 2 years ago
ssh Remove SSH workaround (#27893) (#29332) 1 year ago
storage Fix object storage path handling (#27024) 1 year ago
structs chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525) 1 year ago
svg Refactor backend SVG package and add tests (#26335) 2 years ago
sync Implement FSFE REUSE for golang files (#21840) 2 years ago
system Implement FSFE REUSE for golang files (#21840) 2 years ago
templates Avoid losing token when updating mirror settings (#30429) (#30466) 11 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 Fix date rendering by adding `<gitea-absolute-date>` (#29725) (#29747) 12 months ago
translation Add a trailing slash to dashboard links (#29555) (#29573) 12 months 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 Implement FSFE REUSE for golang files (#21840) 2 years ago
upload Implement FSFE REUSE for golang files (#21840) 2 years ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
util Performance improvements for pull request list page (#29900) (#29972) 11 months ago
validation Check blocklist for emails when adding them to account (#26812) 2 years ago
web fix: Fix to delete cookie when AppSubURL is non-empty (#30375) (#30468) 11 months ago
webhook Fix schedule tasks bugs (#28691) (#28780) 1 year ago