Commit Graph

1528 Commits

Author SHA1 Message Date
David Sparer
5f40bab9c5 Enforce column data types 2016-09-30 15:31:46 -06:00
David Sparer
4b90b259a8 Created a class that brings all the various database classes together to keep the local connections tree updated with the remote connections tree. DB reads will now only occur if the local last update time is behind the remote last update time. 2016-09-30 14:49:14 -06:00
David Sparer
279682df11 the db update checker now runs on app startup 2016-09-30 13:55:25 -06:00
David Sparer
64b6c5967d Removed unused code 2016-09-30 13:50:41 -06:00
David Sparer
5826f055e3 DB updates now trigger reloading of connections data and rebuilding of the connection tree (somewhat thread safe) 2016-09-30 13:47:08 -06:00
David Sparer
e4ec71928d Cleanup 2016-09-30 09:28:20 -06:00
David Sparer
cb2ff4002f Moved some files to Config.Connections.Multiuser to keep things organized 2016-09-30 09:27:53 -06:00
David Sparer
36d5c888a5 Cleanup. Made PeriodicConnectionsUpdateChecker a bit more generically useful 2016-09-30 09:02:12 -06:00
David Sparer
de7493bc00 Implemented the ConnectionsUpdateAvailable event. 2016-09-30 08:35:41 -06:00
David Sparer
6819c1d9ff Made IConnectionsUpdateChecker implement IDisposable 2016-09-30 08:04:44 -06:00
David Sparer
021a3fe3bc Created interface IConnectionsUpdateChecker and modified SqlConnectionsUpdateChecker to implement it 2016-09-30 08:02:02 -06:00
David Sparer
0d70033e4c Some code rearranging 2016-09-30 08:01:15 -06:00
David Sparer
812cf21f98 Some updates that should have been committed with the last rename 2016-09-30 08:00:34 -06:00
David Sparer
f0da088836 Renamed SqlConnectionsProvider to PeriodicConnectionsUpdateChecker to better indicate its purpose 2016-09-30 07:50:49 -06:00
David Sparer
d7501751e3 Removed the SqlUpdateQueryBuilder since it serves very little purpose 2016-09-30 07:49:10 -06:00
David Sparer
94648f072e Code cleanup 2016-09-29 15:02:12 -06:00
David Sparer
a7d34b2c1b Code cleanup 2016-09-29 15:01:19 -06:00
David Sparer
62190bde17 Resolved crash that would sometimes occur when working with interfacecontrols 2016-09-29 11:38:40 -06:00
David Sparer
293b3d90b9 Cleanup 2016-09-29 11:31:35 -06:00
David Sparer
1928b904e5 Minor cleanup 2016-09-29 11:29:16 -06:00
David Sparer
a71cf6080f Fixed bug where loading a new connection file or creating a new one would not update the connection tree 2016-09-29 11:01:06 -06:00
David Sparer
14d56c3e28 Fixed crash when adding node with no treenode selected 2016-09-29 10:33:59 -06:00
David Sparer
2ff9a7ff22 Large code cleanup of the ConnectionWindow class 2016-09-29 09:16:57 -06:00
David Sparer
3e4cfc16df Simplified teh ConnectionWindow drag_over handler and made it safer (actually does type checking) 2016-09-28 15:26:18 -06:00
David Sparer
fcd846bd6d Dragging connections/folder onto a connection panel now opens the connection(s). This restores functionality for dragging single connections, but is new functionality for folders 2016-09-28 15:09:50 -06:00
David Sparer
05028c958e Fixed crash that would occur when double clicking inside a connection window after disconnecting 2016-09-28 15:08:40 -06:00
David Sparer
40455e199b Fixed bug that would occasionally cause crashes when clicking 2016-09-28 15:05:04 -06:00
David Sparer
e5c9ccbdcc Moved all database connectors to the Config.DatabaseConnectors namespace 2016-09-28 14:15:39 -06:00
David Sparer
be22ebd789 Code cleanup 2016-09-28 13:57:35 -06:00
David Sparer
050d12a8ec Created tests for the ConnectionInfoComparer 2016-09-28 13:52:21 -06:00
David Sparer
5746d0264a Extracted some methods in the ExternalToolArgumentParser to make it more readable 2016-09-28 11:50:09 -06:00
David Sparer
0a4010d9a9 Created more test cases for the ExternalToolArgumentParser 2016-09-28 11:49:28 -06:00
David Sparer
ab30dd2294 Extracted a method in ExternalToolArgumentParser 2016-09-28 11:49:02 -06:00
David Sparer
f53e77ecc9 Added a few more parser tests 2016-09-28 10:53:06 -06:00
David Sparer
91da8f1b5f Reset the position of the main menu. At some point it got pushed to the side again 2016-09-28 09:57:35 -06:00
David Sparer
1bf616579b Added tests for the external tools arg parser 2016-09-28 09:50:38 -06:00
David Sparer
da2d48b49a Minor code cleanup 2016-09-28 08:20:16 -06:00
David Sparer
48b209155b Renamed class to be more indicative of its use 2016-09-28 08:10:13 -06:00
David Sparer
7fe8749807 Resolved bug with the Reconnect context menu item being permanently disabled for containers 2016-09-27 14:52:06 -06:00
David Sparer
b73547ced9 Connecting to an entire folder working again 2016-09-27 14:44:35 -06:00
David Sparer
9c8c22979f Resolved bug where hitting the delete key would bring up the prompt to delete root nodes and putty nodes 2016-09-27 13:56:03 -06:00
David Sparer
60b387ac56 Adding a new node will expand the parent container, select the new node, and ensure the new node is visible. Extracted a method since these actions are identical for both containers and connections 2016-09-27 10:36:30 -06:00
David Sparer
20339c1452 Fixed bug when trying to refresh the display of a folder that had 0 children but now has some 2016-09-27 10:33:34 -06:00
David Sparer
7a15a8151c Resolved error when attempting to connect to PuTTY session 2016-09-27 09:21:15 -06:00
David Sparer
967d9b1036 Renamed properties and fields of the Windows class to conform to naming guidelines 2016-09-26 15:27:41 -06:00
David Sparer
faec28ac78 Removed unused code 2016-09-26 15:25:18 -06:00
David Sparer
0832c8610b Removed unused code 2016-09-26 15:17:26 -06:00
David Sparer
fa7ca994e9 ConnectionList served no purpose and was removed 2016-09-26 15:10:32 -06:00
David Sparer
288221918e ContainerList serves no purpose 2016-09-26 15:07:59 -06:00
David Sparer
5462e96090 Removed unused code 2016-09-26 15:02:12 -06:00