Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nextcloud/cdav-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.2
Choose a base ref
...
head repository: nextcloud/cdav-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.3
Choose a head ref

Commits on Oct 27, 2024

  1. fix(deps): Fix npm audit

    Signed-off-by: GitHub <noreply@github.com>
    nextcloud-command authored Oct 27, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lucasfernog Lucas Fernandes Nogueira
    Copy the full SHA
    38b6c33 View commit details

Commits on Oct 28, 2024

  1. docs(reuse): Add SPDX header

    Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
    AndyScherzinger committed Oct 28, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lucasfernog Lucas Fernandes Nogueira
    Copy the full SHA
    210e73e View commit details
  2. ci(reuse): Add reuse check

    Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
    AndyScherzinger committed Oct 28, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lucasfernog Lucas Fernandes Nogueira
    Copy the full SHA
    1a34fcc View commit details
  3. docs(readme): Add reuse badge

    Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
    AndyScherzinger committed Oct 28, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lucasfernog Lucas Fernandes Nogueira
    Copy the full SHA
    2a765b2 View commit details
  4. Merge pull request #926 from nextcloud/docs/noid/reuse-compliance

    Add reuse compliance
    AndyScherzinger authored Oct 28, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lucasfernog Lucas Fernandes Nogueira
    Copy the full SHA
    58824de View commit details
  5. chore(deps-dev): Bump elliptic from 6.5.7 to 6.6.0

    Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.7 to 6.6.0.
    - [Commits](indutny/elliptic@v6.5.7...v6.6.0)
    
    ---
    updated-dependencies:
    - dependency-name: elliptic
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 28, 2024
    Copy the full SHA
    e7ed041 View commit details
  6. Merge pull request #927 from nextcloud/dependabot/npm_and_yarn/ellipt…

    …ic-6.6.0
    dependabot[bot] authored Oct 28, 2024
    Copy the full SHA
    5953580 View commit details

Commits on Oct 29, 2024

  1. Merge pull request #925 from nextcloud/automated/noid/main-fix-npm-audit

    [main] Fix npm audit
    st3iny authored Oct 29, 2024
    Copy the full SHA
    af679b4 View commit details

Commits on Dec 26, 2024

  1. chore(CI): Updating reuse.yml workflow from template

    Signed-off-by: Nextcloud bot <bot@nextcloud.com>
    nextcloud-bot committed Dec 26, 2024
    Copy the full SHA
    1f3932d View commit details

Commits on Dec 29, 2024

  1. Merge pull request #929 from nextcloud/feat/workflow-auto-update-reus…

    …e.yml
    
    chore(CI): Updating reuse.yml workflow from template
    AndyScherzinger authored Dec 29, 2024
    Copy the full SHA
    aa51c3a View commit details

Commits on Jan 22, 2025

  1. chore(deps-dev): Bump vite from 5.4.6 to 5.4.14

    Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.6 to 5.4.14.
    - [Release notes](https://github.com/vitejs/vite/releases)
    - [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
    - [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)
    
    ---
    updated-dependencies:
    - dependency-name: vite
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 22, 2025
    Copy the full SHA
    0185728 View commit details
  2. Merge pull request #930 from nextcloud/dependabot/npm_and_yarn/vite-5…

    ….4.14
    dependabot[bot] authored Jan 22, 2025
    Copy the full SHA
    000eb32 View commit details

Commits on Feb 2, 2025

  1. fix(deps): Fix npm audit

    Signed-off-by: GitHub <noreply@github.com>
    nextcloud-command authored Feb 2, 2025
    Copy the full SHA
    cfdc175 View commit details

Commits on Feb 4, 2025

  1. Merge pull request #928 from nextcloud/automated/noid/main-fix-npm-audit

    [main] Fix npm audit
    st3iny authored Feb 4, 2025
    Copy the full SHA
    ccff1c7 View commit details

Commits on Feb 20, 2025

  1. build: migrate tests from Karama and Jasmine to Vitest

    The test were migrated by:
      1. running `npx jest-codemod`
      2. running `npx codemod jest-to-vitest`
      3. replacing calls to `pending`
      4. replacing `fail` with `assert.fail`
    
    Resolves #902
    
    Signed-off-by: Oleksandr Dzhychko <oleksandr@dzhychko.de>
    odzhychko committed Feb 20, 2025
    Copy the full SHA
    8def255 View commit details

Commits on Mar 22, 2025

  1. test: remove empty test

    Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
    st3iny committed Mar 22, 2025
    Copy the full SHA
    cd2c949 View commit details
  2. test: convert spaces to tabs

    Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
    st3iny committed Mar 22, 2025
    Copy the full SHA
    89e6ee6 View commit details
  3. Merge pull request #931 from odzhychko/vitest

    build: migrate tests from Karama and Jasmine to Vitest
    st3iny authored Mar 22, 2025
    Copy the full SHA
    9e10ac2 View commit details
  4. fix(deps): Fix npm audit

    Signed-off-by: GitHub <noreply@github.com>
    nextcloud-command authored Mar 22, 2025
    Copy the full SHA
    7ea0647 View commit details
  5. Merge pull request #932 from nextcloud/automated/noid/main-fix-npm-audit

    [main] Fix npm audit
    st3iny authored Mar 22, 2025
    Copy the full SHA
    d6885e2 View commit details
  6. chore(release): v1.5.3

    Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
    st3iny committed Mar 22, 2025
    Copy the full SHA
    9171945 View commit details
Showing with 11,964 additions and 16,032 deletions.
  1. +2 −0 .editorconfig
  2. +5 −0 .eslintrc.cjs
  3. +2 −0 .gitattributes
  4. +2 −2 .github/ISSUE_TEMPLATE/bug_report_form.yml
  5. +2 −0 .github/ISSUE_TEMPLATE/bug_report_form.yml.license
  6. +12 −0 .github/ISSUE_TEMPLATE/config.yml
  7. +2 −2 .github/ISSUE_TEMPLATE/feature_request_form.yml
  8. +2 −0 .github/ISSUE_TEMPLATE/feature_request_form.yml.license
  9. +2 −0 .github/workflows/build.yml
  10. +2 −0 .github/workflows/conventional_commits.yml
  11. +2 −0 .github/workflows/lint.yml
  12. +5 −0 .github/workflows/npm-test.yml
  13. +24 −0 .github/workflows/reuse.yml
  14. +2 −0 .gitignore
  15. +20 −0 AUTHORS.md
  16. +8 −0 CHANGELOG.md
  17. +235 −0 LICENSES/AGPL-3.0-or-later.txt
  18. +121 −0 LICENSES/CC0-1.0.txt
  19. +9 −0 LICENSES/MIT.txt
  20. +2 −0 Makefile
  21. +5 −0 README.md
  22. +19 −0 REUSE.toml
  23. +0 −3 babel.config.cjs
  24. +0 −36 karma.conf.cjs
  25. +8,452 −13,564 package-lock.json
  26. +8 −19 package.json
  27. +2 −16 src/debug.js
  28. +2 −16 src/errors/attachError.js
  29. +2 −16 src/errors/networkRequestAbortedError.js
  30. +2 −16 src/errors/networkRequestClientError.js
  31. +2 −16 src/errors/networkRequestError.js
  32. +2 −16 src/errors/networkRequestHttpError.js
  33. +2 −16 src/errors/networkRequestServerError.js
  34. +2 −17 src/index.js
  35. +2 −16 src/models/addressBook.js
  36. +3 −16 src/models/addressBookHome.js
  37. +2 −16 src/models/calendar.js
  38. +3 −16 src/models/calendarHome.js
  39. +2 −16 src/models/calendarTrashBin.js
  40. +3 −16 src/models/davCollection.js
  41. +3 −16 src/models/davCollectionPublishable.js
  42. +3 −16 src/models/davCollectionShareable.js
  43. +2 −16 src/models/davEvent.js
  44. +2 −16 src/models/davEventListener.js
  45. +2 −16 src/models/davObject.js
  46. +2 −16 src/models/deletedCalendar.js
  47. +2 −17 src/models/principal.js
  48. +2 −16 src/models/scheduleInbox.js
  49. +2 −16 src/models/scheduleOutbox.js
  50. +2 −16 src/models/subscription.js
  51. +2 −16 src/models/vcard.js
  52. +2 −16 src/models/vobject.js
  53. +2 −17 src/parser.js
  54. +2 −16 src/propset/addressBookPropSet.js
  55. +2 −16 src/propset/calendarPropSet.js
  56. +2 −16 src/propset/davCollectionPropSet.js
  57. +2 −19 src/propset/principalPropSet.js
  58. +2 −16 src/propset/scheduleInboxPropSet.js
  59. +2 −16 src/request.js
  60. +2 −16 src/utility/namespaceUtility.js
  61. +2 −16 src/utility/stringUtility.js
  62. +2 −16 src/utility/xmlUtility.js
  63. +8 −20 test/unit/debugTest.js
  64. 0 test/unit/indexTest.js
  65. +44 −41 test/unit/models/addressBookHomeTest.js
  66. +207 −79 test/unit/models/addressBookTest.js
  67. +162 −119 test/unit/models/calendarHomeTest.js
  68. +244 −92 test/unit/models/calendarTest.js
  69. +26 −29 test/unit/models/davCollectionPublishableTest.js
  70. +55 −44 test/unit/models/davCollectionShareableTest.js
  71. +414 −168 test/unit/models/davCollectionTest.js
  72. +11 −22 test/unit/models/davEventListenerTest.js
  73. +7 −18 test/unit/models/davEventTest.js
  74. +564 −166 test/unit/models/davObjectTest.js
  75. +146 −44 test/unit/models/principalTest.js
  76. +37 −23 test/unit/models/scheduleInboxTest.js
  77. +40 −25 test/unit/models/scheduleOutboxTest.js
  78. +4 −21 test/unit/models/subscriptionTest.js
  79. +38 −24 test/unit/models/vcardTest.js
  80. +38 −24 test/unit/models/vobjectTest.js
  81. +13 −25 test/unit/parserTest.js
  82. +4 −16 test/unit/propset/addressBookPropSetTest.js
  83. +4 −16 test/unit/propset/calendarPropSetTest.js
  84. +4 −16 test/unit/propset/davCollectionPropSetTest.js
  85. +4 −19 test/unit/propset/principalPropSet.js
  86. +4 −16 test/unit/propset/scheduleInboxPropSetTest.js
  87. +611 −447 test/unit/requestTest.js
  88. +21 −32 test/unit/utility/namespaceUtilityTest.js
  89. +53 −64 test/unit/utility/stringUtilityTest.js
  90. +162 −173 test/unit/utility/xmlUtilityTest.js
  91. +17 −0 vite.config.js
  92. +0 −22 webpack.common.js
  93. +0 −12 webpack.dev.js
  94. +0 −7 webpack.prod.js
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
root = true
# General
[*]
5 changes: 5 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

module.exports = {
extends: [
'@nextcloud',
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
/dist/*.js binary
/dist/*.js.map binary
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report_form.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Bug"
description: "Have you encountered a bug?"
name: "🐞 Bug report"
description: "Help us to improve by reporting a bug"
labels: ["bug", "0. to triage"]
body:
- type: textarea
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_form.yml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
contact_links:
- name: 🚨 Report a security or privacy issue
url: https://hackerone.com/nextcloud
about: Report security and privacy related issues privately to the Nextcloud team, so we can coordinate the fix and release without potentially exposing all Nextcloud servers and users in the meantime.
- name: ❓ Community Support and Help
url: https://help.nextcloud.com/
about: Configuration, webserver/proxy or performance issues and other questions
- name: 💼 Nextcloud Enterprise
url: https://portal.nextcloud.com/
about: If you are a Nextcloud Enterprise customer, or need Professional support, so it can be resolved directly by our dedicated engineers more quickly
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request_form.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Feature request"
description: "You have a neat idea that should be implemented?"
name: "🚀 Feature request"
description: "Suggest an idea for this library"
labels: ["enhancement", "0. to triage"]
body:
- type: textarea
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_form.yml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Build

on:
2 changes: 2 additions & 0 deletions .github/workflows/conventional_commits.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Conventional Commits

on:
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 20210 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint

on:
5 changes: 5 additions & 0 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Test

on:
@@ -26,5 +28,8 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install firefox --with-deps

- name: Test
run: npm run test
24 changes: 24 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0

name: REUSE Compliance Check

on: [pull_request]

jobs:
reuse-compliance-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: REUSE Compliance Check
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm

20 changes: 20 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!--
- SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Authors

- Andy Scherzinger <info@andy-scherzinger.de>
- Anna Larch <anna@nextcloud.com>
- Christoph Wurst <christoph@winzerhof-wurst.at>
- Daniel <mail@danielkesselberg.de>
- Georg Ehrke <developer@georgehrke.com>
- Greta <gretadoci@gmail.com>
- John Molakvoæ <skjnldsv@protonmail.com>
- Julia Kirschenheuter <6078378+JuliaKirschenheuter@users.noreply.github.com>
- Raimund Schlüßler <raimund.schluessler@mailbox.org>
- Richard Steinmetz <richard@steinmetz.cloud>
- Roeland Jago Douma <rullzer@users.noreply.github.com>
- Thomas Citharel <tcit@tcit.fr>
- Tobias Speicher <rootcommander@gmail.com>
- William J. Bowman <wjb@williamjbowman.com>
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
<!--
- SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Changelog

All notable changes to this project will be documented in this file.

## v1.5.3 - 2025-03-22
### Fixed
- Update vulnerable dependencies

## v1.5.2 - 2024-10-14
### Fixed
- Update vulnerable dependencies
Loading