0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-15 03:51:32 +01:00
gitea/services/convert
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
..
activity.go
attachment.go
convert.go Add priority to protected branch (#32286) 2024-11-27 05:41:06 +01:00
git_commit_test.go
git_commit.go
issue_comment.go Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
issue_test.go
issue.go Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
main_test.go
mirror.go
notification.go
package.go Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00
pull_review_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
pull_review.go
pull_test.go
pull.go Add more load functions to make sure the reference object loaded (#32901) 2024-12-19 14:10:08 +08:00
release_test.go
release.go
repository.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
secret.go
status.go
user_test.go
user.go Make gitea webhooks openproject compatible (#28435) 2024-05-26 04:08:13 +00:00
utils_test.go
utils.go Support migration from AWS CodeCommit (#31981) 2024-09-11 07:49:42 +08:00
wiki.go