1
0
Fork 0
forgejo/integrations
Stefan Kalscheuer 0b177574c9 Only show SSH clone URL if signed in (#2169) (#2170)
* Add configuration flag SSH_EXPOSE_ANONYMOUS

If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in.

* Default SSH exposure set to false

To match GitHub and for security reasons, SSH URL exposure is disabled by default.
In addition to that. minor code changes have been applied.

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>

* Add integration tests

* Hide clone button neither HTTP and SSH is enabled

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
2017-07-15 22:21:51 +08:00
..
gitea-integration-meta/gitea-repositories
api_branch_test.go
api_comment_test.go More integration tests for comment API (#2156) 2017-07-14 01:33:26 +03:00
api_fork_test.go Fix repo API bug (#2133) 2017-07-12 03:23:41 +02:00
api_issue_label_test.go
api_issue_test.go
api_keys_test.go Fix repo API bug (#2133) 2017-07-12 03:23:41 +02:00
api_pull_test.go
api_repo_test.go API: support '/orgs/:org/repos' (#2047) 2017-07-13 13:14:15 +02:00
api_team_test.go
change_default_branch_test.go
delete_user_test.go
editor_test.go
html_helper.go
integration_test.go Cache session cookies in tests (#2128) 2017-07-09 10:07:29 +08:00
internal_test.go
issue_test.go
mysql.ini
pgsql.ini
pull_compare_test.go
pull_create_test.go
pull_merge_test.go
release_test.go
repo_commits_test.go
repo_fork_test.go
repo_migrate_test.go
repo_test.go Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
signup_test.go
sqlite.ini
user_test.go
version_test.go
xss_test.go Fix username rendering bug (#2122) 2017-07-12 17:58:52 +03:00