gitea/services/context
wxiaoguang 245ac321c3
Fix context usage (#33554)
Some old code use direct type-casting to get context, it causes
problems.

This PR fixes all legacy problems and use correct `ctx.Value` to get
low-level contexts.

Fix #33518
2025-02-11 16:46:03 +08:00
..
upload Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
access_log_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
access_log.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
api_org.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Feature: Support workflow event dispatch via API (#33545) 2025-02-11 03:05:42 +08:00
base_form.go [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
base_path.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
base.go Feature: Support workflow event dispatch via API (#33545) 2025-02-11 03:05:42 +08:00
captcha.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
context_cookie.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_model.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
context_request.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_response.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
context_template.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
context_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
context.go Fix context usage (#33554) 2025-02-11 16:46:03 +08:00
csrf.go Refactor CSRF token (#32216) 2024-10-10 03:48:21 +00:00
org.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
package.go Fix context usage (#33554) 2025-02-11 16:46:03 +08:00
pagination.go Refactor pagination (#33037) 2024-12-30 01:57:38 +00:00
permission.go Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
private.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
repo.go Fix "redirect link" handling (#33440) 2025-01-31 04:12:14 +08:00
response.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
user.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
utils.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
xsrf_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
xsrf.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00