1
0
mirror of https://github.com/go-gitea/gitea synced 2025-01-06 08:46:13 +01:00
gitea/contrib
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
* 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
..
environment-to-ini Handle and propagate errors when checking if paths are Dirs, Files or Exist () 2020-11-27 21:42:08 -05:00
fhs-compliant-script Add FHS-compliant-script () 2019-05-26 17:49:54 -04:00
fixtures Move fixture generation to contrib and add test () 2020-02-15 10:59:43 +02:00
ide fix quotation marks in launch.json () 2020-10-27 16:58:09 -04:00
init Make the default PID file compile-time settable () 2020-08-15 21:15:27 +01:00
launchd Synced gitignores with github repo () 2017-03-15 13:30:00 +01:00
legal [Contrib] Change License Link to Full CC0 Legalcode (PP and TOS) () 2020-06-02 21:22:17 -04:00
options/label Adding advanced label set. () 2020-05-07 07:47:34 +01:00
pr Use mount but not register for chi routes () 2020-11-16 15:33:41 +08:00
supervisor Synced gitignores with github repo () 2017-03-15 13:30:00 +01:00
systemd systemd service: Add commented PATH environment option for Git prefix () 2020-10-24 17:13:59 -04:00
autoboot.sh Synced gitignores with github repo () 2017-03-15 13:30:00 +01:00
mysql.sql Synced gitignores with github repo () 2017-03-15 13:30:00 +01:00
README Synced gitignores with github repo () 2017-03-15 13:30:00 +01:00

All files in subdirectories are templates, do modifications based on your environment first.