gitea/services
wxiaoguang 34dfc25b83
Make git clone URL could use current signed-in user (#33091)
close #33086

* Add a special value for "SSH_USER" setting: `(DOER_USERNAME)`
* Improve parseRepositoryURL and add tests (now it doesn't have hard
dependency on some setting values)

Many changes are just adding "ctx" and "doer" argument to functions.

By the way, improve app.example.ini, remove all `%(key)s` syntax, it
only makes messy and no user really cares about it.

Document: https://gitea.com/gitea/docs/pulls/138
2025-01-07 13:17:44 +08:00
..
actions feat(action): issue change title notifications (#33050) 2024-12-31 12:08:36 +00:00
agit Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +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 Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
automerge Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
context Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
contexttest Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
convert Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
cron Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
doctor Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-16 20:33:16 +02:00
feed Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
forms Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
gitdiff Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
indexer Update issue indexer after merging a PR (#30715) 2024-05-08 14:45:15 +00:00
issue Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2024-12-25 07:38:30 +00:00
lfs Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
mailer Support for email addresses containing uppercase characters when activating user account (#32998) 2024-12-27 19:16:23 +08:00
markup Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
migrations Remove aws go sdk package dependency (#33029) 2024-12-30 06:30:28 +00:00
mirror Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +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 Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +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 Fix duplicate co-author in squashed merge commit messages (#33020) 2024-12-30 19:03:21 +00:00
release Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
repository Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08: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 Test webhook email (#33033) 2024-12-30 01:25:49 +08:00
webtheme Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
wiki Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 2024-09-06 10:12:41 +00:00