summaryrefslogtreecommitdiffstats
path: root/apps/dav
Commit message (Collapse)AuthorAgeFilesLines
* Use proper authorative-autoloader for app autoloadersRoeland Jago Douma2017-12-142-11/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix dav unit testsBjoern Schiessle2017-12-121-3/+3
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix unit tests for CalendarManagerMorris Jobke2017-12-122-3/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6884 from ↵Morris Jobke2017-12-1226-35/+1204
|\ | | | | | | | | nextcloud/feature/3003/opt_out_of_birthday_calendar Opt out of birthday calendar
| * generate birthday calendars in a background job after admin enabled themGeorg Ehrke2017-11-117-4/+277
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * create a user's birthday calendar right after they requested itGeorg Ehrke2017-11-113-4/+30
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * update autoloadersGeorg Ehrke2017-11-112-0/+4
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * respect admin / user choice about birthday calendars in corresponding hooksGeorg Ehrke2017-11-112-7/+160
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * disallow users to create calendars with reserved namesGeorg Ehrke2017-11-112-0/+96
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * adapt occ 'dav:sync-birthday-calendar commandGeorg Ehrke2017-11-111-1/+33
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * add CalDAV interface that allows users to re-enable their birthday calendarGeorg Ehrke2017-11-113-0/+304
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * remember when a user deleted their contact birthdays calendarGeorg Ehrke2017-11-108-27/+104
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Add admin checkbox to disable birthday calendarsGeorg Ehrke2017-11-096-0/+204
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Make ContactsStore a public APITobia De Koninck2017-12-113-0/+20
| | | | | | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* | Merge pull request #6590 from nextcloud/dav-create-activities-for-publishingMorris Jobke2017-12-115-0/+57
|\ \ | | | | | | Create activities for (un)publishing calendar events
| * | Fix testsRoeland Jago Douma2017-12-111-0/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Update wordingMorris Jobke2017-12-111-2/+2
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Create activities for (un)publishing calendar eventsThomas Citharel2017-12-115-0/+55
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | updated autoloaders for davGeorg Ehrke2017-12-112-0/+4
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Principal search: Take sharing settings into accountGeorg Ehrke2017-12-116-35/+275
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | exclude shared calendars from freeBusyGeorg Ehrke2017-12-111-1/+1
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Fix functions to search for principals in the backend.Christoph Seitz2017-12-114-6/+157
|/ / | | | | | | | | | | | | Add a "searchPrincipals" function to the NC principal backend. Fix the "findByUri" function to respect the prefixPath. Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de>
* | Merge pull request #7342 from nextcloud/fix_carddav_converterblizzz2017-12-111-2/+5
|\ \ | | | | | | CardDAV convertor check should not be to wide
| * | CardDAV convertor check should not be to wideRoeland Jago Douma2017-12-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Case: email is set to null, but the avatar is set. In the old case the email would set $emptyValue but $noImage would still be false. This we would set the empty string as email. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7313 from ↵Morris Jobke2017-12-112-18/+187
|\ \ \ | |/ / |/| | | | | | | | nextcloud/ensure-that-x-oc-mtime-header-is-an-integer-with-chunked-uploads Ensure that X-OC-MTime header is an integer with chunked uploads
| * | Reject X-OC-MTime header if given as a string with hexadecimal notationDaniel Calviño Sánchez2017-11-282-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In PHP 7.X hexadecimal notation support was removed from "is_numeric", so "sanitizeMtime" directly rejected those values; in PHP 5.X, on the other hand, "sanitizeMtime" returned 0 when a string with hexadecimal notation was given (as it was the behaviour of "intval"). To provide a consistent behaviour between PHP versions, and given that it does not make much sense to send X-OC-MTime in hexadecimal notation, now X-OC-MTime is always rejected if given as a string with hexadecimal notation. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Don't use runInSeparateProcessThomas Müller2017-11-272-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Directly calling "header" in the PHPUnit process causes the "Cannot modify header information - headers already sent by" error to be thrown. Instead of running the test in a separate process, which is slower, this commit wraps the call to "header" in a method that can be mocked in the tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Add tests for X-OC-MTime header handlingDaniel Calviño Sánchez2017-11-271-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is based on the commits from pull request 28066 (included in 018d45cad97e0) from ownCloud by Artur Neumann and Phil Davis. Unit tests are currently run only on systems that support negative mtimes, so no special handling of negative values was included in the tests to keep the test code more manageable. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Make possible to provide a specific HTTP request object to FileDaniel Calviño Sánchez2017-11-272-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used in a following commit to test how the X-OC-MTime header is handled. This commit is based on the "make File::put() more testable" commit (included in 018d45cad97e0) from ownCloud by Artur Neumann. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Ensure that X-OC-MTime header is an integer also with chunked uploadsDaniel Calviño Sánchez2017-11-271-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit extends the changes introduced in pull request #3793 also to chunked uploads. The "sanitizeMTime" method name is the same used in the equivalent pull request to this one from ownCloud (28066). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | [tx-robot] updated from transifexNextcloud bot2017-12-102-2/+10
| | |
* | | [tx-robot] updated from transifexNextcloud bot2017-12-092-0/+114
| | |
* | | Merge pull request #7395 from nextcloud/remove-unusedLukas Reschke2017-12-061-3/+0
|\ \ \ | | | | | | | | Remove unused variables
| * | | Remove unused variablesMorris Jobke2017-12-051-3/+0
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #7348 from nextcloud/filterout_shares_of_nonexisting_usersRoeland Jago Douma2017-12-062-0/+7
|\ \ \ \ | | | | | | | | | | Check if the owner of a share exists
| * | | | Fix testsRoeland Jago Douma2017-12-042-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | A failed storage is a not available storageRoeland Jago Douma2017-12-041-0/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have to double check. Since getting the info of the root returns a generic entry. But actually the stroage is not available. Else we get very weird sync and web behavior. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / / [tx-robot] updated from transifexNextcloud bot2017-12-052-2/+2
|/ / /
* | | [tx-robot] updated from transifexNextcloud bot2017-12-022-0/+18
| | |
* | | [tx-robot] updated from transifexNextcloud bot2017-12-0130-0/+290
| | |
* | | Merge pull request #6901 from nextcloud/bugfix/4014/catch_parsing_errorMorris Jobke2017-11-276-5/+44
|\ \ \ | | | | | | | | catch errors when parsing calendar data for calendar query requests
| * | | catch errors when parsing calendar data for calendar query requestsGeorg Ehrke2017-11-276-5/+44
| |/ / | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Merge pull request #7308 from nextcloud/do-not-log-InvalidSyncTokenMorris Jobke2017-11-271-0/+3
|\ \ \ | | | | | | | | Log InvalidSyncToken on DAV in debug level
| * | | Log InvalidSyncToken on DAV in debug levelMorris Jobke2017-11-271-0/+3
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Log NotImplementedException on DAV in debug levelMorris Jobke2017-11-271-0/+4
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [tx-robot] updated from transifexNextcloud bot2017-11-232-0/+2
| |
* | Merge pull request #7047 from ↵Björn Schießle2017-11-202-9/+14
|\ \ | | | | | | | | | | | | nextcloud/add-support-for-files-with-no-permissions Add support for files with no permissions
| * | Return whether the file is readable or not in the DAV permissionsDaniel Calviño Sánchez2017-11-022-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now it was safe to assume that every file was readable by its owner, so there was no need to return whether the file was readable or not. However, with the introduction of end to end encryption that is no longer the case, and it is now necessary to explicitly provide that information. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | [tx-robot] updated from transifexNextcloud bot2017-11-196-0/+26
| | |
* | | [tx-robot] updated from transifexNextcloud bot2017-11-184-0/+4
| | |