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/modules/context
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
..
api.go Correct grammar in APIEmpty documentation (#1748) 7 years ago
api_org.go Golint fixed for modules/context 8 years ago
auth.go Golint fixed for modules/setting (#262) 8 years ago
context.go Always return valid go-get meta, even if unauthorized (#2010) 7 years ago
org.go Golint fixed for modules/setting (#262) 8 years ago
repo.go Only show SSH clone URL if signed in (#2169) (#2170) 7 years ago