Commit Graph

43 Commits (7eee1de65be5b703f535e8ed2e620eaec9db2913)

Author SHA1 Message Date
Christopher Ng 7b93438cf6 chore: Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 12:03:42 +07:00
Ferdinand Thiessen 5eb2a5df7e fix(dav): Update jest snapshot for changed vue sidebar tab
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +07:00
Ferdinand Thiessen 663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +07:00
Christopher Ng b4caff393c chore(deps): Bump @nextcloud/vue from 7.11.4 to 7.11.6
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-16 15:49:11 +07:00
Daniel Teichmann 56f36b94e5
Rename setting 'sendEventRemindersToSharedGroupMembers' to 'sendEventRemindersToSharedUsers'.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2023-05-04 13:05:00 +07:00
John Molakvoæ a66cae02ef
fix(deps): update webdav 5 usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +07:00
John Molakvoæ 8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07:00
Christopher Ng 12571079fc Bump @nextcloud/vue from 7.5.0 to 7.7.0
- Add node-polyfill-webpack-plugin to polyfill Node.js core modules

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-23 11:56:13 +07:00
Christopher Ng 3d7a027ad8
Bump @nextcloud/vue, @nextcloud/l10n and @nextcloud/calendar-availability-vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-12 10:22:25 +07:00
Vincent Petry 6f5b8a41a2 Bump @nextcloud/vue from 7.2.0 to 7.3.0
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-05 00:40:02 +07:00
Thomas Citharel ab6e7d33f8 Remove jstz usage from server
Every proper browser has this kind of data now, with more up-to-date
data than what's inside this package, which hasn't been updated in 3
years.

https://github.com/pellepim/jstimezonedetect/issues/6
https://github.com/pellepim/jstimezonedetect/issues/9

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-04 17:40:40 +07:00
John Molakvoæ d78fa59f37
Fix CalDavSettings spec
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-15 19:06:40 +07:00
Carl Schwan 3431e63c12
Bump nc vue to beta2
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 15:17:03 +07:00
Vincent Petry e7fded5b2e
Update snapshot
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:03 +07:00
Vincent Petry d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +07:00
Vincent Petry 7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +07:00
Vincent Petry 10182858b9
Update snapshot
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-10 22:24:13 +07:00
rakekniven d5117af292 l10n: Fixed typo
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-04 07:30:52 +07:00
Joas Schilling c88a30a523
Fix typo of availability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +07:00
Joas Schilling 4f7f4d74db
Add UI to opt-in on the status automation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +07:00
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Vanessa Pertsch 383245ff67 replace button with vue button component 2022-02-21 16:32:16 +07: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 +07:00
Valdnet 62e7245fa3
i10n: Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-31 12:12:36 +07:00
Louis Chemineau e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +07:00
Louis Chemineau 14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +07: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 +07:00
John Molakvoæ (skjnldsv) 74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Christoph Wurst f432dd2e2e
Add scheduling availability settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-18 20:21:51 +07: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 +07:00