0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-23 07:06:29 +01:00
gitea/routers/web/repo
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
..
actions
setting Fix incorrect menu/link on webhook edit page (#29709) 2024-03-14 01:37:15 +00:00
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
code_frequency.go
commit.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
compare.go
contributors.go
download.go
editor_test.go
editor.go Editor error message misleading due to re-used key. (#29859) 2024-03-18 02:23:08 +00:00
find.go
fork.go Move fork router functions to a standalone file (#29756) 2024-03-13 10:07:53 +00:00
githttp_test.go
githttp.go
helper_test.go
helper.go
issue_content_history.go
issue_dependency.go
issue_label_test.go
issue_label.go Refactor label.IsArchived() (#29750) 2024-03-13 07:04:07 +01:00
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
issue.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
main_test.go
middlewares.go
migrate.go
milestone.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
packages.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
patch.go
projects_test.go
projects.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
pull_review_test.go
pull_review.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
pull.go Move fork router functions to a standalone file (#29756) 2024-03-13 10:07:53 +00:00
recent_commits.go
release_test.go
release.go
render.go
repo.go Some performance optimization on dashboard and issues page (#29010) 2024-03-12 04:57:19 +00:00
search.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
topic.go
treelist.go
view_test.go
view.go
wiki_test.go
wiki.go