0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-14 17:03:43 +01:00
gitea/services/context
Lunny Xiao 6410c34b7f
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
base.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
captcha.go
context_cookie.go
context_model.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
context_request.go
context_response.go
context_template.go
context_test.go
context.go
csrf.go
org.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
package.go
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
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