Commit Graph

23 Commits

Author SHA1 Message Date
Mike Beattie
9f3bf545bf Implement MySQL support
* Uses MySQL Connector/NET from nuget
* Adds SQL Server type to configuration.
* Hostname for MySQL connections can include port
  - Format:  <hostname>[:<port>]
* Abstracted a bundle of stuff to be generic for both
  MSSQL and MySQL, including a number of variable and method names.
  (Mostly went from "sql..." -> "db..."
* Changed MiscTools.DBDate() string building for MSSQL,
  uses DateTime.ToString() with a format which seemed simpler.
* Unsure about which lines in .csproj are actually required,
  and which are auto-munged by Visual Studio.
* ... This is my first C# (and VS!) work, be gentle!

Signed-off-by: Mike Beattie <mike@ethernal.org>
2019-02-17 18:27:00 +13:00
Sean Kaim
e143c6b5b4 resharper code reformat (to allow standard code style going forward) 2019-02-15 16:47:56 -05:00
David Sparer
29483b2625 attached the file backup pruner to listen to connection file save events
resolves #1020
2018-07-23 12:53:03 -05:00
David Sparer
6a46df780c did some refactoring
made IConnectionImporter generic to cut down on code
2018-02-04 16:00:50 -06:00
Dekel Asaf
c6e4439ab9 Added check for SQL read only in SqlDataProvider 2017-12-10 22:22:38 +02:00
David Sparer
6dcef71ebc changed the backup file timestamp to use system time rather than utc 2017-05-11 10:42:58 -06:00
David Sparer
d6c34f2312 simplified backup file creation 2017-05-11 10:29:06 -06:00
David Sparer
8666c491ce extracted some Runtime class methods to new classes 2017-05-11 09:53:32 -06:00
David Sparer
1b12a689a3 cleaned up some code in Runtime relating to new confcons creation 2017-05-10 09:27:11 -06:00
David Sparer
f91d09b2ae FileDataProvider now creates directories if they do not exist 2017-05-10 09:11:33 -06:00
David Sparer
6ae279c292 created some tests to verify that the file data providers work as expected 2017-05-08 13:23:49 -06:00
David Sparer
8439d6d3aa lots of reworked interfaces around cred repo serialization
- decryptors now expose a property that represents what key they will use for decrypt. this can be used by decorators to properly encapsulate password prompts
- added some basic acceptance tests around cred repos
- added some stubby implementations for IDataProvider and the key provider decorators
2017-04-03 20:09:47 -06:00
David Sparer
b28775c2c6 made sqlbulkcopy column-position independant 2017-03-10 14:18:55 -07:00
Sean Kaim
60cd2c2b12 RDP audioqualitymode option
fixes #172
2016-11-02 15:49:45 -04:00
David Sparer
c755d651cc Removed all destructors since they were a very bad idea to implement 2016-10-05 13:41:35 -06:00
David Sparer
e5c9ccbdcc Moved all database connectors to the Config.DatabaseConnectors namespace 2016-09-28 14:15:39 -06:00
David Sparer
c4a9841ba6 Refactored Export and ExportForm to require ConnectionInfo rather than TreeNode for export 2016-09-26 12:51:28 -06:00
David Sparer
87b4dd09e4 Rewrote Sql connection loading to use the DataProvider/Deserializer 2016-09-26 11:19:53 -06:00
David Sparer
95f54b9330 Made IDataProvider generic to support multiple data formatting types (mostly to help with database support and DataTables) 2016-09-26 09:35:40 -06:00
David Sparer
124ebaa970 Built out the SqlDataProvider 2016-08-25 14:44:04 -06:00
David Sparer
71683992a0 Renamed ISqlConnector to IDatabaseConnector 2016-08-24 10:55:59 -06:00
David Sparer
2c785ade51 Initial refactor of sql saving. not even close to done 2016-08-24 10:49:03 -06:00
David Sparer
b3ff4de2ae Moved all data providers to the namespace mRemoteNG.Config.DataProviders 2016-08-23 15:02:54 -06:00