sithlord48
24d5b26da2
build: remove extra private link to openssl::applink
2025-03-06 19:17:53 +00:00
sithlord48
9c81f1c045
build: moving find_package for openssl to net/CMakeLists.txt
2025-03-06 19:17:53 +00:00
sithlord48
3a4bf35e22
refactor: Remove unneeed find_packate calls for Qt Components. Qt is found by Libaraies.cmake and accesable to all items in the src folder
2025-03-06 19:17:53 +00:00
Nick Bolton
495331108b
fix: Guard MSVC runtime version depending on compiler version
2025-03-06 10:45:57 -05:00
Nick Bolton
a7ce936d68
fix: Remove duplicate includes in deskflow-daemon.cpp
2025-03-05 13:59:26 -05:00
Nick Bolton
f6ccd2a25b
feat: Show Git SHA in Windows daemon version number
2025-03-05 13:59:26 -05:00
sithlord48
5d310be807
chore: remove obsolete runWizard setting
2025-03-05 18:48:07 +00:00
Nick Bolton
bd674f546b
fix: Show console on Windows for daemon -h and -f args
2025-03-05 18:04:07 +00:00
Nick Bolton
cc821f750d
fix: Remove unnecessary private access modifier from DaemonApp.h
2025-03-05 18:04:07 +00:00
Nick Bolton
2485e993a4
chore: Improve bin RC and service description for Windows daemon
2025-03-04 13:36:47 +00:00
Nick Bolton
b64942e3a3
fix: Delete HKEY_LOCAL_MACHINE\SOFTWARE\Deskflow when clearing settings
2025-03-03 15:05:09 -05:00
Nick Bolton
9de268d293
chore: Reduce noisy log lines related to fingerprints not required by GUI
2025-03-03 13:31:18 -05:00
Nick Bolton
1f08cafffe
fix: Use string data instead of path data for fingerprint logging
2025-03-03 13:31:18 -05:00
sithlord48
9eeda33293
fix: do not reset screenCorners on startup
...
fixes #8276
2025-03-03 17:26:48 +00:00
sithlord48
17bedb1072
fix: Correct parsing of screen corners
...
fixes #8231
2025-03-03 17:26:48 +00:00
Nick Bolton
5eac984757
chore: Add mutex for process state management in MSWindowsWatchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
1bd3f5060e
refactor: Add Doxygen comments for MSWindowsWatchdog member functions
2025-03-03 14:33:46 +00:00
Nick Bolton
55b4cffd3f
chore: Remove unused setStartupInfo member function from MSWindowsWatchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
51ec36f23d
chore: Set default values for m_foreground and m_activeDesktop MSWindowsWatchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
58cb2b76de
chore: Remove unused include in MSWindowsWatchdog.h
2025-03-03 14:33:46 +00:00
Nick Bolton
8d4a715b1c
chore: Make MSWindowsWatchdog constructor explicit
2025-03-03 14:33:46 +00:00
Nick Bolton
997d4a9473
chore: Move free functions to top of Windows watchdog source
2025-03-03 14:33:46 +00:00
Nick Bolton
0f11b61576
chore: Reduce complexity of outputLoop in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
98aba612c0
chore: Improve loop stop log line in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
b0547f6713
chore: Use ref to const for openProcessForKill arg in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
40fefb9369
chore: Use string_view for MSWindowsWatchdog::setProcessConfig
2025-03-03 14:33:46 +00:00
Nick Bolton
d8d022e9fe
chore: Scope constants in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
84194cf5ef
chore: Use default init instead of ctor init Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
cd5ba1382d
chore: Clean up shutdownExistingProcesses (unused var and use if-init) in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
c84b4e3f00
refactor: Reduce complexity of mainLoop in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
be8029deb6
chore: Remove unused g_activeDesktop from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
dbb9b3bf5a
chore: Remove unused trimDesktopName from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
32bf9aa02a
chore: Use const auto instead of enum for kOutputBufferSize in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
0891afdd63
chore: Use nullptr instead of NULL in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
f7ab6aba58
chore: Remove unused includes from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
74e8a63dcd
chore: Remove unused getCommand from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
475172597a
chore: Remove unused m_ready from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
8c30ed7a59
chore: Remove unused m_autoDetectCommand and ctor arg from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
44f72a29e9
refactor: Use state machine for Windows daemon watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
4db77ba2f7
chore: Improve function name for setting daemon process config
2025-03-03 14:33:46 +00:00
Nick Bolton
5e29fa93ac
chore: Quieten noisy daemon IPC server read log messages
2025-03-03 14:33:46 +00:00
Nick Bolton
54483f26ba
refactor: Use member instead of passing param in daemon main loop
2025-02-28 17:58:16 +00:00
Nick Bolton
13ed447a93
chore: Move daemon constants to constants file
2025-02-28 17:58:16 +00:00
Nick Bolton
74812fbf75
chore: Remove dead code, function isServerCommandLine from daemon
2025-02-28 17:58:16 +00:00
Nick Bolton
bdf5a0f352
chore: Clearer naming for static daemon loop functions
2025-02-28 17:58:16 +00:00
Nick Bolton
f0c60f5ca9
chore: Improve logging for pipe readers in Windows watchdog
2025-02-28 17:58:16 +00:00
Nick Bolton
b2ca9bc17b
chore: Remove dead code from --debug-service-wait arg
2025-02-28 17:58:16 +00:00
Nick Bolton
f46474c9f2
refactor: Use WaitForSingleObject instead of sleep for Windows process shutdown
2025-02-28 17:58:16 +00:00
Nick Bolton
a99d408be1
chore: Improve logging related to Windows daemon start/stop/install/uninstall
2025-02-28 17:58:16 +00:00
Nick Bolton
19c41e2ac5
fix: Improve Windows daemon stop speed by using non-blocking pipes and shorter sleep times
2025-02-28 17:58:16 +00:00
Nick Bolton
890fd61e6e
refactor: Move ownership of Windows daemon file log outputter to Log
2025-02-28 17:58:16 +00:00
Nick Bolton
1c42552b3b
refactor: Begin logging to file as soon as Windows daemon starts
2025-02-28 17:58:16 +00:00
Nick Bolton
a6956b9516
refactor: Improve Daemon uninstall exception flow
2025-02-28 17:58:16 +00:00
Nick Bolton
5a7f6bd1c0
refactor: Remove old Windows TCP IPC implementation (replaced by Qt equivalent)
2025-02-28 17:58:16 +00:00
Nick Bolton
a3b0ec28fc
refactor: Improve logging message for process backoff and reset failure count when no command is set
2025-02-28 17:58:16 +00:00
Nick Bolton
fa1ab27ee9
refactor: Clear watchdog command setting to prevent persistence on daemon restart
2025-02-28 17:58:16 +00:00
Nick Bolton
e07a2efbcc
refactor: Implement Windows event loop in AppUtilWindows for graceful shutdown handling
2025-02-28 17:58:16 +00:00
Nick Bolton
e967944c1e
fix: Strip line endings for Windows daemon file logging
...
Windows file logger and `OutputDebugString` already add new lines, so remove the ones added by the Core.
2025-02-28 17:58:16 +00:00
Nick Bolton
389028ccf9
refactor: Connect socket events in ctor for daemon IPC client
2025-02-28 17:58:16 +00:00
Nick Bolton
dc6383d593
refactor: Properly disconnect and clean up previous daemon file tail on connection
2025-02-28 17:58:16 +00:00
Nick Bolton
5743db3040
feat: Apply log level on IPC connection
2025-02-28 17:58:16 +00:00
Nick Bolton
5733541b2a
feat: Tail daemon log file instead of using IPC log outputter
2025-02-28 17:58:16 +00:00
Nick Bolton
5980fb741b
refactor: Move daemon process stop command to new Qt IPC
2025-02-28 17:58:16 +00:00
Nick Bolton
7c672b06d8
refactor: Update IPC server to handle log level and elevate mode changes
2025-02-28 17:58:16 +00:00
Nick Bolton
53038760de
refactor: Use core mode for daemon install on Windows
2025-02-28 17:58:16 +00:00
Nick Bolton
d6228416a1
refactor: Send log level to daemon over IPC instead of when sending command
2025-02-28 17:58:16 +00:00
Nick Bolton
80cc323f5a
refactor: Improve logging and error handling for SendSAS function in Windows watchdog
2025-02-28 17:58:16 +00:00
Nick Bolton
90e63e2e9e
refactor: Exclude current process when killing existing process from Windows daemon
2025-02-28 17:58:16 +00:00
Nick Bolton
24c57e46e2
refactor: Run legacy daemon loop in thread
2025-02-28 17:58:16 +00:00
Nick Bolton
e72faf1446
feat: Connect to daemon IPC on start request
2025-02-28 17:58:16 +00:00
Nick Bolton
c1d7474700
feat: Restart process from daemon through new Qt IPC impl
2025-02-28 17:58:16 +00:00
Nick Bolton
0d2d9f385d
feat: Implement basic IPC connection between Daemon and GUI
2025-02-28 17:58:16 +00:00
Nick Bolton
c0094554b1
feat: Convert daemon to Qt app and introduce Qt local server
2025-02-28 17:58:16 +00:00
Nick Bolton
95603c82ec
refactor: Improve logging and args for Windows daemon install/uninstall
2025-02-28 17:58:16 +00:00
Nick Bolton
0fc5368253
fix: Prevent access violation by moving events, arch, and log objects to top of stack in Windows daemon
...
This is how we do it in the server/client apps, so it makes sense to mirror the same pattern.
2025-02-28 12:57:15 +00:00
Nick Bolton
383b39636e
chore: Remove dead code; unused outputter param on runInner functions
2025-02-28 12:57:15 +00:00
Nick Bolton
f56a3ba305
refactor: Rename param for Log::insert to make adoption clearer
2025-02-28 12:57:15 +00:00
Nick Bolton
0bca094fce
chore: Explain use of new for all log outputters
2025-02-28 12:57:15 +00:00
Nick Bolton
220711c2d7
fix: Only use MS debug outputter when the process is daemonized
2025-02-28 12:57:15 +00:00
Nick Bolton
66acf9038b
fix: Solve double-free by letting Log adopt FileLogOutputter in Windows daemon
2025-02-28 12:57:15 +00:00
sithlord48
1003de21b5
refactor: do not show error if the fingerprint database is not created yet
2025-02-27 15:07:50 +00:00
sithlord48
08be9fa33f
chore: use a style for the flat buttons
2025-02-26 11:52:03 +00:00
sithlord48
72d27c70e0
refactor: gui::styles use QStringLiteral
2025-02-26 11:52:03 +00:00
sithlord48
6de1920d88
chore: remove bufferedLogView
2025-02-25 06:53:57 -08:00
sithlord48
2d3f64f662
chore: cleanup additional item missed in when removing the legacy tray icon
2025-02-25 06:53:57 -08:00
sithlord48
b7eb5c467b
feat: Remove Inverse Connections Option
2025-02-25 14:18:32 +00:00
sithlord48
f9b6bcc950
refactor: mv net/InverseSockets/SslLogger => net/SslLogger
2025-02-25 14:18:32 +00:00
sithlord48
05ed47be2e
fix: server resets to listing state with no clients connected
2025-02-20 21:16:48 +00:00
sithlord48
29d04ea8e0
chore: update lib/gui/constants to use QStringLiterals
2025-02-20 21:16:48 +00:00
sithlord48
ab118a3aa3
chore: remove unused style items
2025-02-20 21:16:48 +00:00
sithlord48
53d2b3bd2e
refactor: MainWindow move update info to status tray
2025-02-20 21:16:48 +00:00
Nick Bolton
e808eed413
refactor: Improve Windows daemon failure backoff for faster client restarts on first fail
2025-02-19 18:23:10 +00:00
Nick Bolton
16c57d7960
refactor: Improve log message related to desk switch on Windows
2025-02-19 18:23:10 +00:00
Nick Bolton
200d32db80
chore: Improve log message for leave screen warning on Windows
2025-02-19 18:23:10 +00:00
Nick Bolton
2322f312a9
refactor: Improve logging for errors when setting/getting cursor pos on Windows
2025-02-19 18:23:10 +00:00
Nick Bolton
09c157f9e1
fix: Remove --exit-pause to stop "press any key to exit..." showing when Windows daemon kills server/client
2025-02-19 18:23:10 +00:00
Nick Bolton
c9a360a144
fix: Restore active desktop name check in Windows daemon
...
- Use `PIPE_NOWAIT` to skip empty stderr output on process output reading from Windows daemon watchdog
- Use `CreateProcess` result to determine when to call `CloseHandle` in Windows daemon watchdog
- Trim output from active desktop process in Windows daemon watchdog
- Improve error logging in Windows daemon watchdog
2025-02-19 18:23:10 +00:00
sithlord48
83c190c385
refactor: use better name to describe for the tlsEnabled var in messages , and correct the name in virtual method
2025-02-18 12:12:41 +00:00
sithlord48
79dc858446
chore: modify client trying to connect dialog to inform user the new client needs to be put in the layout when both tls is enabled and peer key checking is enabled , otherwise show the old dialog asking to allow the client to connect
2025-02-17 16:26:29 +00:00
sithlord48
e51956e2c7
feat: Client ID verification
...
based on barrier: 229abab
Fixes: CVE-2021-42072, CVE-2021-42073
2025-02-17 16:26:29 +00:00