Commit graph

262 commits

Author SHA1 Message Date
Robin Appelman
40e384e8ba Fix file name 2015-02-05 16:28:31 +01:00
Robin Appelman
c8a93a9033 Add exceptions for more connection failures 2015-02-05 14:16:38 +01:00
Robin Appelman
40fa68e426 Fix extracting workgroup from user 2014-11-27 18:40:36 +01:00
Robin Appelman
bf164b3cef add license file 2014-11-27 18:38:59 +01:00
Robin Appelman
4049ff602f Fix indention 2014-11-19 00:41:35 +01:00
Robin Appelman
80d5918640 Also clean up the share if cleaning up fails 2014-11-14 16:52:44 +01:00
Robin Appelman
d311cd3c21 handle EACCES errors as forbidden 2014-11-14 14:50:39 +01:00
Robin Appelman
466ba929a3 fix stream_stat for native stream 2014-10-17 15:53:18 +02:00
Robin Appelman
f018d1cd0a fix return type of NativeStream seek 2014-10-17 15:37:58 +02:00
Robin Appelman
77c30c698f Pass path and error code to exceptions 2014-10-17 15:11:10 +02:00
Robin Appelman
cd5261a86d Additional test case 2014-10-17 14:51:28 +02:00
Robin Appelman
156d25d7f5 Encode urls in parts 2014-10-17 14:51:21 +02:00
Robin Appelman
78375780ed Fix exception names in phpdoc 2014-08-27 17:22:51 +02:00
Robin Appelman
9552762eb1 Add Scrutinizer badge 2014-08-27 12:13:37 +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
b08a6d1b31 explicit cast 2014-08-27 10:07:09 +02:00
Robin Appelman
d8a52e90ca Fix phpdoc 2014-08-27 09:58:30 +02:00
Robin Appelman
d5106ac0a8 Move decoding the attribute string to the place it belongs 2014-08-27 09:57:52 +02:00
Robin Appelman
5b5905e494 Remove leftover restore_error_handler 2014-08-27 09:52:34 +02:00
Robin Appelman
fcb7aa6a55 implement feof for native stream 2014-08-26 19:36:16 +02:00
Robin Appelman
aaf2c049fd handle error from non-empty folders in nativeshare 2014-08-26 19:26:14 +02:00
Robin Appelman
c63516eaed Prevent line wrapping in smbclient 2014-08-24 14:19:21 +02:00
Robin Appelman
dc13d50f06 Url encode path in the native share 2014-08-24 13:25:25 +02:00
Robin Appelman
65b76d6428 Split out and improve tests 2014-08-24 02:16:33 +02:00
Robin Appelman
5c57d2d094 Move Exceptions to their own namespace 2014-08-06 23:15:12 +02:00
Robin Appelman
5ab73b1afd remove unused getter 2014-08-03 16:25:56 +02:00
Robin Appelman
62fd1514db disable truncate test for php 5.3 2014-08-03 16:19:03 +02:00
Robin Appelman
dbc6aa4a9e Implement the File stream interface 2014-08-03 16:13:02 +02:00
Robin Appelman
40b6fb8d12 Some cleanup 2014-08-03 16:00:24 +02:00
Robin Appelman
3ae0f3dd0c Add truncate support to native streams 2014-08-03 15:36:59 +02:00
Robin Appelman
9068418528 Add negative tests for stat and rename 2014-08-03 15:36:26 +02:00
Robin Appelman
125bc445f7 Don't use warning to check for errors, only return values 2014-08-03 15:02:56 +02:00
Robin Appelman
b271e51d4b Fix check if share is already connected 2014-08-03 14:54:38 +02:00
Robin Appelman
fdb606257d Error handling in NativeStream 2014-08-03 14:49:00 +02:00
Robin Appelman
889342b63c use latest libsmbclient-php in travis 2014-08-03 14:34:36 +02:00
Robin Appelman
3888ae6b43 Add option to set file modes 2014-08-03 14:28:20 +02:00
Robin Appelman
3a6d77bc78 Better state and error handling 2014-08-03 01:36:23 +02:00
Robin Appelman
f444b7c138 remove unused code 2014-07-31 16:44:41 +02:00
Robin Appelman
00f74274a3 Fix unit test 2014-07-31 16:36:36 +02:00
Robin Appelman
248d308605 update readme for FileInfo 2014-07-31 16:06:35 +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
b2edd174f1 Fix running of unit tests 2014-07-29 23:49:04 +02:00
Robin Appelman
f357ad7b6f Fix escaping of single quotes when opening streams 2014-07-29 21:56:40 +02:00
Robin Appelman
e9cda42fa9 Improve testing for escaping and handling unicode 2014-07-29 21:48:42 +02:00
Juan Pablo Villafañez
8f8f8cbf5e Throw connection errors in some extra cases 2014-07-29 13:52:19 +02:00
Robin Appelman
05e8c3b807 lower case package name 2014-07-26 18:43:30 +02:00
Robin Appelman
8d41d7a97b Clean native stream wrapping 2014-07-26 18:41:58 +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