1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-02 15:09:33 -05:00
gitea/modules/httplib
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
..
request.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
serve_test.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
serve.go Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
url_test.go Only use Host header from reverse proxy (#32060) 2024-09-20 14:57:55 +00:00
url.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00