aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23317 from nextcloud/fix/contact-updateMorris Jobke2020-10-122-2/+54
|\ | | | | handle nested properties for contact updates
| * handle nested properties, fixes #20544call-me-matt2020-10-122-2/+54
| | | | | | | | Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
* | [tx-robot] updated from transifexNextcloud bot2020-10-122-0/+34
| |
* | [tx-robot] updated from transifexNextcloud bot2020-10-112-12/+12
| |
* | [tx-robot] updated from transifexNextcloud bot2020-10-092-0/+22
|/
* Use PSR Logger in event dispatcherJoas Schilling2020-10-081-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #23025 from Iscle/masterMorris Jobke2020-10-061-2/+6
|\ | | | | DirectController: Let users choose the link expiration time
| * DirectController: Verify that expirationTime is between 0s and 24hIscle2020-10-011-0/+4
| | | | | | | | Signed-off-by: Iscle <albertiscle9@gmail.com>
| * DirectController: Let users choose the expiration timeIscle2020-09-241-2/+2
| | | | | | | | Signed-off-by: Iscle <albertiscle9@gmail.com>
* | Merge pull request #23028 from ↵Morris Jobke2020-10-051-1/+1
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/array-to-string-conversion-on-event-search Fix array to string conversion on event search
| * | Fix array to string conversion on event searchJoas Schilling2020-09-241-1/+1
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-0545-179/+179
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix unit testsRoeland Jago Douma2020-10-051-0/+6
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #22969 from eleith/catch-no-instance-exceptionRoeland Jago Douma2020-10-042-1/+159
|\ \ | | | | | | broaden exception handling on webcal refresh
| * | broaden exception handling on webcal refresheleith2020-09-292-1/+159
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when iterating through a calendar, recurrance events can throw an exception if no instances of the recurrance are found. this exception is of class `Exception` but the try/catch clause in the webcal refresh loop only catches `BadRequest` exception. this leads to the exception bubbling up and thus other calendar events do not get processed by the event iterator. this PR broadens the exception to handle both BadRequest and NoInstanceFoundException so that the full webcal can be processed, even if minor hiccups are processing on vobject Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
* | Merge pull request #22983 from ↵Roeland Jago Douma2020-09-291-1/+1
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/sync-all-users-to-systemaddressbook Sync all users to the system addresssbook
| * | Sync all users to the system addresssbookJoas Schilling2020-09-211-1/+1
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2020-09-292-0/+8
| |
* | Merge pull request #23034 from ↵Joas Schilling2020-09-251-0/+12
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/numeric-folders-thorw-on-mark-dirty Fix numeric folders throwing on markDirty
| * | Fix numeric folders throwing on markDirtyJoas Schilling2020-09-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TypeError: strpos() expects parameter 1 to be string, int given The problem is that in cacheNode() we strip of any slashes, so a folder "0/" will be trimmed to "0" and be used as an array key. Since PHP automatically casts numeric array keys to integers, you afterwards get $nodePath as int(0). Since it's now a number, the strpos() function does not accept it anymore. Simply casting $nodePath to a string again in the foreach solves the issue Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Update autloaderRoeland Jago Douma2020-09-241-1/+1
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / [tx-robot] updated from transifexNextcloud bot2020-09-242-0/+12
|/
* [tx-robot] updated from transifexNextcloud bot2020-09-204-0/+14
|
* Bump versionsJoas Schilling2020-09-181-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [tx-robot] updated from transifexNextcloud bot2020-09-184-2/+4
|
* Update urls to stackoverflow.com to "HTTPS"J0WI2020-09-171-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-162-10/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove phan config - was replaced by PsalmMorris Jobke2020-09-162-8/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [tx-robot] updated from transifexNextcloud bot2020-09-158-2/+126
|
* Merge pull request #22799 from ↵Morris Jobke2020-09-141-0/+5
|\ | | | | | | | | nextcloud/bugfix/noid/dont-log-microsoft-webdav-client-trying-to-tag Don't log Microsoft WebDAV client trying to tag things
| * Don't log Microsoft WebDAV client trying to tag thingsJoas Schilling2020-09-111-0/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Mitigate encoding issue with user principal uriGeorg Ehrke2020-09-101-1/+5
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Properly catch exception from writing to stream when copying a fileJulius Härtl2020-09-101-2/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-079-2/+12
| | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21945 from nextcloud/fix-contact-download-pictureJohn Molakvoæ2020-09-073-5/+6
|\ | | | | Changed Content-Disposition header to download Contact Photo with correct extension
| * Change Content-Disposition HeaderJacob Neplokh2020-09-053-5/+6
| | | | | | | | | | | | | | | | | | | | - Make ALLOWED_CONTENT_TYPES public in order to use - Add $fileName variable which uses "$node->getName()" to get the proper file name and "$file->getMimeType()" along with the ALLOWED_CONTENT_TYPES array in PhotoCache.php to get the proper file extension - Make "$fileName" the name of the file in the Content-Disposition header when downloading a Contact's photo - Add filename to the CardDAV integration image export test header - Change headers in ImageExportPluginTest to reflect changes Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
* | [tx-robot] updated from transifexNextcloud bot2020-09-074-8/+40
| |
* | [tx-robot] updated from transifexNextcloud bot2020-09-0618-2/+122
|/
* [tx-robot] updated from transifexNextcloud bot2020-09-05110-406/+516
|
* Merge pull request #17456 from ↵John Molakvoæ2020-09-042-59/+139
|\ | | | | | | brad2014/feature/brad2014/12391-improve-imip-mail-message-take-2
| * Minor cleanup: php-cs-fixer, tests, interface consistencyBrad Rubenstein2020-09-022-20/+24
| | | | | | | | | | | | | | | | | | | | | | IMipPlugin.php Removed blank lines to make php-cs-fixer happy. Minor cleanup: bugs found by Psalm static checker IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter. IMipPlugin: Fixes an undefined variable for events that do not have DTEND. Also use explicit string conversion for parameters and properties in several places. The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line. Signed-off-by: Brad Rubenstein <brad@wbr.tech>
| * Make icon set for CalDav event presentation, use in iMIP email.brad20142020-08-201-7/+7
| | | | | | | | | | | | | | | | | | | | iMIP e-mails were, as a hack, using filetypes icons for caldav elements (titles, locations). This commit creates a folder of caldav element icons. To start, they are used in iMIP emails, but eventually should be used by any app that wants to have icon labels for caldav elements. Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
| * iMIP email improvements (take 2)brad20142020-08-201-51/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR is a replacement for PR #17195. It is intended to be simpler to review and approve, with fewer changes, some disabled by default. It addresses issues #12391 and #13555, with the following changes: - The plainText of iMIP emails has been upgraded as described in issue #12391. The HTML design style has not been changed. - Some of the HTML and plainText content has been rearranged (simplified header language, moving the event title to from text body to the first item in the bullet list, spelling corrections, moving the description to the end of the list), per issue #12391. - The interface for EMailTemplate has been extended: addBodyListItem now takes an optional `plainIndent` parameter. Existing callers see no change. Where new calls set the new parameter >0, the list item label (metaInfo) is put in column 1, and the value is indented into column 2 (properly accounting for multiple lines, if any). - An optional dav config setting has been added, `invitation_list_attendees`. It defaults to 'no', leaving emails unchanged. If set by the site admin to 'yes', then iMIP emails include, for the organizer and each attendee, their name, email, and a ✔︎ if they have accepted the invitation. - Minor refactoring. Notes: - The labels for organizers and attendees list items are new, and require translation/localization. - Dav config settings are documented in the code, but not in the Administrator's Guide. Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
* | Do not keep the part file if the forbidden exception has retry set to falseJulius Härtl2020-09-031-0/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | [tx-robot] updated from transifexNextcloud bot2020-08-304-0/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2020-08-294-0/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2020-08-2814-0/+18
| |
* | Merge pull request #22421 from nextcloud/group-folder-quota-warningRoeland Jago Douma2020-08-261-4/+11
|\ \ | | | | | | show better quota warning for group folders and external storage
| * | fix testsRobin Appelman2020-08-261-4/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | 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>