sftpgo-mirror/httpd
Nicola Murino 0a025aabfd add support for Git over SSH
We use the system commands "git-receive-pack", "git-upload-pack" and
"git-upload-archive". they need to be installed and in your system's
PATH. Since we execute system commands we have no direct control on
file creation/deletion and so quota check is suboptimal: if quota is
enabled, the number of files is checked at the command begin and not
while new files are created.
The allowed size is calculated as the difference between the max quota
and the used one. The command is aborted if it uploads more bytes than
the remaining allowed size calculated at the command start. Quotas are
recalculated at the command end with a full home directory scan, this
could be heavy for big directories.
2019-11-26 22:26:42 +01:00
..
schema sftpd: add support for some SSH commands 2019-11-18 23:30:37 +01:00
api_quota.go add support for Git over SSH 2019-11-26 22:26:42 +01:00
api_user.go add a basic web interface 2019-10-07 18:19:01 +02:00
api_utils.go httpd: add an API to get data provider status 2019-11-14 18:48:01 +01:00
httpd.go httpd: add an API to get data provider status 2019-11-14 18:48:01 +01:00
httpd_test.go add support for Git over SSH 2019-11-26 22:26:42 +01:00
internal_test.go httpd: add an API to get data provider status 2019-11-14 18:48:01 +01:00
router.go httpd: add an API to get data provider status 2019-11-14 18:48:01 +01:00
web.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00