gitea/routers/web
Lunny Xiao 6410c34b7f
Refactor ref type ()
Major changes:

1. do not sync ".keep" file during tests
2. fix incorrect route handler and empty repo handling (backported as  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
..
admin Remove some unnecessary template helpers () 2025-01-01 18:02:34 +08:00
auth Support for email addresses containing uppercase characters when activating user account () 2024-12-27 19:16:23 +08:00
devtest De-emphasize signed commits () 2024-12-28 04:18:30 +08:00
events Move context from modules to services () 2024-02-27 08:12:22 +01:00
explore Fix bleve fuzziness search () 2025-01-03 00:32:02 +08:00
feed Refactor context RefName and RepoAssignment () 2025-01-13 01:07:05 +00:00
healthcheck Always enable caches () 2023-12-19 09:29:05 +00:00
misc Refactor template & test related code () 2024-12-22 15:33:19 +00:00
org Use project's redirect url instead of composing url () 2024-12-31 19:19:53 +08:00
repo Refactor ref type () 2025-01-14 15:35:34 +08:00
shared [Feature] Private README.md for organization () 2024-12-31 04:22:09 +00:00
user Fix bleve fuzziness search () 2025-01-03 00:32:02 +08:00
base.go Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled () 2024-10-31 15:28:25 +00:00
githttp.go Fix LFS route mock, realm, middleware names () 2024-11-13 16:58:09 +08:00
goget.go Make git clone URL could use current signed-in user () 2025-01-07 13:17:44 +08:00
home.go Refactor template & test related code () 2024-12-22 15:33:19 +00:00
metrics.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
web.go Refactor ref type () 2025-01-14 15:35:34 +08:00
webfinger.go Move context from modules to services () 2024-02-27 08:12:22 +01:00