You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models
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
2 months ago
..
actions Refactor "string truncate" (#32984) 3 months ago
activities Refactor tests (#33021) 2 months ago
admin Fix javascript error when an anonymous user visiting migration page (#32144) 5 months ago
asymkey Move delete deploy keys into service layer (#32201) 3 months ago
auth Refactor tests (#33021) 2 months ago
avatars Replace 10 more gt- classes with tw- (#29945) 12 months ago
db Fix unittest and repo create bug (#33061) 2 months ago
dbfs Enable `unparam` linter (#31277) 9 months ago
fixtures Refactor fixture loading for testing (#33024) 2 months ago
git Enable tenv and testifylint rules (#32852) 3 months ago
issues Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) 2 months ago
migrations Make git clone URL could use current signed-in user (#33091) 2 months ago
organization Refactor tests (#33021) 2 months ago
packages Refactor maven package registry (#33049) 2 months ago
perm Enable tenv and testifylint rules (#32852) 3 months ago
project Use project's redirect url instead of composing url (#33058) 2 months ago
pull Add support for sha256 repositories (#23894) 1 year ago
renderhelper Refactor render system (orgmode) (#32671) 3 months ago
repo Make git clone URL could use current signed-in user (#33091) 2 months ago
secret Clarify Actions resources ownership (#31724) 7 months ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system Refactor deletion (#28610) 1 year ago
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 4 months ago
unittest Make git clone URL could use current signed-in user (#33091) 2 months ago
user Refactor pagination (#33037) 2 months ago
webhook Enable tenv and testifylint rules (#32852) 3 months ago
main_test.go make writing main test easier (#27270) 1 year ago
repo.go Fix issue comment number (#30556) 2 months ago
repo_test.go Fix issue comment number (#30556) 2 months ago