forgejo/services/context
Gusted d4e4a2a1e3 chore: move template context (#8663)
The template module now holds the **Template** context, this makes it possible for (render) function in the template module to access functions and share data between render functions.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8663
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Lucas <sclu1034@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-07-25 11:55:15 +02:00
..
upload Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
access_log.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
api.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
api_org.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
api_test.go chore: QoL improvements to tests (#7917) 2025-05-21 15:45:56 +02:00
base.go fix: omit Content-Length on 307 redirects when serving direct manifest for containers (#8037) 2025-06-09 08:43:41 +02:00
base_test.go fix: omit Content-Length on 307 redirects when serving direct manifest for containers (#8037) 2025-06-09 08:43:41 +02:00
captcha.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
context.go chore: move template context (#8663) 2025-07-25 11:55:15 +02:00
context_cookie.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
context_model.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
context_request.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
context_response.go ui: improve error pages (#7274) 2025-03-28 19:50:43 +00:00
context_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
csrf.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
org.go feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
package.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
pagination.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
permission.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
private.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
quota.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
repo.go feat(ui): add repository description to og:image:alt (#8325) 2025-06-29 05:54:07 +02:00
repository.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
response.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
utils.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
xsrf.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
xsrf_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00