forgejo-federation/templates/repo/diff
zeripath fd15fd4c67
Handle too long PR titles correctly (#16517)
The CompareAndPullRequestPost handler for POST to /compare
incorrectly handles returning errors to the user. For a start
it does not set the necessary markers to switch SimpleMDE
but it also does not immediately return to the form.

This PR fixes this by setting the appropriate values, fixing
the templates and preventing the suggestion of a too long
title.

Fix #16507

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-07-25 03:59:27 +01:00
..
blob_excerpt.tmpl Fix whitespace rendering in diff (#13415) 2020-11-04 09:14:07 +02:00
box.tmpl Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
comment_form.tmpl Fix spelling (#16179) 2021-06-16 23:56:43 +02:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Make tasklist checkboxes clickable (#15791) 2021-05-23 17:14:03 +03:00
compare.tmpl Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
conversation.tmpl Fix previous/next button size (#16284) 2021-06-28 21:36:09 +02:00
csv_diff.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
image_diff.tmpl Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
options_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00
section_split.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
section_unified.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
stats.tmpl Search and Diff CSS enhancements (#14050) 2020-12-20 13:00:03 -05:00
whitespace_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00