Commit graph

  • f018d1cd0a fix return type of NativeStream seek Robin Appelman 2014-10-17 15:37:58 +02:00
  • 77c30c698f Pass path and error code to exceptions Robin Appelman 2014-10-17 14:55:53 +02:00
  • cd5261a86d Additional test case Robin Appelman 2014-10-17 14:51:28 +02:00
  • 156d25d7f5 Encode urls in parts Robin Appelman 2014-10-17 14:51:21 +02:00
  • 78375780ed Fix exception names in phpdoc Robin Appelman 2014-08-27 17:22:51 +02:00
  • 9552762eb1 Add Scrutinizer badge Robin Appelman 2014-08-27 12:13:37 +02:00
  • e4cb609342 Split out parsing of smbclient output Robin Appelman 2014-08-27 11:49:06 +02:00
  • 7278910ddc Check for errors in first output from setmode Robin Appelman 2014-08-27 10:12:33 +02:00
  • b08a6d1b31 explicit cast Robin Appelman 2014-08-27 10:07:09 +02:00
  • d8a52e90ca Fix phpdoc Robin Appelman 2014-08-27 09:58:30 +02:00
  • d5106ac0a8 Move decoding the attribute string to the place it belongs Robin Appelman 2014-08-27 09:57:52 +02:00
  • 5b5905e494 Remove leftover restore_error_handler Robin Appelman 2014-08-27 09:52:34 +02:00
  • fcb7aa6a55 implement feof for native stream Robin Appelman 2014-08-26 19:36:16 +02:00
  • aaf2c049fd handle error from non-empty folders in nativeshare Robin Appelman 2014-08-26 19:26:14 +02:00
  • c63516eaed Prevent line wrapping in smbclient Robin Appelman 2014-08-24 14:19:21 +02:00
  • dc13d50f06 Url encode path in the native share Robin Appelman 2014-08-24 13:25:25 +02:00
  • 65b76d6428 Split out and improve tests Robin Appelman 2014-08-24 02:16:33 +02:00
  • 5c57d2d094 Move Exceptions to their own namespace Robin Appelman 2014-08-06 23:15:12 +02:00
  • 5ab73b1afd remove unused getter Robin Appelman 2014-08-03 16:25:56 +02:00
  • 62fd1514db disable truncate test for php 5.3 Robin Appelman 2014-08-03 16:19:03 +02:00
  • dbc6aa4a9e Implement the File stream interface Robin Appelman 2014-08-03 16:13:02 +02:00
  • 40b6fb8d12 Some cleanup Robin Appelman 2014-08-03 16:00:24 +02:00
  • 3ae0f3dd0c Add truncate support to native streams Robin Appelman 2014-08-03 15:36:59 +02:00
  • 9068418528 Add negative tests for stat and rename Robin Appelman 2014-08-03 15:36:26 +02:00
  • 125bc445f7 Don't use warning to check for errors, only return values Robin Appelman 2014-08-03 15:02:56 +02:00
  • b271e51d4b Fix check if share is already connected Robin Appelman 2014-08-03 14:54:38 +02:00
  • fdb606257d Error handling in NativeStream Robin Appelman 2014-08-03 14:49:00 +02:00
  • 889342b63c use latest libsmbclient-php in travis Robin Appelman 2014-08-03 14:32:45 +02:00
  • 3888ae6b43 Add option to set file modes Robin Appelman 2014-08-03 14:28:20 +02:00
  • 3a6d77bc78 Better state and error handling Robin Appelman 2014-08-03 01:36:23 +02:00
  • f444b7c138 remove unused code Robin Appelman 2014-07-31 16:44:41 +02:00
  • 00f74274a3 Fix unit test Robin Appelman 2014-07-31 16:15:35 +02:00
  • 248d308605 update readme for FileInfo Robin Appelman 2014-07-31 16:06:35 +02:00
  • 1c11289d36 Introduce FileInfo objects for the result of dir and add readable and hidden attributes to files Robin Appelman 2014-07-31 16:05:20 +02:00
  • b2edd174f1 Fix running of unit tests Robin Appelman 2014-07-29 23:49:04 +02:00
  • f357ad7b6f Fix escaping of single quotes when opening streams Robin Appelman 2014-07-29 21:52:03 +02:00
  • e9cda42fa9 Improve testing for escaping and handling unicode Robin Appelman 2014-07-29 21:48:23 +02:00
  • 8f8f8cbf5e Throw connection errors in some extra cases Juan Pablo Villafañez 2014-07-24 17:29:02 +02:00
  • 05e8c3b807 lower case package name Robin Appelman 2014-07-26 18:43:30 +02:00
  • 8d41d7a97b Clean native stream wrapping Robin Appelman 2014-07-26 18:41:58 +02:00
  • 5c48e22929 Improve phpdoc Robin Appelman 2014-07-26 18:35:34 +02:00
  • 451cce0626 Relicense to MIT Robin Appelman 2014-07-26 18:21:46 +02:00
  • 3697e04c63 Use PSR4 to autoload tests Robin Appelman 2014-07-26 18:00:22 +02:00
  • ba0c70019e Merge b10ace1db7 into e74a83a400 Juan Pablo Villafañez 2014-07-24 15:33:33 +00:00
  • b10ace1db7 Throw connection errors in some extra cases Juan Pablo Villafañez 2014-07-24 17:29:02 +02:00
  • f24938d9fd Add support to get extended attributes for the files Juan Pablo Villafañez 2014-07-24 17:03:16 +02:00
  • e74a83a400 remove unused method Robin Appelman 2014-07-24 01:38:32 +02:00
  • fd8bed7fb6 Update readme Robin Appelman 2014-07-24 01:33:57 +02:00
  • 89d73346f2 Also add Share::getWrite to non native shares Robin Appelman 2014-07-24 01:29:54 +02:00
  • 7c2393afb0 remove unused method Robin Appelman 2014-07-22 23:44:49 +02:00
  • 0cf2fa0904 Extend nativestream tests Robin Appelman 2014-07-22 23:36:47 +02:00
  • dd983282a6 add badges Robin Appelman 2014-07-22 02:12:55 +02:00
  • ad0ef3ffc3 re-enable other php version Robin Appelman 2014-07-22 02:08:58 +02:00
  • fcf6b4fa0b skip username test Robin Appelman 2014-07-22 02:07:29 +02:00
  • 810285ab93 remove unneeded destructor Robin Appelman 2014-07-22 02:03:51 +02:00
  • 7035de036c Add more tests for stream Robin Appelman 2014-07-22 02:00:42 +02:00
  • 2e8af98252 add coverage Robin Appelman 2014-07-22 01:15:11 +02:00
  • ae422b33fc remove timezone test Robin Appelman 2014-07-22 01:07:55 +02:00
  • bd537cd222 add travis.yml Robin Appelman 2014-07-21 19:42:39 +02:00
  • d18b9db9c0 use authentication files Robin Appelman 2014-07-21 20:26:24 +02:00
  • 1a3640e25b Fix catching invalid type when deleting a folder Robin Appelman 2014-07-21 19:42:03 +02:00
  • d63e4f4b9f Add hierarchy to the exceptions Robin Appelman 2014-07-19 15:22:42 +02:00
  • 1c2745ccf2 Fix catching rmdir on file Robin Appelman 2014-07-15 16:42:09 +02:00
  • 5f80502017 Restore error handling after using libsmbclient-php Robin Appelman 2014-07-15 16:40:58 +02:00
  • 32f54c925b Merge pull request #3 from Xenopathic/patch-1 icewind1991 2014-07-15 16:07:30 +02:00
  • 0f6ebbf5e8 Merge pull request #4 from Xenopathic/patch-2 icewind1991 2014-07-15 16:06:58 +02:00
  • 31b1cfdaf6 Fix smbclient_state_init argument order Robin McCorkell 2014-07-14 13:42:56 +01:00
  • 967a7a6898 Fix errno comparison Robin McCorkell 2014-07-14 13:27:39 +01:00
  • e58b72e488 update README Robin Appelman 2014-07-12 17:37:00 +02:00
  • 3c67574fff Add native implementation using the libsmbclient-php extensions Robin Appelman 2014-07-12 17:29:56 +02:00
  • 0520cba7dc Add some comment about usage of environment auth Robin Appelman 2014-07-13 17:09:55 +02:00
  • fdb76683b2 Add the option of passing environment variables to the connection Robin Appelman 2014-07-13 17:09:20 +02:00
  • cc376a4b31 Extract share interface Robin Appelman 2014-07-12 15:51:31 +02:00
  • eca03d1b88 Add method to get a readable stream of a file Robin Appelman 2014-07-12 15:51:16 +02:00
  • b1e265cd57 Set minimum php version to 5.3 Robin Appelman 2014-07-09 18:17:47 +02:00
  • 46c122d6c1 Better phpdoc for Share::dir Robin Appelman 2014-07-09 18:17:31 +02:00
  • f34ba01f56 Add README icewind1991 2014-07-09 18:13:15 +02:00
  • 46e2daf1ee Move to PSR-4 for autoloading Robin Appelman 2014-04-07 13:54:49 +02:00
  • 7adbe91c9a remove caching share as caching should be done at a higher level Robin Appelman 2014-02-25 15:16:09 +01:00
  • 9e2dab941c fix parsing of dir output Robin Appelman 2014-02-05 15:32:10 +01:00
  • 1ac3d22b08 Add root option to unit tests Robin Appelman 2013-12-17 14:15:01 +01:00
  • bb92259b32 Discard password prompts from smbclient's output Robin Appelman 2013-11-26 16:58:23 +01:00
  • f8bc64f097 adjust modified dates to the correct timezone Robin Appelman 2013-09-08 14:31:26 +02:00
  • cb96c44176 beter catching of errors Robin Appelman 2013-06-17 15:11:06 +02:00
  • c91c970a8a fix dir for non existing folders Robin Appelman 2013-06-16 22:26:17 +02:00
  • 69e9082def Additional test cases Robin Appelman 2013-05-01 20:58:04 +02:00
  • f57f29d277 Don't pass the password in the command line when doing listShares Robin Appelman 2013-05-01 17:37:07 +02:00
  • 59bc57cc06 split connection code Robin Appelman 2013-05-01 17:33:40 +02:00
  • 190ac9501d Add test cases for invalid server configurations Robin Appelman 2013-05-01 16:38:42 +02:00
  • c94eea8294 split test cases Robin Appelman 2013-05-01 16:11:01 +02:00
  • 78916cfc08 Move some code arround Robin Appelman 2013-05-01 00:03:10 +02:00
  • 114dae07e1 Add @throws to phpdoc Robin Appelman 2013-03-14 23:27:26 +01:00
  • 2ed803907f Throw the proper exceptions when the connection can't be established Robin Appelman 2013-03-14 23:23:46 +01:00
  • fc12434d28 Make test configurable Robin Appelman 2013-03-14 17:49:40 +01:00
  • 2be5320595 Pass a connection to a command instead of the share Robin Appelman 2013-03-04 01:34:00 +01:00
  • 0b2dd15499 Fix copy-paste error Robin Appelman 2013-03-04 01:29:38 +01:00
  • 7f2eb4db32 Basic caching for dir result Robin Appelman 2013-03-03 23:03:33 +01:00
  • 719dcf6ca9 Fix passing of locale Robin Appelman 2013-03-03 22:52:21 +01:00
  • 7353a25b99 Don't pass the password in the shell argument Robin Appelman 2013-03-03 22:27:29 +01:00
  • 6c4587eb10 Basic test case for listShares Robin Appelman 2013-03-03 22:23:56 +01:00