Commit graph

90 commits

Author SHA1 Message Date
61012e6196 allow setting protocol levels 2021-03-02 21:28:46 +01:00
80a4edf0ef github ci 2021-03-02 18:56:40 +01:00
58f6df3807 update tests to new phpunit 2021-03-02 17:45:19 +01:00
507b186800 fix risky tests 2020-07-20 16:12:51 +02:00
999d6687ca unlink seems to work on directories with newer libsmbclient 2020-05-11 16:12:35 +02:00
43e2bd5966 ignore errors during cleanup 2020-05-11 16:05:46 +02:00
dd47833ed4 mark notify tests skipped when smb version isn't supported 2020-05-11 16:00:58 +02:00
927e330901 properly handle libsmbclient versions that return unix modes when we request a dos mode 2020-05-11 15:29:24 +02:00
7fc664a327 bumb phpunit version 2020-02-10 16:09:11 +01:00
3c5e45dc54 allow getting acls of files 2020-02-10 15:52:48 +01:00
5d1e55f67f improve timezone detection 2019-02-06 15:03:16 +01:00
0fc2a0820c fix test case for append 2018-08-28 16:34:47 +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
59519bad2c Implemented IShare::append(), leave ::write() due backwards compatibility 2018-08-28 16:21:15 +02:00
2842dffb51 run php-cs-fixer 2018-08-24 17:57:40 +02:00
fc9f0bd408 server factory tests 2018-07-13 13:03:47 +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
bdda31975d make workgroup explicit 2018-03-29 17:20:08 +02:00
29bdebad42 move backends into their own namespace and add support for multiple auth methods 2018-03-13 19:05:41 +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
569fcfd875 minor cleanup 2018-01-18 13:25:37 +01:00
4ca899f582 dont call notify callback if we dont have a proper change 2017-08-16 18:03:34 +02:00
1e7809b74e add code coverage whitelist 2016-12-08 16:44:15 +01:00
239a6ea3c8 filter extra modify changes in tests 2016-12-08 16:22:38 +01:00
e0ffe88756 move notify constants to INotifyHandler 2016-12-08 16:16:54 +01:00
60aa00ffd6 better notify tests 2016-12-08 16:10:56 +01:00
8c937d6126 Add INotifyHandler to make notify more flexible 2016-12-08 15:18:24 +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
2754259528 Fix parsing allinfo result 2016-08-26 22:57:15 +02:00
Robin Appelman
6e544f617c fix return values for smbclient backend 2016-04-08 11:02:27 +02:00
Robin Appelman
1fb6581c8d handle invalid handles in Share->get 2016-01-19 18:41:33 +01:00
Robin Appelman
9277bd2026 also block \r 2015-08-17 16:20:38 +02:00
Robin Appelman
4ca3c3df22 Check for invalid characters in paths 2015-08-17 13:01:39 +02:00
Robin Appelman
6e1f693ad5 escape host name 2015-08-14 14:15:41 +02:00
Robin Appelman
c36739bdc5 Dont send the command as shell argument when making a read/write stream 2015-08-14 14:03:46 +02:00
Robin Appelman
25c0dffdc7 split running of smbclient and libsmbclient backend tests 2015-04-25 18:29:50 +02:00
Robin Appelman
476980d4ce Wait with getting the timezone from the server until we need it 2015-03-13 13:12:00 +01:00
Robin Appelman
c8a93a9033 Add exceptions for more connection failures 2015-02-05 14:16:38 +01:00
Robin Appelman
80d5918640 Also clean up the share if cleaning up fails 2014-11-14 16:52:44 +01:00
Robin Appelman
cd5261a86d Additional test case 2014-10-17 14:51:28 +02:00
Robin Appelman
e4cb609342 Split out parsing of smbclient output 2014-08-27 11:49:06 +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