Commit Graph

187 Commits

Author SHA1 Message Date
kdusek
4c3b6925e5 Add message filtering by priority and subject, with CRITICAL always visible
- Implement MessagesProxyModel for client-side filtering
- Add priority filter buttons (LOW 0-3, NORMAL 4-8, HIGH 9, CRITICAL 10 always shown)
- Add subject filter menu with checkable actions for message titles
- Add Remove Filters button to reset all filters
- Restore priority 10 persistent notification setting in options
- Fix settings dialog errors and update UI layouts
- Ensure CRITICAL priority messages cannot be filtered out but can toggle persistent pop-ups
2025-12-01 18:02:05 +01:00
kdusek
2108568f50 Add persistent notifications for priority 10 messages
Some checks failed
build / build-pip (push) Failing after 1m13s
build / build-win64 (push) Has been cancelled
build / build-macos (push) Has been cancelled
- Implement custom PersistentNotification widget with flashing background
- Add settings for persistent priority 10 notifications and sound control
- Modify notification logic to show persistent pop-ups for priority 10
- Allow closing all persistent notifications via tray icon click
- Add AGENTS.md with type checking guidelines
- Configure pyright to suppress PyQt6 false positives
- Update UI in settings dialog for new options
- Add notification sound file
2025-11-26 15:10:50 +01:00
Hg
a8a03321f2 mainwindow: add standard shortcut for "refresh" button 2025-04-05 09:07:48 +02:00
dries.k
490044d9a7 update widgets_settings design 2025-03-27 18:32:58 +01:00
hydrargyrum
0730c160f6 widget_settings.ui: allow minimum priority of 0
it's a valid priority for gotify

closes #43
2025-03-27 10:45:21 +01:00
dries.k
05da3a8295 v0.5.3 2024-10-29 17:10:20 +01:00
dries.k
3ee3942c01 update application name 2024-10-29 16:51:41 +01:00
dries.k
4a1f1804c1 don't set palette 2024-05-18 00:07:59 +02:00
dries.k
7f10d0c0a1 simplify VerifyServerInfoTask 2024-05-18 00:04:04 +02:00
dries.k
8f2203d47a setDesktopFileName for wayland icon 2024-05-17 23:53:02 +02:00
dries.k
7a173dbf94 add option to disable showing image urls as images 2024-05-17 23:52:31 +02:00
dries.k
357cd89e25 v0.5.2 2023-08-27 21:14:06 +02:00
dries.k
851056852d show version in settings window 2023-08-22 20:49:24 +02:00
dries.k
de7229e911 rename method 2023-08-19 17:27:11 +02:00
dries.k
b569eee977 write a settings value only if it has been changed 2023-08-18 00:03:16 +02:00
dries.k
b4accedd61 Merge branch 'application-order' 2023-08-17 23:25:00 +02:00
dries.k
bc4c83b71c fix incorrect out of focus colors on some desktop environments 2023-08-17 23:12:45 +02:00
dries.k
db8bfc0f44 remove websocket-client dependency in favor of QWebSocket 2023-08-05 16:36:12 +02:00
dries.k
6b5434978b remove python-dateutil dependency in favor of QDateTime 2023-08-05 15:21:28 +02:00
dries.k
804f6eb05b make gotify api return values uniform 2023-07-09 18:34:02 +02:00
dries.k
84495caf43 add option to toggle server watchdog thread 2023-07-09 15:03:10 +02:00
dries.k
9668fd6bb8 set system locale on application start 2023-06-25 13:58:14 +02:00
dries.k
1862ed4f7b v0.5.1 2023-06-18 17:34:06 +02:00
dries.k
7ed6eb02e1 user parent() method 2023-06-11 22:53:55 +02:00
dries.k
10d1d7b0ae don't recompute the index 2023-06-11 22:53:23 +02:00
dries.k
ad5797b5b3 do not set the tray icon color on low priority messages 2023-06-02 21:17:41 +02:00
dries.k
c1323fefed set message priority color in stylesheet 2023-05-31 21:11:45 +02:00
dries.k
c57e3d5bca Follow the system theme and set the icons accordingly, no more handcrafted theming 2023-05-30 21:51:58 +02:00
dries.k
b2718acf1b disable MainWindow buttons while messages are being inserted 2023-05-30 21:21:57 +02:00
dries.k
4eceae5a40 use QCoreApplication.instance instead of passing the instance through several objects 2023-05-30 20:53:25 +02:00
dries.k
a7f5534c6b in addition to aborting the task, also disconnect from the message signal 2023-05-28 18:14:44 +02:00
dries.k
ca0cb9b5a7 v0.5.0 2023-05-28 00:41:28 +02:00
dries.k
6e385b57c2 fix mixing of messages when changing applications too quickly 2023-05-27 17:07:11 +02:00
dries.k
76992fe922 fix: colorSchemeChanged not getting triggered after window has been closed 2023-05-27 13:47:17 +02:00
dries.k
234557df46 add option to set date label as system locale format 2023-05-22 23:22:23 +02:00
dries.k
c6e7924681 ServerInfoDialog: unset state when input is changed 2023-05-22 23:16:07 +02:00
dries.k
42b5d6d098 set success/failed hover color 2023-05-22 19:34:13 +02:00
Imran Shah
5dd9c54380 set minimum size hint for short messages 2023-05-21 21:57:24 +01:00
dries.k
8ea89b1df9 try to improve readability 2023-05-21 12:54:59 +02:00
dries.k
fdacfa23c2 only update the gotify token if there's a value 2023-05-21 12:54:29 +02:00
dries.k
b585e3bb97 use _parent attribute instead of parent 2023-05-21 12:54:29 +02:00
dries.k
0ca78ad8d9 update type hinting 2023-05-21 12:53:33 +02:00
dries.k
7d47c79898 Simplify the inserting and processing of messages.
Message widgets are now inserted into the listView through the `rowsInserted` callback of the messages model.

Messages are processed in the GetMessagesTask and GetApplicationMessagesTask when fetching multiple new messages. Single new incoming messages are processed in ProcessMessageTask.
2023-05-21 12:52:52 +02:00
seird
bc221d6c8f Automatic theme (#29)
* add "automatic" theme

set the theme and icons based on the system theme

* update the default icons based on system theme

* update pyqt to 6.5.0 to get the colorSchemeChanged callback

* rename style to theme

* remove unused svg files for default theme

* ServerInfoDialog: update feedback colors in dark mode
2023-05-21 11:41:01 +02:00
dries.k
34d81ef6d0 v0.4.2 2023-04-08 14:31:59 +02:00
dries.k
826cef90af set focus when verifying server info 2023-04-08 11:40:00 +02:00
dries.k
b3692a3bf9 fix refresh halting when deleting a message 2023-04-08 09:48:54 +02:00
dries.k
d71b053fdd dark theme: add border around qcheckbox 2023-01-07 21:03:31 +01:00
dries.k
558ec0dbae rename orange/red to medium/high 2023-01-07 21:02:25 +01:00
dries.k
072eb273dc increase contrast between message widget and background in dark theme 2023-01-05 23:04:51 +01:00