gitea/services/context
Lunny Xiao 6410c34b7f
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
Refactor ref type (#33242)
Major changes:

1. do not sync ".keep" file during tests
2. fix incorrect route handler and empty repo handling (backported as #33253 with tests)
3. do not use `RepoRef`: most of the calls are abuses.
4. Use `git.RefType` instead of a new type definition `RepoRefType` on `context`.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-14 15:35:34 +08:00
..
upload Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
access_log.go
api_org.go
api_test.go
api.go Fix raw file API ref handling (#33172) 2025-01-10 01:31:49 +00: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 Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
captcha.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
context_cookie.go
context_model.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
context_request.go
context_response.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
context_template.go
context_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
context.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
csrf.go Refactor CSRF token (#32216) 2024-10-10 03:48:21 +00:00
org.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
package.go Refactor request context (#32956) 2024-12-24 11:43:57 +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 Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
response.go
user.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
utils.go
xsrf_test.go
xsrf.go