0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-15 03:51:32 +01:00
gitea/services/context
Lunny Xiao 2e3a191097
Fix javascript error when an anonymous user visiting migration page (#32144) (#32179)
backport #32144

This PR fixes javascript errors when an anonymous user visits the
migration page.
It also makes task view checking more restrictive.

The router moved from `/user/task/{id}/status` to
`/username/reponame/-/migrate/status` because it's a migrate status.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-10-04 17:58:04 +00:00
..
upload
access_log.go
api_org.go
api_test.go
api.go
base_test.go
base.go
captcha.go
context_cookie.go
context_model.go
context_request.go
context_response.go
context_template.go
context_test.go
context.go
csrf.go
org.go
package.go
pagination.go
permission.go
private.go
repo.go Fix javascript error when an anonymous user visiting migration page (#32144) (#32179) 2024-10-04 17:58:04 +00:00
response.go
user.go
utils.go
xsrf_test.go
xsrf.go