Commit graph

197 commits

Author SHA1 Message Date
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
0cf2fa0904 Extend nativestream tests 2014-07-22 23:36:47 +02:00
Robin Appelman
810285ab93 remove unneeded destructor 2014-07-22 02:03:51 +02:00
Robin Appelman
7035de036c Add more tests for stream 2014-07-22 02:00:42 +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
d63e4f4b9f Add hierarchy to the exceptions 2014-07-19 15:22:42 +02:00
Robin Appelman
1c2745ccf2 Fix catching rmdir on file 2014-07-15 16:42:09 +02:00
Robin Appelman
5f80502017 Restore error handling after using libsmbclient-php 2014-07-15 16:40:58 +02:00
32f54c925b Merge pull request #3 from Xenopathic/patch-1
Fix errno comparison
2014-07-15 16:07:30 +02:00
Robin McCorkell
31b1cfdaf6 Fix smbclient_state_init argument order 2014-07-14 13:58:06 +01:00
Robin McCorkell
967a7a6898 Fix errno comparison 2014-07-14 13:27:39 +01:00
Robin Appelman
3c67574fff Add native implementation using the libsmbclient-php extensions 2014-07-13 17:13:23 +02:00
Robin Appelman
0520cba7dc Add some comment about usage of environment auth 2014-07-13 17:10:32 +02:00
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
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
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
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
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