Commit Graph

25 Commits

Author SHA1 Message Date
Camila Belo b82aff92aa refactor(test-utils): deprecate the isDockerDisabledForTests function
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-07-10 17:06:00 +02:00
Camila Belo 95a3a0b91c refactor(test-utils): rename setupRequestMockHandlers to setupMswHandler
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-07-10 15:45:49 +02:00
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
Fredrik Adelöw 1354d81b86 use node-fetch
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-05-25 12:10:46 +02:00
Yaron Dayagi 07a789b8c5 feat: add notifications filtering by processors
Signed-off-by: Yaron Dayagi <ydayagi@redhat.com>
2024-05-20 17:07:06 +03:00
Heikki Hellgren 295c05db69 feat: support to filter notification recipients after resolving
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-21 21:50:15 +03: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
Heikki Hellgren ba14c0e4f2 feat: support for broadcast notifications
the broadcast notifications are returned with the same queries as user
notifications with only few exceptions in the store

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-03-13 14:39:27 +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
Patrik Oldsberg 84af361987 notifications-backend: migrated to use new auth services
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Carl-Erik Bergström <cbergstrom@spotify.com>
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-02-23 10:15:17 +01:00
Heikki Hellgren 6ea8b0d106 test: add tests for notification clients
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:30 +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 b3c3672b64 feat: support pagination and searching in notification backend
disabled broadcast notifications for now

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +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 a3d42153d1 feat: allow broadcast notifications
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 10:17:29 +02:00
Heikki Hellgren 6a79f9f1ee feat: integrate notifications with signals
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 b6c1523444 feat: add support for notification processors
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 b3d70e2a4f feat: add support for new backend to notifications
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