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 Rename code_langauge.go to code_language.go (#26377) 2023-08-07 15:00:53 -04:00
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 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 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 Update emoji set to Unicode 15 (#25595) 2023-06-29 16:29:48 +00:00
eventsource Final round of `db.DefaultContext` refactor (#27587) 2023-10-14 08:37:24 +00:00
generate Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
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 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 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 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 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 Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00: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
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
public Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00
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 Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
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 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 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 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
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