]> source.dussan.org Git - gitea.git/commit
Disallow empty titles (#5785) (#5794)
authorLanre Adelowo <adelowomailbox@gmail.com>
Mon, 21 Jan 2019 15:55:12 +0000 (16:55 +0100)
committerLauris BH <lauris@nix.lv>
Mon, 21 Jan 2019 15:55:12 +0000 (17:55 +0200)
commit4577cddd285f066b65bc2619f3d6b5d087f0ab4a
treef0c1c6fb3908acccd3854c20403d4c3c37c5075f
parent8da5237107c369209fefab0b1afb52419937ca0f
Disallow empty titles (#5785) (#5794)

* add util method and tests

* make sure the title of an issue cannot be empty

* wiki title cannot be empty

* pull request title cannot be empty

* update to make use of the new util methof
cmd/cmd.go
modules/util/util.go
modules/util/util_test.go
options/locale/locale_en-US.ini
routers/repo/issue.go
routers/repo/pull.go
routers/repo/wiki.go