forgejo/templates
Giteabot 4fe72284fc
Avoid losing token when updating mirror settings (#30429) (#30464)
Backport #30429 by @wolfogre

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: Jason Song <i@wolfogre.com>
(cherry picked from commit 92f4cd9461949940427f789a345a3a51b2de02bf)
2024-04-15 16:43:34 +02:00
..
admin Fix admin notice view-detail (#30450) (#30458) 2024-04-15 16:41:44 +02:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 22:23:58 +00:00
base Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Add svg linter and fix incorrect svgs (#30086) 2024-03-30 07:17:30 +01:00
explore [BUG] Fix tooltip for 1000+ stars/forks 2024-04-10 22:35:21 +00:00
mail Provide a way to translate data units 2024-04-02 17:29:32 +00:00
org Fix the spacing issue in the Project view (#30415) (#30423) 2024-04-15 16:40:01 +02:00
package Provide a way to translate data units 2024-04-02 17:29:32 +00:00
projects [BUG] Consistent styling for Sort filter 2024-03-31 20:59:35 +00:00
repo Avoid losing token when updating mirror settings (#30429) (#30464) 2024-04-15 16:43:34 +02:00
shared [v7.0/forgejo] [BUG] Fix code search in explore reporting as git grep even with indexer enabled (#3204) 2024-04-14 14:21:31 +00:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
swagger [v7.0/forgejo] Add optional pronoun field in user settings (#3076) 2024-04-06 13:23:43 +00:00
user Fix the spacing issue in the Project view (#30415) (#30423) 2024-04-15 16:40:01 +02:00
webhook [FEAT] sourcehut webhooks 2024-04-05 19:36:04 +00:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
install.tmpl Update checker setting updates 2024-04-10 20:55:35 +00:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00