44 Commits

Author SHA1 Message Date
48bc019932 Implement cronjob logic for sending daily digest emails for notifications 2025-07-04 11:27:44 +02:00
29f49ee81d Remove the use of notificationFlagEnum 2025-07-03 17:04:31 +02:00
ac16060441 WIP add user group as possible addressee to notification 2025-06-23 15:34:58 +02:00
cf391d60fe Use enums in flag providers and rename NotificationEnum to NotificationFlagEnum 2025-06-18 15:24:12 +02:00
bef5dcce14 Change property on notification entity to type of NotificationEnum 2025-06-18 14:03:51 +02:00
1c426f560e Add flags property to Notification entity + migraiton 2025-06-10 12:27:38 +02:00
82cb359072
Clean migration for main bundle 2024-11-29 12:06:36 +01:00
ad47804c91 Apply rector changes to Collection typing 2024-08-27 16:23:08 +02:00
5be85a4fc6
Refactored code to use PHP8 attributes instead of annotations
In this change, Doctrine and validation annotations have been replaced with PHP8 Attributes. The Rector tool has been configured with a list of annotations to convert to attributes. As a consequence, the PHPStan's rules have been updated to reflect these changes. The PHP8's nullable operator (?) has been added where required, and comments in field declaration have been replaced with #[Attribute] syntax.
2024-04-08 12:11:29 +02:00
0ff4593863
Apply rector rules: add annotation for doctrine mapping 2024-04-05 13:11:42 +02:00
72016e1a21
Apply rector rules: add annotation for doctrine mapping 2024-04-05 00:01:30 +02:00
579bd829f8
Apply rector rules: symfony up to 54 2024-04-04 23:30:25 +02:00
bc2041cbdd
apply more cs rules for php-cs 2023-10-17 13:27:03 +02:00
075aca493b
DX: type-hing oneToMany and ManyToMany properties as collection 2023-07-19 16:21:17 +02:00
858ade467c
DX: rector rules upt to PHP 74 2023-04-15 00:20:19 +02:00
9699e2304a fix cs: declare type and license header mismatch 2022-10-06 22:25:43 +02:00
67c3f3a840 fix cs with licencse header 2022-10-05 17:08:14 +02:00
35c7d55b8c fix cs 2022-04-13 23:17:16 +02:00
a41d6cf744 notification: send an email to addressesEmails 2022-04-13 22:50:32 +02:00
24d28b0a52 notification: alter form type to add and remove email addresses 2022-04-13 22:11:01 +02:00
4425f2ad49 fix type for Notification email addresses 2022-04-13 21:43:41 +02:00
a8db07a383 notification / add email: fix entity Notification 2022-04-13 21:33:18 +02:00
ef9fd80ad5 update schema to send to emails 2022-04-13 18:02:11 +02:00
54c2b92962 Improve notifications 2022-01-24 10:09:57 +00:00
2ff34688bb fix validation for notification 2022-01-19 13:59:03 +01:00
5bf1b9d8bd send system notification on period confirmation 2021-12-30 02:11:21 +01:00
9d638fe897 allow to edit notification 2021-12-29 15:24:52 +01:00
478c3b3247 notification: add update information 2021-12-29 15:12:27 +01:00
5a5ff5f54a notification: fix type for id 2021-12-28 23:32:11 +01:00
a0b112e8db notificaiton: handle remove addressee and reset at the end of registering unread 2021-12-28 23:31:33 +01:00
9647785d8b notificaton: add comments 2021-12-28 23:03:58 +01:00
b323ddae05 fix loading of unread addressees in notification 2021-12-28 19:40:38 +01:00
700bb02374 notification: add test for unread consistency 2021-12-26 01:12:32 +01:00
bd3919efcb notification: store users which are unread instead of read, and in
dedicated table

The query "which are the unread notification" is much more frequent than
the read one. We then store the unread items in a dedicated table.
2021-12-26 01:00:50 +01:00
11824adda4 notification: create 2021-12-25 22:41:25 +01:00
e972beee11 fix controller loading and add UserMenu entry 2021-12-25 20:47:54 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers. 2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places. 2021-11-30 13:33:18 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only). 2021-11-23 14:08:50 +01:00
Marc Ducobu
49d022ef55 NotificationRepository as a service 2021-06-15 18:57:56 +02:00
Marc Ducobu
db545f9fe6 Adding typehinting for Entity/Notif 2021-06-15 17:14:11 +02:00
Marc Ducobu
a258905c59 Add unique constraint (class, id) to notifications 2021-06-15 17:14:11 +02:00
Marc Ducobu
916209e402 Fix remarks MR - notif 2021-06-15 17:12:40 +02:00
Marc Ducobu
3ec212df93 Creation of Notification Entity 2021-06-15 17:12:40 +02:00