summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV
Commit message (Collapse)AuthorAgeFilesLines
* l10n: Spelling unificationValdnet2021-06-211-6/+6
| | | | | | Spelling unification in Transifex. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* l10n: Spelling unificationValdnet2021-06-211-1/+1
| | | | | | Spelling unification in Transifex. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* l10n: Spelling unificationValdnet2021-06-211-17/+17
| | | | | | Spelling unification in Transifex. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Allow apps to get photos of VObjectsJoas Schilling2021-06-091-0/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0423-47/+29
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove since from implementations and fix some more styleJoas Schilling2021-05-256-37/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix PHP CSJoas Schilling2021-05-213-47/+39
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add activities for creating, updating and deleting contactsJoas Schilling2021-05-212-57/+171
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add activities for addressbook managementJoas Schilling2021-05-213-0/+883
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a settingJoas Schilling2021-05-211-0/+88
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a contacts filterJoas Schilling2021-05-211-0/+93
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* remove private AccountManager from SyncServiceArthur Schiwon2021-05-111-7/+6
| | | | | | and fix test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* dav: do not use private AccountManagerArthur Schiwon2021-05-081-41/+20
| | | | | | - also updates data structure in test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix creating vcards with multiple string valuesArthur Schiwon2021-04-301-7/+11
| | | | | | | | Internally it is valid to provide multiple values for a property as plain string. An exampe is given in the PhpDoc of AddressBookImpl::search(). Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Correctly truncate multibyte strings to fit into the databaseChih-Hsuan Yen2021-04-261-1/+1
| | | | | | Closes: #26174 Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
* Map old account scope properties to new namesVincent Petry2021-03-261-2/+2
| | | | | | | | Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-101-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-183-6/+6
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move getChangesForAddressBook to QueryBuilderRoeland Jago Douma2021-02-171-12/+32
| | | | | | Makes psalm happy, and makes me happy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2020-12-301-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22085 from nextcloud/enh/index-socialprofileRoeland Jago Douma2020-12-221-1/+2
|\ | | | | adding social profile to search index
| * adding social profile to search indexmatt2020-08-021-1/+2
| | | | | | required in order to optimize regular background updates of contact avatars from social networks (see https://github.com/nextcloud/contacts/pull/1722#discussion_r463782429)
* | Merge pull request #24515 from nextcloud/fix/noid/dav-share-groups-special-charsChristoph Wurst2020-12-181-3/+0
|\ \ | | | | | | fixes sharing to group ids with characters that are being url encoded
| * | fixes sharing to group ids /w chars that are being url encoded, carddavArthur Schiwon2020-12-161-3/+0
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Update all license headers for Nextcloud 21Christoph Wurst2020-12-164-1/+4
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Make code strictJoas Schilling2020-12-071-9/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Make sure we add new line between vcf groups exportsJohn Molakvoæ (skjnldsv)2020-11-241-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Don't leave cursors open when tests failJoas Schilling2020-11-091-1/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Improve CertificateManager to not be user context dependentMorris Jobke2020-11-031-3/+1
| | | | | | | | | | | | | | | | | | * removes the ability for users to import their own certificates (for external storage) * reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions) The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | handle nested properties, fixes #20544call-me-matt2020-10-121-1/+16
| | | | | | | | Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-056-9/+9
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Sync all users to the system addresssbookJoas Schilling2020-09-211-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-161-3/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-072-0/+2
| | | | | | | | | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Change Content-Disposition HeaderJacob Neplokh2020-09-052-2/+3
| | | | | | | | | | | | | | | | | | | | - 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>
* | Update the license headers for Nextcloud 20Christoph Wurst2020-08-242-2/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Typecast parameter of getAddressBookByIdGeorg Ehrke2020-08-191-1/+1
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Add Typed Events for CalDAV- and CardDAV-related EventsGeorg Ehrke2020-08-181-11/+59
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Fix some MissingDocblockType or InvalidDocblock warnings.Daniel Kesselberg2020-08-142-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | IAddressBook: add isShared and isSystemAddressBookGeorg Ehrke2020-08-051-6/+23
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #22062 from ↵blizzz2020-08-041-36/+38
|\ \ | | | | | | | | | | | | nextcloud/fix/noid/displayname-in-incoming-remote-share-notification fix display of remote users in incoming share notifications
| * | Short php syntaxJoas Schilling2020-08-031-5/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | coding style fixesArthur Schiwon2020-07-301-34/+35
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | 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>
* / Implement Contacts Backend for Unified SearchGeorg Ehrke2020-08-031-8/+53
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* 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>
* 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>
* Fix pagination of contacts searchJoas Schilling2020-06-101-17/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>