Commit graph

316 commits

Author SHA1 Message Date
sithlord48
e01c595071 refactor move Tray icon setting to Settings
newKey: gui/symbolicTrayIcon <= General/colorfulIcon
the colorfulIcon settings has been removed from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
bcd90434a2 refactor: move autohide setting to Settings
newkey: gui/autoHide <= General/autoHide
auto hide has been removed from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
698fd3f83c refactor: move logExpanded to Settings
newkey: gui/logExpanded <= General/logExpanded
remove logExpanded AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
6e8952c8a0 chore: update formating for clang-format 20.1.0 2025-03-11 10:57:51 -04:00
Nick Bolton
bb38ad0766 chore: Rename TLS constants for consistency 2025-03-10 18:57:29 +00:00
sithlord48
a74d792b5b fix: mac os icon mask
fixes #8310
2025-03-07 13:30:18 +00:00
sithlord48
256ba2411b refactor: move qt automoc, uic and rcc to a single place in Librarires.cmake 2025-03-07 13:16:09 +00:00
sithlord48
0a23e62093 refactor: replace version.h with kDisplayVersion const 2025-03-07 13:16:09 +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
Nick Bolton
2485e993a4 chore: Improve bin RC and service description for Windows daemon 2025-03-04 13:36:47 +00:00
Nick Bolton
b5d12b8aa5 fix: Move version print line after file outputter is created 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
sithlord48
9eeda33293 fix: do not reset screenCorners on startup
fixes #8276
2025-03-03 17:26:48 +00:00
sithlord48
8cca8440b7 fixes #7695 adjust the serverconfig clipboard max size label 2025-03-03 17:16:24 +00:00
sithlord48
b2dadba6fa refactor: serverdialog, use maximum for spinbox horizontal sizepolicy 2025-03-03 17:16:24 +00:00
sithlord48
4f057d706f refactor: serverconfigdialog, use suffix for spinboxes 2025-03-03 17:16:24 +00:00
sithlord48
5e69657176 chore: update windows rc descriptions fixes #8270 2025-03-03 16:32:08 +00:00
sithlord48
2638cce0c0 fix: Do stop the client on fingerprint dialog
fixes #8267
2025-03-03 16:16:57 +00:00
sithlord48
ce8c262a9c build: mac os rpath for client, server and core 2025-02-28 23:04:33 +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
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
1c7adf5add refactor: Allocate daemon app and it's thread on stack to reduce memory leak risk 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
d6228416a1 refactor: Send log level to daemon over IPC instead of when sending command 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
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
sithlord48
8debc1ea7f chore: SettingsDialog remove set defaults from ui file 2025-02-28 16:51:33 +00:00
sithlord48
b4f703562d chore: Settings Dialog do not open with the checkbox for peer certificates having active focus 2025-02-28 16:51:33 +00:00
sithlord48
34b61cc8cd fix: #8259 track a client and server list
fixes 8259
2025-02-28 13:17:26 +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
sithlord48
aa5a704131 chore: settings dialog remove unused includes 2025-02-27 15:17:13 +00:00
sithlord48
bae494476b refactor: Settings Dialog, update security layout 2025-02-27 15:17:13 +00:00
sithlord48
3ae2de52f4 refactor: SettingsDialog set icons in ui where possible 2025-02-27 15:17:13 +00:00
sithlord48
088d69fec8 refactor: SettingsDialog, use standard object names 2025-02-27 15:17:13 +00:00
sithlord48
63744ddbd6 refactor: settingsdialog, remove autoconnect slots 2025-02-27 15:17:13 +00:00
sithlord48
2d04e0be4d refactor: SettingDialog do not connect from inside the ui file 2025-02-27 15:17:13 +00:00
sithlord48
4f2ef7174a refactor: do not stop sever on new client fingerprint, track the last print we checked and if we are chekcing it do not show a new box 2025-02-27 15:07:50 +00:00
Nick Bolton
b3866b69b2 chore: Fix order of MainWindow ctor init list to match header 2025-02-27 15:07:50 +00:00
sithlord48
9bd7fce45c refactor: MainWindow: Update name change 2025-02-27 13:41:55 +00:00
sithlord48
f0d33ce9de chore: aboutDialog remove unused static strings 2025-02-27 13:32:24 +00:00
sithlord48
07bf6de093 chore: add icon credit to about box 2025-02-27 13:32:24 +00:00
sithlord48
e7e518d76e refactor: don't quote debug line 2025-02-26 11:52:03 +00:00
sithlord48
08be9fa33f chore: use a style for the flat buttons 2025-02-26 11:52:03 +00:00
sithlord48
193c28af53 fix: settings dialog can have tls options enabled when they should not be leading to a case where tls gen fails as it not enabled fixes 7883 2025-02-25 06:34:47 -08:00
sithlord48
5b54849fd6 refactor: mainwindow simplify the mode selection UI 2025-02-25 14:18:32 +00:00
sithlord48
b7eb5c467b feat: Remove Inverse Connections Option 2025-02-25 14:18:32 +00:00
sithlord48
5d5e32a676 refactor: remove setupwizard 2025-02-25 13:21:39 +00:00
sithlord48
d52939a3fc fix: raise mainwindow on update check dialog
fixes #8234
2025-02-25 13:11:35 +00:00
sithlord48
6a08305338 fix: log expanded on start up and windows no resizeable 2025-02-20 22:26:21 +00:00
sithlord48
10e5a305bb refactor: remove redundant client / server staus labels, the status label provides this info already 2025-02-20 21:16:48 +00:00
sithlord48
e9c8965066 refactor: mainwindow move tls version to securty tooltip 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
sithlord48
d4cc66a9f9 refactor: move Tls Label to status bar 2025-02-20 21:16:48 +00:00
sithlord48
18cc8565f9 refactor: mainwindow use status bar for status items 2025-02-20 21:16:48 +00:00
sithlord48
caee2b149a chore: move version check log to debug, fixes #8224 2025-02-20 11:15:58 +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
48407d7f8f refactor: simplify MainWindow::checkFingerprints 2025-02-18 12:12:41 +00:00
sithlord48
ad79ba907d refactor: Mainwindow localFingerPrintDb => localFingerprintDb 2025-02-18 12:12:41 +00:00
sithlord48
9294f2a026 refactor: use a function to get the trustedFingerprintDb 2025-02-18 12:12:41 +00:00
Nick Bolton
bfb64f0653 fix: Generate TLS certificate before generating TLS fingerprint 2025-02-17 11:55:28 -05:00
sithlord48
6f66fe767f fix: inabliity to resize when first opening if log open on startup 2025-02-17 11:55:28 -05:00
sithlord48
63846292ff refactor: update tooltips for security icon
add check when appTls State Changes
2025-02-17 11:55:28 -05:00
sithlord48
2f8b78e2a6 refactor: new private MainWindow method localhostFingerprintDb 2025-02-17 11:55:28 -05:00
sithlord48
8d0491f1ad refactor: narrow use of stdString in mainwindow 2025-02-17 11:55:28 -05:00
sithlord48
0667f5de73 refactor: allow the fingerprint dialog to show local keys and remote if needed 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
sithlord48
638349b48a feat: add config for client cert required
based on barrier: 8bc280e0
2025-02-17 16:26:29 +00:00
Nick Bolton
6ff5d2d5d3 fix: Update local fingerprint label after fingerprint regeneration 2025-02-14 09:42:47 -05:00
sithlord48
67e2f56724 chore: update daemon description and icon 2025-02-14 12:44:29 +00:00
sithlord48
5288546231 refactor: use const for tlsDb expected size 2025-02-14 12:44:29 +00:00
sithlord48
d8e311fe59 fix: only regenerate the tls certificate if tls is enabled and we do not already have a certificate 2025-02-14 12:44:29 +00:00
sithlord48
500067a778 fix: generate cert if tls is on and its not found
fixes #8191
  fixes #8192
2025-02-14 12:44:29 +00:00
sithlord48
3c12915fd3 fix: Security icons showing with fresh install
fixes #8170
2025-02-14 12:20:48 +00:00
sithlord48
eb19547b45 refactor: mainwindow force regen of local prints if tls is enabled with a sha256 key 2025-02-12 13:41:45 +00:00
sithlord48
65eed64f04 refactor: new fingerprintdialog 2025-02-12 13:41:45 +00:00
sithlord48
fbaa0a8433 feat: use sha256
based-on: a428b61c7d
 based-on: b7757fbd68
 based-on: a238b27879
2025-02-12 13:41:45 +00:00
sithlord48
d0d5182425 refactor: use new Fingerprint database
based-on: 50534ecb43
   based-on: be8ba0d132
2025-02-12 13:41:45 +00:00
Nick Bolton
cb14d158cc refactor: Cleanup core binary help text 2025-02-11 13:06:51 +00:00
Nick Bolton
92603df93d fix: Out of order m_trayIcon in ctor init,
chore: remove unused m_btnCancel
2025-02-11 13:06:51 +00:00
sithlord48
a5f28616f4 chore: df-gui mainwindow directly connect more methods without intermediarty methods 2025-02-11 13:06:51 +00:00
sithlord48
cad1243d75 chore: windows, set icon for deskflow-core 2025-02-11 13:06:51 +00:00
sithlord48
610786ad2e chore: clean up extra empty lines 2025-02-11 13:06:51 +00:00
sithlord48
942070950d refactor: MainWindow do not use onNames 2025-02-04 18:11:41 +00:00
sithlord48
ddc24ffb22 refactor: MainWindow don't use lambda where direct connect can happen 2025-02-04 18:11:41 +00:00
sithlord48
b14de6f9e2 refactor: MainWindow conform to naming standards 2025-02-04 18:11:41 +00:00
sithlord48
60577f00dc chore: add Icons for list-add , list-remove and document-edit 2025-02-03 12:36:18 +00:00
sithlord48
fedd9d33c9 refactor: serverConfig finish renaming, improve logic 2025-02-03 12:36:18 +00:00
sithlord48
ae30237f90 refactor: ServerConfigDialog/tabAdvanced no autoconnections, use naming std 2025-02-03 12:36:18 +00:00
sithlord48
169422a0eb refactor: ServerConfigDialog hotkeyTab, no auto connections use naming std 2025-02-03 12:36:18 +00:00
sithlord48
76fd40a3ec refactor: ServerConfigDialog/tabComputers, no autoconnect slots, use new names 2025-02-03 12:36:18 +00:00
sithlord48
816d66b703 refactor: Don't use autoconnect slots for the button box 2025-02-03 12:36:18 +00:00
sithlord48
774f1fded9 fix: Add client dialog not showing for new clients 2025-02-03 12:36:18 +00:00
sithlord48
e2c3af4e5e fix: readd the newScreenWidget 2025-01-30 15:36:21 +00:00
sithlord48
26367635d9 refactor: QTextStream& screen::writeScreensSection(QTextStream&) -> QString Screen::screenSection()
refactor: QTextStream& screen::writeAliasSection(QTextStream&) -> QString Screen::aliasSection()
2025-01-30 15:36:21 +00:00
sithlord48
0ba35fca7a refactor: clean up data method of model 2025-01-30 15:36:21 +00:00
sithlord48
beb4069845 fix: Screen Missing Icons on server config
Fixes#8155
2025-01-30 15:36:21 +00:00
sithlord48
71b7e819a9 refactor: remove smaller security icons 2025-01-29 21:19:39 +00:00
sithlord48
59ebb6fde4 refactor: force mac os to use the larger security icon in the status area 2025-01-28 16:19:51 +00:00
sithlord48
1085df54ed refactor: Reuse compliance
build files and documentation: MIT
  images / sources: GPL-2.0-only
  breeze icons: LGPL-2.0-only
  Microsoft MSM file, vc redist license
2025-01-27 17:05:47 -05:00
sithlord48
480776cb38 chore: remove extra gitignore files 2025-01-27 17:05:47 -05:00
sithlord48
2ca1c69335 refactor: move LICENSE_EXCEPTION info into to LICENSES folder 2025-01-27 17:05:47 -05:00
Kentaro Hayashi
9d3b32c824 Fix a typo in SettingsDialog
compatability =>
compatibility

Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2025-01-27 08:29:43 -05:00
sithlord48
a7beed48f8 chore: remove unused placeholder.png file 2025-01-23 22:07:52 +00:00
sithlord48
4c3d6c7080 refactor: move rc_template.rc.in -> windows.rc.in
fixes: #8130
2025-01-23 21:28:57 +00:00
sithlord48
2040df435f fix: #8107: Remove legacy tray code 2025-01-23 19:16:29 +00:00
sithlord48
f49f616ad6 fix: correctly mask symbolic icon on mac os 2025-01-21 17:15:18 -05:00
Yoshiaki Kasahara
b65b3678c7 fix: #8119, covering all Unix-like OSes including BSD
Fixes #8119 (using platform variables)
2025-01-21 12:14:42 -05:00
sithlord48
1ec6d02339 refactor: use theme icons for on settings dialog and mac os tray 2025-01-21 11:22:11 -05:00
sithlord48
09bd4006d1 refactor: MainWindow, use system-run for the start button and action 2025-01-21 11:16:53 +00:00
sithlord48
c84a8c20c1 refactor: MainWindow, use ProcessStop for the stop action and button 2025-01-21 11:16:53 +00:00
sithlord48
b91681a125 refactor: MainWindow, add help-about icon 2025-01-21 11:16:53 +00:00
sithlord48
f578da16c0 refactor: MainWindow, Icon for the clear settings action 2025-01-21 11:16:53 +00:00
sithlord48
c583ab7d2c refactor: MainWindow, add icons for configure 2025-01-21 11:16:53 +00:00
sithlord48
e6ae6bd0d1 refactor: MainWindow, add document-save-as icon 2025-01-21 11:16:53 +00:00
sithlord48
d51437b6a1 refactor: MainWindow, add view-refreshIcon 2025-01-21 11:16:53 +00:00
sithlord48
6954a4dfa3 refactor: SettingsDialog use security-type icons for key length selector 2025-01-21 11:16:53 +00:00
sithlord48
24b2d9b0c1 refactor: MainWindow add application-exit icon 2025-01-21 11:16:53 +00:00
sithlord48
0adef8d781 refactor: MainWindow, Add tools-report-bug icon 2025-01-21 11:16:53 +00:00
sithlord48
3cce11f9d9 fix: missing setting colorful icon 2025-01-21 11:16:53 +00:00
sithlord48
0f5bcd6d12 fixes 8106, by adjusting the spacing of the about dialog 2025-01-21 11:06:37 +00:00
sithlord48
89ec18a8e4 feat: bake in light and dark icon theme 2025-01-20 10:42:29 +00:00
sithlord48
08ad64eb4d chore: remove unused deskflow-gui/AppDelegate 2025-01-19 09:39:54 -05:00
sithlord48
dc5e971043 build: setup bundle plist only on macOS 2025-01-19 09:39:54 -05:00
sithlord48
e0017c1c31 build: deskflow gui explict sources 2025-01-19 09:39:54 -05:00
sithlord48
e58e5c420b refactor: move macOS icon to res folder 2025-01-19 09:39:54 -05:00
sithlord48
ca8c405b5e chore: deskflow-gui, remove unused include_dirs 2025-01-19 09:39:54 -05:00
sithlord48
aff25415ff build: consolidate cmake vars more
move most project defines needed in cmake to the main file
2025-01-19 09:39:54 -05:00
sithlord48
5be1e9f9b9 build: setup a cmake rc template for all apps 2025-01-19 09:39:54 -05:00
sithlord48
3f3116da05 build: simplify the version.rc.in vars
remove the special cmake define for msversion and make it once in the rc
remove duplicate version vars in the rc and use the singe one twice
2025-01-14 21:42:43 +00:00
sithlord48
16396bdbaa build: Unify copyright into one cmake var 2025-01-14 21:42:43 +00:00
sithlord48
660a50d0cf chore: remove unused logo images 2025-01-14 21:22:05 +00:00
sithlord48
93cd71d046 refactor: Adjust the About dialog UI 2025-01-14 21:22:05 +00:00
sithlord48
90c081c889 chore: remove unneeded setVisible override and the unused mac os old tray code within it 2025-01-14 21:00:20 +00:00
sithlord48
a08b0c41e0 fix: always show the hide / show option in the tray menu
Some DE's are like mac os and prevent the user from using click to restore / hide the window
2025-01-14 21:00:20 +00:00
sithlord48
96092df4fc refactor: replace UInt32 with uint32_t 2025-01-14 20:30:45 +00:00
sithlord48
626ff0a5fa chore: remove unused GUI_HOOK 2025-01-14 14:29:39 +00:00
sithlord48
7a72658963 refactor: copy more info with the about dialog info's copy button 2025-01-10 17:05:13 -05:00
sithlord48
b8d12a0895 build: mac os add entitlements 2025-01-10 21:48:55 +00:00
sithlord48
692860f9e9 build: macos bundle plist add hint to tell mac os its not allowed to kill the process
based on https://github.com/input-leap/input-leap/pull/2115"
2025-01-10 21:48:55 +00:00
sithlord48
4b6d0059c5 build: Use custom plist template
Customize the cmake used template so we can generate the plist
using configure file this will allow us to add several additional
keys we would not be able to otherwise add to our plist file
"
2025-01-10 21:48:55 +00:00