Commit graph

677 commits

Author SHA1 Message Date
Nicola Murino
4a46b84dd5 Improve http action notification
Send the notification using a goroutine and set the request timeout to 15 seconds
2019-07-27 19:29:33 +02:00
Nicola Murino
c4fbca9ea2 HTTP server is now optional
Setting bind_port to 0 the HTTP server will not be started
2019-07-27 14:11:14 +02:00
Nicola Murino
25f7043fb3 sftpd transfer: close the file before executing any action ...
... that could potentially move or delete it
2019-07-27 11:17:32 +02:00
Nicola Murino
6a6e31cceb clarify notifications on folder deletion 2019-07-27 09:52:57 +02:00
Nicola Murino
48451a9924 add support for custom actions
Configurable custom commands and/or HTTP notifications on SFTP upload, download, delete or rename
2019-07-27 09:38:09 +02:00
jungle-boogie
70ae68a7c4 with -> will
and other small changes
2019-07-27 05:19:32 +02:00
Nicola Murino
aaa4c22911 sftpd: test case for SetStat
SetStat is silently ignored. Ownership and permissions are configured globally
or per account
2019-07-26 17:18:51 +02:00
Tim Sedlmeyer
eb18e30a65 Fix some spelling errors 2019-07-26 16:20:40 +02:00
Nicola Murino
5d3a93baae sftpd: improve test cases 2019-07-26 16:15:42 +02:00
Nicola Murino
9f61415832 add more test cases 2019-07-26 15:08:08 +02:00
Nicola Murino
ff8fb80e3c fix check for used quota
remove unused data provider from sftpd configuration struct
2019-07-26 13:07:08 +02:00
Nicola Murino
1348862e52 add code coverage badge 2019-07-26 11:56:01 +02:00
Nicola Murino
7360b0f73c test cases: wait 100 milliseconds before recheck if the test server is up
this avoid a lot of useless warnings in travis logs
2019-07-26 11:41:58 +02:00
Nicola Murino
417b173c78 Improve test cases and logging 2019-07-26 11:35:12 +02:00
drakkan
e0a550b216
Merge pull request #2 from Surye/Surye-patch-1
Fix typo in ActiveQuotaScan json annotations
2019-07-26 11:01:57 +02:00
Vincent Castellano
69e941483a
Fix typo in ActiveQuotaScan json annotations 2019-07-25 21:55:26 -07:00
Nicola Murino
5f41b6d506 remove codecov for now
test cases run against a real server and not a mock server so the coverage is not detected
2019-07-21 13:17:09 +02:00
Nicola Murino
5c861a7c46 sftpd config: MaxAuthTries is now configurable 2019-07-21 12:02:24 +02:00
Nicola Murino
6053a0617f README: add Build Status and Go Report Card links 2019-07-21 11:45:11 +02:00
Nicola Murino
78420a4a96 add travis integration 2019-07-21 11:08:57 +02:00
Nicola Murino
14f919df47 simplify some code 2019-07-21 00:19:17 +02:00
Nicola Murino
fea9ae1de2 fix another misspell 2019-07-20 21:20:16 +02:00
Nicola Murino
22b8dc7f1d fix misspells and ineffectual assignments 2019-07-20 21:17:53 +02:00
Nicola Murino
1019d74243 postgres 9.x is supported too 2019-07-20 18:11:28 +02:00
Nicola Murino
6378b58529 fix Arch Linux package link 2019-07-20 12:52:21 +02:00
Nicola Murino
31cd4d7139 first version 2019-07-20 12:26:52 +02:00
drakkan
66a05d82db
Initial commit 2019-07-20 12:18:32 +02:00