forgejo/routers/web
Giteabot ee87a652e9
Editor error message misleading due to re-used key. () ()
Backport  by @buckybytes

The error message:

`editor.file_changed_while_editing = The file contents have changed
since you started editing. <a target="_blank" rel="noopener noreferrer"
href="%s">Click here</a> to see them or <strong>Commit Changes
again</strong> to overwrite them.`

Is re-used in inappropriate contexts. The link in the key goes to a 404
when the key is used in a situation where the file contents have not
changed.

Added two new keys to differentiate commit id mismatch and push out of
date conditions.

Co-authored-by: buckybytes <158571971+buckybytes@users.noreply.github.com>
(cherry picked from commit 00ea9af8e118790a186b4cf78a0ce85ce986bf1d)
2024-03-21 17:09:50 +01:00
..
admin Forbid removing the last admin user () () 2024-01-16 14:41:11 +00:00
auth [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
devtest Make "cancel" buttons have proper type in modal forms () 2023-07-03 14:04:50 +08:00
events
explore Only use supported sort order for "explore/users" page () () 2024-03-10 18:45:59 +07:00
feed Rework markup link rendering () () 2024-01-16 14:41:11 +00:00
healthcheck [BRANDING] cosmetic s/Gitea/Forgejo/ in logs, messages, etc. 2023-11-13 13:58:17 +01:00
misc Refactor CORS handler () () 2024-01-16 14:08:38 +00:00
org Rework markup link rendering () () 2024-01-16 14:41:11 +00:00
repo Editor error message misleading due to re-used key. () () 2024-03-21 17:09:50 +01:00
shared Fix project counter in organization/individual profile () () 2024-03-06 12:20:42 +08:00
user Fix 500 when deleting account with incorrect password or unsupported login type () () 2024-03-10 18:45:59 +07:00
base.go Fix panic in storageHandler () () 2023-10-06 16:51:26 +02:00
githttp.go Refactor CORS handler () () 2024-01-16 14:08:38 +00:00
goget.go
home.go [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
metrics.go
nodeinfo.go
swagger_json.go Start using template context function () 2023-08-08 01:22:47 +00:00
web.go Use Get but not Post to get actions artifacts () () 2024-03-21 09:25:14 +01:00
webfinger.go Add a link to OpenID Issuer URL in WebFinger response () 2023-07-20 16:02:45 +08:00