summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* also use storage copy when dav copying directoriesRobin Appelman2021-01-211-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #24591 from nextcloud/backport/24358/stable19Morris Jobke2021-01-071-2/+24
|\ | | | | [stable19] use storage copy implementation when doing dav copy
| * use storage copy implementation when doing dav copyRobin Appelman2020-12-071-2/+24
| | | | | | | | | | | | | | | | instead of using the sabredav fallback (which does a read+write stream copy) this greatly speeds up dav copies Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Don't throw a 500 when importing a broken ics reminder fileJoas Schilling2021-01-051-1/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fixes sharing to group ids /w chars that are being url encoded, carddavArthur Schiwon2020-12-181-3/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix finding of groups with decodable chars in their id via DAVArthur Schiwon2020-12-181-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fixes sharing to group ids with characters that are being url encodedArthur Schiwon2020-12-182-3/+1
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #24447 from nextcloud/backport/23652/stable19Morris Jobke2020-11-301-6/+1
|\ | | | | [stable19] Fix public calendars shared to circles
| * A valid user session is required for circles.Daniel Kesselberg2020-11-301-1/+3
| | | | | | | | | | | | The circles app depends on a valid userId. A public shared calender might be viewed by guests without a user session. For such requests the principal is null. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Update phpdoc for circleToPrincipalDaniel Kesselberg2020-11-301-8/+1
| | | | | | | | | | | | as the QueryException is already catched inside circleToPrincipal. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Make sure we add new line between vcf groups exportsJohn Molakvoæ (skjnldsv)2020-11-301-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use correct year for generated birthdays eventsSven Strickroth2020-11-201-1/+6
| | | | | | | | 'X-APPLE-OMIT-YEAR' is not always present, at least iOS 12.4 uses the hard coded date of 1604 (the start of the gregorian calendar) when the year is unknown. cf. https://forums.bitfire.at/topic/2050/bday-without-year-for-vcard-3-0-if-server-drops-property-x-apple-omit-year and https://gitlab.com/CardBook/CardBook/-/issues/586 Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Use png icons in caldav reminder emailsRichard Steinmetz2020-11-111-4/+4
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* CalDavBackend: check if timerange is array before accessingSimon Spannagel2020-10-191-1/+2
| | | | Signed-off-by: Simon Spannagel <simonspa@kth.se>
* Sync all users to the system addresssbookJoas Schilling2020-09-291-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix numeric folders throwing on markDirtyJoas Schilling2020-09-251-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>
* Mitigate encoding issue with user principal uriGeorg Ehrke2020-09-141-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>
* 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>
* Add ability to limit sharing to ownerGeorg Ehrke2020-08-203-4/+35
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Return proper status when file didn't exist beforeJulius Härtl2020-08-131-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Delete chunks if the move on an upload failedJulius Härtl2020-08-131-6/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Short php syntaxJoas Schilling2020-08-061-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* coding style fixesArthur Schiwon2020-08-061-34/+35
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Do not log RequestedRangeNotSatisfiable exceptions in DAVRoeland Jago Douma2020-07-141-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21710 from nextcloud/backport/21074/stable19Morris Jobke2020-07-061-0/+14
|\ | | | | [stable19] Fix releasing a shared lock multiple times
| * In LockPlugin, only release a lock if it was acquiredJaakko Salo2020-07-061-0/+14
| | | | | | | | | | | | | | | | | | When uploading new files, getNodeForPath() will not succeed yet so the lock cannot be acquired. In that case, don't try to unlock it either. Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
* | Changes the Birthday calendar color to slightly brighter oneGeorg Ehrke2020-07-061-1/+1
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix pagination of contacts searchJoas Schilling2020-06-151-17/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix empty event UUID reminder notificationsThomas Citharel2020-06-051-2/+4
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Rename app-generated to z-app-generated, because macOS Contacts supports ↵Georg Ehrke2020-05-081-1/+1
| | | | | | only one and will pick the first one alphabetically Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix owner on publicownerwrapperRoeland Jago Douma2020-05-011-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20718 from nextcloud/fix/public_share_owner_activity_messMorris Jobke2020-04-301-0/+53
|\ | | | | Add a wrapper to fall back to the share owner on public shares
| * Add a wrapper to fall back to the share owner on public sharesRoeland Jago Douma2020-04-301-0/+53
| | | | | | | | | | | | | | | | Else it might happen that we setup a storage that has no real owner and activities do boom etc (looking at you groupfolders and external storages!). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #19436 from nextcloud/bugfix/noid/dav-quota-calculationRoeland Jago Douma2020-04-301-1/+2
|\ \ | | | | | | Do not include mountpoints when calculating quota usage on WebDAV
| * | Do not include mountpoints when calculating quota usage on WebDAVJulius Härtl2020-04-241-1/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #19039 from nextcloud/dav-activity-provide-links-to-calendarRoeland Jago Douma2020-04-304-53/+91
|\ \ \ | | | | | | | | Provide links to calendar in event creation/update activities
| * | | Provide links to calendar in event creation/update activitiesThomas Citharel2020-04-264-53/+91
| |/ / | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Temporary fix contacts searchJoas Schilling2020-04-291-6/+8
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Update license headers for 19Christoph Wurst2020-04-29119-6/+124
| |/ |/| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #20632 from nextcloud/bugfix/20624Morris Jobke2020-04-271-2/+2
|\ \ | |/ |/| Only catch anonymous OPTIONS for Office
| * Only catch anonymous OPTIONS for OfficeJulius Härtl2020-04-241-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #20570 from nextcloud/fix/20235/use_uploadfileRoeland Jago Douma2020-04-242-2/+84
|\ \ | |/ |/| Use a proper upload file so propfinds return 404
| * Use a proper upload file so propfinds return 404Roeland Jago Douma2020-04-212-2/+84
| | | | | | | | | | | | | | | | | | | | Fixes #20235 By using an UploadFile we make sure that we don't need to have another check everywhere for the path. But we just have ot check (which we have to anyway) if it is a proper Connector/File (or directory). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use paginated search for contactsJulius Härtl2020-04-232-0/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #20576 from nextcloud/fix/dav/oc-etagRoeland Jago Douma2020-04-221-1/+1
|\ \ | | | | | | Make sure that OC-ETag is set again
| * | Make sure that OC-ETag is set againRoeland Jago Douma2020-04-211-1/+1
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Fix usages of afterMethod -> afterMethod:*Georg Ehrke2020-04-212-2/+2
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #19901 from nextcloud/bugfix/noid/vcard-photo-handlingRoeland Jago Douma2020-04-172-15/+77
|\ | | | | Improved vcard photo handling
| * Update Contact Size after removing photoGeorg Ehrke2020-04-151-6/+38
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>