1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/templates
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
..
admin Display config file path on admin panel (#2030) 2017-06-22 08:21:56 -05:00
base Keep sort when switching page (#2013) 2017-06-22 09:06:21 +08:00
explore Cleaner UI for explore page (#1253) (#1255) 2017-03-15 19:55:12 +01:00
mail xxx_active_code_live setting in printed in hours and minutes instead … (#1814) 2017-05-29 02:35:47 -05:00
org Fix org hooks UI (#2072) 2017-06-28 16:53:50 +08:00
repo Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
status Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
user Fix "Dashboard shows deleted comments" (#1995) 2017-06-25 20:20:29 +02:00
home.tmpl docs: update translation on homepage for zh-tw (#634) 2017-01-11 09:23:42 +01:00
install.tmpl Add configuration option for default permission to create Organizations (#1686) 2017-05-08 21:51:53 +02:00
swagger.tmpl Generate swagger json (#1402) 2017-05-02 15:35:59 +02:00