Commit graph

236 commits

Author SHA1 Message Date
Robin Appelman
fdb76683b2 Add the option of passing environment variables to the connection 2014-07-13 17:10:26 +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
b1e265cd57 Set minimum php version to 5.3 2014-07-09 18:17:47 +02:00
Robin Appelman
46c122d6c1 Better phpdoc for Share::dir 2014-07-09 18:17:31 +02:00
f34ba01f56 Add README 2014-07-09 18:13:15 +02:00
Robin Appelman
46e2daf1ee Move to PSR-4 for autoloading 2014-04-07 13:54:49 +02:00
Robin Appelman
7adbe91c9a remove caching share as caching should be done at a higher level 2014-02-25 15:16:09 +01:00
Robin Appelman
9e2dab941c fix parsing of dir output 2014-02-05 15:32:10 +01:00
Robin Appelman
1ac3d22b08 Add root option to unit tests 2013-12-17 14:15:01 +01:00
Robin Appelman
bb92259b32 Discard password prompts from smbclient's output 2013-11-26 16:58:23 +01:00
Robin Appelman
f8bc64f097 adjust modified dates to the correct timezone 2013-09-08 14:31:26 +02:00
Robin Appelman
cb96c44176 beter catching of errors 2013-06-17 15:11:06 +02:00
Robin Appelman
c91c970a8a fix dir for non existing folders 2013-06-16 22:26:17 +02:00
Robin Appelman
69e9082def Additional test cases 2013-05-01 20:58:04 +02:00
Robin Appelman
f57f29d277 Don't pass the password in the command line when doing listShares 2013-05-01 17:37:07 +02:00
Robin Appelman
59bc57cc06 split connection code 2013-05-01 17:33:40 +02:00
Robin Appelman
190ac9501d Add test cases for invalid server configurations 2013-05-01 16:38:42 +02:00
Robin Appelman
c94eea8294 split test cases 2013-05-01 16:11:01 +02:00
Robin Appelman
78916cfc08 Move some code arround 2013-05-01 00:03:10 +02:00
Robin Appelman
114dae07e1 Add @throws to phpdoc 2013-03-14 23:27:26 +01:00
Robin Appelman
2ed803907f Throw the proper exceptions when the connection can't be established 2013-03-14 23:23:46 +01:00
Robin Appelman
fc12434d28 Make test configurable 2013-03-14 17:49:40 +01:00
Robin Appelman
2be5320595 Pass a connection to a command instead of the share 2013-03-04 01:34:00 +01:00
Robin Appelman
0b2dd15499 Fix copy-paste error 2013-03-04 01:29:38 +01:00
Robin Appelman
7f2eb4db32 Basic caching for dir result 2013-03-03 23:03:33 +01:00
Robin Appelman
719dcf6ca9 Fix passing of locale 2013-03-03 22:52:21 +01:00
Robin Appelman
7353a25b99 Don't pass the password in the shell argument
this should prevent some issues with escaping
2013-03-03 22:27:29 +01:00
Robin Appelman
6c4587eb10 Basic test case for listShares 2013-03-03 22:23:56 +01:00
Robin Appelman
37fbf43f7d Split off connection code to a seperate class 2013-03-03 22:20:01 +01:00
Robin Appelman
89cb5a2104 Rename Connection to Server and fix some other naming inconsistencies 2013-03-03 22:14:08 +01:00
Robin Appelman
71e917bbae some code cleanup 2012-12-29 22:38:47 +01:00
Robin Appelman
adf5ec0e6d improve escaping 2012-12-18 00:37:21 +01:00
Robin Appelman
b02235c275 improve the parsing of 'dir' output 2012-12-16 03:02:35 +01:00
Robin Appelman
e76f9974d1 use a persistent connection instead of running a new smbclient for each command 2012-12-16 02:34:18 +01:00
Robin Appelman
e324e70050 initial commit 2012-12-10 00:20:33 +01:00