aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Reminder
Commit message (Collapse)AuthorAgeFilesLines
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-255-43/+43
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: handle-duplicate-reminderhamza2212024-08-132-2/+10
| | | | Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
* fix(caldav): test for null and blank valueSebastianKrupinski2024-08-071-1/+1
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* feat(notifications): Migrate server INotifiers to new exceptionsJoas Schilling2024-06-251-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-2711-243/+22
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): Hide less than minute diff in calendar notification titlejld31032023-12-201-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(dav): Avoid date diffing if PHP is buggyChristoph Wurst2023-11-241-9/+23
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-237-63/+63
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Enable caldav push notifications by defaulthamza2212023-09-121-1/+1
| | | | Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
* fix(caldav): Ignore invalid events for reminder generationChristoph Wurst2023-05-311-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Rename setting 'sendEventRemindersToSharedGroupMembers' to ↵Daniel Teichmann2023-05-041-1/+1
| | | | | | 'sendEventRemindersToSharedUsers'. Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
* Merge pull request #36217 from ↵Simon L2023-04-174-10/+15
|\ | | | | | | | | nextcloud/handle-push-notification-with-no-calendar-name Handle reminders where calendar name is null
| * Handle reminders where calendar name is nullThomas Citharel2023-01-184-10/+15
| | | | | | | | | | | | | | | | | | This adds an interface change, but that's not a public API. We're handling this in the providers and not in ReminderService because the fallback is translated with the user's language. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Remove reminder if max instances exceededAkhil2023-02-271-0/+1
| | | | | | | | Signed-off-by: Akhil <akhil@e.email>
* | Update apps/dav/lib/CalDAV/Reminder/ReminderService.phpAkhil Potukuchi2023-02-271-2/+1
| | | | | | | | Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Akhil Potukuchi <akhil.potukuchi@gmail.com>
* | Fix max instances exception for get vevent callAkhil2023-02-261-1/+8
| | | | | | | | Signed-off-by: Akhil <akhil@e.email>
* | fix(caldav): Fix reminder timezone drift for all-day eventsChristoph Wurst2023-02-091-3/+50
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(caldav): Fix wrong Psalm report for nullable calendar dataChristoph Wurst2023-01-261-1/+0
| | | | | | | | | | | | | | | | > Docblock-defined type Sabre\VObject\Component\VCalendar for $vcalendar is never falsy ^ is a lie Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(dav): catch MaxInstancesExceedeException for recurring events without ↵Anna Larch2023-01-181-34/+39
|/ | | | | | | | end date Ref https://github.com/nextcloud/calendar/issues/4811 Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #35876 from bennet0496/patch-mail-headerJoas Schilling2023-01-041-0/+2
|\ | | | | Adding option to set Auto-Submitted email header
| * update usages of AutoSubmittedValue to AutoSubmitted::VALUE_Bennet Becker2023-01-031-2/+2
| | | | | | | | Signed-off-by: Bennet Becker <dev@bennet.cc>
| * Setting Auto-Submitted header for calendar events and new user mailBennet Becker2022-12-231-0/+2
| | | | | | | | Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
* | Fix psalm issues related to signature changes from PHP 8.0Côme Chilliet2022-12-291-6/+5
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix duplicate event email notificationsRichard Steinmetz2022-11-045-4/+38
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Debug log what happens during reminders processingChristoph Wurst2022-06-011-13/+28
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add email validationAnna Larch2022-05-181-2/+9
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix more psalm issuesCarl Schwan2022-05-163-78/+23
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-023-30/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Handle processing reminders for calendar objects with an infinite numberThomas Citharel2022-04-271-0/+5
| | | | | | | | of recurrences Closes #29896 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix #31303: Make reminder notification behaviour selectable.Daniel Teichmann2022-03-211-2/+14
| | | | Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
* Consider only reminders with calendar dataThomas Citharel2022-02-152-2/+10
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix default language detection for calendar notificationsChristoph Wurst2021-10-131-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-233-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0411-25/+12
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Clean up reminder actions and call methods directlyChristoph Wurst2021-05-071-27/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check substr resultsRoeland Jago Douma2021-02-151-1/+1
| | | | | | | Else this might lead to unexpeted errors. Found by psalm. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [CalDAV] Validate notified emailsThomas Citharel2021-01-251-0/+9
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Dismiss reminder notifications from passed eventsThomas Citharel2021-01-141-0/+7
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Don't throw a 500 when importing a broken ics reminder fileJoas Schilling2021-01-051-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use png icons in caldav reminder emailsRichard Steinmetz2020-11-071-4/+4
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-055-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove phan config - was replaced by PsalmMorris Jobke2020-09-162-8/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-242-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the new method everywhereJoas Schilling2020-07-032-11/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix empty event UUID reminder notificationsThomas Citharel2020-06-041-2/+4
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Update license headers for 19Christoph Wurst2020-04-295-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-107-24/+21
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>