0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-02 23:45:30 +02:00
gitea/routers
buckybytes 16e360099d
Editor error message misleading due to re-used key. (#29859)
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.
2024-03-18 02:23:08 +00:00
..
api Upgrade Go 1.22 and upgrade dependency (#29869) 2024-03-17 15:40:05 +00:00
common Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-13 10:34:58 +00:00
install Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
private Sync branches first (#29714) 2024-03-11 06:42:50 +00:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web Editor error message misleading due to re-used key. (#29859) 2024-03-18 02:23:08 +00:00
init.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00