Commit Graph

248 Commits

Author SHA1 Message Date
David Sparer
25d1e0a74d Merge pull request #352 from mRemoteNG/299_better_testing_of_connection_tree
Refactor connection tree to be more testable
2017-01-18 09:03:26 -07:00
David Sparer
d0b7e72f15 Merge pull request #342 from countchappy/develop
RDP Optional Minutes to Idle Timeout
2017-01-13 17:05:25 -07:00
countchappy
5a61c6b7df RDP Minutes to Idle Timeout - Update 3.1 2017-01-13 18:49:39 -05:00
David Sparer
12da35f875 made the rest of the connectioninitiator functions non-static 2017-01-12 13:57:15 -07:00
David Sparer
82217478d9 made one of the methods for the connectioninitiator non-static (they should eventually all be non-static).
This change was made to making testing easier (make connectioninitiator mockable)
2017-01-12 13:31:29 -07:00
Sean Kaim
ea657824c2 Streamlined non-integrated IntApp connections
This seems to fix #325
2017-01-11 17:49:37 -05:00
Sean Kaim
99e7072e27 code clean up
relates to #325
2017-01-11 17:01:08 -05:00
Sean Kaim
e92a76f95b "return ;" annoyed me...
And I did a find and replace in the solution instead of the one file I
was working on... So I'm going with it...
2017-01-11 16:56:14 -05:00
countchappy
10d152342f RDP Minutes to Idle Timeout - Update 1
Fixed some language file stuff.
2017-01-11 16:44:53 -05:00
countchappy
7e4b0635b2 RDP Minutes To Idle Timeout
Allows users to configure a number of minutes until the session will
automatically disconnect if left idle.
2017-01-11 15:23:43 -05:00
Sean Kaim
46dd58d26e External Tool/Connection - code clean up & logging
Relates to #325
2017-01-05 11:05:59 -05:00
David Sparer
7ba7e0b2d8 resolved the issue with inheritance not being applied correctly for folders. created a few tests to help guard against this from happening again. 2016-11-15 10:15:49 -07:00
Sean Kaim
5a830c17db ReShaper Cleanup 2016-11-11 17:24:02 -05:00
Sean Kaim
24ad483214 Fix other complier warnings & code clean up 2016-11-11 16:30:22 -05:00
Sean Kaim
60cd2c2b12 RDP audioqualitymode option
fixes #172
2016-11-02 15:49:45 -04:00
Sean Kaim
94853714c7 code clean up / fix complier warning 2016-10-18 17:31:09 -04:00
Sean Kaim
76f585a051 code clean up 2016-10-18 16:48:32 -04:00
Sean Kaim
e5d625f294 code clean up 2016-10-17 21:25:04 -04:00
David Sparer
4aa9a6e7a3 Changed the mRemoteNG csv exporter to not use the non-existant TreeNode for serializing its location in the tree. Resolves #165 2016-10-12 12:09:28 -06:00
David Sparer
9d67f58490 Replaced all calls to GeneralAppInfo.EncryptionKey to Runtime.EncryptionKey 2016-10-12 08:16:05 -06:00
David Sparer
67c01046be Removed unnecessary implementations of IDisposable 2016-10-05 13:50:55 -06:00
David Sparer
3e47041820 Fixed minor bug where ProtocolList.Clear() would trigger a CollectionChanged event even when no items were removed (list already empty) 2016-10-05 12:43:27 -06:00
David Sparer
c471f621b2 #141 ConnectionInfo now listens to collection changed events from the ProtocolList and raises a PropertyChanged event for OpenConnections when the list contents changes. 2016-10-05 12:37:05 -06:00
David Sparer
e2e010c418 Created test to check for safe indexer handling of unknown object types 2016-10-05 11:51:44 -06:00
David Sparer
913e0dd3e4 #141 Implemented INotifyCollectionChanged on ProtocolList and created unit tests 2016-10-05 11:47:22 -06:00
David Sparer
192a718d08 Cleanup of the protocollist. connected to #141 2016-10-05 10:45:48 -06:00
David Sparer
be22ebd789 Code cleanup 2016-09-28 13:57:35 -06:00
David Sparer
da2d48b49a Minor code cleanup 2016-09-28 08:20:16 -06:00
David Sparer
b73547ced9 Connecting to an entire folder working again 2016-09-27 14:44:35 -06:00
David Sparer
7a15a8151c Resolved error when attempting to connect to PuTTY session 2016-09-27 09:21:15 -06:00
David Sparer
fa7ca994e9 ConnectionList served no purpose and was removed 2016-09-26 15:10:32 -06:00
David Sparer
b1fd47ff9d Renamed the Scanner class to PortScanner 2016-09-25 12:29:30 -06:00
David Sparer
21475e0596 Small code cleanup 2016-09-22 12:38:50 -06:00
David Sparer
3ac09748db Opening a loading a putty session and showing the putty configuration window will no longer freeze mRemoteNG 2016-09-22 12:31:22 -06:00
David Sparer
86cb233cf6 Implemented INotifyCollectionChanged on the container children list rather than the INotifyPropertyChanged. It makes more sense, though we will need to implement UI refresh listeners on the TreeListView manually now (objectlistview currently only respects INotifyPropertyChanged events) 2016-09-20 08:37:44 -06:00
David Sparer
95ddca0d7c Implemented INotifyPropertyChanged on AbstractConnectionInfoData (and thus on every connectioninfo subtype) 2016-09-19 12:54:01 -06:00
David Sparer
a03e2783d4 Created another level of abstraction between the data shared by all connection info objects and the behavior shown by certain connection info objects 2016-09-19 11:25:58 -06:00
David Sparer
77ca139363 Renamed class "Sessions" to "PuttySessionsManager" 2016-09-19 08:13:12 -06:00
David Sparer
ecb77238a3 Sorting nodes now works (ascending/descending) 2016-09-15 12:05:46 -06:00
David Sparer
023570298b Removed unnecessary code 2016-09-14 07:41:38 -06:00
David Sparer
cf7e4d1f52 Moved GetExtAppByName() back to Runtime. Will make more sense for later refactoring 2016-09-12 10:20:35 -06:00
David Sparer
a09ce702c1 Removed unnecessary code 2016-09-12 10:17:14 -06:00
David Sparer
4c6f5dd72d Renamed some variables to adhere to style guidelines 2016-09-12 10:12:00 -06:00
David Sparer
dabed1568c Removed another OpenConnection overload that didnt take a connectioninfo object 2016-09-12 10:09:15 -06:00
David Sparer
79dee21f9b Removed empty arg overload for OpenConnection(). We always require a connectioninfo object 2016-09-12 10:07:05 -06:00
David Sparer
3ad8a14786 Initial refactor of connection initiation (which is heavily tied into how the connection tree was previously being managed) 2016-09-12 09:52:12 -06:00
David Sparer
b391940037 Merge branch 'develop' into MR-975_Replace_TreeView_with_TreeListview
# Conflicts:
#	mRemoteV1/Config/SqlDatabaseConnector.cs
#	mRemoteV1/Tree/Root/RootPuttySessionsNodeInfo.cs
2016-09-12 08:40:43 -06:00
David Sparer
4cdfeeecf2 Turns out we didn't need a custom Equals comparer for ConnectionInfo. Rolling back since it's probably best to keep the default implementation unless we actually need a custom one. 2016-09-09 09:57:21 -06:00
David Sparer
b65fdbdd78 Overrode the Equals method for ConnectionInfo. Equality based on ConstantID 2016-09-09 09:50:06 -06:00
Sean Kaim
ae13b5f920 code clean up/remove unused files 2016-09-09 10:24:02 -04:00