sithlord48
be4e861604
feat: use Computer in settings to replace name
...
provide Settings::upgradeSettings to upgrade the screenName -> computerName
Make a note to remove "ScreenName" for 2.0
2026-02-03 18:55:17 +00:00
sithlord48
fe179556ad
fix: Settings, do not remove valid QRects from the state file
2026-01-22 13:30:12 +00:00
sithlord48
281b3b8d07
fix: Clean settings values on start up
...
Settings will call cleanSettigs and cleanStateSettings on start up to remove any invalid or empty values in our config
fixes : #9333
2026-01-19 22:54:53 +00:00
sithlord48
d6fe8fa2d5
refactor: Settings::cleanSettings and Settings::cleanStateSettings, remove keys as long as they are empty
2026-01-19 22:54:53 +00:00
sithlord48
ffa887838f
refactor: Settings::cleanSettings, skip internalConfig values
2026-01-19 22:54:53 +00:00
sithlord48
49f38c6a8b
refactor: Settings::defaultValues, no need to return a QRect() for default windowgeometry as it will be cast to QVariant automaticly on return
2026-01-19 22:54:53 +00:00
sithlord48
b25f083433
refactor: use Settings::value().toString().isEmpty() to check for empty setting values. This is because QVariant::isNull() no longer returns the internal types isNull() method. As a results "" is a non Null QVariant
2026-01-19 22:54:53 +00:00
Nick Bolton
e674d8b27c
refactor: Rename setting Settings::Core::UpdateUrl => Settings::Gui::UpdateCheckUrl
2025-12-30 18:31:05 +00:00
sithlord48
ce97817d45
refactor: constants, move kTlsFingerprintTrustedClientsFilename => Settings::defaultValue where used
2025-12-22 14:41:04 +00:00
sithlord48
2b4b6a8470
refactor: constants, move kTlsFingerprintTrustedServersFilename => Settings::defaultValue where used
2025-12-22 14:41:04 +00:00
sithlord48
5c34d0edc5
refactor: constants, move kTlsCertificateFileanme to => Settings::defaultValue where used
2025-12-22 14:41:04 +00:00
sithlord48
049f8d718a
refactor: constants, move kTlsDir to => Settings::tlsDir where used
2025-12-22 14:41:04 +00:00
sithlord48
c693d258fd
refactor: constants, move kDefaultLogFile to => Settings::defaultValue where used
2025-12-22 14:41:04 +00:00
sithlord48
b23e9f9b04
refactor: constants, move kDaemonLogFile => Settings::defaultValue where used
2025-12-22 14:41:04 +00:00
sithlord48
f0e77c499b
chore: settings, remove unneeded {}
2025-12-18 13:10:09 +00:00
sithlord48
fa78b957b5
refactor: settings, use state not settings in the log when changing the state file
2025-12-18 13:10:09 +00:00
sithlord48
60d5bb8378
chore (settings): fix typo peroid -> period
2025-12-18 13:10:09 +00:00
sithlord48
d8e2537d47
refactor: Settings::logLevelToInt simplify the method and add tests to cover it
2025-12-18 13:10:09 +00:00
sithlord48
0d5d66b880
chore: remove unused Settings::tlsLocalDb we no longer use the local fingerprint file
2025-11-24 11:23:35 +00:00
sithlord48
22d27f7245
fix: Settings, add a new private cleanScreenName method to update the screenName
...
Fixes : #9156
Names: contain only A-Z a-z 0-9 or - or . or _
replace any spaces with _
are < 256 characters in length
can not start or end with - _ or .
Set a screen name if the settings does not have one do this instead of returning a default value
2025-11-17 10:21:31 +00:00
sithlord48
1a9e468c86
refactor: Settings store envvar checks so they only need to be read once when checking
2025-11-14 09:55:28 -05:00
sithlord48
204a6cca8a
refactor: Settings make the name checking regex static in the method
2025-11-14 09:55:28 -05:00
sithlord48
4df7c54afb
refactor: Settings make the internal setting objects children
2025-11-14 09:55:28 -05:00
sithlord48
aca08a5e74
feat: save geometry into into a state file
...
fixes : #9132
2025-11-14 09:55:28 -05:00
sithlord48
78c90fe7c6
fix: Crash caused by hostnames with invalid characters returned by machine name.
...
fixes : #9006
Only cleans the hostname if the system is using the default
Replace Spaces with _
Remove any other non word characters
2025-11-10 07:32:48 -05:00
sithlord48
67ceedcad0
refactor: Settings use static list of settings that default to true and another that default to false
2025-11-05 11:31:29 +00:00
sithlord48
14fa29505d
refactor: Allow for colorful tray icon but fall back to symbolic with fallback
2025-10-30 09:40:00 +00:00
sithlord48
eee4efd59d
refactor: Only use symbolic tray icon
2025-10-29 13:23:47 -04:00
sithlord48
f4ca17ba3d
refactor: Remove RetryOnFailure, Client will always retry and Server will never retry
2025-10-29 08:32:58 -04:00
sithlord48
55a9596bd5
chore: use Settings::setingsFile in place of instance()->..
2025-10-17 09:07:21 +01:00
Nick Bolton
687fd5411a
refactor: Rename setSettingFile to setSettingsFile for consistency
2025-10-15 08:59:09 -04:00
Nick Bolton
bb1394ceeb
feat: Change to local user ini (not native)
...
Windows registry is horrible to deal with and makes it impractical to pass settings to the Core when run via daemon on Windows.
- Pass settings path to Core when launched via daemon
- Introduce portable mode detection logic on Windows
- Generalize `m_settingsFile` use
- Reduce #ifdef size for Settings ctor path logic
2025-10-15 08:59:09 -04:00
sithlord48
b0fe79d527
refactor: move yscroll to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
1884ab3555
refactor: move --no-hooks to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
eeaf139bd9
refactor: move no-restart to CoreArgs
...
chore: Client remove unused ClientArgs member m_args
2025-09-30 06:39:54 -04:00
sithlord48
f3a1bbaf5b
refactor: move setting of log level to CoreArgParser
2025-09-30 06:39:54 -04:00
sithlord48
8192d7b2d8
refactor: remove Settings::Client::Binary and Settings::Server::Binary use kCoreBinName, instead
2025-09-28 10:53:16 -04:00
sithlord48
9cf25c4caf
feat: Allow suppression of generic client connection dialog
...
fixes 8907
2025-09-01 10:57:59 +01:00
sithlord48
78eb353985
refactor: Settings Allow all log levels to be shown in the Gui
2025-08-28 00:45:40 +01:00
sithlord48
3b2d7fc0b3
feat: Switch to deskflow-core instead of split binaries
2025-08-20 20:33:20 +01:00
sithlord48
2c55f4fe06
refactor: windows write daemon log in ProgramData\Deskflow
...
remove old log file on update
2025-07-21 12:41:46 +01:00
sithlord48
1079c22736
refactor: Settings use Static methods where possible internally
2025-07-17 18:47:50 +01:00
sithlord48
dddb6aadf1
refactor: Settings remove const for return by vaule
2025-06-20 09:39:26 +01:00
sithlord48
71b6f07220
feat: remove stopOnDeskSwitch, its broken
2025-04-22 10:00:45 +01:00
sithlord48
c8408c4823
fix: Default external server config name should be *-server.conf
2025-04-14 10:05:20 +01:00
sithlord48
6e6892b6e7
refactor: use checkbox for elevate remove Settings::Core::ElevateMode and use Daemon::Elevate to hold the value
2025-04-07 03:09:30 -07:00
sithlord48
5ad2c9283d
refactor: add a check box to enable stop on desk switch
2025-04-07 03:09:30 -07:00
sithlord48
8354a81706
refactor: Settings set default elevateMode based on settings type, for registry we use Always, ini mode uses Never
2025-04-02 12:39:54 +01:00
sithlord48
d9807a2693
refactor: Set default process Mode based on Settings type if we are INI Type we in desktop mode if Native (only on windows) we default to Service
2025-04-02 12:39:54 +01:00
sithlord48
1b8067797e
refactor: settings for windows try to use registry unless portable install
...
new Settings::isUsingRegistry() true when using the registry
move daemon log back to config dir
2025-04-02 12:39:54 +01:00