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.
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
..
diff Missing signed commit display translation (#2134) 7 years ago
editor repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032) 7 years ago
issue Fix search by issue type (#1914) 7 years ago
pulls resolved #310: hide fork to self (#323) 8 years ago
release Attach to release (#673) 8 years ago
settings Add Gitea Webhook (#1755) 7 years ago
wiki Only show SSH clone URL if signed in (#2169) (#2170) 7 years ago
bare.tmpl Only show SSH clone URL if signed in (#2169) (#2170) 7 years ago
branch_dropdown.tmpl Web editor: improve delete file process 8 years ago
commits.tmpl Use whole button as link 7 years ago
commits_table.tmpl Show commit status icon in commits table (#1688) 7 years ago
create.tmpl Dropped link to Gogs docs from template 8 years ago
forks.tmpl #3348 always use relative avatar link in the template 8 years ago
graph.tmpl Make issue in commit graph "clickable" (#1392) 7 years ago
header.tmpl Smaller watch, star, and fork buttons (#2052) 7 years ago
home.tmpl Only show SSH clone URL if signed in (#2169) (#2170) 7 years ago
migrate.tmpl Add notice that LFS mirroring is not supported (#1251) 7 years ago
user_cards.tmpl Added rel="noopener" to target="_blank" hrefs (#327) 8 years ago
view_file.tmpl Git LFS support v2 (#122) 8 years ago
view_list.tmpl Remove sha1 hash display in repository table and add latest commit GPG check (#1678) 7 years ago
watchers.tmpl #1692 APIs: Users Followers 9 years ago