Commit Graph

1156 Commits

Author SHA1 Message Date
terrafrost
085fb0ebb8 SSH: update getServerPublicHostKey() to use new _connect() method 2014-08-06 14:42:08 -05:00
terrafrost
5b019b22d9 SSH2: fix if statement for conditional _connect() call 2014-08-05 19:30:14 -05:00
terrafrost
dffef50838 simplify calls to $this->_connect() 2014-08-04 20:11:34 -05:00
terrafrost
49079fa1b4 SSH2: make it so negotiated algorithms can be seen before login 2014-07-25 10:03:31 -05:00
Andreas Fischer
880bc9d9e6 Merge pull request #420 from bantu/sftp-skip-current-dir-by-removal
SFTP: Do not check filename over and over again, remove '.' and '..' from the map instead.

* bantu/sftp-skip-current-dir-by-removal:
  Do not check filename over and over again, remove '.' and '..' from the map instead.
2014-07-24 17:32:38 +02:00
Andreas Fischer
48a2613cde Merge pull request #421 from bantu/issue/418
SFTP: Only fclose($fp) when $mode & NET_SFTP_LOCAL_FILE.

* bantu/issue/418:
  Only fclose($fp) when $mode & NET_SFTP_LOCAL_FILE.
2014-07-24 17:04:24 +02:00
Andreas Fischer
5a53823adf Merge pull request #422 from bantu/issue/419
Net_SFTP::_list() only takes two parameters.

* bantu/issue/419:
  Net_SFTP::_list() only takes two parameters.
2014-07-24 17:02:46 +02:00
Andreas Fischer
952d2166bf Net_SFTP::_list() only takes two parameters. 2014-07-24 11:09:37 +02:00
Andreas Fischer
695d1e9038 Only fclose($fp) when $mode & NET_SFTP_LOCAL_FILE. 2014-07-24 11:06:24 +02:00
Andreas Fischer
84a9a300d4 Do not check filename over and over again, remove '.' and '..' from the map instead. 2014-07-24 11:00:55 +02:00
Andreas Fischer
a0a23cbaf1 Merge pull request #406 from bantu/remove-ssh-arcfour
Remove the arcfour and none ciphers from SSH2.

* bantu/remove-ssh-arcfour:
  Comment out (potentially) insecure ciphers arcfour and none.
2014-07-22 16:09:14 +02:00
Andreas Fischer
65dcc85487 Merge pull request #415 from bantu/SSH2-isConnected-Tests
Tests for Net_SSH2::isConnected() and more

* bantu/SSH2-isConnected-Tests:
  Add a few SSH2 preLogin tests.
2014-07-22 16:08:05 +02:00
Andreas Fischer
d614274ed2 Add a few SSH2 preLogin tests. 2014-07-21 23:58:17 +02:00
Andreas Fischer
36baab1db4 Merge pull request #417 from terrafrost/ssh2-bitmap
SSH2: don't remove old $this->bitmap values

* terrafrost/ssh2-bitmap:
  SSH2: don't remove old $this->bitmap values
2014-07-21 23:53:33 +02:00
terrafrost
9dd3db4a49 SSH2: don't remove old $this->bitmap values 2014-07-21 16:41:39 -05:00
Andreas Fischer
84ac305704 Comment out (potentially) insecure ciphers arcfour and none. 2014-07-21 12:16:49 +02:00
Andreas Fischer
e0e67a602b Merge pull request #414 from bantu/SSH2-isConnected-bool
Make Net_SSH2::isConnected() return a boolean instead of int.

* bantu/SSH2-isConnected-bool:
  Make Net_SSH2::isConnected() return a boolean instead of int.
2014-07-20 23:31:29 +02:00
Andreas Fischer
678d0cc792 Make Net_SSH2::isConnected() return a boolean instead of int. 2014-07-20 23:03:06 +02:00
Andreas Fischer
cc64ef9d3f Merge pull request #412 from terrafrost/ssh2-connected
SSH2: make isConnected return true if even if we're not logged in

* terrafrost/ssh2-connected:
  SSH2: make isConnected return true if even if we're not logged in
2014-07-20 23:00:30 +02:00
Andreas Fischer
884c090bf2 Merge pull request #413 from bantu/stat-cache-fix
Put some assertions into testStatcacheFix().

* bantu/stat-cache-fix:
  Put some assertions into testStatcacheFix().
2014-07-20 22:44:40 +02:00
Andreas Fischer
302f4f894b Merge pull request #409 from terrafrost/stat-cache-fix
SFTP: add unit test for stat cache fix

* terrafrost/stat-cache-fix:
  SFTP: stat cache fixes
  SFTP: return $sftp object in new unit test method
  SFTP: add unit test for stat cache fix
2014-07-20 21:41:50 +02:00
Andreas Fischer
8796130b14 Merge pull request #410 from bantu/sami
Automated API Documenation using Sami

* bantu/sami:
  Add api target to phing build script.
  Add sami configuration file.
  Add sami/sami 1.* as a development dependency.
2014-07-20 21:20:32 +02:00
terrafrost
ac2fc96263 SSH2: make isConnected return true if even if we're not logged in 2014-07-20 11:24:16 -05:00
terrafrost
a84861bb52 SFTP: stat cache fixes 2014-07-19 21:31:58 -05:00
Andreas Fischer
ffccec59cb Add api target to phing build script. 2014-07-19 01:10:30 +02:00
Andreas Fischer
d86a17271f Add sami configuration file. 2014-07-19 01:04:18 +02:00
Andreas Fischer
3c9614991a Add sami/sami 1.* as a development dependency. 2014-07-19 00:57:13 +02:00
Andreas Fischer
7dd01c6103 Put some assertions into testStatcacheFix(). 2014-07-19 00:28:39 +02:00
terrafrost
41ae2fb130 SFTP: return $sftp object in new unit test method 2014-07-17 11:35:58 -05:00
terrafrost
6202d2c3ed SFTP: add unit test for stat cache fix 2014-07-17 11:22:59 -05:00
Andreas Fischer
13317c1004 Merge pull request #407 from bantu/readme-support-section
Add Support section to README.

* bantu/readme-support-section:
  Add Support section to README.
2014-07-17 02:46:18 +02:00
Andreas Fischer
48b9d3ccfb Add Support section to README. 2014-07-14 20:21:37 +02:00
Andreas Fischer
5a5d0fcf56 Merge pull request #403 from terrafrost/stat-cache-fix
SFTP: fix an issue with the stat cache

* terrafrost/stat-cache-fix:
  SFTP: fix an issue with the stat cache
2014-07-12 12:08:34 +02:00
terrafrost
fe7fd97b59 SFTP: fix an issue with the stat cache 2014-07-11 12:14:26 -05:00
terrafrost
8b8c62f278 README: update download link to latest version 2014-07-05 11:36:21 -05:00
Andreas Fischer
ba24e04729 Merge pull request #394 from terrafrost/scp-spaces
SCP: add support for file names with spaces

* terrafrost/scp-spaces:
  SCP: always encapsulate filenames within double quotes
  SCP: add support for file names with spaces
2014-07-05 17:40:01 +02:00
terrafrost
aec33901fc SCP: always encapsulate filenames within double quotes 2014-07-03 13:36:24 -05:00
Andreas Fischer
af8f350050 Merge pull request #393 from bantu/stream-registration
Add Net_SFTP_Stream::register()

* bantu/stream-registration:
  Use get_called_class() if available.
  Add Net_SFTP_Stream::register() for easier autoloading.
  Add unit test for (to be added) Net_SFTP_Stream::register().
2014-06-27 14:14:15 +02:00
terrafrost
9edf905939 SCP: add support for file names with spaces 2014-06-26 20:41:43 -05:00
Andreas Fischer
0f672dde52 Use get_called_class() if available. 2014-06-27 00:35:19 +02:00
Andreas Fischer
73f961cb7d Add Net_SFTP_Stream::register() for easier autoloading. 2014-06-27 00:22:41 +02:00
Andreas Fischer
f360932343 Add unit test for (to be added) Net_SFTP_Stream::register(). 2014-06-27 00:21:55 +02:00
Andreas Fischer
949cfcc867 Merge pull request #386 from terrafrost/symlink
SFTP: add readlink and symlink functions

* terrafrost/symlink:
  SFTP: return $sftp object in unit tests
  SFTP: fix unit test
  SFTP: syntax error in unit test
  SFTP: add unit tests for symlinks
  SFTP: add readlink and symlink functions
2014-06-23 16:37:55 +02:00
Andreas Fischer
a40e6a0838 Merge pull request #389 from liutec/patch-1
Allow setting the terminal window size other than 80x24

* liutec/patch-1:
  Removed white-spaces from line ends
  Allow setting the terminal window size
2014-06-23 16:36:16 +02:00
liutec
10597aed64 Removed white-spaces from line ends 2014-06-22 22:30:52 +03:00
liutec
8e1df6e3c3 Allow setting the terminal window size 2014-06-20 13:04:17 +03:00
terrafrost
03c315d546 SFTP: return $sftp object in unit tests 2014-06-19 23:57:32 -05:00
terrafrost
05baf7b73b SFTP: fix unit test 2014-06-19 13:57:42 -05:00
terrafrost
366410e2e1 SFTP: syntax error in unit test 2014-06-19 10:42:20 -05:00
Andreas Fischer
709c7c4d48 Merge pull request #385 from bantu/a-random-change
Random: include the Crypt_* classes if they're available

* bantu/a-random-change:
  phpseclib_is_includable() -> phpseclib_resolve_include_path()
  Drop Net_SSH2::_is_includable() method.
  Random: a few changes to the stream_resolve_include_path_function
  Replace stream_resolve_include_path with phpseclib_is_includable.
  Random: add explanatory comment
  SSH2: replace _is_includable() with stream_resolve_include_path
  Random: include the Crypt_* classes if they're available
2014-06-19 16:08:59 +02:00