aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV
Commit message (Collapse)AuthorAgeFilesLines
* feat: Allow AVIF content type in PhotoCachefeat/photo-cache-avifMiguel Sánchez de León Peque2025-03-031-0/+1
| | | | Signed-off-by: Miguel Sánchez de León Peque <peque@ieco.io>
* fix(activity): Fix activity parameter typesbugfix/noid/fix-activity-parameter-typesJoas Schilling2025-02-171-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-131-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Use Http framework where possibleuseHttpFrameworkGit'Fellow2024-12-142-4/+6
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix: return 204 instead of 404fix/issue-3021-return-no-content-instead-of-errorSebastianKrupinski2024-12-131-1/+1
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* chore(profile): move profile app from core to appsskjnldsv2024-11-141-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(carddav): Handle race for SAB creation betterChristoph Wurst2024-11-062-7/+27
| | | | | | | * Accept non repeatable read and INSERT conflict by another read * Handle replication edge case Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat: Allow WebP content type in PhotoCachefeat/photo-cache-webpMiguel Sánchez de León Peque2024-10-281-0/+1
| | | | | Signed-off-by: Miguel Sánchez de León Peque <peque@ieco.io> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(psalm): Fix some newly detected issuesrefactor/apps/constructor-property-promotionprovokateurin2024-10-211-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-2117-215/+85
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Use constant for default valueconfig-carddav-sync-request-timeoutPablo Zmdl2024-10-171-1/+2
| | | | | Co-authored-by: Thomas Citharel <nextcloud@tcit.fr> Signed-off-by: Pablo Zmdl <57864086+pabzm@users.noreply.github.com>
* feat: configurable request timeout for carddav syncPablo Zmdl2024-10-171-2/+7
| | | | | | | | Big federated setups may need a longer timeout, which they now can configure. Signed-off-by: Pablo Zmdl <pablo@nextcloud.com> Co-authored-by: Josh <josh.t.richards@gmail.com>
* chore(db): Correctly apply query typesGit'Fellow2024-10-171-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-153-3/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: make federation address book sync work with allow_local_remote_servers ↵Daniel Kesselberg2024-10-011-10/+36
| | | | | | | | = false Client.preventLocalAddress expects an absolute URL, which means the base_uri option cannot be used. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-202-7/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-194-5/+10
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: move to new activity exceptionrefactor/move-to-new-activity-exceptionAnna Larch2024-09-172-6/+8
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2514-56/+56
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(db): Deprecate `IExpressionBuilder::or()` and ↵Joas Schilling2024-07-191-6/+6
| | | | | | `IExpressionBuilder::and()` without parameters Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(carddav): limit vcard sizeSebastianKrupinski2024-07-041-0/+40
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* chore: don't pass null to createElementDaniel Kesselberg2024-06-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* refactor(dav): migrate to new http clientDaniel Kesselberg2024-06-251-44/+41
| | | | | | The request method is available since 29 and thus we can finally use the modern http client to send the report request for the addressbook sync. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat(ldap): sync additional properties to profile and SABJake Nabasny2024-05-301-2/+27
| | | | | | | | | | | | | | | Synced from LDAP to profile: - Date of birth Synced from LDAP to SAB (via the profile): - Biography - Date of birth Original code by Jake Nabasny (GitHub: @slapcat) Co-authored-by: Jake Nabasny <jake@nabasny.com> Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-1/+1
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Merge pull request #44664 from nextcloud/fix/dav/rate-limit-create-adress-bookHamza2024-05-281-0/+87
|\ | | | | fix(dav): Rate limit address book creation
| * fix(dav): Rate limit address book creationHamza Mahjoubi2024-05-271-0/+87
| | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | chore: Add SPDX headerAndy Scherzinger2024-05-2726-552/+73
|/ | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: Improve phpdoc typing to silence psalm errorsCôme Chilliet2024-04-021-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-024-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): Add retention time to sync token cleanupChristoph Wurst2024-03-211-2/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(dav): ACLs for shared addressbooksChristoph Wurst2024-03-211-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(dav): Fix atomic addressbook updateChristoph Wurst2024-02-291-20/+22
| | | | | | | | | Sabre executes the proppatch callback *after* calling updateAddressbook and not synchronously. That means the code inside the callback was run outside a database transaction. This moves the atomic helper into the callback to create the expected transaction span. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and ↵Anna Larch2024-02-153-40/+104
| | | | | | calendars) Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2313-57/+55
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* refactor(caldav): Use even earlier return and SQL's WHERE INChristoph Wurst2023-11-151-13/+6
| | | | | | | * Early return can operate on the input array * SQL can check be used to check for address book ID inclusion Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(search): allow contacts person searchhamza2212023-11-141-0/+4
| | | | | Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(carddav): Allow advanced search for contactsBenjamin Gaussorgues2023-11-101-12/+42
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #39852 from nextcloud/pragmaHeaderFerdinand Thiessen2023-10-181-1/+0
|\ | | | | Stop sending deprecated Pragma header
| * Stop sending deprecated Pragma headerGit'Fellow2023-08-281-1/+0
| | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_appChristoph Wurst2023-09-177-15/+15
|\ \ | | | | | | Refactors "strpos" calls in /apps/dav
| * \ Merge branch 'master' into replace_strpos_calls_in_dav_appFaraz Samapoor2023-06-273-4/+25
| |\ \ | | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
| * | | Fixes "PossiblyNullArgument" Psalm warnings.Faraz Samapoor2023-06-122-2/+2
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
| * | | Refactors "strpos" calls in /apps/dav to improve code readability.Faraz Samapoor2023-06-127-13/+13
| | | | | | | | | | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* | | | fix(CardDAV): allow disabling of the system address book via config optionAnna Larch2023-09-011-1/+2
| |_|/ |/| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | fix(CardDAV): set owner-principal, displayname properties for SABAnna Larch2023-08-162-4/+3
| | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | Merge pull request #38397 from nextcloud/enh/contacts/hide-adressbook-optionDaniel2023-07-181-10/+14
|\ \ \ | | | | | | | | enh(contacts): show/hide addressbooks for all
| * | | enh(contacts): show/hide addressbooks for allJohannes Merkel2023-07-101-10/+14
| | | | | | | | | | | | | | | | Signed-off-by: Johannes Merkel <mail@johannesgge.de>
* | | | Merge branch 'master' into fix/correct-exceptions-for-SABAnna2023-07-141-1/+3
|\ \ \ \
| * | | | fix(dav): close cursor when fetching max idRichard Steinmetz2023-07-111-1/+3
| |/ / / | | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>