forkjo/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 Remove unused files (#2124) 2017-07-07 21:52:30 +02:00
api_branch_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
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 Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
api_issue_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
api_keys_test.go Fix repo API bug (#2133) 2017-07-12 03:23:41 +02:00
api_pull_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
api_repo_test.go API: support '/orgs/:org/repos' (#2047) 2017-07-13 13:14:15 +02:00
api_team_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
change_default_branch_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
delete_user_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
editor_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
html_helper.go fix golint error and rename func for suggestion. (#1997) 2017-06-17 11:29:59 -05:00
integration_test.go Cache session cookies in tests (#2128) 2017-07-09 10:07:29 +08:00
internal_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
issue_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
mysql.ini Set console to debug for integration tests 2017-06-15 08:12:30 -04:00
pgsql.ini Set console to debug for integration tests 2017-06-15 08:12:30 -04:00
pull_compare_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
pull_create_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
pull_merge_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
release_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
repo_commits_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
repo_fork_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
repo_migrate_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
repo_test.go Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
signup_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
sqlite.ini Set console to debug for integration tests 2017-06-15 08:12:30 -04:00
user_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
version_test.go Less verbose integration tests (#2123) 2017-07-07 21:36:47 +02:00
xss_test.go Fix username rendering bug (#2122) 2017-07-12 17:58:52 +03:00