You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/templates
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>
3 years ago
..
admin Refactor: Move login out of models (#16199) 3 years ago
base Make Mermaid.js limit configurable (#16519) 3 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Issue sidebar and misc css fixes (#15524) 3 years ago
mail Use TrN helper for email templates (#16425) 3 years ago
org Add support for corporate WeChat webhooks (#15910) 3 years ago
repo Handle too long PR titles correctly (#16517) 3 years ago
shared Remove branch URL before IssueRefURL (#15968) 3 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
swagger Add support for corporate WeChat webhooks (#15910) 3 years ago
user Refactor: Move login out of models (#16199) 3 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
install.tmpl Remove utf8 option from installation page (#16126) 3 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago