0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-29 04:08:09 +01:00
gitea/routers
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 Users should not be able to prohibit their own login (#10970) 2020-04-06 10:23:15 -04:00
api/v1 Contents API should return 404 on not exist (#10323) 2020-04-15 02:18:51 -03:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
private Allow to set protected file patterns that can not be changed under no conditions (#10806) 2020-03-27 00:26:34 +02:00
repo Remove check on username if AccessToken authentication (#11015) 2020-04-14 13:32:03 -05:00
routes [suggest] change merge strategy: do not check write access if user in merge white list (#10951) 2020-04-08 14:26:50 +03:00
user Reject duplicate AccessToken names (#10994) 2020-04-13 22:02:48 +03:00
utils Handle push rejection message in Merge & Web Editor (#10373) 2020-02-22 15:08:48 +02:00
home.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
init.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
install.go Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00