gitea/modules
wxiaoguang 94fde46151
Make bindata static build parse builtin templates correctly (#24003)
Close #24002


Two problems before:

1. The `log.Fatal` is missing after these `wrapFatal` calls, so the
error is not shown to users.
2. `GetTemplateAssetNames` has different behaviors for local files and
builtin assets, for builtin assets, it also returns directories, so we
need to check the extension again.

I have tested with `TAGS="bindata sqlite sqlite_unlock_notify" make
build && ./gitea` , it works well now. Before, the server responds
internal server error (because it doesn't complete the template parsing)
2023-04-08 21:56:50 +08:00
..
actions Do not crash when parsing an invalid workflow file (#23972) 2023-04-07 20:12:10 +08:00
activitypub
analyze
auth
avatar
base Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
cache
charset
container
context Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
csv
doctor
emoji
eventsource
generate
git Remove Repository.getFilesChanged to fix Actions paths and paths-ignore filter (#23920) 2023-04-07 14:42:43 +08:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
label
lfs
log
markup Append (comment) when a link points at a comment rather than the whole issue (#23734) 2023-04-03 16:02:57 +08:00
mcaptcha
metrics
migration
mirror
nosql
notification
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Allow repo admins too to delete the repo (#23940) 2023-04-07 11:21:02 -04:00
secret
session Use Get/Set instead of Rename when Regenerate session id (#23975) 2023-04-07 18:11:24 +02:00
setting
sitemap
ssh
storage
structs Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
svg
sync
system
templates Make bindata static build parse builtin templates correctly (#24003) 2023-04-08 21:56:50 +08:00
test Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
timeutil
translation Append (comment) when a link points at a comment rather than the whole issue (#23734) 2023-04-03 16:02:57 +08:00
turnstile
typesniffer
updatechecker
upload
uri
user
util Merge template functions "dict/Dict/mergeinto" (#23932) 2023-04-07 09:39:08 -05:00
validation
watcher
web
webhook