1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/templates
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>
2024-04-15 11:29:42 +08:00
..
admin Remove duplicate option in admin screen and now-unused translation keys (#28492) (#30024) 2024-03-23 15:56:19 +01:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Add a trailing slash to dashboard links (#29555) (#29573) 2024-03-04 13:50:55 +08:00
code Fix wrong line number in code search result (#29260) (#29623) 2024-03-06 10:05:41 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Fix incorrect SVGs (#30087) 2024-03-26 00:10:24 +00:00
explore Only use supported sort order for "explore/users" page (#29430) (#29443) 2024-03-03 02:28:45 +00:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Fix project counter in organization/individual profile (#28068) (#29361) 2024-02-24 07:58:43 +00:00
package Fix incorrect package link method calls in templates (#29580) (#29764) 2024-03-13 19:43:31 +08:00
projects Fix for attribute not pointing to the ID of the color picker (#29813) (#29815) 2024-03-15 13:33:46 +00:00
repo Avoid losing token when updating mirror settings (#30429) (#30466) 2024-04-15 11:29:42 +08:00
shared Performance improvements for pull request list page (#29900) (#29972) 2024-03-22 09:58:04 +08:00
status Fix manual merge form and 404 page templates (#30000) 2024-03-22 19:42:41 +08:00
swagger Forbid removing the last admin user (#28337) (#28793) 2024-01-16 01:51:46 +00:00
user Fix missing translation on milestons (#29785) (#29789) 2024-03-14 09:21:04 +01:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
install.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
post-install.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00