Browse Source
chore: adjust tests
chore: adjust tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>pull/56333/head
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
5 changed files with 700 additions and 860 deletions
-
1apps/dav/src/views/CalDavSettings.spec.js
-
434apps/dav/src/views/__snapshots__/CalDavSettings.spec.js.snap
-
2apps/dav/src/views/__snapshots__/CalDavSettings.spec.js.snap.license
-
1122package-lock.json
-
1package.json
@ -1,434 +0,0 @@ |
|||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html |
|||
|
|||
exports[`CalDavSettings > interactions 1`] = ` |
|||
<div> |
|||
<div |
|||
class="settings-section settings-section--limit-width" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
<h2 |
|||
class="settings-section__name" |
|||
data-v-5e563b2b="" |
|||
> |
|||
Calendar server |
|||
<a |
|||
aria-label="External documentation for Calendar server" |
|||
class="settings-section__info" |
|||
data-v-5e563b2b="" |
|||
href="https://docs.nextcloud.com/server/31/go.php?to=user-sync-calendars" |
|||
rel="noreferrer nofollow" |
|||
target="_blank" |
|||
title="External documentation for Calendar server" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="material-design-icon help-circle-icon" |
|||
data-v-5e563b2b="" |
|||
role="img" |
|||
> |
|||
<svg |
|||
class="material-design-icon__svg" |
|||
fill="currentColor" |
|||
height="20" |
|||
viewBox="0 0 24 24" |
|||
width="20" |
|||
> |
|||
<path |
|||
d="M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z" |
|||
> |
|||
<!----> |
|||
</path> |
|||
</svg> |
|||
</span> |
|||
</a> |
|||
</h2> |
|||
<!----> |
|||
<p |
|||
class="settings-hint" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
Also install the |
|||
<a |
|||
href="../apps/office/calendar" |
|||
target="_blank" |
|||
> |
|||
Calendar app |
|||
</a> |
|||
, or |
|||
<a |
|||
href="https://docs.nextcloud.com/server/31/go.php?to=user-sync-calendars" |
|||
rel="noreferrer noopener" |
|||
target="_blank" |
|||
> |
|||
connect your desktop & mobile for syncing ↗ |
|||
</a> |
|||
. |
|||
</p> |
|||
<p |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
<span |
|||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked" |
|||
data-v-2c897dd5="" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
style="--icon-size: 36px; --icon-height: 16px;" |
|||
> |
|||
<input |
|||
aria-labelledby="caldavSendInvitations-label" |
|||
class="checkbox-radio-switch__input" |
|||
data-v-2c897dd5="" |
|||
id="caldavSendInvitations" |
|||
type="checkbox" |
|||
value="" |
|||
/> |
|||
<span |
|||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text" |
|||
data-v-2c897dd5="" |
|||
data-v-3714b019="" |
|||
id="caldavSendInvitations-label" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon" |
|||
data-v-3714b019="" |
|||
inert="inert" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="material-design-icon toggle-switch-icon" |
|||
data-v-3714b019="" |
|||
role="img" |
|||
> |
|||
<svg |
|||
class="material-design-icon__svg" |
|||
fill="currentColor" |
|||
height="36" |
|||
viewBox="0 0 24 24" |
|||
width="36" |
|||
> |
|||
<path |
|||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" |
|||
> |
|||
<!----> |
|||
</path> |
|||
</svg> |
|||
</span> |
|||
</span> |
|||
<span |
|||
class="checkbox-content__text checkbox-radio-switch__text" |
|||
data-v-3714b019="" |
|||
> |
|||
Send invitations to attendees |
|||
</span> |
|||
</span> |
|||
</span> |
|||
<em |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
Please make sure to properly set up |
|||
<a |
|||
href="../admin#mail_general_settings" |
|||
> |
|||
the email server |
|||
</a> |
|||
. |
|||
</em> |
|||
</p> |
|||
<p |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
<span |
|||
class="checkbox-radio-switch checkbox checkbox-radio-switch-switch checkbox-radio-switch--checked" |
|||
data-v-2c897dd5="" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
style="--icon-size: 36px; --icon-height: 16px;" |
|||
> |
|||
<input |
|||
aria-labelledby="caldavGenerateBirthdayCalendar-label" |
|||
class="checkbox-radio-switch__input" |
|||
data-v-2c897dd5="" |
|||
id="caldavGenerateBirthdayCalendar" |
|||
type="checkbox" |
|||
value="" |
|||
/> |
|||
<span |
|||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text" |
|||
data-v-2c897dd5="" |
|||
data-v-3714b019="" |
|||
id="caldavGenerateBirthdayCalendar-label" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon" |
|||
data-v-3714b019="" |
|||
inert="inert" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="material-design-icon toggle-switch-icon" |
|||
data-v-3714b019="" |
|||
role="img" |
|||
> |
|||
<svg |
|||
class="material-design-icon__svg" |
|||
fill="currentColor" |
|||
height="36" |
|||
viewBox="0 0 24 24" |
|||
width="36" |
|||
> |
|||
<path |
|||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" |
|||
> |
|||
<!----> |
|||
</path> |
|||
</svg> |
|||
</span> |
|||
</span> |
|||
<span |
|||
class="checkbox-content__text checkbox-radio-switch__text" |
|||
data-v-3714b019="" |
|||
> |
|||
Automatically generate a birthday calendar |
|||
</span> |
|||
</span> |
|||
</span> |
|||
<em |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
Birthday calendars will be generated by a background job. |
|||
</em> |
|||
<br |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
/> |
|||
<em |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
Hence they will not be available immediately after enabling but will show up after some time. |
|||
</em> |
|||
</p> |
|||
<p |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
<span |
|||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked" |
|||
data-v-2c897dd5="" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
style="--icon-size: 36px; --icon-height: 16px;" |
|||
> |
|||
<input |
|||
aria-labelledby="caldavSendEventReminders-label" |
|||
class="checkbox-radio-switch__input" |
|||
data-v-2c897dd5="" |
|||
id="caldavSendEventReminders" |
|||
type="checkbox" |
|||
value="" |
|||
/> |
|||
<span |
|||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text" |
|||
data-v-2c897dd5="" |
|||
data-v-3714b019="" |
|||
id="caldavSendEventReminders-label" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon" |
|||
data-v-3714b019="" |
|||
inert="inert" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="material-design-icon toggle-switch-icon" |
|||
data-v-3714b019="" |
|||
role="img" |
|||
> |
|||
<svg |
|||
class="material-design-icon__svg" |
|||
fill="currentColor" |
|||
height="36" |
|||
viewBox="0 0 24 24" |
|||
width="36" |
|||
> |
|||
<path |
|||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" |
|||
> |
|||
<!----> |
|||
</path> |
|||
</svg> |
|||
</span> |
|||
</span> |
|||
<span |
|||
class="checkbox-content__text checkbox-radio-switch__text" |
|||
data-v-3714b019="" |
|||
> |
|||
Send notifications for events |
|||
</span> |
|||
</span> |
|||
</span> |
|||
<em |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
Please make sure to properly set up |
|||
<a |
|||
href="../admin#mail_general_settings" |
|||
> |
|||
the email server |
|||
</a> |
|||
. |
|||
</em> |
|||
<br |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
/> |
|||
<em |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
Notifications are sent via background jobs, so these must occur often enough. |
|||
</em> |
|||
</p> |
|||
<p |
|||
class="indented" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
<span |
|||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked" |
|||
data-v-2c897dd5="" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
style="--icon-size: 36px; --icon-height: 16px;" |
|||
> |
|||
<input |
|||
aria-labelledby="caldavSendEventRemindersToSharedGroupMembers-label" |
|||
class="checkbox-radio-switch__input" |
|||
data-v-2c897dd5="" |
|||
id="caldavSendEventRemindersToSharedGroupMembers" |
|||
type="checkbox" |
|||
value="" |
|||
/> |
|||
<span |
|||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text" |
|||
data-v-2c897dd5="" |
|||
data-v-3714b019="" |
|||
id="caldavSendEventRemindersToSharedGroupMembers-label" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon" |
|||
data-v-3714b019="" |
|||
inert="inert" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="material-design-icon toggle-switch-icon" |
|||
data-v-3714b019="" |
|||
role="img" |
|||
> |
|||
<svg |
|||
class="material-design-icon__svg" |
|||
fill="currentColor" |
|||
height="36" |
|||
viewBox="0 0 24 24" |
|||
width="36" |
|||
> |
|||
<path |
|||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" |
|||
> |
|||
<!----> |
|||
</path> |
|||
</svg> |
|||
</span> |
|||
</span> |
|||
<span |
|||
class="checkbox-content__text checkbox-radio-switch__text" |
|||
data-v-3714b019="" |
|||
> |
|||
Send reminder notifications to calendar sharees as well |
|||
</span> |
|||
</span> |
|||
</span> |
|||
<em |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
Reminders are always sent to organizers and attendees. |
|||
</em> |
|||
</p> |
|||
<p |
|||
class="indented" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
> |
|||
<span |
|||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked" |
|||
data-v-2c897dd5="" |
|||
data-v-5e563b2b="" |
|||
data-v-6b8d4c30="" |
|||
style="--icon-size: 36px; --icon-height: 16px;" |
|||
> |
|||
<input |
|||
aria-labelledby="caldavSendEventRemindersPush-label" |
|||
class="checkbox-radio-switch__input" |
|||
data-v-2c897dd5="" |
|||
id="caldavSendEventRemindersPush" |
|||
type="checkbox" |
|||
value="" |
|||
/> |
|||
<span |
|||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text" |
|||
data-v-2c897dd5="" |
|||
data-v-3714b019="" |
|||
id="caldavSendEventRemindersPush-label" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon" |
|||
data-v-3714b019="" |
|||
inert="inert" |
|||
> |
|||
<span |
|||
aria-hidden="true" |
|||
class="material-design-icon toggle-switch-icon" |
|||
data-v-3714b019="" |
|||
role="img" |
|||
> |
|||
<svg |
|||
class="material-design-icon__svg" |
|||
fill="currentColor" |
|||
height="36" |
|||
viewBox="0 0 24 24" |
|||
width="36" |
|||
> |
|||
<path |
|||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" |
|||
> |
|||
<!----> |
|||
</path> |
|||
</svg> |
|||
</span> |
|||
</span> |
|||
<span |
|||
class="checkbox-content__text checkbox-radio-switch__text" |
|||
data-v-3714b019="" |
|||
> |
|||
Enable notifications for events via push |
|||
</span> |
|||
</span> |
|||
</span> |
|||
</p> |
|||
</div> |
|||
</div> |
|||
`; |
|||
@ -1,2 +0,0 @@ |
|||
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors |
|||
SPDX-License-Identifier: AGPL-3.0-or-later |
|||
1122
package-lock.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue