0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-12 06:42:51 +01:00
gitea/tests
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
..
e2e Refactor env var related code (#33075) 2025-01-02 11:36:50 +08:00
fuzz Refactor markup render system (#32645) 2024-11-26 16:46:02 +00:00
gitea-lfs-meta
gitea-repositories-meta Remove some unnecessary template helpers (#33069) 2025-01-01 18:02:34 +08:00
integration Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
testdata/data Add artifacts test fixture (#30300) 2024-11-01 10:29:54 +08:00
mssql.ini.tmpl Remove some unnecessary template helpers (#33069) 2025-01-01 18:02:34 +08:00
mysql.ini.tmpl Remove some unnecessary template helpers (#33069) 2025-01-01 18:02:34 +08:00
pgsql.ini.tmpl Remove some unnecessary template helpers (#33069) 2025-01-01 18:02:34 +08:00
sqlite.ini.tmpl Remove some unnecessary template helpers (#33069) 2025-01-01 18:02:34 +08:00
test_utils.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00