Commit Graph

14 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
François Freitag d887851183 Prefer string $file over 1-element array in script()
The string syntax is more obvious. There should be one (and preferably
only one) way of doing things.

Signed-off-by: François Freitag <mail@franek.fr>
3 years ago
rakekniven c24b000c41
l10n. Change grammar.
First I thought to change "send" > "sent".

Later my mind changed to change the complete sentence.
Any native english speaker around? Please check and judge :-)

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
5 years ago
Georg Ehrke 88f6d1c20e
Make push notifications for calendar reminders opt-in
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
5 years ago
Thomas Citharel 7bddcc091d
Support event reminders (email and notifications)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
5 years ago
Georg Ehrke ea1f6f6aef
make text in Groupware Settings translateable
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
5 years ago
Georg Ehrke 6c49dd169b
fix link to Calendar app in Groupware page
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
5 years ago
Georg Ehrke 9cea139634
Turn "email server" in groupware settings to link to mail settings
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
5 years ago
Jan-Christoph Borchardt 3508c2368f
Keep Calendar server settings in groupware but link mail server settings
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 years ago
Jan-Christoph Borchardt 280dce8dbc
Calendar server: Link Calendar app and calendar sync docs
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 years ago
Julius Härtl 9b46814320
Rename CalDAV to Calendar settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago
Georg Ehrke 8b22bfea4f
Add admin checkbox to disable birthday calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
7 years ago
rakekniven 2c93b297f0 Update settings-admin-caldav.php 7 years ago
Georg Ehrke 7828cf454e
add admin settings panel for dav app
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
7 years ago