gitea/modules/templates
wxiaoguang 65986f423f
Refactor embedded assets and drop unnecessary dependencies (#34692)
Benefits:

1. smaller binary size (reduces more than 1MB)
2. better control of the assets details
3. fewer unmaintained dependencies
4. faster startup if the assets are not needed
5. won't hang up editors when open "bindata.go" by accident
2025-06-12 03:59:33 +00:00
..
eval Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
scopedtmpl Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
vars Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
base.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 2023-09-07 09:37:47 +00:00
helper.go Remove legacy template helper functions (#34426) 2025-05-11 01:42:21 -04:00
helper_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
htmlrenderer.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
htmlrenderer_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
mailer.go Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
templates_bindata.go Refactor embedded assets and drop unnecessary dependencies (#34692) 2025-06-12 03:59:33 +00:00
templates_dynamic.go Refactor embedded assets and drop unnecessary dependencies (#34692) 2025-06-12 03:59:33 +00:00
util_avatar.go Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
util_date.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
util_date_test.go Remove legacy template helper functions (#34426) 2025-05-11 01:42:21 -04:00
util_dict.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
util_format.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
util_format_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
util_json.go Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
util_misc.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
util_render.go Fix commit message rendering and some UI problems (#34680) 2025-06-10 23:20:32 +08:00
util_render_test.go Refactor commit message rendering and fix bugs (#34412) 2025-05-09 20:42:35 +08:00
util_slice.go Improve template helper functions: string/slice (#24266) 2023-04-22 14:16:22 -04:00
util_string.go Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
util_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00