summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV
Commit message (Collapse)AuthorAgeFilesLines
* Correctly trim long cyrillic noteJoas Schilling2020-02-251-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-0515-17/+45
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-226-3/+8
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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-182-1/+10
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | 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>
* do not create folder just to delete it afterwardsArthur Schiwon2019-04-291-7/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* avoids users searches on backend, faster processingArthur Schiwon2019-04-171-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #6512 from coletivoEITA/add_circles_sharing_to_caldavMorris Jobke2019-03-131-1/+3
|\ | | | | Change CALDAV to allow calendars be shared with circles.
| * allow sharing addressbooks with circlesGeorg Ehrke2019-03-011-1/+3
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Fix dav has-photo plugin extendJohn Molakvoæ (skjnldsv)2019-03-031-2/+2
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add HasPhoto DAV pluginJohn Molakvoæ (skjnldsv)2019-02-271-0/+100
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use proper mime type for icoDaniel Kesselberg2019-01-281-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add ico as avatarDaniel Kesselberg2019-01-281-32/+32
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow access to addressbook unique uriJohn Molakvoæ (skjnldsv)2019-01-221-0/+9
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Co-Authored-By: Joas Schilling <coding@schilljs.com>
* Update apps/dav/lib/CardDAV/PhotoCache.php Morris Jobke2019-01-041-1/+1
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Co-Authored-By: skjnldsv <skjnldsv@users.noreply.github.com>
* Log failure on parsingJohn Molakvoæ (skjnldsv)2019-01-042-12/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow URI as data for vcard PHOTOJohn Molakvoæ (skjnldsv)2019-01-042-4/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #12693 from nextcloud/fix/11474/fix-first-ldap-loginblizzz2018-12-171-1/+1
|\ | | | | fix exception on LDAP mapping during login
| * be careful with mixed return values even if it may look unsuspicious…Arthur Schiwon2018-11-271-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | No DAV user enumeration if disabledRoeland Jago Douma2018-12-042-1/+59
| | | | | | | | | | | | | | | | | | Fixes #9058 If the option to autocomplete users is disabled. We also should not enumerate the users on this endpoint. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix the system address bookRoeland Jago Douma2018-12-041-7/+8
|/ | | | | | | | c23a66cda46d9a1f0ce8dc60a6c160809c87d9f6 broke the system address book. We now move the ACL rules for this special case up and all is good in the world again. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fixes dav share issue with ownerGeorg Ehrke2018-11-141-8/+13
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Use the defined func()->count() instead of manual countingJoas Schilling2018-11-081-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add check for vCard uidJohn Molakvoæ (skjnldsv)2018-11-051-0/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Added multi-get vcf download pluginJohn Molakvoæ (skjnldsv)2018-11-041-0/+122
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Phpunit fixJohn Molakvoæ (skjnldsv)2018-11-021-5/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update PHPDoc to reflect the actual behaviourMorris Jobke2018-11-011-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* move migrationJohn Molakvoæ (skjnldsv)2018-11-011-2/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Properly set uid and create and updateJohn Molakvoæ (skjnldsv)2018-11-011-3/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update AddressBookImpl documentationJulius Härtl2018-10-301-1/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make enhancing entries with type property optionalJulius Härtl2018-10-301-4/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add type of properties to address book resultsJulius Härtl2018-10-301-1/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove federated sharing address books which are the same as local onesJulius Härtl2018-10-301-2/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* remove LogicException, because it's also triggered with legitimate parametersGeorg Ehrke2018-09-051-4/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Remove users from system addressbook when user deactivatedThomas Citharel2018-08-061-10/+14
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* When sharing calendars and addressbooks the principal has to be verified to ↵Roeland Jago Douma2018-05-271-1/+1
| | | | | | | | be valid https://github.com/owncloud/core/pull/30149/commits/d3fb8fcdd3a6b00bde0c3c9eb4039876e7fc1967 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8335 from nextcloud/remove-unused-importMorris Jobke2018-02-143-3/+0
|\ | | | | Remove unused import statements
| * Remove unused import statementsMorris Jobke2018-02-143-3/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Simplify return statementMorris Jobke2018-02-131-3/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-2/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do no run SyncJob in cronRoeland Jago Douma2018-01-021-42/+0
| | | | | | | | | | | | | | | | Fixes #7184 The SyncJob can be very resource intensive. Since it requests all users on the system to create the system addressbook. In order to do this it creates a vcard for every user and updates the addressbook. There is no need for this job since the proper signals are emitted and handled in the carddav backend to update the addressbook live. Worst comes to worst there is always the occ command to bring the address book in sync again. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make ContactsStore a public APITobia De Koninck2017-12-111-0/+8
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* 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>
* Change @georgehrke's emailMorris Jobke2017-11-065-4/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-0611-2/+36
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check if the user/group exists for dav sharesJoas Schilling2017-10-051-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't add a LIKE condition when it's not neededThomas Citharel2017-09-251-1/+5
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>