Commit graph

75 commits

Author SHA1 Message Date
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
Robin Appelman
5c57d2d094 Move Exceptions to their own namespace 2014-08-06 23:15:12 +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
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
3888ae6b43 Add option to set file modes 2014-08-03 14:28:20 +02:00
Robin Appelman
00f74274a3 Fix unit test 2014-07-31 16:36:36 +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
e9cda42fa9 Improve testing for escaping and handling unicode 2014-07-29 21:48:42 +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
Robin Appelman
3697e04c63 Use PSR4 to autoload tests 2014-07-26 18:00:22 +02:00
Robin Appelman
89d73346f2 Also add Share::getWrite to non native shares 2014-07-24 01:29:54 +02:00