Commit graph

23 commits

Author SHA1 Message Date
Carl Schwan
623293c2dd Fix node tests ci
- Update jest snapshot
- Fix importing 3rdparty vue components
- Disable temporarely tests using nextcloud-vue/Button

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-30 10:54:45 +02:00
Carl Schwan
1fc2e903a7
Merge pull request #32557 from nextcloud/cleanup/dav-admin-settings
Modernize the dav admin settings
2022-05-24 21:11:22 +02:00
Carl Schwan
8c3421e7d8 Modernize the dav admin settings
- Use nextcloud-vue components (with proper doc link now)
- Add underline to links so we can see them (accessibility++)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 10:25:52 +02:00
Joas Schilling
da7ebef8ef
Update DAV availability vue component to standard
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-23 15:31:46 +02:00
Daniel Teichmann
f4148820ff
Add JS Unit tests for new 'sendEventRemindersToSharedGroupMembers' setting.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2022-03-21 13:03:13 +01:00
Daniel Teichmann
73a7ced1fd
Fix #31303: Make reminder notification behaviour selectable.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2022-03-21 13:02:46 +01:00
Thomas Citharel
9c07e47c78 Fix link to calendar user docs in groupware settings
Closes #31617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-18 16:52:30 +00:00
Vanessa Pertsch
383245ff67 replace button with vue button component 2022-02-21 16:32:16 +01:00
Christoph Wurst
daf1b5f6a3
Replace CalDAV availability component with component lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-17 09:38:42 +01:00
Valdnet
62e7245fa3
i10n: Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-31 12:12:36 +01:00
Louis Chemineau
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Quentin Guidée
314c324a93
Fix groupware visual issue: remove useless additional class
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 12:11:04 +01:00
Quentin Guidée
2ef3a87a46
Fix groupware visual issue and improve spacing
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 11:02:36 +01:00
greta
3b22d1902d
Polish availibility settings
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-09 11:58:21 +01:00
Christoph Wurst
a34f94df69
Get VTIMEZONE data from a time zone database lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-25 15:56:46 +02:00
Christoph Wurst
9b6238aabd
Read and write time zone ID when updating CalDAV availability
Tiny bug/limitation of #27466

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-25 11:08:37 +02:00
Christoph Wurst
e23a38e486
Prevent duplicate CalDAV availability slots for recurring slots
If there is the same time slot for more than one day, then we wrote two
recurring AVAILABILITY components before. With this patch equal blocks
are combined into one recurring component. This makes the generated
rules more compact and easier to work with.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-20 12:15:56 +02:00
Christoph Wurst
227045ae63
Add missing trailing commas in DAV availability settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-19 09:44:19 +02:00
Christoph Wurst
f432dd2e2e
Add scheduling availability settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-18 20:21:51 +02:00
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>
2021-06-05 11:22:25 +02:00