gitea/routers/api
wxiaoguang 34dfc25b83
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
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
..
actions Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
packages Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
v1 Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +08:00