gitea/services/context
PineBale 99cd709bd6
Fix Repository transferring page (#37277)
While editing frontend, I found some inconsistencies while testing
transferring repositories:

- No button for accepting/rejecting/cancelling the transfer of an empty
repository.
- The `redirect_to` in `templates/repo/header.tmpl` is useless.
- There's no redirection when there's an error from `handleActionError`
in `routers/web/repo/repo.go`. Therefore, instead of flash message, a
blank page will be displayed.

This pr adds some commits to resolve all these issues.

Update: see the new changes
https://github.com/go-gitea/gitea/pull/37277#issuecomment-4276150232

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2026-04-19 17:57:51 +00:00
..
upload various fixes (#36697) 2026-02-22 08:01:43 +01:00
access_log.go Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
access_log_test.go Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
api.go Fix CodeQL code scanning alerts (#36858) 2026-03-08 14:35:50 +00:00
api_org.go
api_test.go
base.go Refactor htmx and fetch-action related code (#37186) 2026-04-13 18:53:55 +00:00
base_form.go Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +08:00
base_path.go Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
base_test.go Refactor htmx and fetch-action related code (#37186) 2026-04-13 18:53:55 +00:00
captcha.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
context.go Use Content-Security-Policy: script nonce (#37232) 2026-04-15 20:07:57 +00:00
context_cookie.go Replace CSRF cookie with `CrossOriginProtection` (#36183) 2025-12-25 12:33:34 +02:00
context_model.go
context_request.go
context_response.go Deprecate RenderWithErr (#36769) 2026-02-27 12:38:44 +00:00
context_template.go Use Content-Security-Policy: script nonce (#37232) 2026-04-15 20:07:57 +00:00
context_test.go
org.go Add pagination and search box to org teams list (#37245) 2026-04-17 17:29:11 +02:00
package.go Move package settings to package instead of being tied to version (#37026) 2026-04-06 03:51:51 +08:00
pagination.go Fix CodeQL code scanning alerts (#36858) 2026-03-08 14:35:50 +00:00
pagination_test.go Fix notifications pagination query parameters (#36351) 2026-01-12 22:17:42 +00:00
permission.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
private.go Fix SSH LFS timeout (#34838) 2025-06-24 15:49:31 +00:00
repo.go Fix Repository transferring page (#37277) 2026-04-19 17:57:51 +00:00
response.go Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
user.go Check user visibility when redirecting to a renamed user (#36148) 2025-12-14 03:14:18 +01:00
utils.go