0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 02:57:47 +01:00
gitea/modules/setting
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186)
* Ensure errors from IsDir propagate

* Handle errors when checking IsFile

* Handle and propagate errors from IsExist

* Update modules/templates/static.go

* Update modules/templates/static.go

* Return after ctx.ServerError

* Apply suggestions from code review

* Fix tests

The previous merge managed to break repo_form.go

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

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-11-27 21:42:08 -05:00
..
attachment.go Provide self-registering storage system (#12978) 2020-10-12 23:58:34 -04:00
cache.go
cors.go
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
git.go Fixed git args duplication (#13411) 2020-11-03 13:35:09 +02:00
indexer_test.go
indexer.go Avoid setting the CONN_STR in issue indexer queue unless it is meant to be set (#13069) 2020-10-07 23:24:41 +01:00
lfs.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
log.go
mailer.go
markup.go
migrations.go
picture.go Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
project.go
queue.go Slightly simplify the queue settings code to help reduce the risk of problems (#12976) 2020-10-15 17:40:03 -04:00
repository.go missing quotes in default value slice (#13550) 2020-11-13 22:17:58 -05:00
service.go
session.go
setting.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
storage.go Storage configuration support [storage] (#13314) 2020-10-31 16:51:48 -04:00
task.go Avoid setitng the CONN_STR in queues unless it is meant to be set (#13025) 2020-10-04 18:12:26 +01:00
webhook.go