forgejo/templates/repo
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
..
diff Missing signed commit display translation (#2134) 2017-07-10 09:46:06 +08:00
editor repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032) 2017-06-22 23:30:47 +08:00
issue Fix search by issue type (#1914) 2017-06-15 05:09:03 +02:00
pulls
release
settings Add Gitea Webhook (#1755) 2017-05-29 02:17:15 -05:00
wiki Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
bare.tmpl Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
branch_dropdown.tmpl
commits.tmpl Use whole button as link 2017-03-27 12:46:46 +02:00
commits_table.tmpl Show commit status icon in commits table (#1688) 2017-05-07 22:40:31 +08:00
create.tmpl
forks.tmpl
graph.tmpl Make issue in commit graph "clickable" (#1392) 2017-03-30 18:05:38 +08:00
header.tmpl Smaller watch, star, and fork buttons (#2052) 2017-06-28 09:40:28 +08:00
home.tmpl Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
migrate.tmpl Add notice that LFS mirroring is not supported (#1251) 2017-03-16 19:33:22 +08:00
user_cards.tmpl
view_file.tmpl
view_list.tmpl Remove sha1 hash display in repository table and add latest commit GPG check (#1678) 2017-05-05 15:15:36 +08:00
watchers.tmpl