Commit Graph

181 Commits

Author SHA1 Message Date
olegkap_cp 033218647f Add KeepAliveRequestInfo class
Add EndOfWriteRequestInfo class
Refactor channel request messages to allow custom channel reuqest support
2011-08-03 18:53:45 +00:00
olegkap_cp e369b0f53e Add and fix comments 2011-07-29 19:13:44 +00:00
olegkap_cp 5e2112e62b Add SHA256Hash algorithm
Exclude RSA Private Key from Silverlight version
Minor silverlight related fixes
2011-07-28 20:44:10 +00:00
olegkap_cp 40b36edaf1 Add SHA1 algorithm
Add RSA Private key algorithm
Adding some Silverlight specific #if...#endif
2011-07-28 20:09:41 +00:00
olegkap_cp e3d3796d33 Fix Aes -ctr algorithms
Move hmac-md5 hashing algorithm into library
2011-07-13 14:41:13 +00:00
olegkap_cp 7d8c9cf61e Refactor and reorganize cipher code
Fix TripleDES cipher
Fix and add missing comments
Mark assembly as not CLR
2011-07-06 20:19:29 +00:00
olegkap_cp 445d995f44 Add ASCIIEncoding to be used internally and also by Silverlight implementations
Misc logic sepeartion to prepare for Silverlight
2011-07-05 20:03:02 +00:00
olegkap_cp 1217c5505e Minor changes for future silverlight support 2011-07-05 16:00:43 +00:00
olegkap_cp a5c68f73c5 Fix some issues raised in #752 Issue 2011-07-05 15:24:50 +00:00
Kenneth_aa_cp 3d0738c8c8 Undo panic. 2011-07-04 11:13:22 +00:00
Kenneth_aa_cp 0a1aa984ec Firealarm 2011-07-04 10:58:55 +00:00
olegkap_cp 18b6eafaaa Extract thread related operation to NET40 partial classes
Replace SemaphoreSlim with custom SemaphoreLight class
2011-06-30 20:49:00 +00:00
olegkap_cp 972b1eae21 Split exception file into two partial files so it could be reused by other implementations 2011-06-30 15:21:50 +00:00
olegkap_cp 6411407558 Replace System.Numerics.BigInteger type with internally implemented Renci.SshNet.Common.BigInteger 2011-06-30 14:51:17 +00:00
olegkap_cp 2d988eff58 Adding and linking project for Silverlight and WindowsPhone development 2011-06-29 17:36:40 +00:00
olegkap_cp fd22cf21a2 Replace ErrorEventArgs with ExceptionEventArgs 2011-06-29 14:59:15 +00:00
olegkap_cp db11576c82 Remove Messages folder from previouse check-in 2011-06-27 17:58:55 +00:00
olegkap_cp e67cc54cd2 Refactor SFTP messages to request/response
Add new Exists method to verify if file of directory exists
Change Get method to throw an exception if file or directory do not exists
Replace SftpAsyncResult with SftpDownloadAsyncResult, SftpUploadAsyncResult and SftpListDirectoryAsyncResult
2011-06-27 17:57:51 +00:00
olegkap_cp be896dc88a Fix Buffer.BlockCopy error in SftpFileStream.Write method 2011-06-21 20:14:54 +00:00
olegkap_cp ef83707843 Fix FileMode.Create behaviour for SftpFileStream class 2011-06-21 20:00:22 +00:00
olegkap_cp b248dcc75f Rename SshFileNotFoundException to SftpPathNotFoundException to include file and direcotry errors and to be more SFTP specific.
Rename SshPermissionDeniedException to SftpPermissionDeniedException to specify SFTP specific exception.
2011-06-21 19:18:50 +00:00
olegkap_cp 3e770696ae Fix ChangeDirectory method
Fix GetCanonicalPath method
Add tests for ChangeDirectory
2011-06-21 19:13:34 +00:00
olegkap_cp 6411f723ca Remove call to Stop method to prevent dead lock in local port forwarding 2011-06-21 16:56:03 +00:00
olegkap_cp be0dbf600e Add support for validation of IPv6 addresses 2011-06-13 13:46:09 +00:00
olegkap_cp 2bea9352eb Refactor SftpFileAttributes class to be public
Add SetAttributes and GetAttributes methods
2011-06-07 20:25:12 +00:00
olegkap_cp 4d79078a70 Add SftpFileStream class
Add Sftp file methods to SftpClient class, similar to File class methods
2011-06-07 18:50:08 +00:00
Kenneth_aa_cp 3156167c0d Added test for #713.
Added test Test_PortForwarding_Local_Stop_Hangs_On_Wait.
2011-05-19 09:01:21 +00:00
olegkap_cp a1b3ce729b Fix async SFTP operations and ensure that only valid asyncResult objct can be used with End* operation 2011-05-18 15:24:03 +00:00
olegkap_cp e9167373f7 Add new method to Extensions class for test purposes
Add argument checking based on test
Correct some tests and add few more
2011-05-16 14:06:13 +00:00
Kenneth_aa_cp 8e7e93fc7e Fixed some tests to prevent certain tests to be run as root, for idiot-proofing and to prevent a test to succeed where it should fail. 2011-05-15 18:25:24 +00:00
Kenneth_aa_cp 27a87a8c29 Added tests for PortForwardEventArgs.
Added Test_PortForwardEventArgs_Host_Null
Added Test_PortForwardEventArgs_Host_Empty
Added Test_PortForwardEventArgs_Port_Invalid
2011-05-15 17:25:55 +00:00
Kenneth_aa_cp b44c1679fc Added tests related to port forwarding, local and remote for null/string.Empty and invalid port numbers.
Added Test_AddForwardedPort_Local_Hosts_Are_Null.
Added Test_AddForwardedPort_Local_Hosts_Are_Empty.
Added Test_AddForwardedPort_Remote_Hosts_Are_Null.
Added Test_AddForwardedPort_Remote_Hosts_Are_Empty.
Added Test_AddForwardedPort_Local_Hosts_Are_Empty.
Added Test_AddForwardedPort_Invalid_PortNumber.
2011-05-15 17:13:47 +00:00
Kenneth_aa_cp 33eb7c557e Added test Test_Get_File_Null - passing null to Get. 2011-05-15 10:50:51 +00:00
Kenneth_aa_cp 07f033a647 Updated vsmdi file, forgot to include in previous commit. 2011-05-15 10:40:17 +00:00
Kenneth_aa_cp 406da97441 Added SftpClient tests: ListDirectory with null, CreateDirectory with null, ChangeDirectory with null, DeleteDirectory with null, DeleteFile with null, RenameFile with null, BeginUploadFile with null, BeginDownloadFile with null. Methods:
Added Test_Sftp_ListDirectory_Null
Added Test_Sftp_CreateDirectory_Null
Added Test_Sftp_ChangeDirectory_Null
Added Test_Sftp_DeleteDirectory_Null
Added Test_Sftp_DeleteFile_Null
Added Test_Sftp_RenameFile_Null
Added Test_Sftp_BeginUploadFile_Null
Added Test_Sftp_BeginDownloadFile_Null
2011-05-15 10:34:52 +00:00
Kenneth_aa_cp 936c296b82 Added tests for ConnectionInfo, passing whitespace (space) as argument for the constructor on host, username and password.
Updated WorkItem attribute on test Test_Execute_Command_Same_Object_Different_Commands.
2011-05-15 10:04:06 +00:00
Kenneth_aa_cp a9d1ba340c Added WorkItem property on some test relating to Issue #703
Added Visual Studio Test Meta Data File, to organize tests abit. (Not completed)
2011-05-14 16:00:58 +00:00
Kenneth_aa_cp 9e54548963 Added test that delegates passed to BeginUploadFile, BeginDownloadFile and BeginListDirectory are actually called. 2011-05-14 15:29:43 +00:00
olegkap_cp 79095fa477 Ensure that command EndExecute called only once
Call callback before End* command for SFTP operations
2011-05-14 04:08:40 +00:00
olegkap_cp 699163773b Flush StreamWriter for Shell shortcut operation 2011-05-12 13:08:47 +00:00
olegkap_cp da67b51a48 Fix shell stream output.
Fix NullRefernce exception when shell finishes
2011-05-11 22:58:51 +00:00
olegkap_cp 61a8edead9 Fix possible nullable path (breaking change from previouse checking)
Fix disconnect logic to avoid ObjectDisposed exception
2011-05-11 21:40:51 +00:00
olegkap_cp 2f42d5a31e Complete previouse renaming checking
Minor fixes that was recenty broken earlier
Apply some FxCop recomendation
2011-05-11 19:49:06 +00:00
olegkap_cp 5ede55515a Project reorganization and renaming to Renci.SshNet 2011-05-11 19:48:16 +00:00
olegkap_cp 0854d152db Some cosmetic changes
Fixes suggested in issue #703
Add tests for implemented issues
2011-05-11 14:52:23 +00:00
olegkap_cp 223b1fd909 Add new default when creating shell and another shortcut 2011-05-10 15:11:25 +00:00
olegkap_cp cbeebdff00 Fix SftpSession.Dispose method 2011-05-10 14:27:08 +00:00
olegkap_cp 53661ef847 Restore timeout for any operation that waits for server response 2011-05-10 14:03:04 +00:00
olegkap_cp 2348be8875 Additional fix to Shell stopping 2011-05-09 17:26:12 +00:00
olegkap_cp 20b164cf32 Throw an exception if authentication method is not supported by the server 2011-05-09 15:27:43 +00:00