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.
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
..
compare.go migrate from com.* to alternatives (#14103) 4 years ago
copy.go migrate from com.* to alternatives (#14103) 4 years ago
paginate.go [API] Add pagination to ListBranches (#14524) 3 years ago
paginate_test.go [API] Add pagination to ListBranches (#14524) 3 years ago
path.go Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
path_test.go Add LFS Migration and Mirror (#14726) 3 years ago
remove.go Make cancel from CatFileBatch and CatFileBatchCheck wait for the command to end (#16479) 3 years ago
sanitize.go Add push to remote mirror repository (#15157) 3 years ago
sanitize_test.go Add push to remote mirror repository (#15157) 3 years ago
shellquote.go Completely quote AppPath and CustomConf paths (#12955) 4 years ago
shellquote_test.go Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
timer.go Prevent timer leaks in Workerpool and others (#11333) 4 years ago
truncate.go Handle too long PR titles correctly (#16517) 3 years ago
url.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
util.go Use single shared random string generation function (#15741) 3 years ago
util_test.go Use single shared random string generation function (#15741) 3 years ago