aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Activity
Commit message (Collapse)AuthorAgeFilesLines
* fix: Replace OC_App calls by IAppManagerCôme Chilliet2025-02-241-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #48737 from nextcloud/fix/broken-event-notificationsJoas Schilling2024-11-041-3/+3
|\ | | | | fix(caldav): broken activity rich objects
| * fix(caldav): broken activity rich objectsfix/broken-event-notificationsAnna Larch2024-10-161-3/+3
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-217-88/+41
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: move to new activity exceptionrefactor/move-to-new-activity-exceptionAnna Larch2024-09-173-9/+12
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-256-25/+25
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(caldav): encode calendar URIs with umlauts for activitiesRichard Steinmetz2024-06-201-2/+15
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(caldav): event links in shared calendar notificationsRichard Steinmetz2024-06-112-16/+24
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: Add SPDX headerAndy Scherzinger2024-05-2711-228/+22
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-023-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* "Taks" to fit calendar wordingJérôme Herbinet2024-02-231-1/+1
| | | Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
* Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_appChristoph Wurst2023-09-171-3/+3
|\ | | | | Refactors "strpos" calls in /apps/dav
| * Refactors "strpos" calls in /apps/dav to improve code readability.Faraz Samapoor2023-06-121-3/+3
| | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* | fix(caldav): add webroot to objectid for activitiesDaniel Kesselberg2023-09-131-1/+1
|/ | | | | | | | | A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/ The calendar app uses base64(calendar uri) as identifier for calendar objects. Without this patch the links from activity app to calendar app don't work for installations in a subdirectory. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-291-16/+2
| | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Switch to DisplayNameCache for CalDAVAnna Larch2022-11-031-3/+0
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Use user name cache in activity providersJoas Schilling2022-08-191-22/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #32869 from nextcloud/dav-no-deleted-user-activitiesblizzz2022-07-231-1/+11
|\ | | | | Avoid calendar & addressbook activities being created on user being deleted
| * Avoid calendar & addressbook activities being created on user being deletedThomas Citharel2022-06-141-1/+11
| | | | | | | | | | | | | | | | Addressbooks and Calendar data are destroyed through hook OC_User::pre_deleteUser, which when it reaches the backends sends AddressBookDeletedEvent/CalendarDeletedEvent typed events, which in turns generates activities that aren't deleted until they expire. This can probably lead to old activities being visible for a new user created with the same uid. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Spelling unificationValdnet2022-06-151-1/+1
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | l10n: Spelling unificationValdnet2022-06-151-12/+12
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | l10n: Spelling unificationValdnet2022-06-151-1/+1
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | Handle the move operation properly between shared calendarsThomas Citharel2022-06-143-1/+146
|/ | | | | | | | - Introduce a new CalendarObjectMovedEvent typed event dedicated for this operation - Handle the event in the activity backend and add new appropriate activity subjects Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #32364 from nextcloud/dav-listenersVincent Petry2022-06-101-1/+1
|\ | | | | 🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
| * Remove all legacy event dispatchers from CalDAV & CardDAV backendsThomas Citharel2022-05-171-1/+1
| | | | | | | | | | | | Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Also trim the nameJoas Schilling2022-05-251-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix handling events without names in activitiesJoas Schilling2022-05-241-2/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0411-23/+15
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-313-1/+49
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a settingJoas Schilling2021-05-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-113-9/+9
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-074-1/+7
| | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.phpRobin Appelman2020-08-261-1/+1
| | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
* move calendar settings into their own groupRobin Appelman2020-08-254-44/+50
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #19039 from nextcloud/dav-activity-provide-links-to-calendarRoeland Jago Douma2020-04-304-53/+91
|\ | | | | Provide links to calendar in event creation/update activities
| * Provide links to calendar in event creation/update activitiesThomas Citharel2020-04-264-53/+91
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Update license headers for 19Christoph Wurst2020-04-294-0/+4
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-102-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-7/+1
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-104-38/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-096-6/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-312-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-0510-10/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-223-3/+0
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Prevent php info about missing index for old eventsJoas Schilling2019-01-091-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Correctly handle the classification of events in the activity streamJoas Schilling2019-01-082-3/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix wrong used typeJoas Schilling2018-11-231-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Replace contacts-dark icon with contactsJulius Härtl2018-07-242-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-07-191-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>