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

Fix .

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
..
actions
branch
cite
code
diff Various improvements for long file and commit names () 2024-04-15 16:33:51 +02:00
editor Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
find Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
graph
issue [BUG] Render correct label link 2024-04-12 20:47:23 +00:00
migrate Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
projects
pulls
release [I18N] Provide plural support for release download count 2024-04-04 17:29:14 +00:00
settings Avoid losing token when updating mirror settings () () 2024-04-15 16:43:34 +02:00
tag Adjust the signed tag verification line 2024-04-02 22:03:30 +00:00
wiki Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
activity.tmpl
admin_flags.tmpl
blame.tmpl Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
code_frequency.tmpl
commit_load_branches_and_tags.tmpl Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
commit_page.tmpl Various improvements for long file and commit names () 2024-04-15 16:33:51 +02:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl [BUG] Disable 'View at this point in history' for wikis 2024-04-03 17:10:28 +00:00
commits_list_small.tmpl Migrate font-family to tailwind () 2024-03-30 07:17:32 +01:00
commits_search_dropdown.tmpl
commits_table.tmpl
contributors.tmpl
create.tmpl Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
create_helper.tmpl
empty.tmpl
file_info.tmpl Provide a way to translate data units 2024-04-02 17:29:32 +00:00
flags.tmpl
forks.tmpl
graph.tmpl Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
header.tmpl Fix the settings tab highlighting 2024-04-12 20:46:24 +00:00
header_fork.tmpl
home.tmpl Various improvements for long file and commit names () 2024-04-15 16:33:51 +02:00
icon.tmpl
latest_commit.tmpl Migrate gt-hidden to tw-hidden () 2024-03-30 07:17:29 +01:00
navbar.tmpl
packages.tmpl
pulse.tmpl
recent_commits.tmpl
release_tag_header.tmpl Fix menu buttons in issues and release () 2024-03-30 07:17:30 +01:00
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl Rename ByteSize to ReadableSize 2024-04-02 17:29:32 +00:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Various improvements for long file and commit names () 2024-04-15 16:33:51 +02:00
view_list.tmpl Various improvements for long file and commit names () 2024-04-15 16:33:51 +02:00
watch_unwatch.tmpl
watchers.tmpl