Commit Graph

17 Commits

Author SHA1 Message Date
Heikki Hellgren 4e4ef2ba78 chore: move notification processor filters to common package
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-06-05 13:46:40 +03:00
Patrik Oldsberg 9552eff1ce Merge pull request #23882 from mareklibra/export.severities
fix(notifications): export notificationSeverities for reuse
2024-04-13 16:11:45 +02:00
Heikki Hellgren c030a57889 docs: improve explanation of notification processors
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-10 13:49:07 +03:00
Heikki Hellgren 0d99528300 feat: notification processor improvements
Notification processor functions are now renamed to `preProcess` and `postProcess`.
Additionally, processor name is now required to be returned by `getName`.
A new processor functionality `processOptions` was added to process options before sending the notification.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-10 10:07:03 +03:00
Marek Libra e003e0ec87 fix(notifications): export notificationSeverities for reuse
The ordered array of constants is exported by the notifications-common
for reusability by other plugins.

Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-04-10 08:19:15 +02:00
Heikki Hellgren a790a3dfa0 feat: move notifications origin resolving to backend
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-29 21:33:16 +02:00
Marek Libra 758f2a40c5 feat: update Notifications front-end
Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-02-27 13:27:19 +01:00
Heikki Hellgren 9873c44c24 feat: define signal type for notifications
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-16 10:27:35 +02:00
Heikki Hellgren 819a7302a2 fix: code review findings
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:30 +02:00
Heikki Hellgren acbe630b9d feat: follow-up changes on BEP #22641
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:30 +02:00
Heikki Hellgren 50c7dbde2f feat: support for topic in notification
using same topic twice will restore existing notification in that topic
if any. this can be useful if you want to remind users about some
specific thing over time

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +02:00
Heikki Hellgren 8724ed1fdf feat: separate read and done statuses
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +02:00
Heikki Hellgren 1a38100a8e chore: refactor service and backend to use REST
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +02:00
Heikki Hellgren 62141acaee feat: allow specifying mui icon for notification
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +02:00
Heikki Hellgren 49afb1823f feat: support saving and marking notifications done
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +02:00
Heikki Hellgren 92c327211a feat: make notification page filters work
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +02:00
Heikki Hellgren f24a0c1f6a feat: initial notifications support
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:28 +02:00