0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/contrib
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
..
environment-to-ini Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
fhs-compliant-script
fixtures Move fixture generation to contrib and add test (#10277) 2020-02-15 10:59:43 +02:00
ide fix quotation marks in launch.json (#13325) 2020-10-27 16:58:09 -04:00
init Make the default PID file compile-time settable (#12485) 2020-08-15 21:15:27 +01:00
launchd
legal [Contrib] Change License Link to Full CC0 Legalcode (PP and TOS) (#10057) 2020-06-02 21:22:17 -04:00
options/label Adding advanced label set. (#11298) 2020-05-07 07:47:34 +01:00
pr Use mount but not register for chi routes (#13555) 2020-11-16 15:33:41 +08:00
supervisor
systemd systemd service: Add commented PATH environment option for Git prefix (#13170) 2020-10-24 17:13:59 -04:00
autoboot.sh
mysql.sql
README

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