Skip to content

Commit 4df50aa

Browse files
chore(autoloader): Dump autoloader
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent a6adc6d commit 4df50aa

67 files changed

Lines changed: 487 additions & 264 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer/installed.json

Lines changed: 29 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3866,17 +3866,17 @@
38663866
},
38673867
{
38683868
"name": "sabre/dav",
3869-
"version": "4.7.0",
3870-
"version_normalized": "4.7.0.0",
3869+
"version": "4.7.1",
3870+
"version_normalized": "4.7.1.0",
38713871
"source": {
38723872
"type": "git",
38733873
"url": "https://github.com/sabre-io/dav.git",
3874-
"reference": "074373bcd689a30bcf5aaa6bbb20a3395964ce7a"
3874+
"reference": "f36f002dce082e1d425c4a0dc8c71a6b176c3b07"
38753875
},
38763876
"dist": {
38773877
"type": "zip",
3878-
"url": "https://api.github.com/repos/sabre-io/dav/zipball/074373bcd689a30bcf5aaa6bbb20a3395964ce7a",
3879-
"reference": "074373bcd689a30bcf5aaa6bbb20a3395964ce7a",
3878+
"url": "https://api.github.com/repos/sabre-io/dav/zipball/f36f002dce082e1d425c4a0dc8c71a6b176c3b07",
3879+
"reference": "f36f002dce082e1d425c4a0dc8c71a6b176c3b07",
38803880
"shasum": ""
38813881
},
38823882
"require": {
@@ -3910,16 +3910,14 @@
39103910
"ext-imap": "*",
39113911
"ext-pdo": "*"
39123912
},
3913-
"time": "2024-10-29T11:46:02+00:00",
3913+
"time": "2026-07-07T08:39:09+00:00",
39143914
"bin": [
39153915
"bin/sabredav",
39163916
"bin/naturalselection"
39173917
],
39183918
"type": "library",
39193919
"extra": {
3920-
"patches_applied": {
3921-
"Check for instanceof INode instead of Node": ".patches/check-for-instanceof-INode-instead-of-Node-1595.patch"
3922-
}
3920+
"patches_applied": []
39233921
},
39243922
"installation-source": "dist",
39253923
"autoload": {
@@ -3957,28 +3955,28 @@
39573955
},
39583956
{
39593957
"name": "sabre/event",
3960-
"version": "5.1.7",
3961-
"version_normalized": "5.1.7.0",
3958+
"version": "5.1.9",
3959+
"version_normalized": "5.1.9.0",
39623960
"source": {
39633961
"type": "git",
39643962
"url": "https://github.com/sabre-io/event.git",
3965-
"reference": "86d57e305c272898ba3c28e9bd3d65d5464587c2"
3963+
"reference": "743f1d04811fd5b89f67878d002f6a273ccb089f"
39663964
},
39673965
"dist": {
39683966
"type": "zip",
3969-
"url": "https://api.github.com/repos/sabre-io/event/zipball/86d57e305c272898ba3c28e9bd3d65d5464587c2",
3970-
"reference": "86d57e305c272898ba3c28e9bd3d65d5464587c2",
3967+
"url": "https://api.github.com/repos/sabre-io/event/zipball/743f1d04811fd5b89f67878d002f6a273ccb089f",
3968+
"reference": "743f1d04811fd5b89f67878d002f6a273ccb089f",
39713969
"shasum": ""
39723970
},
39733971
"require": {
39743972
"php": "^7.1 || ^8.0"
39753973
},
39763974
"require-dev": {
3977-
"friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
3975+
"friendsofphp/php-cs-fixer": "~2.17.1||^3.95",
39783976
"phpstan/phpstan": "^0.12",
39793977
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6"
39803978
},
3981-
"time": "2024-08-27T11:23:05+00:00",
3979+
"time": "2026-07-07T09:13:04+00:00",
39823980
"type": "library",
39833981
"installation-source": "dist",
39843982
"autoload": {
@@ -4026,17 +4024,17 @@
40264024
},
40274025
{
40284026
"name": "sabre/http",
4029-
"version": "5.1.12",
4030-
"version_normalized": "5.1.12.0",
4027+
"version": "5.1.13",
4028+
"version_normalized": "5.1.13.0",
40314029
"source": {
40324030
"type": "git",
40334031
"url": "https://github.com/sabre-io/http.git",
4034-
"reference": "dedff73f3995578bc942fa4c8484190cac14f139"
4032+
"reference": "7c2a14097d1a0de2347dcbdc91a02f38e338f4db"
40354033
},
40364034
"dist": {
40374035
"type": "zip",
4038-
"url": "https://api.github.com/repos/sabre-io/http/zipball/dedff73f3995578bc942fa4c8484190cac14f139",
4039-
"reference": "dedff73f3995578bc942fa4c8484190cac14f139",
4036+
"url": "https://api.github.com/repos/sabre-io/http/zipball/7c2a14097d1a0de2347dcbdc91a02f38e338f4db",
4037+
"reference": "7c2a14097d1a0de2347dcbdc91a02f38e338f4db",
40404038
"shasum": ""
40414039
},
40424040
"require": {
@@ -4048,14 +4046,14 @@
40484046
"sabre/uri": "^2.0"
40494047
},
40504048
"require-dev": {
4051-
"friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
4049+
"friendsofphp/php-cs-fixer": "~2.17.1||3.63.2",
40524050
"phpstan/phpstan": "^0.12",
40534051
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6"
40544052
},
40554053
"suggest": {
40564054
"ext-curl": " to make http requests with the Client class"
40574055
},
4058-
"time": "2024-08-27T16:07:41+00:00",
4056+
"time": "2025-09-09T10:21:47+00:00",
40594057
"type": "library",
40604058
"installation-source": "dist",
40614059
"autoload": {
@@ -4155,17 +4153,17 @@
41554153
},
41564154
{
41574155
"name": "sabre/vobject",
4158-
"version": "4.5.6",
4159-
"version_normalized": "4.5.6.0",
4156+
"version": "4.6.1",
4157+
"version_normalized": "4.6.1.0",
41604158
"source": {
41614159
"type": "git",
41624160
"url": "https://github.com/sabre-io/vobject.git",
4163-
"reference": "900266bb3bd448a9f7f41f82344ad0aba237cb27"
4161+
"reference": "63613f6c53a0a2bddfe22caba0d052e6c59f7d0e"
41644162
},
41654163
"dist": {
41664164
"type": "zip",
4167-
"url": "https://api.github.com/repos/sabre-io/vobject/zipball/900266bb3bd448a9f7f41f82344ad0aba237cb27",
4168-
"reference": "900266bb3bd448a9f7f41f82344ad0aba237cb27",
4165+
"url": "https://api.github.com/repos/sabre-io/vobject/zipball/63613f6c53a0a2bddfe22caba0d052e6c59f7d0e",
4166+
"reference": "63613f6c53a0a2bddfe22caba0d052e6c59f7d0e",
41694167
"shasum": ""
41704168
},
41714169
"require": {
@@ -4175,14 +4173,14 @@
41754173
},
41764174
"require-dev": {
41774175
"friendsofphp/php-cs-fixer": "~2.17.1",
4178-
"phpstan/phpstan": "^0.12 || ^1.11",
4176+
"phpstan/phpstan": "^0.12 || ^1.12 || ^2.0",
41794177
"phpunit/php-invoker": "^2.0 || ^3.1",
41804178
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6"
41814179
},
41824180
"suggest": {
41834181
"hoa/bench": "If you would like to run the benchmark scripts"
41844182
},
4185-
"time": "2024-10-14T11:53:54+00:00",
4183+
"time": "2026-07-07T03:20:17+00:00",
41864184
"bin": [
41874185
"bin/vobject",
41884186
"bin/generate_vcards"
@@ -4192,10 +4190,7 @@
41924190
"branch-alias": {
41934191
"dev-master": "4.0.x-dev"
41944192
},
4195-
"patches_applied": {
4196-
"fix use RDATE in time range check and use all instances": ".patches/sabre-vobject-rdate.patch",
4197-
"fix send participation reply on fresh event": ".patches/sabre-vobject-iTipBroker-replies.patch"
4198-
}
4193+
"patches_applied": []
41994194
},
42004195
"installation-source": "dist",
42014196
"autoload": {

composer/installed.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -605,27 +605,27 @@
605605
),
606606
),
607607
'sabre/dav' => array(
608-
'pretty_version' => '4.7.0',
609-
'version' => '4.7.0.0',
610-
'reference' => '074373bcd689a30bcf5aaa6bbb20a3395964ce7a',
608+
'pretty_version' => '4.7.1',
609+
'version' => '4.7.1.0',
610+
'reference' => 'f36f002dce082e1d425c4a0dc8c71a6b176c3b07',
611611
'type' => 'library',
612612
'install_path' => __DIR__ . '/../sabre/dav',
613613
'aliases' => array(),
614614
'dev_requirement' => false,
615615
),
616616
'sabre/event' => array(
617-
'pretty_version' => '5.1.7',
618-
'version' => '5.1.7.0',
619-
'reference' => '86d57e305c272898ba3c28e9bd3d65d5464587c2',
617+
'pretty_version' => '5.1.9',
618+
'version' => '5.1.9.0',
619+
'reference' => '743f1d04811fd5b89f67878d002f6a273ccb089f',
620620
'type' => 'library',
621621
'install_path' => __DIR__ . '/../sabre/event',
622622
'aliases' => array(),
623623
'dev_requirement' => false,
624624
),
625625
'sabre/http' => array(
626-
'pretty_version' => '5.1.12',
627-
'version' => '5.1.12.0',
628-
'reference' => 'dedff73f3995578bc942fa4c8484190cac14f139',
626+
'pretty_version' => '5.1.13',
627+
'version' => '5.1.13.0',
628+
'reference' => '7c2a14097d1a0de2347dcbdc91a02f38e338f4db',
629629
'type' => 'library',
630630
'install_path' => __DIR__ . '/../sabre/http',
631631
'aliases' => array(),
@@ -641,9 +641,9 @@
641641
'dev_requirement' => false,
642642
),
643643
'sabre/vobject' => array(
644-
'pretty_version' => '4.5.6',
645-
'version' => '4.5.6.0',
646-
'reference' => '900266bb3bd448a9f7f41f82344ad0aba237cb27',
644+
'pretty_version' => '4.6.1',
645+
'version' => '4.6.1.0',
646+
'reference' => '63613f6c53a0a2bddfe22caba0d052e6c59f7d0e',
647647
'type' => 'library',
648648
'install_path' => __DIR__ . '/../sabre/vobject',
649649
'aliases' => array(),

sabre/dav/lib/CalDAV/Backend/PDO.php

Lines changed: 40 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ public function getCalendarsForUser($principalUri)
182182
'id' => [(int) $row['calendarid'], (int) $row['id']],
183183
'uri' => $row['uri'],
184184
'principaluri' => $row['principaluri'],
185-
'{'.CalDAV\Plugin::NS_CALENDARSERVER.'}getctag' => 'http://sabre.io/ns/sync/'.($row['synctoken'] ? $row['synctoken'] : '0'),
186-
'{http://sabredav.org/ns}sync-token' => $row['synctoken'] ? $row['synctoken'] : '0',
185+
'{'.CalDAV\Plugin::NS_CALENDARSERVER.'}getctag' => 'http://sabre.io/ns/sync/'.($row['synctoken'] ?: '0'),
186+
'{http://sabredav.org/ns}sync-token' => $row['synctoken'] ?: '0',
187187
'{'.CalDAV\Plugin::NS_CALDAV.'}supported-calendar-component-set' => new CalDAV\Xml\Property\SupportedCalendarComponentSet($components),
188188
'{'.CalDAV\Plugin::NS_CALDAV.'}schedule-calendar-transp' => new CalDAV\Xml\Property\ScheduleCalendarTransp($row['transparent'] ? 'transparent' : 'opaque'),
189189
'share-resource-uri' => '/ns/share/'.$row['calendarid'],
@@ -306,7 +306,7 @@ public function updateCalendar($calendarId, PropPatch $propPatch)
306306
switch ($propertyName) {
307307
case '{'.CalDAV\Plugin::NS_CALDAV.'}schedule-calendar-transp':
308308
$fieldName = 'transparent';
309-
$newValues[$fieldName] = 'transparent' === $propertyValue->getValue();
309+
$newValues[$fieldName] = 'transparent' === $propertyValue->getValue() ? 1 : 0;
310310
break;
311311
default:
312312
$fieldName = $this->propertyMap[$propertyName];
@@ -544,19 +544,19 @@ public function createCalendarObject($calendarId, $objectUri, $calendarData)
544544

545545
$extraData = $this->getDenormalizedData($calendarData);
546546

547-
$stmt = $this->pdo->prepare('INSERT INTO '.$this->calendarObjectTableName.' (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, uid) VALUES (?,?,?,?,?,?,?,?,?,?)');
548-
$stmt->execute([
549-
$calendarId,
550-
$objectUri,
551-
$calendarData,
552-
time(),
553-
$extraData['etag'],
554-
$extraData['size'],
555-
$extraData['componentType'],
556-
$extraData['firstOccurence'],
557-
$extraData['lastOccurence'],
558-
$extraData['uid'],
559-
]);
547+
$stmt = $this->pdo->prepare('INSERT INTO '.$this->calendarObjectTableName.' (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, uid) VALUES (:calendarid, :uri, :calendardata, :lastmodified, :etag, :size, :componenttype, :firstoccurence, :lastoccurence, :uid)');
548+
$lastmodified = time();
549+
$stmt->bindParam('calendarid', $calendarId, \PDO::PARAM_INT);
550+
$stmt->bindParam('uri', $objectUri, \PDO::PARAM_STR);
551+
$stmt->bindParam('calendardata', $calendarData, \PDO::PARAM_LOB);
552+
$stmt->bindParam('lastmodified', $lastmodified, \PDO::PARAM_INT);
553+
$stmt->bindParam('etag', $extraData['etag'], \PDO::PARAM_STR);
554+
$stmt->bindParam('size', $extraData['size'], \PDO::PARAM_INT);
555+
$stmt->bindParam('componenttype', $extraData['componentType'], \PDO::PARAM_STR);
556+
$stmt->bindParam('firstoccurence', $extraData['firstOccurence'], \PDO::PARAM_INT);
557+
$stmt->bindParam('lastoccurence', $extraData['lastOccurence'], \PDO::PARAM_INT);
558+
$stmt->bindParam('uid', $extraData['uid'], \PDO::PARAM_STR);
559+
$stmt->execute();
560560
$this->addChange($calendarId, $objectUri, 1);
561561

562562
return '"'.$extraData['etag'].'"';
@@ -590,8 +590,19 @@ public function updateCalendarObject($calendarId, $objectUri, $calendarData)
590590

591591
$extraData = $this->getDenormalizedData($calendarData);
592592

593-
$stmt = $this->pdo->prepare('UPDATE '.$this->calendarObjectTableName.' SET calendardata = ?, lastmodified = ?, etag = ?, size = ?, componenttype = ?, firstoccurence = ?, lastoccurence = ?, uid = ? WHERE calendarid = ? AND uri = ?');
594-
$stmt->execute([$calendarData, time(), $extraData['etag'], $extraData['size'], $extraData['componentType'], $extraData['firstOccurence'], $extraData['lastOccurence'], $extraData['uid'], $calendarId, $objectUri]);
593+
$stmt = $this->pdo->prepare('UPDATE '.$this->calendarObjectTableName.' SET calendardata = :calendardata, lastmodified = :lastmodified, etag = :etag, size = :size, componenttype = :componenttype, firstoccurence = :firstoccurence, lastoccurence = :lastoccurence, uid = :uid WHERE calendarid = :calendarid AND uri = :uri');
594+
$lastmodified = time();
595+
$stmt->bindParam('calendardata', $calendarData, \PDO::PARAM_LOB);
596+
$stmt->bindParam('lastmodified', $lastmodified, \PDO::PARAM_INT);
597+
$stmt->bindParam('etag', $extraData['etag'], \PDO::PARAM_STR);
598+
$stmt->bindParam('size', $extraData['size'], \PDO::PARAM_INT);
599+
$stmt->bindParam('componenttype', $extraData['componentType'], \PDO::PARAM_STR);
600+
$stmt->bindParam('firstoccurence', $extraData['firstOccurence'], \PDO::PARAM_INT);
601+
$stmt->bindParam('lastoccurence', $extraData['lastOccurence'], \PDO::PARAM_INT);
602+
$stmt->bindParam('uid', $extraData['uid'], \PDO::PARAM_STR);
603+
$stmt->bindParam('calendarid', $calendarId, \PDO::PARAM_INT);
604+
$stmt->bindParam('uri', $objectUri, \PDO::PARAM_STR);
605+
$stmt->execute();
595606

596607
$this->addChange($calendarId, $objectUri, 2);
597608

@@ -1311,13 +1322,22 @@ public function deleteSchedulingObject($principalUri, $objectUri)
13111322
*/
13121323
public function createSchedulingObject($principalUri, $objectUri, $objectData)
13131324
{
1314-
$stmt = $this->pdo->prepare('INSERT INTO '.$this->schedulingObjectTableName.' (principaluri, calendardata, uri, lastmodified, etag, size) VALUES (?, ?, ?, ?, ?, ?)');
1325+
$stmt = $this->pdo->prepare('INSERT INTO '.$this->schedulingObjectTableName.' (principaluri, calendardata, uri, lastmodified, etag, size) VALUES (:principaluri, :calendardata, :uri, :lastmodified, :etag, :size)');
13151326

13161327
if (is_resource($objectData)) {
13171328
$objectData = stream_get_contents($objectData);
13181329
}
13191330

1320-
$stmt->execute([$principalUri, $objectData, $objectUri, time(), md5($objectData), strlen($objectData)]);
1331+
$lastmodified = time();
1332+
$etag = md5($objectData);
1333+
$size = strlen($objectData);
1334+
$stmt->bindParam('principaluri', $principalUri, \PDO::PARAM_STR);
1335+
$stmt->bindParam('calendardata', $objectData, \PDO::PARAM_LOB);
1336+
$stmt->bindParam('uri', $objectUri, \PDO::PARAM_STR);
1337+
$stmt->bindParam('lastmodified', $lastmodified, \PDO::PARAM_INT);
1338+
$stmt->bindParam('etag', $etag, \PDO::PARAM_STR);
1339+
$stmt->bindParam('size', $size, \PDO::PARAM_INT);
1340+
$stmt->execute();
13211341
}
13221342

13231343
/**

sabre/dav/lib/CalDAV/Notifications/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function initialize(Server $server)
6868
$server->on('propFind', [$this, 'propFind']);
6969

7070
$server->xml->namespaceMap[self::NS_CALENDARSERVER] = 'cs';
71-
$server->resourceTypeMapping['\\Sabre\\CalDAV\\Notifications\\ICollection'] = '{'.self::NS_CALENDARSERVER.'}notification';
71+
$server->resourceTypeMapping[\Sabre\CalDAV\Notifications\ICollection::class] = '{'.self::NS_CALENDARSERVER.'}notification';
7272

7373
array_push($server->protectedProperties,
7474
'{'.self::NS_CALENDARSERVER.'}notification-URL',

sabre/dav/lib/CalDAV/Plugin.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -200,18 +200,18 @@ public function initialize(DAV\Server $server)
200200
$server->xml->namespaceMap[self::NS_CALDAV] = 'cal';
201201
$server->xml->namespaceMap[self::NS_CALENDARSERVER] = 'cs';
202202

203-
$server->xml->elementMap['{'.self::NS_CALDAV.'}supported-calendar-component-set'] = 'Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet';
204-
$server->xml->elementMap['{'.self::NS_CALDAV.'}calendar-query'] = 'Sabre\\CalDAV\\Xml\\Request\\CalendarQueryReport';
205-
$server->xml->elementMap['{'.self::NS_CALDAV.'}calendar-multiget'] = 'Sabre\\CalDAV\\Xml\\Request\\CalendarMultiGetReport';
206-
$server->xml->elementMap['{'.self::NS_CALDAV.'}free-busy-query'] = 'Sabre\\CalDAV\\Xml\\Request\\FreeBusyQueryReport';
207-
$server->xml->elementMap['{'.self::NS_CALDAV.'}mkcalendar'] = 'Sabre\\CalDAV\\Xml\\Request\\MkCalendar';
208-
$server->xml->elementMap['{'.self::NS_CALDAV.'}schedule-calendar-transp'] = 'Sabre\\CalDAV\\Xml\\Property\\ScheduleCalendarTransp';
209-
$server->xml->elementMap['{'.self::NS_CALDAV.'}supported-calendar-component-set'] = 'Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet';
210-
211-
$server->resourceTypeMapping['\\Sabre\\CalDAV\\ICalendar'] = '{urn:ietf:params:xml:ns:caldav}calendar';
212-
213-
$server->resourceTypeMapping['\\Sabre\\CalDAV\\Principal\\IProxyRead'] = '{http://calendarserver.org/ns/}calendar-proxy-read';
214-
$server->resourceTypeMapping['\\Sabre\\CalDAV\\Principal\\IProxyWrite'] = '{http://calendarserver.org/ns/}calendar-proxy-write';
203+
$server->xml->elementMap['{'.self::NS_CALDAV.'}supported-calendar-component-set'] = \Sabre\CalDAV\Xml\Property\SupportedCalendarComponentSet::class;
204+
$server->xml->elementMap['{'.self::NS_CALDAV.'}calendar-query'] = \Sabre\CalDAV\Xml\Request\CalendarQueryReport::class;
205+
$server->xml->elementMap['{'.self::NS_CALDAV.'}calendar-multiget'] = \Sabre\CalDAV\Xml\Request\CalendarMultiGetReport::class;
206+
$server->xml->elementMap['{'.self::NS_CALDAV.'}free-busy-query'] = \Sabre\CalDAV\Xml\Request\FreeBusyQueryReport::class;
207+
$server->xml->elementMap['{'.self::NS_CALDAV.'}mkcalendar'] = \Sabre\CalDAV\Xml\Request\MkCalendar::class;
208+
$server->xml->elementMap['{'.self::NS_CALDAV.'}schedule-calendar-transp'] = \Sabre\CalDAV\Xml\Property\ScheduleCalendarTransp::class;
209+
$server->xml->elementMap['{'.self::NS_CALDAV.'}supported-calendar-component-set'] = \Sabre\CalDAV\Xml\Property\SupportedCalendarComponentSet::class;
210+
211+
$server->resourceTypeMapping[\Sabre\CalDAV\ICalendar::class] = '{urn:ietf:params:xml:ns:caldav}calendar';
212+
213+
$server->resourceTypeMapping[\Sabre\CalDAV\Principal\IProxyRead::class] = '{http://calendarserver.org/ns/}calendar-proxy-read';
214+
$server->resourceTypeMapping[\Sabre\CalDAV\Principal\IProxyWrite::class] = '{http://calendarserver.org/ns/}calendar-proxy-write';
215215

216216
array_push($server->protectedProperties,
217217
'{'.self::NS_CALDAV.'}supported-calendar-component-set',

0 commit comments

Comments
 (0)