gitea/modules
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.
2025-01-30 00:09:52 +00:00
..
actions Fix wrong status of Set up Job when first step is skipped (#32120) 2024-09-24 18:34:08 +00:00
activitypub Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
analyze Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
assetfs Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
auth Fix pam auth test regression (#33169) 2025-01-09 21:09:11 +08:00
avatar Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
badge Implement actions badge svgs (#28102) 2024-02-27 18:56:18 +01:00
base Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
cache fix(cache): cache test triggered by non memory cache (#33220) 2025-01-12 04:33:43 +08:00
charset refactor: remove redundant err declarations (#32381) 2024-10-30 19:36:24 +00:00
container Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
csv Refactor markup render system (#32589) 2024-11-22 05:48:09 +00:00
dump Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
emoji Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
eventsource Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
generate Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
git Link to tree views of submodules if possible (#33424) 2025-01-30 00:09:52 +00:00
gitgraph Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
gitrepo [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
globallock Make API "compare" accept commit IDs (#32801) 2024-12-12 08:10:09 +00:00
graceful Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
gtprof Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
hcaptcha Consume hcaptcha and pwn deps (#22610) 2023-01-29 09:49:51 -06:00
highlight Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 2024-09-11 05:47:00 +00:00
htmlutil Refactor HTMLFormat, update chroma render, fix js error (#33136) 2025-01-08 03:44:32 +00:00
httpcache Fix wrong last modify time (#32102) 2024-09-21 21:56:25 +00:00
httplib Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
indexer Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
issue/template Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
json Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
label Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
lfs Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
lfstransfer Refactor LFS SSH and internal routers (#32473) 2024-11-12 02:38:22 +00:00
log Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
markup Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
mcaptcha Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
metrics Rename project board -> column to make the UI less confusing (#30170) 2024-05-27 08:59:54 +00:00
migration Support migrating GitHub/GitLab PR draft status (#32242) 2024-10-13 22:58:13 +03:00
nosql Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
optional Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
options Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
packages Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +08:00
paginator Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
pprof Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
private Refactor LFS SSH and internal routers (#32473) 2024-11-12 02:38:22 +00:00
process Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
proxy Use proxy for pull mirror (#22771) 2023-02-11 08:39:50 +08:00
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
public Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00
queue Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
recaptcha Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
references Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
regexplru Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
repository Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
reqctx [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
secret Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
session Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2024-04-25 11:22:32 +00:00
setting Support disable passkey auth (#33348) 2025-01-22 22:58:36 +00:00
sitemap Fix sitemap (#22272) 2022-12-30 23:31:00 +08:00
ssh Fine tune ssh related comments and code (#32846) 2024-12-15 06:07:50 +00:00
storage Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
structs Fix sync fork for consistency (#33147) 2025-01-10 05:29:55 +00:00
svg Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
sync Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 2024-09-06 10:12:41 +00:00
system Refactor fixture loading for testing (#33024) 2024-12-30 04:06:57 +00:00
tailmsg Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
templates Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
test Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
testlogger Improve testing and try to fix MySQL hanging (#32515) 2024-11-15 23:45:07 +08:00
timeutil Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
translation Render embedded code preview by permlink in markdown (#30234) 2024-04-02 17:48:27 +00:00
turnstile Add new captcha: cloudflare turnstile (#22369) 2023-02-05 15:29:03 +08:00
typesniffer Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
updatechecker Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
uri Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
util Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
validation Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
web Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
webhook Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00
zstd Support compression for Actions logs (#31761) 2024-08-09 10:10:30 +08:00