gitea/modules
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 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
assetfs Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
auth Trivial fixes (#33103) 2025-01-04 22:25:50 +00:00
avatar
badge
base Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
cache Refactor RepoBranchTagSelector (#32681) 2024-12-02 01:41:32 +00: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
eventsource
generate
git Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
gitgraph Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00: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 Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
hcaptcha
highlight
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 2024-09-11 05:47:00 +00:00
htmlutil Refactor markup render system (#32533) 2024-11-18 13:25:42 +08:00
httpcache Fix wrong last modify time (#32102) 2024-09-21 21:56:25 +00:00
httplib Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
indexer Fix bleve fuzziness search (#33078) 2025-01-03 00:32:02 +08:00
issue/template Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
json
label
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 Fix "stop time tracking button" on navbar (#33084) 2025-01-03 04:01:05 +08:00
mcaptcha
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
optional Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
options
packages Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +08:00
paginator
pprof
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
proxyprotocol
public
queue Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
recaptcha
references Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
regexplru
repository Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
reqctx [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
secret
session Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2024-04-25 11:22:32 +00:00
setting Make Gitea always use its internal config, ignore `/etc/gitconfig` (#33076) 2025-01-02 20:26:48 +00:00
sitemap
ssh Fine tune ssh related comments and code (#32846) 2024-12-15 06:07:50 +00:00
storage Fix Azure blob object `Seek` (#32974) 2024-12-25 04:54:52 +00:00
structs Implement update branch API (#32433) 2024-12-12 05:02:35 +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
templates Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17: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
turnstile
typesniffer Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
updatechecker
uri
user Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
util Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
validation Validate OAuth Redirect URIs (#32643) 2024-11-28 10:50:27 +08:00
web Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +08:00
webhook Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
zstd Support compression for Actions logs (#31761) 2024-08-09 10:10:30 +08:00