+ revert changes from previous commit (r428)
frmAddTFTP.cs: when browsing folders for TFTP directory default to Desktop instead of MyComputer ** this gives local folder access as well as network folders
+ modified code for creating network and iso bootable images ** use the ServerName to connect to as part of the path for the INITRD file
+ Allow X-SERVER to detect Vertical Refresh rate (removed the overriding #define and made it permanent) + Image wizard will use VESA for the auto-detect gfx driver (removed the overriding #define and made it permanent)
+ force VESA graphics driver for X Server
remove X_MONITOR_MODELINE
X_MONITOR_MODLINE -> X_MONITOR_MODELINE
+ fix SCREEN_RESOLUTION and SCREEN_COLOR_DEPTH
+ writer.Write("SESSION_0_RDESKTOP_OPTIONS="); -> writer.Write("SESSION_0_RDESKTOP_OPTIONS=\""); + UserName/ServerDomain/Password can use format writer.write(" -X '{0}'", setting);
+ another fix unquoted string errors on clients
+ fix RDP ServerDomain (possibly lead to an unquoted string error on client)
RDP Options: + Add domain: writer.Write("-d '{0}'", ServerDomain);
RDP Username option: writer.Write("-u '{0}'", UserName); ** no need to test if UserName.Length > 0, using this method
+ RDP OPTIONS *** add -g <geometry> *** minor fix(s) and code cleanup for writing options to file
+atsDataSet.Designer.cs @r154 +Remove atsConnectionString from all settings files
revert atsDataSet.Designer.cs to version in r154
+ add debug logging in UpdateClientsFromSession()
remove AsmVer.cs
commit uncommited WIp in: TerminalServices.cs
WTSQuerySessionInformation: sessionId should be int not uint
+ add conditional compiler defines so verbose logging can be turned on and off in TerminalServices.cs
+ fix some boolean test that always returned false because they were using non-nullable types
+ add some debug logging in TerminalServices.cs
+ update title to reflect assembly version
+ update non-AnywhereTS client message - add note that the client must be added in ATSAdmin
+ get machinename for TSSession if running from RDP Session
+ add meaning to enum values in WTSInfoClass
+ major fix to logging (all logs write to their respective logs and also get written into a single log)
+ add some logging for macaddess and clientname
remove duplicated registry registry
+ log creation of AnywhereTS registry settings (use info, not debug, for success messages)
terminalserverconfig value was not being read from registry: fixed
static public int terminalServerConfig; // 0=Terminal server on this computer, 1=No terminal server on this computer, 2=other terminal servers.
folderbrowserdialog must be on a thread with ApartmentState.STA set
Keep all by default
set defaults public static string strDatabaseServer = "localhost"; public static string strDatabaseInstance = "SQLEXPRESS";
+ use registry search to get DBServer and Instance at install time
uncomment code and add #if HAVE_FRMCONFIGMODE
+ fix install process * when repairing install get DBServer and DBInstance from registry
frmConfigMode has been disabled To enable: set compiler directive HAVE_FRMCONFIGMODE in Build->Conditional compilation symbols
we don't use DatabaseDir
don't set access rights on tftpfolder
+ remove old connection string property
+ successfully install database from installer (if give right server and instance)
+ don't show a message box when exceptions are thrown while reading registry
+ fix logging in installer
+ add installer classes (did not need to create new projects)
+ fix issues when creating tables on an empty database
+ tables are created for an empty database
+ fix errors in database + logon to 'master' database and refer to our database is sql statments + remove empty GO statements from end of .sql files
+ wip to get rid of errors
+ move all database options to DatabaseLog (even if it comes from ATSAdmin.exe)
+ fix RunScript ==> CommandType must be set to Text
+ bulk commit -- add SQLSerer SMO support for executing TSQL commands
+ log context
+ don't specigy filename or log paths in CREATE DATABASE (let SQL Server handle that)
+ bulk commit again
make sure to replace db name in scripts with current db name
+ more logging work
remove all calls to Logging.Initialize() outsite of the Logging class
+ update to .NET Framework 4.0
+ upgrade to VS2010
+ bulk commit
+ more work
+ alter context for Program.cs
force initialize logging
+ add lots of debug logging with proper context
+ update to .net 3.5 (so we have linq and extension support)
+ start implementation of AnywhereTS.DBSupport
+ Admin: add referens to DBSupport + add logging support for database
change DBName from AtsDb ==> AnywhereTS
change Database Name: AnywhereTS ==> AtsDb + need to add user settings - set ServerIP - set ServerDBInstance (SQLEXPRESS or other) - need to set other settings * build connection strings from these user settings at RunTime and remove the atsConnectionString user settings Connection string types: - SQL Server Express Database - SQL Server Database (Enterprise, etc [not an Express version]) - SQL Server Database File (.mdf)
+ comment-out NDC using statments that pass-in .sql script as context (this will keep the log file(s) lean an' mean)
+ fix syntax error in UpdateDatabase4.sql (commas cannot come after the last item in an ALTER table statement)
+ automatically replace the hardcoded database name AnyhwereTS with ATSGlobals.strDatabaseName when accessing SQLServerResources class
Qualify all INSERT/DELETE/UPDATE statments with databasename
ATSGlobals.strDatabaseName
+ attempt to get inner exception, if any
atsDataSet.Designer.cs: ConnectionString = global::AnywhereTS.Properties.Settings.Default.atsConnectionString.Replace("AnywhereTS", "master");
+ get NDC ThreadContectStack using reflection
+ fix retrievale of NDC stack + get exception type name
+ show abort, retry, ignore dialog to user when unhandled exception is shown
Clone NDC stack within using statemnt
+ add support in unhandled exception handler to display the log4net output in a messagebox
also use bApplication.ThreadException in addition to AppDomain.UnhandledException
+ more exception logging
DeleteClient(): make sure to log if mac address cannot be found and show a messagebox
+ catch some errors and log in atsDataSet.Designer.cs
+ more wip for unhandled exception
+ turnoff DEBUG constant and change debug info from: pdb-only to full
don't change cursor to waitcursor on form load
move appdomain unhandled exceptions again (put into called methods)
move appdomain unhandled exception clause to the forms that are called by program.cs
use master instead of AnywhereTS
use ex.GetType() instead of e.ExceptionObject.GetType()
if we donot have a SqlException then prefix NDC with Exception instead of SqlException
+ add support to log all unhandled exception(s)
fix an issue that was resolved by connecting to master database instead of AnywhereTS database
+ define DEBUG constant and package .pdb debug files in installers
+ fix compilation errors
+ add logging across ATSAdmin Tool project
remove one sqlCon.close()
+ make sure connection is not already opened before attempted to open it
use ATSGlobals.strDatabaseVersion instead of duplicating the value in Database.cs
+ add logging in CheckVersion
+ more logging and changes
+ add logging messages
+ add logging library (to be shared across application)
+ setup app.config for multiple loggers
+ add personal SQLServer isntance to app.config (this can be put back if released to public)
+ attempt to add log4net support to ATSAdmin
+ add reference to log4net
update and add 3rdparty/MDAudi100/TrackBar.dll
+ commit current wip for non-existing database
+ comment-out version check and verify message
+ remove database drop when database does not exist
+ finish support for creating tables in an empty database (incase the database are pre-created, but contains no tables) - still have AD login issues when creating the database from scratch (ie. it did not exist to begin with)
+ commit wip for when database exists, but is empty
+ deprecate some File ACL methods
+ fix instancename parsing
+ add support to createdatabase is it does not exist
+ fix more references to SQLEXPRESS
ProSupport.InitDatabase(): don't overwrite the application settings for connection string
change version frpom: *.0 to *.1
Runtime Version:2.0.50727.3603 => Runtime Version:2.0.50727.5456
SetupDatabase(): sqlCon.ConnectionString = Properties.Settings.Default.atsConnectionString; + this enables the user to set the connection string (they could use SQLEXPRESS or a full Server install with named instances) Data Source=.\SQLEXPRESS -or- Data Source=IPADDRES\INSTANCENAME
append -MSSQL
update svn:ignores
imported from https://anywherets.svn.sourceforge.net/svnroot/anywherets/trunk/ Revision: 1 Author: beartown Date: 3:10:40 AM, Monday, June 21, 2010 Message: First upload. Still todo in order to get a fully working product: Replace Thinstation images with vanilla Thinstation, modify ImageDesigntimeConfig.cs, ImageRuntimeConfig.cs in order to support the Thinstation image