summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-1510-185/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup add owner_id and proxy_id as db index, since we use it for querying Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup don't add ACL for each individual proxy, just use calendar-proxy groups Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup allow delegation of resources / rooms Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix addIndex call in migration Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix remaining constructor calls of Principal Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup minor fixes and unit tests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Early first stage implementation of the groupsetRoeland Jago Douma2019-08-151-2/+54
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the proxymapper to obtain valid proxy dataRoeland Jago Douma2019-08-156-24/+89
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add DB mapper and EntityRoeland Jago Douma2019-08-142-0/+109
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add table to handle calendar delegationsRoeland Jago Douma2019-08-141-0/+53
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #14429 from tobiasKaminsky/shareesOnDavRoeland Jago Douma2019-08-132-50/+109
|\ | | | | Show sharees via propfind
| * get all shares, not only first one per typetobiasKaminsky2019-08-081-2/+1
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * use namespace everywheretobiasKaminsky2019-08-061-3/+3
| | | | | | | | | | | | no camelCase Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * Fix testsRoeland Jago Douma2019-08-011-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * add display name to sharee listtobiasKaminsky2019-07-311-2/+3
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * Unify share fetchingRoeland Jago Douma2019-07-301-99/+27
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Use proper ShareeListRoeland Jago Douma2019-07-302-6/+61
| | | | | | | | | | | | This makes the XML parsing more sane ;) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Use proper cachingRoeland Jago Douma2019-07-301-25/+54
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * wiptobiasKaminsky2019-07-231-58/+32
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * wiptobiasKaminsky2019-07-223-62/+72
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * Show sharees via propfindtobiasKaminsky2019-07-222-1/+62
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* | Allow to do a principal property search based on metadata keysGeorg Ehrke2019-08-011-1/+73
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | sync metadata of rooms / resources with cacheGeorg Ehrke2019-08-011-208/+294
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | provide room / resource properties as principal propertiesGeorg Ehrke2019-08-013-10/+57
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | add oc_calendar_resources_md and oc_calendar_rooms_md tablesGeorg Ehrke2019-08-011-0/+69
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | More precise error message when expected filesize does not match - could be ↵Morris Jobke2019-07-291-3/+2
| | | | | | | | | | | | on reading or writing side Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #16560 from nextcloud/bugfix/noid/fix_cutype_reportingRoeland Jago Douma2019-07-271-11/+16
|\ \ | | | | | | fix calendar-user-type reporting
| * | fix CUType reportingGeorg Ehrke2019-07-261-11/+16
| |/ | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Do not log locked filesRoeland Jago Douma2019-07-261-1/+8
| | | | | | | | | | | | | | This is the code doing its job. There is no need to spam the log file with this. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #16503 from ↵Roeland Jago Douma2019-07-251-0/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/5504/create_new_birthday_calendars_with_VEVENT_only allow to provide supported calendar component set internally as a string
| * | allow to provide supported calendar component set internally as a stringGeorg Ehrke2019-07-221-0/+5
| |/ | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* / Dont assign $options to $options and cleanup docDaniel Kesselberg2019-07-221-3/+1
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #14954 from tacruc/searchPatternsMorris Jobke2019-07-192-5/+13
|\ | | | | Allow to search for real pattern in contacts
| * Allow to search for real pattern in contactsArne Hamann2019-05-282-5/+13
| | | | | | | | | | | | Added an option escape_like_param to allow wildcards Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* | LIMIT is no column but a SQL feature, allow limit on initial syncGeorg Ehrke2019-07-185-1/+74
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | dont use part files for dav writes when the target folder doesn't have ↵Robin Appelman2019-07-031-2/+7
| | | | | | | | | | | | create permissions Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #16199 from ↵Morris Jobke2019-07-021-3/+14
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/refresh_webcal_job_enhancements RefreshWebcalJob: replace ugly Regex with standard php utils
| * | RefreshWebcalJob: replace ugly Regex with standard php utilsGeorg Ehrke2019-07-021-3/+14
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Merge pull request #13186 from labor4/edit_carddav_typesMorris Jobke2019-07-021-1/+1
|\ \ \ | |/ / |/| | add carddav-search (vCard2Array) option for X-ADDRESSBOOKSERVER-MEMBER
| * | add carddav-search option for X-ADDRESSBOOKSERVER-MEMBERlabor42019-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding field X-ADDRESSBOOKSERVER-MEMBER which can be used to relate persons to groups (macos behaviour). - groups are cards with field X-ADDRESSBOOKSERVER-KIND == 'group' - and all members' UUID/URI in the X-ADDRESSBOOKSERVER-MEMBER array of that group-card. Signed-off-by: labor4 <schreibtisch@labor4.ch>
* | | Merge pull request #15777 from nextcloud/feature/ocp-event-dispatcherRoeland Jago Douma2019-06-251-3/+3
|\ \ \ | | | | | | | | Add event dispatcher to OCP
| * | | Add event dispatcher to OCPChristoph Wurst2019-06-251-3/+3
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / log inner exception during dav writeRobin Appelman2019-06-061-1/+1
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Typehint builtin types in constructor to not initiate autoloadingRoeland Jago Douma2019-06-042-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Don't run repair step for every individual user, outsource that to ↵Georg Ehrke2019-05-232-16/+69
| | | | | | | | | | | | background job Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Revert "send invitations for shared calendars"Georg Ehrke2019-05-221-67/+0
|/ | | | This reverts commit a9c313ce451c701a2e065e34022659cf17523963.
* do not create folder just to delete it afterwardsArthur Schiwon2019-04-291-7/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #15141 from nextcloud/fix/noid/regenerate-seen-users-onlyRoeland Jago Douma2019-04-244-5/+5
|\ | | | | fix searching all users in repair regenerate birthday cal reparir job
| * avoids users searches on backend, faster processingArthur Schiwon2019-04-174-5/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Prefetching blows up if there are a lot of files.Roeland Jago Douma2019-04-181-7/+0
|/ | | | | | | | I saw instances where people had a lot of files (each with custom properties) and all this prefetching blew up and started to consume an insane amount of RAM resulting in the process getting killed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Deduplicate index namesJoas Schilling2019-03-271-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure all tables have named indexesJoas Schilling2019-03-271-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* implement principal property search for calendar user address set propertyGeorg Ehrke2019-03-213-0/+25
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #14641 from nextcloud/assemblystream-seekMorris Jobke2019-03-151-3/+37
|\ | | | | make assemblystream seekable
| * make assemblystream seekableRobin Appelman2019-03-131-3/+37
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>