Commit Graph

158 Commits

Author SHA1 Message Date
Robert
7ec36fb5d5 Exposed publically open shell method as well as methods to query interactive channel open statuses.
Removed in_request_pty_exec and in_subsystem flags, and removed uses of MASK_SHELL in bitmap, replacing with open channel status queries.
Adding channel argument to read, write, and reset allowing callers to select among multiple open interactive channels.
Adding interactive channel identifier interface as sanctioned path for users to obtain channels ids instead of using channel constants.
Deprecating get_interactive_channel helper and documenting its "legacy" behavior in read, write, and reset doc blocks.
Removing disconnect on timeout in channel close for lack of clarity around timeout origin.
Check for open channel prior to closing in stopSubsystem and reset.
2023-03-16 10:18:03 -05:00
terrafrost
508eaa7197 Tests: PHPUnit 10 updates 2023-02-05 17:33:16 -06:00
terrafrost
a10a3b8e5b Merge branch '2.0' into 3.0 2022-10-04 21:02:49 -05:00
terrafrost
2ed74533f4 Merge branch '1.0' into 2.0 2022-10-04 18:11:49 -05:00
Phil Davis
24845ccbcc delete of non-existent folder returns true when it used to ret 2022-10-04 17:56:23 -05:00
Jack Worman
746e9eef57 Clean Up Tests 2022-04-22 18:41:59 -05:00
Jack Worman
0a69972571 Clean Up Tests 2022-03-15 18:49:38 -05:00
Jack Worman
574953061a PSR4 for tests and added fall-through for switches
PSR4 for tests and added fall-through for switches
2022-02-27 01:26:31 -06:00
Jack Worman
ea9f6540f3 PSR12 fixes
PSR12 fixes
2022-02-19 17:06:13 -06:00
Jack Worman
ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
ddfb217855 Merge branch '1.0' into 3.0 2022-01-08 19:51:35 -06:00
terrafrost
676b099789 Merge branch '1.0' into 2.0 2022-01-08 19:50:36 -06:00
PetrP
888867e7b6 SFTP: fix chgrp() for version < 4
$uid and $gid were flipped with dbfc762257
2022-01-08 19:50:22 -06:00
terrafrost
796270a254 Tests: update for 3.0 branch 2022-01-08 16:49:43 -06:00
terrafrost
2aa8072410 Merge branch '1.0' into 3.0 2022-01-08 16:49:00 -06:00
terrafrost
bc457521f1 Tests: update for 2.0 branch 2022-01-08 16:36:47 -06:00
terrafrost
d2994dafe1 Merge branch '1.0' into 2.0 2022-01-08 16:36:21 -06:00
terrafrost
9b587a87c0 Tests: add test for connecting to non-existant host 2022-01-08 16:35:57 -06:00
terrafrost
dc3e7bda71 Tests/SFTP: PHP 8.1 error message changed 2021-11-29 07:23:49 -06:00
terrafrost
01cdf396b2 Merge branch '2.0' into 3.0 2021-10-13 22:00:32 -05:00
terrafrost
3da069570c Merge branch '1.0' into 2.0 2021-10-13 22:00:20 -05:00
terrafrost
30a9a1541c Tests/SSH2: fix intermittently failing unit test 2021-10-13 21:03:54 -05:00
terrafrost
2ec8356121 Merge branch '2.0' into 3.0 2021-10-12 20:37:34 -05:00
terrafrost
a684f12065 Merge branch '1.0' into 2.0 2021-10-12 20:37:27 -05:00
terrafrost
6f8d12ffc7 Tests: tests were being skipped because their deps had no asserts 2021-10-12 20:35:38 -05:00
terrafrost
5e1c890ac6 Tests: fix bad unit test 2020-12-19 01:14:06 -06:00
terrafrost
9637e25bf7 add unit test for resuming uploads 2020-12-18 21:34:21 -06:00
terrafrost
df22fa0487 add unit test for stream_select addition 2020-12-18 21:29:09 -06:00
terrafrost
c25dff2ef0 Merge branch '2.0-class-rename' into 3.0-class-rename 2020-12-12 22:26:03 -06:00
terrafrost
0676524dfd Merge branch '1.0-class-rename' into 2.0-class-rename 2020-12-12 21:41:10 -06:00
terrafrost
e6abc61f45 rm adding of dupe classes (they break annotations) 2020-12-12 21:39:58 -06:00
terrafrost
7237c0f803 fix bad merge 2020-12-12 19:34:38 -06:00
terrafrost
e4bf7b111a Merge branch '2.0' into 3.0 2020-12-12 19:22:36 -06:00
terrafrost
185139f5c8 Merge branch '1.0' into 2.0 2020-12-12 17:39:38 -06:00
terrafrost
95432478c0 fix bad merge 2020-12-12 17:39:32 -06:00
terrafrost
245a84b57f make unit tests pass without gnu parallel 2020-12-12 17:26:44 -06:00
terrafrost
5701295017 Merge branch '1.0' into 2.0 2020-12-12 17:13:41 -06:00
terrafrost
266f16816a enable unit tests for PHP 8 / PHPUnit 9 2020-12-12 15:11:04 -06:00
Liam Dennehy
a7fc232c63 getaddrinfo error message seems to be unstable, add tolerance to test 2020-08-01 02:28:56 -05:00
terrafrost
8dac275a03 SFTP: rm size() (we already have filesize()) 2020-02-11 23:25:04 -06:00
terrafrost
653dbd7f94 rename phpseclib/phpseclib to phpseclib/phpseclib3 for 3.0 branch 2019-11-21 19:38:03 -06:00
Vladmir Gaydamaka
05bf34860d Added test SFTPWrongServerTest 2019-09-18 07:54:01 -05:00
terrafrost
f2226184ee rm Common/Functions/Objects.php 2019-03-31 16:28:21 -05:00
terrafrost
6021e74a79 Merge branch '2.0-dsas' 2018-08-18 15:04:51 -05:00
terrafrost
82967a40d4 Merge branch '1.0-dsas' into 2.0 2018-08-18 15:03:25 -05:00
Dean Sas
6fcd8f3a6e Remove needless assertion in rawlist test 2018-08-18 08:36:40 -05:00
Dean Sas
426dbdbfcd Ensure SFTP::rawlist gives same results regardless of statcache
Previously SFTP::rawlist gave different results depending on whether the
stat cache was enabled or not. With the stat cache turned off it did not
treat directories correctly, as it relied on the stat cache even though
it was not populated.
2018-08-18 08:36:16 -05:00
luz.paz
380517ef00 Misc. trivial typos
Found via `codespell -q 3`
2018-03-03 07:07:14 -05:00
terrafrost
ce8ad063c7 Merge branch '2.0' 2017-12-14 23:52:18 -06:00
terrafrost
b02d78e92a Merge branch '1.0' into 2.0 2017-12-14 23:49:10 -06:00