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/routers
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
..
api/v1 Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
common Support custom mime type mapping for text files (#16304) 3 years ago
install just add some unit tests (#16291) 3 years ago
private Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
utils just add some unit tests (#16291) 3 years ago
web Handle too long PR titles correctly (#16517) 3 years ago
init.go Refactor: Move login out of models (#16199) 3 years ago