Commit graph

269 commits

Author SHA1 Message Date
2580be8caf
Merge pull request #79 from raffis/busybox
smbclient wrapper not compatible with busybox
2019-03-30 18:23:34 +01:00
raffis
f3e9e1e57a
if resource is opened with "a" append() will fail with code (6) 2019-03-28 14:46:25 +01:00
raffis
e30d3afd08
using exec to start smbclient, replaces the need to kill forked procs 2019-03-28 14:45:43 +01:00
26b7b87803
Merge pull request #77 from cowai/fix-read v3.1.1
Fix connection->read() when first line is not prompt.
2019-03-04 16:02:42 +01:00
Ari Selseng
ebdada86f1 Fix connection->read() when first line is not prompt.
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-01 16:43:46 +01:00
db16d4430c update readme v3.1.0 2019-02-06 15:17:35 +01:00
65afed1192 test on 7.3 2019-02-06 15:08:28 +01:00
5d1e55f67f improve timezone detection 2019-02-06 15:03:16 +01:00
20da159fe4
Merge pull request #74 from raffis/master
Fixes multibyte issue with basename()
2018-11-13 18:03:36 +01:00
Raffael Sahli
9a6fbed231 php5 compatibility 2018-09-21 14:47:42 +02:00
Raffael Sahli
523d1bcc12 fixes multibyte filename issue with basename() 2018-09-21 14:41:31 +02:00
00fa2ae40c
Merge pull request #73 from MatthiasKuehneEllerhold/cs-fixer-in-dev
Move the php-cs-fixer to require-dev
2018-09-05 12:44:41 +02:00
Matthias Kühne
1c58fe9ae6
Move the php-cs-fixer to require-dev 2018-09-05 08:01:27 +02:00
0fc2a0820c fix test case for append 2018-08-28 16:34:47 +02:00
aec9b6f2f8 style and error message fixes 2018-08-28 16:22:59 +02:00
83cea01c56 enforce code style with php-cs in travis 2018-08-28 16:22:59 +02:00
350e19c285 Make NativeShare::getStat private to avoid confusion with NativeShare::stat 2018-08-28 16:22:59 +02:00
6e724b8986 minor docblock fixes 2018-08-28 16:22:59 +02:00
Raffael Sahli
dd7b852d6c fixes requested changes for #70 (No php-libsmb fallback) 2018-08-28 16:22:59 +02:00
Raffael Sahli
99f721a436 spaces to tab fix 2018-08-28 16:22:59 +02:00
Raffael Sahli
1cb1f3f56a added append() to Wrapped/Share as proxy to Native/Share 2018-08-28 16:21:17 +02:00
Raffael Sahli
0a9b035800 updated readme 2018-08-28 16:21:17 +02:00
59519bad2c Implemented IShare::append(), leave ::write() due backwards compatibility 2018-08-28 16:21:15 +02:00
bebed6f456 add .editorconfig 2018-08-24 17:57:40 +02:00
2842dffb51 run php-cs-fixer 2018-08-24 17:57:40 +02:00
de8e83ce7e add php-cs-fixer config 2018-08-24 17:57:40 +02:00
24e0162914 respect timeout in native backend 2018-08-24 15:30:52 +02:00
a91de0d012 remove setter from option interface 2018-08-24 15:18:12 +02:00
14452ee7b2
Merge pull request #69 from icewind1991/prefer-dir
use dir instead of allinfo where possible
2018-08-24 15:22:16 +02:00
c7f89d014c assume local timezone for local hostnames 2018-08-24 15:12:43 +02:00
4126ef2217 use dir instead of allinfo where possible 2018-08-24 15:10:38 +02:00
fc9f0bd408 server factory tests 2018-07-13 13:03:47 +02:00
fc9963f738 fix timezone injection 2018-07-13 12:50:44 +02:00
de268fd597 remove unused function 2018-07-13 11:52:34 +02:00
55236aaef3 cleanup system 2018-07-13 11:47:24 +02:00
2f261f868d more configurability for library users
- Make TimeZoneProvider and System overridable
- Add system for passing additional options
- make timeout configurable
2018-07-13 11:35:33 +02:00
2f3ff44f4c
Merge pull request #66 from daanbonke/master
Fix for invalid file size because of multiple data streams.
2018-06-13 14:46:26 +02:00
d.bonke
b2734e8133 Fix for invalid file size because of multiple data streams. 2018-06-13 14:03:30 +02:00
0d31da4757 move some arrays to constants v3.0.0 2018-05-24 11:48:51 +02:00
4a5699ff93 cleanup example script 2018-05-17 16:14:53 +02:00
bdda31975d make workgroup explicit 2018-03-29 17:20:08 +02:00
7797d463d7 remove unneeded variable and use type casting instead of intval 2018-03-28 15:36:54 +02:00
afc829d422 fix connection error checking 2018-03-27 18:16:55 +02:00
f4d8bca8fa add support for anonymous auth 2018-03-27 17:59:00 +02:00
526f14707e improve error handling during connect 2018-03-27 17:53:29 +02:00
89f47cfdf2 handle new share list output 2018-03-27 17:33:53 +02:00
5a8d9edf74 clean travis config a bit 2018-03-27 16:57:13 +02:00
29bdebad42 move backends into their own namespace and add support for multiple auth methods 2018-03-13 19:05:41 +01:00
2280570d28 add info about basic connection testing using the example script 2018-03-09 15:01:40 +01:00
0cbfd0872d require php5.6+ 2018-03-09 14:54:36 +01:00