aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Remove the untyped calendar update eventChristoph Wurst2021-05-073-18/+21
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove the untyped calendar create eventChristoph Wurst2021-05-073-14/+19
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #26913 from ↵Christoph Wurst2021-05-078-238/+272
|\ | | | | | | | | nextcloud/chore/dav-calendar-object-untyped-events Drop some more untyped events from the dav code
| * Clean up reminder actions and call methods directlyChristoph Wurst2021-05-073-34/+15
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove the \OCA\DAV\CalDAV\CalDavBackend::createCalendarObject eventChristoph Wurst2021-05-074-34/+40
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove the \OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject eventChristoph Wurst2021-05-074-16/+42
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove the \OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject eventChristoph Wurst2021-05-074-57/+78
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Drop the unused second parameter on \OCA\DAV\CalDAV\CalDavBackend::getSharesChristoph Wurst2021-05-071-2/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #26877 from nextcloud/chore/query-builder-execute-statementMorris Jobke2021-05-051-24/+24
|\ | | | | Rename IQueryBuilder::executeUpdate to IQueryBuilder::executeStatement
| * Fix usage of rename executeUpdateChristoph Wurst2021-05-051-24/+24
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | l10n: Spelling unificationValdnet2021-05-041-1/+1
|/ | | | | Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* 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>
* Exclusively use the typed calendar deletion events for DAVChristoph Wurst2021-04-295-41/+243
| | | | | | | We had both in places, but the old one isn't used anywhere outside this app, so it's time to migrate the code. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Correctly truncate multibyte strings to fit into the databaseChih-Hsuan Yen2021-04-262-4/+4
| | | | | | Closes: #26174 Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
* Close open cursorsChristoph Wurst2021-04-231-3/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the new executeQuery and executeUpdate methodsChristoph Wurst2021-04-231-54/+54
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Drop default fetch mode parameterChristoph Wurst2021-04-231-15/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only set copy etag if the destination source can be foundChristoph Wurst2021-04-231-1/+8
| | | | | | | | | | The etag is only set for files, but it's also possible that in edge cases the copy destination node can't be found. In that case we don't need to set any etag. Required for #26083 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move over notification to new registrationRoeland Jago Douma2021-04-161-6/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #26342 from pirate/cal-invite-email-use-pngsMorris Jobke2021-03-291-7/+7
|\ | | | | Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs
| * change calendar invite emails to use pngs instead of svgsNick Sweeting2021-03-261-7/+7
| | | | | | | | Signed-off-by: Nick Sweeting <git@sweeting.me>
* | 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>
* Merge pull request #22201 from cweiske/20492-move-contacts-with-birthdayJohn Molakvoæ2021-03-261-3/+17
|\ | | | | Delete old birthday calendar object when moving contact to another ad…
| * Delete old birthday calendar object when moving contact to another address bookChristian Weiske2021-03-261-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | When an contact is moved to another address book, the contact is copied to the second address book. During copying, the birthday event is created - but it gets the same UID as the contact's birthday event in the first address book. To prevent the "Calendar object with uid already exists" error that followed, we need to delete the old entry before the new one is created. Resolves: https://github.com/nextcloud/server/issues/20492 Signed-off-by: Christian Weiske <cweiske@cweiske.de>
* | Fix l10nValdnet2021-03-251-1/+1
|/ | | Issue: #26286
* Only write checksum if we have a valid file infoChristoph Wurst2021-03-221-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-101-13/+23
| | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-104-35/+62
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #25881 from nextcloud/techdept/psalm/sharespluginRoeland Jago Douma2021-03-041-19/+41
|\ | | | | Fix the SharesPlugin
| * Fix the SharesPluginRoeland Jago Douma2021-03-021-19/+41
| | | | | | | | | | | | | | | | Another attempt to fix all the typing and handling in the sharesplugin. In short we should probably have a lot more type hinting in several places. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move DirectMapper to QBMapperRoeland Jago Douma2021-03-031-13/+8
|/ | | | | | Mapper has been deprecated for some time now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-1827-66/+66
| | | | | | | | | | 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>
* Drop redundant indesRoeland Jago Douma2021-02-162-1/+55
| | | | | | | Those indexes are already covered by others. So those can just be used. THose extra indexes just take up space. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix some RedundantCast in dav codeRoeland Jago Douma2021-02-152-3/+3
| | | | | | For #25641 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25595 from ↵Roeland Jago Douma2021-02-151-13/+34
|\ | | | | | | | | nextcloud/enh/caldavbackend/getChangesForCalendar_querybuilder Move getChangesForCalendar to QueryBuilder
| * Move getChangesForCalendar to QueryBuilderRoeland Jago Douma2021-02-151-13/+34
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #25625 from nextcloud/enh/psalm/substrChristoph Wurst2021-02-152-3/+6
|\ \ | | | | | | Check substr results
| * | Check substr resultsRoeland Jago Douma2021-02-152-3/+6
| |/ | | | | | | | | | | | | Else this might lead to unexpeted errors. Found by psalm. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #25636 from nextcloud/fix/psalm/closure_return_typesChristoph Wurst2021-02-153-6/+6
|\ \ | |/ |/| Add some closure return types
| * Add some closure return typesRoeland Jago Douma2021-02-143-6/+6
| | | | | | | | | | | | Found by psalm Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #25580 from nextcloud/enh/fix/psalm_pluginmanagerRoeland Jago Douma2021-02-151-89/+107
|\ \ | | | | | | Enhancing the dav pluginmanager
| * | Fix PluginManager annotationRoeland Jago Douma2021-02-141-89/+107
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Use correct namespace (casing) in CalendarHomeRoeland Jago Douma2021-02-141-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add event for when a direct download is triggeredRobin Appelman2021-02-124-12/+77
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Do not send imip email to invalid recipientsChristoph Wurst2021-02-111-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Parse calendar object for attendees and emit interaction eventsChristoph Wurst2021-02-031-5/+65
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Emit an interaction event for calendar event user attendeesChristoph Wurst2021-02-032-14/+39
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>