Commit 5c7acf48 authored by Mario's avatar Mario
Browse files

update sabredav to version 3.2.2

parent a92b9b7a
...@@ -265,16 +265,16 @@ ...@@ -265,16 +265,16 @@
}, },
{ {
"name": "sabre/dav", "name": "sabre/dav",
"version": "3.2.0", "version": "3.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fruux/sabre-dav.git", "url": "https://github.com/fruux/sabre-dav.git",
"reference": "5b9737cc2f0182e368d14c80df7f6b2d77dc1457" "reference": "e987775e619728f12205606c9cc3ee565ffb1516"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fruux/sabre-dav/zipball/5b9737cc2f0182e368d14c80df7f6b2d77dc1457", "url": "https://api.github.com/repos/fruux/sabre-dav/zipball/e987775e619728f12205606c9cc3ee565ffb1516",
"reference": "5b9737cc2f0182e368d14c80df7f6b2d77dc1457", "reference": "e987775e619728f12205606c9cc3ee565ffb1516",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -298,8 +298,8 @@ ...@@ -298,8 +298,8 @@
"require-dev": { "require-dev": {
"evert/phpdoc-md": "~0.1.0", "evert/phpdoc-md": "~0.1.0",
"monolog/monolog": "^1.18", "monolog/monolog": "^1.18",
"phpunit/phpunit": "> 4.8, <=6.0.0", "phpunit/phpunit": "> 4.8, <6.0.0",
"sabre/cs": "~0.0.5" "sabre/cs": "^1.0.0"
}, },
"suggest": { "suggest": {
"ext-curl": "*", "ext-curl": "*",
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
"framework", "framework",
"iCalendar" "iCalendar"
], ],
"time": "2016-06-28T02:44:05+00:00" "time": "2017-02-15T03:06:08+00:00"
}, },
{ {
"name": "sabre/event", "name": "sabre/event",
......
This diff is collapsed.
This diff is collapsed.
...@@ -267,91 +267,6 @@ ...@@ -267,91 +267,6 @@
"http" "http"
] ]
}, },
{
"name": "sabre/dav",
"version": "3.2.0",
"version_normalized": "3.2.0.0",
"source": {
"type": "git",
"url": "https://github.com/fruux/sabre-dav.git",
"reference": "5b9737cc2f0182e368d14c80df7f6b2d77dc1457"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fruux/sabre-dav/zipball/5b9737cc2f0182e368d14c80df7f6b2d77dc1457",
"reference": "5b9737cc2f0182e368d14c80df7f6b2d77dc1457",
"shasum": ""
},
"require": {
"ext-ctype": "*",
"ext-date": "*",
"ext-dom": "*",
"ext-iconv": "*",
"ext-mbstring": "*",
"ext-pcre": "*",
"ext-simplexml": "*",
"ext-spl": "*",
"lib-libxml": ">=2.7.0",
"php": ">=5.5.0",
"psr/log": "^1.0",
"sabre/event": ">=2.0.0, <4.0.0",
"sabre/http": "^4.2.1",
"sabre/uri": "^1.0.1",
"sabre/vobject": "^4.1.0",
"sabre/xml": "^1.4.0"
},
"require-dev": {
"evert/phpdoc-md": "~0.1.0",
"monolog/monolog": "^1.18",
"phpunit/phpunit": "> 4.8, <=6.0.0",
"sabre/cs": "~0.0.5"
},
"suggest": {
"ext-curl": "*",
"ext-pdo": "*"
},
"time": "2016-06-28T02:44:05+00:00",
"bin": [
"bin/sabredav",
"bin/naturalselection"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.1.0-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Sabre\\DAV\\": "lib/DAV/",
"Sabre\\DAVACL\\": "lib/DAVACL/",
"Sabre\\CalDAV\\": "lib/CalDAV/",
"Sabre\\CardDAV\\": "lib/CardDAV/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Evert Pot",
"email": "me@evertpot.com",
"homepage": "http://evertpot.com/",
"role": "Developer"
}
],
"description": "WebDAV Framework for PHP",
"homepage": "http://sabre.io/",
"keywords": [
"CalDAV",
"CardDAV",
"WebDAV",
"framework",
"iCalendar"
]
},
{ {
"name": "sabre/xml", "name": "sabre/xml",
"version": "1.5.0", "version": "1.5.0",
...@@ -748,5 +663,90 @@ ...@@ -748,5 +663,90 @@
"source": "https://github.com/simplepie/simplepie/tree/1.5", "source": "https://github.com/simplepie/simplepie/tree/1.5",
"issues": "https://github.com/simplepie/simplepie/issues" "issues": "https://github.com/simplepie/simplepie/issues"
} }
},
{
"name": "sabre/dav",
"version": "3.2.2",
"version_normalized": "3.2.2.0",
"source": {
"type": "git",
"url": "https://github.com/fruux/sabre-dav.git",
"reference": "e987775e619728f12205606c9cc3ee565ffb1516"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fruux/sabre-dav/zipball/e987775e619728f12205606c9cc3ee565ffb1516",
"reference": "e987775e619728f12205606c9cc3ee565ffb1516",
"shasum": ""
},
"require": {
"ext-ctype": "*",
"ext-date": "*",
"ext-dom": "*",
"ext-iconv": "*",
"ext-mbstring": "*",
"ext-pcre": "*",
"ext-simplexml": "*",
"ext-spl": "*",
"lib-libxml": ">=2.7.0",
"php": ">=5.5.0",
"psr/log": "^1.0",
"sabre/event": ">=2.0.0, <4.0.0",
"sabre/http": "^4.2.1",
"sabre/uri": "^1.0.1",
"sabre/vobject": "^4.1.0",
"sabre/xml": "^1.4.0"
},
"require-dev": {
"evert/phpdoc-md": "~0.1.0",
"monolog/monolog": "^1.18",
"phpunit/phpunit": "> 4.8, <6.0.0",
"sabre/cs": "^1.0.0"
},
"suggest": {
"ext-curl": "*",
"ext-pdo": "*"
},
"time": "2017-02-15T03:06:08+00:00",
"bin": [
"bin/sabredav",
"bin/naturalselection"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.1.0-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Sabre\\DAV\\": "lib/DAV/",
"Sabre\\DAVACL\\": "lib/DAVACL/",
"Sabre\\CalDAV\\": "lib/CalDAV/",
"Sabre\\CardDAV\\": "lib/CardDAV/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Evert Pot",
"email": "me@evertpot.com",
"homepage": "http://evertpot.com/",
"role": "Developer"
}
],
"description": "WebDAV Framework for PHP",
"homepage": "http://sabre.io/",
"keywords": [
"CalDAV",
"CardDAV",
"WebDAV",
"framework",
"iCalendar"
]
} }
] ]
...@@ -2,7 +2,9 @@ language: php ...@@ -2,7 +2,9 @@ language: php
php: php:
- 5.5 - 5.5
- 5.6 - 5.6
- 7 - 7.0
- 7.1
env: env:
matrix: matrix:
...@@ -19,7 +21,6 @@ before_script: ...@@ -19,7 +21,6 @@ before_script:
- mysql -e 'create database sabredav_test' - mysql -e 'create database sabredav_test'
- psql -c "create database sabredav_test" -U postgres - psql -c "create database sabredav_test" -U postgres
- psql -c "create user sabredav with PASSWORD 'sabredav';GRANT ALL PRIVILEGES ON DATABASE sabredav_test TO sabredav" -U postgres - psql -c "create user sabredav with PASSWORD 'sabredav';GRANT ALL PRIVILEGES ON DATABASE sabredav_test TO sabredav" -U postgres
- phpenv config-rm xdebug.ini; true
# - composer self-update # - composer self-update
- composer update --prefer-dist $LOWEST_DEPS - composer update --prefer-dist $LOWEST_DEPS
...@@ -28,7 +29,7 @@ before_script: ...@@ -28,7 +29,7 @@ before_script:
script: script:
- ./bin/phpunit --configuration tests/phpunit.xml.dist $TEST_DEPS - ./bin/phpunit --configuration tests/phpunit.xml.dist $TEST_DEPS
- ./bin/sabre-cs-fixer fix lib/ --dry-run --diff - ./bin/sabre-cs-fixer fix . --dry-run --diff
cache: cache:
directories: directories:
......
ChangeLog ChangeLog
========= =========
3.2.2 (2017-02-14)
------------------
* #943: Fix CardDAV XML reporting bug, which was affecting several CardDAV
clients. Bug was introduced in 3.2.1.
* The zip release ships with [sabre/vobject 4.1.2][vobj],
[sabre/http 4.2.2][http], [sabre/event 3.0.0][evnt],
[sabre/uri 1.2.0][uri] and [sabre/xml 1.5.0][xml].
3.2.1 (2017-01-28)
------------------
* #877: Fix for syncing large calendars when using the Sqlite PDO backend.
(@theseer).
* #889 Added support for filtering vCard properties in the addressbook-query
REPORT (@DeepDiver1975).
* The zip release ships with [sabre/vobject 4.1.2][vobj],
[sabre/http 4.2.2][http], [sabre/event 3.0.0][evnt],
[sabre/uri 1.2.0][uri] and [sabre/xml 1.5.0][xml].
3.2.0 (2016-06-27) 3.2.0 (2016-06-27)
------------------ ------------------
...@@ -88,6 +110,9 @@ ChangeLog ...@@ -88,6 +110,9 @@ ChangeLog
------------------ ------------------
* Fixed: Creating a new calendar on some MySQL configurations caused an error. * Fixed: Creating a new calendar on some MySQL configurations caused an error.
* #889 Added support for filtering vCard properties in the addressbook-query
REPORT (@DeepDiver1975).
3.1.4 (2016-05-28) 3.1.4 (2016-05-28)
...@@ -200,6 +225,13 @@ ChangeLog ...@@ -200,6 +225,13 @@ ChangeLog
[sabre/uri 1.0.1][uri] and [sabre/xml 1.1.0][xml]. [sabre/uri 1.0.1][uri] and [sabre/xml 1.1.0][xml].
3.0.10 (2016-??-??)
------------------
* #889 Added support for filtering vCard properties in the addressbook-query
REPORT (@DeepDiver1975).
3.0.9 (2016-04-06) 3.0.9 (2016-04-06)
------------------ ------------------
...@@ -463,11 +495,13 @@ ChangeLog ...@@ -463,11 +495,13 @@ ChangeLog
* #193: Fix `Sabre\DAV\FSExt\Directory::getQuotaInfo()` on windows. * #193: Fix `Sabre\DAV\FSExt\Directory::getQuotaInfo()` on windows.
2.1.11 (2016-??-??) 2.1.11 (2016-10-06)
------------------- -------------------
* #805: It wasn't possible to create calendars that hold events, journals and * #805: It wasn't possible to create calendars that hold events, journals and
todos using MySQL, because the `components` column was 1 byte too small. todos using MySQL, because the `components` column was 1 byte too small.
* The zip release ships with [sabre/vobject 3.5.3][vobj],
[sabre/http 3.0.5][http], and [sabre/event 2.0.2][evnt].
2.1.10 (2016-03-10) 2.1.10 (2016-03-10)
...@@ -475,6 +509,8 @@ ChangeLog ...@@ -475,6 +509,8 @@ ChangeLog
* #784: Sync logs for address books were not correctly cleaned up after * #784: Sync logs for address books were not correctly cleaned up after
deleting them. deleting them.
* The zip release ships with [sabre/vobject 3.5.0][vobj],
[sabre/http 3.0.5][http], and [sabre/event 2.0.2][evnt].
2.1.9 (2016-01-25) 2.1.9 (2016-01-25)
...@@ -627,7 +663,7 @@ ChangeLog ...@@ -627,7 +663,7 @@ ChangeLog
* Added: Automatically converting between vCard 3, 4 and jCard using the * Added: Automatically converting between vCard 3, 4 and jCard using the
`Accept:` header, in CardDAV reports, and automatically converting from `Accept:` header, in CardDAV reports, and automatically converting from
jCard to vCard upon `PUT`. It's important to note that your backends _may_ jCard to vCard upon `PUT`. It's important to note that your backends _may_
now recieve both vCard 3.0 and 4.0. now receive both vCard 3.0 and 4.0.
* Added: #444. Collections can now opt-in to support high-speed `MOVE`. * Added: #444. Collections can now opt-in to support high-speed `MOVE`.
* Changed: PropertyStorage backends now have a `move` method. * Changed: PropertyStorage backends now have a `move` method.
* Added: `beforeMove`, and `afterMove` events. * Added: `beforeMove`, and `afterMove` events.
...@@ -812,7 +848,7 @@ ChangeLog ...@@ -812,7 +848,7 @@ ChangeLog
* Added: Support for the `{DAV:}supported-method-set` property server-wide. * Added: Support for the `{DAV:}supported-method-set` property server-wide.
* Making it easier for implementors to override how the CardDAV addressbook * Making it easier for implementors to override how the CardDAV addressbook
home is located. home is located.
* Fixed: Issue #422 Preconditions were not being set on PUT on non-existant * Fixed: Issue #422 Preconditions were not being set on PUT on non-existent
files. Not really a chance for data-loss, but incorrect nevertheless. files. Not really a chance for data-loss, but incorrect nevertheless.
* Fixed: Issue #428: Etag check with `If:` fails if the target is a collection. * Fixed: Issue #428: Etag check with `If:` fails if the target is a collection.
* Fixed: Issues #430, #431, #433: Locks plugin didn't not properly release * Fixed: Issues #430, #431, #433: Locks plugin didn't not properly release
...@@ -1024,7 +1060,7 @@ ChangeLog ...@@ -1024,7 +1060,7 @@ ChangeLog
* Added: Sharee's can now also read out the list of invites for a shared * Added: Sharee's can now also read out the list of invites for a shared
calendar. calendar.
* Added: The Proxy principal classes now both implement an interface, for * Added: The Proxy principal classes now both implement an interface, for
greater flexiblity. greater flexibility.
1.7.13 (2014-07-28) 1.7.13 (2014-07-28)
...@@ -1042,7 +1078,7 @@ ChangeLog ...@@ -1042,7 +1078,7 @@ ChangeLog
Sabre_DAV_PartialUpdate_IFile interface is now deprecated and will be removed Sabre_DAV_PartialUpdate_IFile interface is now deprecated and will be removed
in a future version. in a future version.
* Fixed: Restoring old setting after changing libxml_disable_entity_loader. * Fixed: Restoring old setting after changing libxml_disable_entity_loader.
* Fixed: Issue #422: Preconditions were not being set on PUT on non-existant * Fixed: Issue #422: Preconditions were not being set on PUT on non-existent
files. Not really a chance for data-loss, but incorrect nevertheless. files. Not really a chance for data-loss, but incorrect nevertheless.
* Fixed: Issue #427: Now checking preconditions on DELETE requests. * Fixed: Issue #427: Now checking preconditions on DELETE requests.
* Fixed: Issue #428: Etag check with If: fails if the target is a collection. * Fixed: Issue #428: Etag check with If: fails if the target is a collection.
...@@ -1121,7 +1157,7 @@ ChangeLog ...@@ -1121,7 +1157,7 @@ ChangeLog
------------------ ------------------
* The zip release ships with sabre/vobject 2.0.5. * The zip release ships with sabre/vobject 2.0.5.
* Changed: To be compatibile with MS Office 2011 for Mac, a workaround was * Changed: To be compatible with MS Office 2011 for Mac, a workaround was
removed that was added to support old versions of Windows XP (pre-SP3). removed that was added to support old versions of Windows XP (pre-SP3).
Indeed! We needed a crazy workaround to work with one MS product in the past, Indeed! We needed a crazy workaround to work with one MS product in the past,
and we can't keep that workaround to be compatible with another MS product. and we can't keep that workaround to be compatible with another MS product.
...@@ -1129,7 +1165,7 @@ ChangeLog ...@@ -1129,7 +1165,7 @@ ChangeLog
* Fixed: Range requests now work for non-seekable streams. (Thanks Alfred * Fixed: Range requests now work for non-seekable streams. (Thanks Alfred
Klomp). Klomp).
* Fixed: Changed serialization of {DAV:}getlastmodified and {DAV:}supportedlock * Fixed: Changed serialization of {DAV:}getlastmodified and {DAV:}supportedlock
to improve compatiblity with MS Office 2011 for Mac. to improve compatibility with MS Office 2011 for Mac.
* Changed: reverted the automatic translation of 'DAV:' xml namespaces to * Changed: reverted the automatic translation of 'DAV:' xml namespaces to
'urn:DAV' when parsing files. Issues were reported with libxml 2.6.32, on a 'urn:DAV' when parsing files. Issues were reported with libxml 2.6.32, on a
relatively recent debian release, so we'll wait till 2015 to take this one out relatively recent debian release, so we'll wait till 2015 to take this one out
...@@ -2006,7 +2042,7 @@ ChangeLog ...@@ -2006,7 +2042,7 @@ ChangeLog
------------------- -------------------
* Fixed: Issue 34: Invalid Lock-Token header response. * Fixed: Issue 34: Invalid Lock-Token header response.
* Added: Issue 35: Addign SabreDAV version to HTTP OPTIONS responses. * Added: Issue 35: Adding SabreDAV version to HTTP OPTIONS responses.
1.0.9 (2010-03-19) 1.0.9 (2010-03-19)
...@@ -2220,7 +2256,7 @@ ChangeLog ...@@ -2220,7 +2256,7 @@ ChangeLog
* Added: Simple HTML directory plugin, for browser access. * Added: Simple HTML directory plugin, for browser access.
* Added: Server class now sends back standard pre-condition error xml bodies. * Added: Server class now sends back standard pre-condition error xml bodies.
This was new since RFC4918. This was new since RFC4918.
* Added: Sabre_DAV_Tree_Aggregrate, which can 'host' multiple Tree objects into * Added: Sabre_DAV_Tree_Aggregate, which can 'host' multiple Tree objects into
one. one.
* Added: simple basis for HTTP REPORT method. This method is not used yet, but * Added: simple basis for HTTP REPORT method. This method is not used yet, but
can be used by plugins to add reports. can be used by plugins to add reports.
...@@ -2237,7 +2273,7 @@ ChangeLog ...@@ -2237,7 +2273,7 @@ ChangeLog
8.2. 8.2.
* Fixed: TemporaryFileFilter now lets through GET's if they actually exist on * Fixed: TemporaryFileFilter now lets through GET's if they actually exist on
the backend. (r274) the backend. (r274)
* FIxed: Some methods didn't get passed through in the FilterTree (r283). * Fixed: Some methods didn't get passed through in the FilterTree (r283).
* Fixed: LockManager is now slightly more complex, Tree classes slightly less. * Fixed: LockManager is now slightly more complex, Tree classes slightly less.
(r287) (r287)
......
...@@ -10,6 +10,7 @@ Full documentation can be found on the website: ...@@ -10,6 +10,7 @@ Full documentation can be found on the website:
http://sabre.io/ http://sabre.io/
Build status Build status
------------ ------------
...@@ -30,6 +31,7 @@ Documentation ...@@ -30,6 +31,7 @@ Documentation
* [Introduction](http://sabre.io/dav/). * [Introduction](http://sabre.io/dav/).
* [Installation](http://sabre.io/dav/install/). * [Installation](http://sabre.io/dav/install/).
Made at fruux Made at fruux
------------- -------------
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
"psr/log": "^1.0" "psr/log": "^1.0"
}, },
"require-dev" : { "require-dev" : {
"phpunit/phpunit" : "> 4.8, <=6.0.0", "phpunit/phpunit" : "> 4.8, <6.0.0",
"evert/phpdoc-md" : "~0.1.0", "evert/phpdoc-md" : "~0.1.0",
"sabre/cs" : "~0.0.5", "sabre/cs" : "^1.0.0",
"monolog/monolog": "^1.18" "monolog/monolog": "^1.18"
}, },
"suggest" : { "suggest" : {
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
namespace Sabre\CalDAV\Backend; namespace Sabre\CalDAV\Backend;
use Sabre\VObject;
use Sabre\CalDAV; use Sabre\CalDAV;
use Sabre\VObject;
/** /**
* Abstract Calendaring backend. Extend this class to create your own backends. * Abstract Calendaring backend. Extend this class to create your own backends.
...@@ -26,9 +26,9 @@ abstract class AbstractBackend implements BackendInterface { ...@@ -26,9 +26,9 @@ abstract class AbstractBackend implements BackendInterface {
* Calling the handle method is like telling the PropPatch object "I * Calling the handle method is like telling the PropPatch object "I
* promise I can handle updating this property". * promise I can handle updating this property".
* *
* Read the PropPatch documenation for more info and examples. * Read the PropPatch documentation for more info and examples.
* *
* @param string $path * @param mixed $calendarId
* @param \Sabre\DAV\PropPatch $propPatch * @param \Sabre\DAV\PropPatch $propPatch
* @return void * @return void
*/ */
......
...@@ -49,8 +49,8 @@ interface NotificationSupport extends BackendInterface { ...@@ -49,8 +49,8 @@ interface NotificationSupport extends BackendInterface {
* If the user chose to accept the share, this method should return the * If the user chose to accept the share, this method should return the
* newly created calendar url. * newly created calendar url.
* *
* @param string href The sharee who is replying (often a mailto: address) * @param string $href The sharee who is replying (often a mailto: address)
* @param int status One of the SharingPlugin::STATUS_* constants * @param int $status One of the SharingPlugin::STATUS_* constants
* @param string $calendarUri The url to the calendar thats being shared * @param string $calendarUri The url to the calendar thats being shared
* @param string $inReplyTo The unique id this message is a response to * @param string $inReplyTo The unique id this message is a response to
* @param string $summary A description of the reply * @param string $summary A description of the reply
......
...@@ -5,8 +5,8 @@ namespace Sabre\CalDAV\Backend; ...@@ -5,8 +5,8 @@ namespace Sabre\CalDAV\Backend;
use Sabre\CalDAV; use Sabre\CalDAV;
use Sabre\DAV; use Sabre\DAV;
use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\Forbidden;
use Sabre\VObject;
use Sabre\DAV\Xml\Element\Sharee; use Sabre\DAV\Xml\Element\Sharee;
use Sabre\VObject;
/** /**