Commit Graph

16 Commits

Author SHA1 Message Date
Jorge Manrubia a6eb928688 Fix: update ends_at when flushing bundles
If not, it can happen that the bundlers remains in a delivered state
even when it is not covering its window anymore because it has been delivered.
2025-09-16 12:10:06 +02:00
Jorge Manrubia 0e3d25707c Debug the overlapping bundle 2025-09-15 14:01:57 +02:00
Jorge Manrubia b51af8b5da Extract method and make sure we don't deliver emails when notification setting is set to never
This should be prevented by the current design, but let's be a bit defensive here.
2025-09-01 12:17:13 +02:00
Jorge Manrubia 5fe66dd602 Fix job class 2025-08-28 17:37:35 +02:00
Jorge Manrubia c1c359f030 Review existing bundles when changing the pending bundles 2025-08-28 12:29:40 +02:00
Jorge Manrubia 53144a379c Add option to change the bundled email notification frequency 2025-08-28 11:56:40 +02:00
Jorge Manrubia 082a10e3d0 Add notification settings model 2025-08-28 11:20:28 +02:00
Jorge Manrubia ccceeb1699 Add method for delivery job 2025-08-27 15:48:27 +02:00
Jorge Manrubia 47fb35948b It does not make sense to differentiate unread notifications 2025-08-26 18:15:08 +02:00
Jorge Manrubia d99a835184 Format 2025-08-26 17:41:04 +02:00
Jorge Manrubia bf63df7d4a Format 2025-08-26 17:02:51 +02:00
Jorge Manrubia 0126aed6d7 Make sure they don't overlap on creation 2025-08-26 16:59:01 +02:00
Jorge Manrubia 8ba6f5fe8e Validate we don't create overlapping bundles 2025-08-26 16:49:36 +02:00
Jorge Manrubia b47064b47e Don't expand bundles when adding cards. Leave the aggregation time fixed for now 2025-08-26 15:42:16 +02:00
Jorge Manrubia c1605b5972 Initial templates for notifications 2025-08-26 14:21:38 +02:00
Jorge Manrubia cfafc54a81 Deliver emails for bundled notifications (initial WIP) 2025-08-26 13:22:22 +02:00