gitea/services
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 Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
agit User facing messages for AGit errors (#33012) 2025-01-27 02:33:39 +00:00
asymkey Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
attachment Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
auth Add basic auth support to rss/atom feeds (#33371) 2025-01-27 02:07:39 +00:00
automerge Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
context Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
contexttest Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
convert Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
cron Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
doctor Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-16 20:33:16 +02:00
feed Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
forms Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00
gitdiff Link to tree views of submodules if possible (#33424) 2025-01-30 00:09:52 +00:00
indexer Update issue indexer after merging a PR (#30715) 2024-05-08 14:45:15 +00:00
issue Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
lfs Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
mailer Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
markup Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
migrations Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
mirror Fix mirror bug (#33224) 2025-01-12 18:46:37 +08:00
notify Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2024-11-26 21:55:06 +00:00
org Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
packages Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 2025-01-27 09:14:08 +08:00
projects Add issue comment when moving issues from one column to another of the project (#29311) 2024-08-09 01:29:02 +00:00
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
release Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
repository Fix system admin cannot fork or get private fork with API (#33401) 2025-01-27 16:25:14 +00:00
secrets Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
task Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
uinotification Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
user Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
webhook Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00
webtheme Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
wiki Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00