Commit graph

39 commits

Author SHA1 Message Date
2601885185 reduce code complexity a bit 2016-08-26 23:59:48 +02:00
b43c129ed9 remove code duplication for listShares 2016-08-26 23:45:29 +02:00
9c50244e67 minor code cleanup 2016-08-26 23:25:17 +02:00
Robin Appelman
2a101e73bc Make the dependency on stdbuf optional for everything but notify 2016-06-13 14:19:56 +02:00
Robin Appelman
01b61508a7 normalize slashes in notify 2016-05-13 16:31:46 +02:00
Robin Appelman
862bf0825d keep the share usable with the notify command is running 2016-04-26 14:41:03 +02:00
Robin Appelman
45d3ee449f factor out connection creation 2016-04-26 14:38:16 +02:00
Robin Appelman
727fed5efb pass return values from callback 2016-04-26 12:12:14 +02:00
Robin Appelman
cf23de2702 add basic smb notify support
at the moment this only works when using the smbclient based backend
2016-04-25 18:15:34 +02:00
Robin Appelman
c50d9aa6a5 disable output buffering for smbclient 2016-04-25 17:44:08 +02:00
Robin Appelman
6e544f617c fix return values for smbclient backend 2016-04-08 11:02:27 +02:00
Robin Appelman
b865f430d6 Improve locating file descriptors and smbclient/net commands 2015-12-31 20:45:18 +01:00
Robin Appelman
4ca3c3df22 Check for invalid characters in paths 2015-08-17 13:01:39 +02:00
Robin Appelman
6e1f693ad5 escape host name 2015-08-14 14:15:41 +02:00
Robin Appelman
c36739bdc5 Dont send the command as shell argument when making a read/write stream 2015-08-14 14:03:46 +02:00
Robin Appelman
33ab10cc4d improve support for workgroups/domains 2015-08-13 16:19:03 +02:00
root
286024db74 Fix for allfinfo and parsStat for non Windows Fileservers
Small update
2015-04-03 11:40:04 +02:00
Robin Appelman
476980d4ce Wait with getting the timezone from the server until we need it 2015-03-13 13:12:00 +01:00
Robin Appelman
ededbfbaa3 Work around issue where 'allinfo' keeps the file open 2015-02-10 17:37:37 +01:00
Robin Appelman
77c30c698f Pass path and error code to exceptions 2014-10-17 15:11:10 +02:00
Robin Appelman
e4cb609342 Split out parsing of smbclient output 2014-08-27 11:49:06 +02:00
Robin Appelman
7278910ddc Check for errors in first output from setmode 2014-08-27 10:12:33 +02:00
Robin Appelman
5c57d2d094 Move Exceptions to their own namespace 2014-08-06 23:15:12 +02:00
Robin Appelman
3888ae6b43 Add option to set file modes 2014-08-03 14:28:20 +02:00
Robin Appelman
f444b7c138 remove unused code 2014-07-31 16:44:41 +02:00
Robin Appelman
1c11289d36 Introduce FileInfo objects for the result of dir and add readable and hidden attributes to files 2014-07-31 16:05:20 +02:00
Robin Appelman
f357ad7b6f Fix escaping of single quotes when opening streams 2014-07-29 21:56:40 +02:00
Robin Appelman
5c48e22929 Improve phpdoc 2014-07-26 18:35:34 +02:00
Robin Appelman
451cce0626 Relicense to MIT 2014-07-26 18:21:46 +02:00
Robin Appelman
e74a83a400 remove unused method 2014-07-24 01:38:32 +02:00
Robin Appelman
89d73346f2 Also add Share::getWrite to non native shares 2014-07-24 01:29:54 +02:00
Robin Appelman
7c2393afb0 remove unused method 2014-07-22 23:44:49 +02:00
Robin Appelman
d18b9db9c0 use authentication files 2014-07-21 20:31:19 +02:00
Robin Appelman
1a3640e25b Fix catching invalid type when deleting a folder 2014-07-21 20:31:15 +02:00
Robin Appelman
0520cba7dc Add some comment about usage of environment auth 2014-07-13 17:10:32 +02:00
Robin Appelman
cc376a4b31 Extract share interface 2014-07-12 15:52:23 +02:00
Robin Appelman
eca03d1b88 Add method to get a readable stream of a file 2014-07-12 15:51:16 +02:00
Robin Appelman
46c122d6c1 Better phpdoc for Share::dir 2014-07-09 18:17:31 +02:00
Robin Appelman
46e2daf1ee Move to PSR-4 for autoloading 2014-04-07 13:54:49 +02:00
Renamed from src/share.php (Browse further)