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/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
3 weeks ago
..
activity.go For API attachments, use API URL (#25639) 2 years ago
attachment.go Fix attachment download bug (#27486) 1 year ago
convert.go Add priority to protected branch (#32286) 2 months ago
git_commit.go Move context from modules to services (#29440) 11 months ago
git_commit_test.go Adjust object format interface (#28469) 1 year ago
issue.go Fix milestone deadline and date related problems (#32339) 3 months ago
issue_comment.go Issue time estimate, meaningful time tracking (#23113) 2 months ago
issue_test.go Move `convert` package to services (#22264) 2 years ago
main_test.go make writing main test easier (#27270) 1 year ago
mirror.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
notification.go Performance improvements for pull request list page (#29900) 11 months ago
package.go Clarify permission "HasAccess" behavior (#30585) 10 months ago
pull.go Add more load functions to make sure the reference object loaded (#32901) 1 month ago
pull_review.go Fix possible NPE in ToPullReviewList (#29759) 11 months ago
pull_review_test.go Enable tenv and testifylint rules (#32852) 2 months ago
pull_test.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
release.go add Upload URL to release API (#26663) 1 year ago
release_test.go add Upload URL to release API (#26663) 1 year ago
repository.go Make git clone URL could use current signed-in user (#33091) 3 weeks ago
secret.go feat: implement organization secret creation API (#26566) 1 year ago
status.go refactor improve NoBetterThan (#26126) 2 years ago
user.go Make gitea webhooks openproject compatible (#28435) 8 months ago
user_test.go Add context cache as a request level cache (#22294) 2 years ago
utils.go Support migration from AWS CodeCommit (#31981) 5 months ago
utils_test.go Rewrite queue (#24505) 2 years ago
wiki.go Fix an actions schedule bug (#28942) 1 year ago