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
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
..
auth Check for valid renamed usernames (#2077) 7 years ago
avatar Use assert in legacy unit tests (#867) 7 years ago
base lint 7 years ago
context Only show SSH clone URL if signed in (#2169) (#2170) 7 years ago
cron LDAP user synchronization (#1478) 7 years ago
highlight No highlighting for .txt files (#1922) 7 years ago
httplib Add internal routes for ssh hook comands (#1471) 7 years ago
indexer Search bar for issues/pulls (#530) 8 years ago
lfs Fix typos in models/ and modules/ (#1248) 7 years ago
log Remove unused mutex field (#1440) 7 years ago
mailer fix misspell (#1996) 7 years ago
markdown Fix SHA1 hash linking (#2143) 7 years ago
markup gofmt (#1710) 7 years ago
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 7 years ago
notification Notification - Step 1 (#523) 8 years ago
options Fix typos in models/ and modules/ (#1248) 7 years ago
private Drop db operations from hook commands (#1514) 7 years ago
process Refactor process package and introduce ProcessManager{} with tests (#75) 8 years ago
public Allow custom public files (#782) 8 years ago
setting Only show SSH clone URL if signed in (#2169) (#2170) 7 years ago
ssh Cleanup log messaging 8 years ago
sync Fix status table race condition (#1835) 7 years ago
templates Sanitation fix from Gogs (#1461) 7 years ago
user golint fixed for modules/user 8 years ago
util refactor: remove workaround after the golang 1.7 release. (#1349) 7 years ago
validation Better URL validation (#1507) 7 years ago