Commit graph

267 commits

Author SHA1 Message Date
sithlord48
fb63b70e8d build: lib/common/CMakeLists.txt, remove unneeded unset calls 2025-12-30 13:41:33 +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
a5bb310e94 chore: constants remove unused kWindowsRegistryKey 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
dfe6c82a5c refactor: I18N make sure m_currentLang is set to the 639 name on initial load 2025-12-15 14:22:40 +00:00
sithlord48
97b11bf2da refactor: I18n, add static s_prefix -> "_" to use when loading 2025-12-15 14:22:40 +00:00
sithlord48
023c9509e0 refactor: correct typo I18N::langaugesChanged => I18N::languagesChanged 2025-12-09 13:54:05 +00:00
sithlord48
b151666f6b refactor: I18N use short (ISO639) names to save and load not native strings, the documentation says we use these already 2025-12-04 08:27:59 -05:00
sithlord48
e5513101a6 refactor: Use the Settings::Gui::AutoStartCore to control if the Gui should start the core when starting up
removes Settings::Core::StartedBefore
2025-12-02 08:19:46 -05:00
sithlord48
df78f0757e refactor: Gui control if the server first shown message is shown with its own setting 2025-12-02 08:19:46 -05:00
sithlord48
8e8ab25fd0 refactor: use Settings::Gui::ShownFirstConnectionMessage to control message popup on initial connection a to client / server 2025-12-02 08:19:46 -05:00
sithlord48
1ebcab60e2 refactor: Move messages client connection error to common, new common/Enums 2025-11-30 14:13:35 +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
525123573e chore: use U for wlclipboard setting name 2025-11-21 10:38:50 +00:00
sithlord48
d157713a85 feat: Settings expose settings to use wl-clipboard backend. Disable clipboard on wayland if this settings is disabled 2025-11-20 07:57:31 -05:00
sithlord48
56bb41a291 refactor: also check qt6 paths for translations 2025-11-20 07:29:01 -05:00
sithlord48
4285361413 refactor: replace Q_OS_MAC -> Q_OS_MACOS 2025-11-20 07:29:01 -05:00
sithlord48
37177f8e45 refactor: macos move bundle resources to Deskflow.app/Resources/translations 2025-11-20 07:29:01 -05: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
1f6f6d5dc6 chore: remove unused Common/Common.h 2025-11-07 15:54:19 -05:00
sithlord48
f89e857223 refactor: Add deskflow::platform::isMac 2025-11-06 09:12:18 -05:00
sithlord48
5256f05963 refactor: addNew PlatformInfo::isWindows() 2025-11-06 09:12:18 -05:00
sithlord48
8e83b16f5e chore: move platform/Wayland.h -> common/PlatformInfo.h 2025-11-06 09:12:18 -05:00
sithlord48
aba38b949f feat: add new setting Log::GuiDebug to control when the Gui shows debug messages no longer controled by an ENV var 2025-11-05 11:31:29 +00: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
e1c0803018 chore: remove unused kDebugBuild 2025-11-04 10:47:14 -05:00
sithlord48
1f950f4c2a refactor: define SYSAPI_WINDOWS and WINAPI_WINDOWS in cmake, remove the define from Common.h 2025-11-03 13:31:28 +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
18d90aa0bf refactor: use curly initilize for list of QDirs in I18N 2025-10-28 07:18:53 -04:00
sithlord48
c3f0b18df6 feat: support translation generation 2025-10-27 17:54:32 -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
Nick Bolton
0f335d46bb fix: Store server config window state in memory instead of on disk 2025-10-13 08:50:30 -04:00
sithlord48
b0fe79d527 refactor: move yscroll to coreArgs 2025-09-30 06:39:54 -04:00