Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23d85591 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

fixed event

parent 0cb07ef0
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -233,6 +233,9 @@ RUN patch -u ${BASE_DIR}/apps/dav/lib/HookManager.php -i ${TMP_PATCH_DIR}/028-de
RUN patch -u ${BASE_DIR}/apps/provisioning_api/lib/Controller/UsersController.php -i ${TMP_PATCH_DIR}/029-restrict-user-to-change-primary-email.patch
RUN patch -u ${BASE_DIR}/lib/private/Security/VerificationToken/VerificationToken.php -i ${TMP_PATCH_DIR}/033-verification-token-private.patch
RUN patch -u ${BASE_DIR}/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php -i ${TMP_PATCH_DIR}/034-oidc-bearer-token-auth.patch
#fixed regression in generic event type for nextcloud 28.0.9
RUN patch -u ${BASE_DIR}/apps/dav/lib/AppInfo/Application.php -i  ${TMP_PATCH_DIR}/038-generic-event-fix.patch

RUN rm -rf ${TMP_PATCH_DIR}


+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ This patch creates a default task VTODO calender on first login

--- apps/dav/lib/HookManager.php	2023-09-27 15:22:49
+++ apps/dav/lib/HookManager-new.php	2023-09-27 15:24:15
@@ -176,8 +176,13 @@
@@ -170,8 +170,13 @@
 				try {
 					$this->calDav->createCalendar($principal, CalDavBackend::PERSONAL_CALENDAR_URI, [
 						'{DAV:}displayname' => CalDavBackend::PERSONAL_CALENDAR_NAME,
+16 −0
Original line number Diff line number Diff line
From: Avinash Gusain <avinash.gusain.ext@murena.com>
Date: Wed, 04 Sept 2024 18:50:00 +0530
Subject: [PATCH] Fixed Generic event 

This patch basically fix a regression caused in 28.0.9 by changing the correct event type

---  apps/dav/lib/AppInfo/Application.php	2024-09-04 13:08:44
+++  apps/dav/lib/AppInfo/Application-new.php	2024-09-04 13:09:40
@@ -110,7 +110,7 @@
 use OCP\User\Events\OutOfOfficeScheduledEvent;
 use Psr\Container\ContainerInterface;
 use Psr\Log\LoggerInterface;
-use Symfony\Component\EventDispatcher\GenericEvent;
+use OCP\EventDispatcher\GenericEvent;
 use Throwable;
 use function is_null;
 No newline at end of file