gitea/modules
zeripath 7d2545d183
Add nicer error handling on template compile errors (#21350)
There are repeated issues reported whereby users are unable to interpret
the template errors. This PR adds some (somewhat complex) error handling
to the panic recovery for template renderering but hopefully makes the
interpretation of the error easier.

Reference #21344

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-10-07 22:02:24 +01:00
..
activitypub Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
analyze
appstate
auth
avatar
base
cache Update go-chi/cache to utilize Ping() (#19719) 2022-05-15 20:43:27 +02:00
charset Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2022-09-05 14:04:18 +08:00
container Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
context Tag list should include draft releases with existing tags (#21263) 2022-10-03 20:05:53 +08:00
convert Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
csv
doctor Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
emoji
eventsource
generate
git Refactor parseTreeEntries, speed up tree list (#21368) 2022-10-08 01:20:53 +08:00
gitgraph
graceful Support Proxy protocol (#12527) 2022-08-21 19:20:43 +01:00
hcaptcha
highlight Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
hostmatcher
httpcache
httplib
indexer test: use `T.TempDir` to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
issue/template
json
lfs
log test: use `T.TempDir` to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
markup Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
mcaptcha
metrics
migration
mirror
nosql
notification Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
options Fix and improve incorrect error messages (#21342) 2022-10-06 07:00:54 +01:00
packages Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
paginator Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2022-04-03 17:46:48 +08:00
password Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
pprof Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
private
process
proxy Return nil proxy function if proxy not enabled (#16742) 2021-08-19 16:41:20 -04:00
proxyprotocol Support Proxy protocol (#12527) 2022-08-21 19:20:43 +01:00
public Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
queue test: use `T.TempDir` to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
recaptcha
references Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
regexplru Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
repository Remove unnecessary length check for repo's Description & Website (#21194) 2022-09-18 10:35:24 +08:00
secret
session
setting Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2022-10-02 01:26:33 +08:00
sitemap
ssh
storage Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
structs Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
svg
sync Use queue instead of memory queue in webhook send service (#19390) 2022-04-25 20:03:01 +02:00
templates Add nicer error handling on template compile errors (#21350) 2022-10-07 22:02:24 +01:00
test Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
timeutil Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
translation Use en-US as fallback when using other default language (#21200) 2022-09-25 02:00:16 +03:00
typesniffer
updatechecker
upload
uri
user
util Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
validation
watcher
web