stable

Clone or download

Read-only

feat: Add organizer to event

Part of story #35094 have "calendar" events attached to tracker email notification An event can have an organizer. Mail softwares display this organizer. This commit set the organizer of the event. *Testing:* After updating a valid (title, timeframe) artifact, the event received in the mail should have an organizer: <Platform name> - <Project name> Change-Id: I4ccb0eb7b9626880de7b423b163d2bc5af569b6a

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/ActionsRunner.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/CalendarEventData.php +18 −2 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventOrganizer.php +32 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventOrganizerRetriever.php +49 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/RetrieveEventOrganizer.php +40 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProvider.php +10 −3 Go to diff View file
A plugins/tracker/tests/unit/Stub/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/RetrieveEventOrganizerStub.php +58 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventDatesRetrieverTest.php +3 −3 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventOrganizerRetrieverTest.php +85 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProviderTest.php +29 −0 Go to diff View file