summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix check for Cloud ID, missing return statements, wrong param useArthur Schiwon2020-07-301-2/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move federated_share_added into a typed eventMorris Jobke2020-07-232-4/+62
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Migrate DAV to the PSR containerChristoph Wurst2020-07-161-7/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not log RequestedRangeNotSatisfiable exceptions in DAVRoeland Jago Douma2020-07-141-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update system addressbook card only when there was a change based on a ↵Morris Jobke2020-07-091-0/+14
| | | | | | | | cached etag Due to our old and new hook system the card dav backend listens to old and new hooks. This triggers this code multiple times and always causes an update. With this change we cache the etag during a request and only trigger the update if the etag has changed. This does not catches all not needed updates, but it does not need another round trip to the database and still covers most cases where multiple attributes are updated during one single request. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #21074 from jvsalo/shared-lock-multi-releaseMorris Jobke2020-07-061-0/+14
|\ | | | | Fix releasing a shared lock multiple times
| * In LockPlugin, only release a lock if it was acquiredJaakko Salo2020-05-241-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>
* | Merge pull request #21222 from ↵Morris Jobke2020-07-061-6/+24
|\ \ | | | | | | | | | | | | nextcloud/bugfix/18965/reduce-contacts-search-load Reduce contacts search load
| * | Reduce load of the contacts search when we know it can't matchJoas Schilling2020-06-151-6/+24
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #18895 from nextcloud/bugfix/noid/fix_birthday_calendar_colorMorris Jobke2020-07-061-1/+1
|\ \ \ | | | | | | | | Changes the Birthday calendar color to slightly brighter one
| * | | Changes the Birthday calendar color to slightly brighter oneGeorg Ehrke2020-01-141-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | Merge pull request #21626 from nextcloud/enhancement/injectible-callablesMorris Jobke2020-07-051-26/+10
|\ \ \ \ | | | | | | | | | | Callable parameter injection
| * | | | Use \OCP\IContainer::injectFn to boot the DAV appChristoph Wurst2020-07-031-26/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #21533 from ↵Roeland Jago Douma2020-07-042-11/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/techdebt/noid/dedicated-method-to-get-a-users-language Techdebt/noid/dedicated method to get a users language
| * | | | Use the new method everywhereJoas Schilling2020-07-032-11/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #21599 from nextcloud/debt/noid/type-to-typesRoeland Jago Douma2020-07-0210-56/+56
|\ \ \ \ \ | | | | | | | | | | | | Replace TYPE with TYPES
| * | | | | Replace TYPE with TYPESDaniel Kesselberg2020-06-3010-56/+56
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / / / / Also always return in app commandsJoas Schilling2020-06-268-11/+19
|/ / / / | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Update share type constant usageJoas Schilling2020-06-242-12/+12
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Move DAV to the new bootstrap mechanismChristoph Wurst2020-06-191-84/+206
| |/ / |/| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Fix pagination of contacts searchJoas Schilling2020-06-101-17/+27
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Allow for compression of the PROPFIND responsesRoeland Jago Douma2020-06-062-0/+79
| | | | | | | | | | | | | | | | | | | | | For now it just gzip and only for propfind (the 99% case). Already saves a bunch since the propfinds compress so nicely. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix empty event UUID reminder notificationsThomas Citharel2020-06-041-2/+4
| |/ |/| | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #20844 from ↵Roeland Jago Douma2020-05-115-12/+23
|\ \ | | | | | | | | | | | | nextcloud/feature/noid/maintenance-mode-webdav-translated Translate the maintenance mode message in webdav
| * | Translate the maintenance mode message in webdavMorris Jobke2020-05-065-12/+23
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Rename app-generated to z-app-generated, because macOS Contacts supports ↵Georg Ehrke2020-05-071-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>
| * | Don't populate the PHOTO property when it's not an imageJoas Schilling2020-04-152-3/+31
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Always transform the etag and read the dataJoas Schilling2020-04-151-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Use table variable everywhereJoas Schilling2020-04-151-7/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Update list of multiple propertiesJohn Molakvoæ (skjnldsv)2020-04-171-13/+2
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | DAV's exception logger should deal with any ThrowableArthur Schiwon2020-04-151-1/+1
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>