gitea/templates
zeripath 2e85ad665a
Contents API should return 404 on not exist (#10323)
* Return 404 on not exist

* swagger update and use git.IsErrNotExist

* Handle delete too

* Handle delete too x2

* Fix pr 10323 (#3)

* fix TESTS

* leafe a note for fututre

* placate golangci-lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update integrations/api_repo_file_delete_test.go

Co-Authored-By: 6543 <6543@obermui.de>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-04-15 02:18:51 -03:00
..
admin Add git hook tooltip (#11030) 2020-04-09 18:15:09 -05:00
base move jquery-datetimepicker to npm/webpack (#10713) 2020-03-17 15:08:15 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Fix language label vertical alignment (#11061) 2020-04-13 17:00:32 -03:00
mail Style blockquote for default issue mail template (#10024) 2020-01-27 22:35:34 +00:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
pwa move jquery-datetimepicker to npm/webpack (#10713) 2020-03-17 15:08:15 -04:00
repo Cache PullRequest Divergence (#10914) 2020-04-14 09:53:34 -04:00
status fix 404 and 500 image size in small size screen (#11043) 2020-04-11 17:31:17 -03:00
swagger Contents API should return 404 on not exist (#10323) 2020-04-15 02:18:51 -03:00
user add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 2020-04-06 09:33:15 -04:00