You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 years ago
..
gitea-integration-meta/gitea-repositories Remove unused files (#2124) 7 years ago
api_branch_test.go Less verbose integration tests (#2123) 7 years ago
api_comment_test.go More integration tests for comment API (#2156) 7 years ago
api_fork_test.go Fix repo API bug (#2133) 7 years ago
api_issue_label_test.go Less verbose integration tests (#2123) 7 years ago
api_issue_test.go Less verbose integration tests (#2123) 7 years ago
api_keys_test.go Fix repo API bug (#2133) 7 years ago
api_pull_test.go Less verbose integration tests (#2123) 7 years ago
api_repo_test.go API: support '/orgs/:org/repos' (#2047) 7 years ago
api_team_test.go Less verbose integration tests (#2123) 7 years ago
change_default_branch_test.go Less verbose integration tests (#2123) 7 years ago
delete_user_test.go Less verbose integration tests (#2123) 7 years ago
editor_test.go Less verbose integration tests (#2123) 7 years ago
html_helper.go fix golint error and rename func for suggestion. (#1997) 7 years ago
integration_test.go Cache session cookies in tests (#2128) 7 years ago
internal_test.go Less verbose integration tests (#2123) 7 years ago
issue_test.go Less verbose integration tests (#2123) 7 years ago
mysql.ini Set console to debug for integration tests 7 years ago
pgsql.ini Set console to debug for integration tests 7 years ago
pull_compare_test.go Less verbose integration tests (#2123) 7 years ago
pull_create_test.go Less verbose integration tests (#2123) 7 years ago
pull_merge_test.go Less verbose integration tests (#2123) 7 years ago
release_test.go Less verbose integration tests (#2123) 7 years ago
repo_commits_test.go Less verbose integration tests (#2123) 7 years ago
repo_fork_test.go Less verbose integration tests (#2123) 7 years ago
repo_migrate_test.go Less verbose integration tests (#2123) 7 years ago
repo_test.go Only show SSH clone URL if signed in (#2169) (#2170) 7 years ago
signup_test.go Less verbose integration tests (#2123) 7 years ago
sqlite.ini Set console to debug for integration tests 7 years ago
user_test.go Less verbose integration tests (#2123) 7 years ago
version_test.go Less verbose integration tests (#2123) 7 years ago
xss_test.go Fix username rendering bug (#2122) 7 years ago