Commit graph

182 commits

Author SHA1 Message Date
2842dffb51 run php-cs-fixer 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
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
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 2018-05-24 11:48:51 +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
29bdebad42 move backends into their own namespace and add support for multiple auth methods 2018-03-13 19:05:41 +01:00
0cbfd0872d require php5.6+ 2018-03-09 14:54:36 +01:00
d230daafb3 rename test classes 2018-01-19 15:36:01 +01:00
fb98c1cd25 Add proper exception for moving a folder into itself 2018-01-18 16:10:01 +01:00
1f650a5fbf ensure we only initialize the state once 2018-01-18 15:44:45 +01:00
569fcfd875 minor cleanup 2018-01-18 13:25:37 +01:00
f3a93465c8 disable fallback anonymous login for native state 2018-01-18 12:33:56 +01:00
0ef64a9156 handle smbclient help message 2018-01-17 18:26:40 +01:00
Juan Pablo Villafáñez
5ad265e964 Allow custom forbidden chars 2017-12-01 13:00:13 +01:00
Jan-Otto Kröpke
3c504cc73b Added OutOfSpaceException 2017-10-16 23:41:21 +02:00
206d6aa118 check for revision mismatch errors in notify 2017-08-17 16:12:11 +02:00
f1e17ba6e2 make path encoding compatible with smb2 and smb3 2017-08-17 16:03:12 +02:00
443a524491 add exception for invalid parameter errors 2017-08-17 16:02:17 +02:00
6723c97de1 make authfile handling compatible with smbclient 4.6.x 2017-08-17 16:00:22 +02:00
79b69c635b Fix exception throwing 2017-08-17 15:59:30 +02:00
088fa6d54b better handling of authentication failure 2017-08-17 15:11:21 +02:00
6691355d93 optimize get and put 2017-08-16 18:08:57 +02:00
85b101b701 optimize sequential writes to stream 2017-08-16 18:08:57 +02:00
8c89cb8972 Optimize reading of large files when using php-smbclient 2017-08-16 18:04:30 +02:00
4ca899f582 dont call notify callback if we dont have a proper change 2017-08-16 18:03:34 +02:00
8d473d219e phpdoc fixes 2016-12-12 22:34:33 +01:00
c1afd721f2 cleaner conversion of errors to exceptions 2016-12-08 17:21:50 +01:00
98eff3b9b8 simplify parseStat 2016-12-08 16:59:51 +01:00
96b16502e4 fix setMode normal 2016-12-08 16:39:08 +01:00
e0ffe88756 move notify constants to INotifyHandler 2016-12-08 16:16:54 +01:00
8c937d6126 Add INotifyHandler to make notify more flexible 2016-12-08 15:18:24 +01:00
1bf43bf0a3 code reuse 2016-12-08 15:02:26 +01:00
7ddcd96e47 check if we can find smbclient in path 2016-12-01 13:04:56 +01:00
82f961896f return non escaped path from exceptions 2016-08-27 00:44:27 +02:00
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