Commit Graph

58699 Commits (70edda034201b9d7c3d38bb714dfb35324b2841c)
 

Author SHA1 Message Date
François Freitag 70edda0342 Port dav calendar settings page to Vue.js
- Drop reliance on deprecated global jQuery object.
- Allow testing user interactions.
- Use newer technology stack.

---

Test user interactions with the groupware dav settings

Add infrastructure to test Vue components:

- Use recommended libraries:

    - https://vuejs.org/v2/guide/testing.html#Recommendations
    - Use jest-dom for robust assertions on the DOM state
    - Use user-event to be more representative of user actions

- Code is transpiled by Jest, with the help of vue-jest.

Ignore test files for no-unpublished-import. Prevent ESLint from
flagging:

```
/home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js
Error:   1:24  error  "@testing-library/vue" is not published         node/no-unpublished-import
Error:   2:23  error  "@testing-library/user-event" is not published  node/no-unpublished-import
```

Signed-off-by: François Freitag <mail@franek.fr>
3 years ago
Nextcloud bot 46dbc8fa98
[tx-robot] updated from transifex 3 years ago
Christoph Wurst 188bc07869
Merge pull request #27348 from nextcloud/enhancement/calendar-trashbin-retention-prop
Export the CalDAV trash bin retention duration as property
3 years ago
Nextcloud bot 26f537fbec
[tx-robot] updated from transifex 3 years ago
blizzz fdb55c65f8
Merge pull request #27342 from nextcloud/version/22.0.0-beta3
22.0.0 beta 3
3 years ago
blizzz 0bbb195af1
Merge pull request #27354 from nextcloud/escape-download-response
Escape filename in Content-Disposition
3 years ago
John Molakvoæ 949102c031
Merge pull request #27088 from nextcloud/fix/27074/removing-apps
Allow removing apps with app store disabled
3 years ago
blizzz aa40bdea0f
Merge pull request #24295 from nextcloud/perf/noid/router
First attempt to check against core routes before loading all app routes
3 years ago
Lukas Reschke 377514aad1 Escape filename in Content-Disposition
We should escape all occurences of ' and \ in here.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 2637f92d96
Merge pull request #27352 from nextcloud/fix/l10n-test
Fix translation phpunit test
3 years ago
John Molakvoæ 9498f44d2e
Merge pull request #27265 from nextcloud/fix/private-class-properties 3 years ago
Christoph Wurst f1444eac5d
Export the CalDAV trash bin retention duration as property
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
John Molakvoæ (skjnldsv) b228e8a361
Fix translation phpunit test
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Julius Härtl 4b1576e978
First attempt to check against core routes before loading all app routes
Most of the time we will find a matching route in either the loaded ones
matched on the URL or in the core ones. Therfore we can attempt to try
those first and only load all app routes if no match was found by the
Symfony URLMatcher.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
John Molakvoæ c1d359b7a2
Merge pull request #27063 from nextcloud/Valdnet-patch-4 3 years ago
Valdnet 9c6b01abeb
l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
3 years ago
John Molakvoæ (skjnldsv) aef00ddeaf Replace proposal-class-private-properties by regular properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
John Molakvoæ d0cf20cc51
Merge pull request #26792 from nextcloud/user-delete-cleanup-files
better cleanup of user files on user deletion
3 years ago
Christoph Wurst ac4ff6c9e3
Merge pull request #27343 from nextcloud/fix/deleted-objects-deletion-missing-acls
Add missing ACLs for deleted calendar objects to fix deletion
3 years ago
Christoph Wurst fc8daf58ee
Add missing ACLs for deleted calendar objects to fix deletion
Due to a bug in Sabre it's necessary for calendar objects to implement
ACLs. Otherwise the scheduling plugin will throw an error when it tries
to fetch the owner of a calendar object that is being deleted.

Ref https://github.com/sabre-io/dav/issues/1345

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Joas Schilling 6578a93463
Merge pull request #27053 from nextcloud/bugfix/noid/dont-throw-when-comments-is-disabled
Don't throw when comments is disabled
3 years ago
Arthur Schiwon a493412cfe
22.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years ago
kesselb d9a9714675
Merge pull request #27340 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
3 years ago
Nextcloud-PR-Bot 4b011e35fa Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
3 years ago
Nextcloud bot 142d311a13
[tx-robot] updated from transifex 3 years ago
Lukas Reschke b65c3f2249
Merge pull request #27291 from nextcloud/Valdnet-patch-2
l10n: Correct spelling
3 years ago
Lukas Reschke 5438e00276
Merge pull request #27329 from nextcloud/propagate-throttle-state-for-baseresponse
Propagate throttling on OCS response
3 years ago
kesselb f4e49b5623
Merge pull request #27327 from nextcloud/fix-grammar-27024
[Fast Review] Fix grammar
3 years ago
Lukas Reschke 446c1c5ade
Merge pull request #27312 from francoisfreitag/tests-at
Rewrite birthday calendar tests without $this->at()
3 years ago
Lukas Reschke 09503b0269
Merge pull request #27316 from nextcloud/bugfix/noid/getNumberOfUnreadCommentsForObjects
Fix populating the array and closing the cursors
3 years ago
Christoph Wurst 84584959b0
Merge pull request #27328 from nextcloud/fix/noid/UserLoggedInEvent-apache-auth
emit UserLoggedInEvent on apache auth
3 years ago
Christoph Wurst 6ea8f6f549
Merge pull request #27331 from nextcloud/debt/noid/add-mbstring-dependency
Add mbstring dependency
3 years ago
Daniel Kesselberg 2b60587a2f
Add mbstring as dependency
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years ago
Lukas Reschke 09abcfadfa Propagate throttling on OCS response
The BaseResponse converter did not take over any throttling state from the DataResponse.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Arthur Schiwon 6ac4eafcf9
emit UserLoggedInEvent on apache auth
- post_login OC_Hook is barely used or listened to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years ago
Lukas Reschke 1b4428644d Fix grammar
changed removed -> removed

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Valdnet 94f475686c
Merge pull request #27317 from nextcloud/Valdnet-patch-3
l10n: Split sentences
3 years ago
Christoph Wurst b29c3aa03f
Merge pull request #25658 from nextcloud/dav-respect-disallow-sharing-with-groups
Dav respect disallow sharing with groups
3 years ago
kesselb 68a02bbef8
Merge pull request #27320 from nextcloud/add-xdebug-env-variable
Add XDEBUG_MODE=coverage
3 years ago
Lukas Reschke a58057c45d Add XDEBUG_MODE=coverage
This should help the Codecov execution jobs.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Valdnet 50e080f37f
l10n: Split sentences 3 years ago
kesselb 4dc8a4d8d9
Merge pull request #27311 from nextcloud/fix/caldav-deleted-objects-uri
Fix loading of delete caldav objet URIs
3 years ago
kesselb 943eefd66c
Merge pull request #27314 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
3 years ago
Joas Schilling c0c5340f4e
Fix populating the array and closing the cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Nextcloud-PR-Bot 2ad2d1258b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
3 years ago
Nextcloud bot f2101487a0
[tx-robot] updated from transifex 3 years ago
François Freitag 22d35141f8 Rewrite birthday calendar tests without $this->at()
Removes warnings:

```
The at() matcher has been deprecated. It will be removed in PHPUnit 10.
Please refactor your test to not rely on the order in which methods are
invoked.
```

Signed-off-by: François Freitag <mail@franek.fr>
3 years ago
Christoph Wurst ff2a730aac
Fix loading of delete caldav objet URIs
Regression of 462962197d

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Christoph Wurst 4fc002a3a5
Merge pull request #27310 from nextcloud/enhancement/caldav-trashbin-objects-calendar-id
Expose calendar-uri as property of deleted caldav events
3 years ago
Christoph Wurst 462962197d
Expose calendar-uri as property of deleted caldav events
The trashbin is one report across all calendars of a user. In order to
refresh the data of a single calendar when one of its events is
restored, we need to know what calendar the event belongs to. There
doesn't seem to be a standard property for a URI, so this adds a custom
Nextcloud prop for the calendar-uri.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago