You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web
Rowan Bohde ac2d97cb61
Link to tree views of submodules if possible (#33424)
This is a follow-up to https://github.com/go-gitea/gitea/pull/33097. 

When linking a submodule at a commit in either the repo view, or a diff
when adding a new submodule, link to the tree view of that submodules
intead of the individual commit. This shows the user the full tree,
instead of the diff of the commit.

This makes the assumption that the tree for a given SHA is at
`<repo_url>/tree/<sha>`. This URL format is supported by both Github &
Gitlab, but not Gitea. To fix this, add a redirect from
`<username>/<repo>/tree/<ref>` to `<username>/<repo>/src/<ref>`, so that
Gitea can support this URL structure.
4 weeks ago
..
admin Support performance trace (#32973) 1 month ago
auth Support disable passkey auth (#33348) 1 month ago
devtest De-emphasize signed commits (#31160) 2 months ago
events Move context from modules to services (#29440) 1 year ago
explore Fix bleve fuzziness search (#33078) 2 months ago
feed Add pubdate for repository rss and add some tests (#33411) 4 weeks ago
healthcheck Always enable caches (#28527) 1 year ago
misc Refactor template & test related code (#32938) 2 months ago
org Use project's redirect url instead of composing url (#33058) 2 months ago
repo Link to tree views of submodules if possible (#33424) 4 weeks ago
shared [Feature] Private README.md for organization (#32872) 2 months ago
user Refactor user & avatar (#33433) 4 weeks ago
base.go Prepare for support performance trace (#33286) 1 month ago
githttp.go Fix LFS route mock, realm, middleware names (#32488) 3 months ago
goget.go Make git clone URL could use current signed-in user (#33091) 2 months ago
home.go Refactor template & test related code (#32938) 2 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 1 year ago
passkey.go Move context from modules to services (#29440) 1 year ago
swagger_json.go Move context from modules to services (#29440) 1 year ago
web.go Link to tree views of submodules if possible (#33424) 4 weeks ago
webfinger.go Move context from modules to services (#29440) 1 year ago