Commit Graph

18 Commits (8e12ef911a1d10dedb03e3127c42ca76f9850aca)

Author SHA1 Message Date
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
wxiaoguang 6913053223
Start using template context function (#26254) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 5f39285d6d
Improve RunMode / dev mode (#24886) 2 years ago
Brecht Van Lommel 3588edbb08
Add gitea manager reload-templates command (#24843) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
wxiaoguang e3750370df
Use globally shared HTMLRender (#24436) 2 years ago
wxiaoguang 722dab5286
Make HTML template functions support context (#24056) 2 years ago
wxiaoguang 1c8bc4081a
Show friendly 500 error page to users and developers (#24110) 2 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
wxiaoguang 94fde46151
Make bindata static build parse builtin templates correctly (#24003) 2 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965) 2 years ago
zeripath 8f3aaef374
Improve template error reporting (#23396) 2 years ago
Lunny Xiao c59e1537a8
Display error log when a modified template has an error so that it could recovery when the error fixed (#22261) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
zeripath 7d2545d183
Add nicer error handling on template compile errors (#21350) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago