David Sparer
3e40b08525
Merge pull request #348 from countchappy/develop
...
RDP Minutes to Idle Timeout - users cant enter invalid timeout values
2017-01-27 14:58:05 -07:00
Sean Kaim
2445c74638
code clean up and minor refactoring
2017-01-25 17:50:10 -05:00
David Sparer
217693937f
connectioninfo id is now serialized to the confCons file
2017-01-25 14:02:20 -07:00
Sean Kaim
e00ba62606
Refactored Tools.Controls.cs
...
Fixes #363
2017-01-24 17:52:15 -05:00
countchappy
80c6ce81e1
RDP Minutes to Idle Timeout - Update 4
...
Added an option to alert if disconnected due to inactivity.
2017-01-16 15:14:27 -05: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
c33095cd0e
RDP Minutes to Idle Timeout - Update 2.1
...
Fixed my goof!
2017-01-13 17:11:07 -05:00
countchappy
166d9f7133
RDP Minutes to Idle Timeout - Update 2
...
Added null conditional operator to prevent throwing a null reference
error for beta users.
2017-01-13 13:41:19 -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
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
94a6e9a886
code clean up around startup / frmMain
...
Slightly related to #298
2016-12-22 10:01:20 -05:00
Sean Kaim
8d5a765040
pass importSubOU option in to recursive calls
...
Fixes remaining problems reported in #211
2016-12-13 14:22:39 -05:00
Sean Kaim
b08112aec0
Load Ext Tools - add logging
...
Relates to #291 & #236
2016-12-02 12:20:02 -05:00
Sean Kaim
9d2bbda2b9
ExtTools code clean up
...
Relates to #291 & #236
2016-12-02 12:11:46 -05:00
Sean Kaim
2e7fd3fb60
code clean up
2016-11-22 16:54:06 -05:00
David Sparer
cc15c12d19
Resolved bug with deserializing confCons v2.5 custom password full encryption files
2016-11-21 10:01:34 -07:00
David Sparer
0b507cb66a
Fixed bug where custom decryption passwords would require 2 password prompts to decrypt
2016-11-21 09:59:46 -07:00
David Sparer
b1c697ea09
ensured that the rootnodeinfo is not null during decryption
2016-11-21 09:25:43 -07:00
Sean Kaim
f6babd01ca
Fix complier warning
2016-11-15 14:00:22 -05:00
Sean Kaim
5a830c17db
ReShaper Cleanup
2016-11-11 17:24:02 -05:00
Sean Kaim
00ec25d38c
Fix compilier warning: CA2202 & refactor
...
https://msdn.microsoft.com/en-us/library/ms182334.aspx
2016-11-11 16:25:47 -05:00
Sean Kaim
348fc156de
Commented out Unused variable
2016-11-11 16:21:46 -05:00
Sean Kaim
bbfbbbf91e
make sub OU import optional
2016-11-10 17:53:32 -05:00
Sean Kaim
c5f199bdf8
recurively import OU, Sub-OU and servers
2016-11-08 17:31:50 -05:00
David Sparer
193bb0bf26
The xml decryptor wasn't passing the kdfiterations value to the cryptoprovider. It was being essentially hard-coded in... whoops
...
Added a new test to ensure we can serialize then deserialize with a custom kdf value
2016-11-02 15:59:25 -06:00
Sean Kaim
d862462bbf
Fix build failures (tests)
...
I don't want to risk breaking any existing SQL implementations at this
point by updating the schema... Especially since I don't have the time
to test it properly.
2016-11-02 17:05:44 -04:00
Sean Kaim
60cd2c2b12
RDP audioqualitymode option
...
fixes #172
2016-11-02 15:49:45 -04:00
David Sparer
baa496fc07
Merge pull request #199 from mRemoteNG/Make_XmlSerializer_class_testable
...
The XmlConnectionsSerializer class was broken into smaller classes that better adhere to SRP.
Closes #180
2016-10-25 11:17:07 -06:00
David Sparer
fd6268ce8a
Updated the deserializer / decryptor to look at the rootnodeinfo for decryption key rather than static Runtime. There was some state leaking that caused unit tests to fail intermittently
2016-10-25 10:59:43 -06:00
David Sparer
47561340e3
minor cleanup
2016-10-25 09:33:34 -06:00
David Sparer
b374952141
Renamed the ConnectionsDecryptor to XmlConnectionsDecryptor and moved it into the Serializers namespace
2016-10-25 08:53:07 -06:00
David Sparer
6b023c5fb6
Simplified the xml serializer by chunking it into appropriate classes
2016-10-24 15:40:28 -06:00
David Sparer
bd30103758
Fixed bug where we were not using the correct encryption key during serialization
2016-10-24 15:39:50 -06:00
David Sparer
e9ead72e79
Added logic to the XmlConnectionsDocumentCompiler to respect the FullFileEncryption flag
2016-10-24 14:54:08 -06:00
David Sparer
513edc58ab
Created XmlConnectionsDocumentEncryptor to handle encrypting the entire connections xml file
2016-10-24 14:51:48 -06:00
David Sparer
fd7e7bd439
Created a class to handle compiling the structure of the xml document (child/parent relationships)
2016-10-24 13:12:39 -06:00
David Sparer
f510f20f57
Created an xml serializer specifically for dealing with the root connections node
2016-10-24 11:47:35 -06:00
David Sparer
f1f76a4910
XmlConnectionNodeSerializer now respects save filter settings for serializing inheritance
2016-10-24 09:04:51 -06:00
David Sparer
3ea4bc29ba
Began splitting individual xml element serialization from serializing the structure of the document. Created unit tests to ensure the attributes are serialized correctly
2016-10-21 12:47:20 -06:00
David Sparer
e11413eab8
The XmlConnectionsSerializer now looks to its crypto provider for the value of KdfIterations. This insulates the function from global state (Settings)
2016-10-19 18:00:14 -06:00
David Sparer
7376ff1c9b
XmlSerializer now requires a cryptoprovider be given to the ctor. Reduces reliance on global state (Settings)
2016-10-19 17:43:02 -06:00
Sean Kaim
94853714c7
code clean up / fix complier warning
2016-10-18 17:31:09 -04:00
Sean Kaim
e5d625f294
code clean up
2016-10-17 21:25:04 -04:00
David Sparer
90fea916fd
Passwords will now only be serialized if the SaveFilter allows them to be, and if the connection/container does NOT inherit the password.
2016-10-14 08:07:30 -06:00
David Sparer
f2f0ee0179
Key derivation iterations is now saved in the settings (for serialization) and the confCons file (for deserialization)
2016-10-13 18:43:46 -06:00
David Sparer
d0e21d7d8a
Added tests for all current versions and significant variations of confCons. More changes to the deserialization classes were required to make them more testable. Still needs significant work to be considered good code
2016-10-13 15:49:49 -06:00
David Sparer
c639b89511
Added a custom EncryptionException type that inherits from the BouncyCastle type. This gives us a bit of namespace insulation (we shouldn't reference BouncyCastle outside of the mRemoteNG.Security namespace).
2016-10-13 12:43:47 -06:00
David Sparer
1592a448f3
Simplified the authentication code when deserializing xml
2016-10-13 12:00:49 -06:00
David Sparer
f8968f2eb1
Resolved issue with the password prompt box not appearing when trying to decrypt with custom password. Class needs to be cleaned up.
2016-10-13 09:13:02 -06:00
David Sparer
21c96281a8
Resolved issue where encrypted values were not being decrypted correctly. (it was using the wrong decryption provider)
2016-10-13 09:09:47 -06:00