1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-02 15:09:33 -05:00
gitea/routers/web
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
..
admin Remove some unnecessary template helpers (#33069) 2025-01-01 18:02:34 +08:00
auth Support for email addresses containing uppercase characters when activating user account (#32998) 2024-12-27 19:16:23 +08:00
devtest De-emphasize signed commits (#31160) 2024-12-28 04:18:30 +08:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Fix bleve fuzziness search (#33078) 2025-01-03 00:32:02 +08:00
feed Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
org Use project's redirect url instead of composing url (#33058) 2024-12-31 19:19:53 +08:00
repo Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) 2025-01-07 10:50:09 +08:00
shared [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
user Fix bleve fuzziness search (#33078) 2025-01-03 00:32:02 +08:00
base.go Fix missing signature key error when pulling Docker images with SERVE_DIRECT enabled (#32365) 2024-10-31 15:28:25 +00:00
githttp.go Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
goget.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
home.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
web.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00