Commit Graph

18 Commits

Author SHA1 Message Date
Fredrik Adelöw 7455dae884 require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-26 13:22:53 +01:00
Paul Schultz a95cebdcb9 fix: clean up types
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-09-15 20:26:11 -05:00
Adam Kunicki 9a5a73ff02 Fix addTopic migration in notifications-backend plugin
The migration code fails when user_settings is non-empty
because it adds a non-nullable constraint before DML is applied.

This fixes that issue and adds a test case for that particular migration.

Signed-off-by: Adam Kunicki <kunickiaj@gmail.com>
2025-06-21 19:13:34 -07:00
Billy Stalnaker 08972ee879 adds unique has column because of mysql unique character limitation
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 13:14:22 -04:00
Billy Stalnaker 4d772f6d74 mysql8 hopefully fix index creation
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 11:51:45 -04:00
Billy Stalnaker 1fb5f06029 wip; need to fix a test; and write more
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 08:12:11 -04:00
Billy Stalnaker d4342e85be corrected fix for migration
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 08:12:11 -04:00
Billy Stalnaker 5c6c1485c6 correct migration
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 08:12:11 -04:00
Billy Stalnaker 5676296812 wip; DRAFT for visibility into changes
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 08:12:10 -04:00
Heikki Hellgren 97ba58fa17 feat: add user specific notification settings
The settings can be customized for each origin and each processor
individually. The default Web indicates notifications shown in the
Backstage UI. By default, if there are no settings saved in the
database, all notifications are enabled for all processors.

The origins will populate by time for each user as they receive the
first notification from that origin. Processors are shown as their own
columns.

Later, if it makes sense, allow users to also disable/enable
notifications based on notification topic.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-10-18 10:38:36 +03:00
David Weber 4a53dd0384 fix: implement icon in backend and show icon in table if available
Signed-off-by: David Weber <david.weber@w3tec.ch>
Signed-off-by: David Weber <david.weber.schenker@gmail.com>
2024-09-03 17:24:30 +02: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
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 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