Commit Graph

255 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
Nextcloud bot 26f537fbec
[tx-robot] updated from transifex 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æ fd63132f47
Merge pull request #27286 from francoisfreitag/rewrite-npm-test-with-jest
Rewrite requesttoken.spec.js with Jest
3 years ago
Nextcloud bot 9e596dd0cf
[tx-robot] updated from transifex 3 years ago
François Freitag b0847abcc2 Rewrite requesttoken.spec.js with Jest
[Jest](https://jestjs.io/) is a test runner that focuses on simplicity.
It instruments babel to transform modules and test them.

Using Jest simplifies the existing configuration and allows dropping a
bunch of workarounds, as well as following the shared Babel
configuration for new code.

Signed-off-by: François Freitag <mail@franek.fr>
3 years ago
John Molakvoæ (skjnldsv) 53dd7c0c20
Npm build
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
dependabot-preview[bot] b1eb1b6311
Bump core-js from 3.10.1 to 3.13.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.10.1 to 3.13.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.13.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years ago
dependabot[bot] 83ebcf2a7a
Bump css-loader from 5.2.0 to 5.2.6
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.0 to 5.2.6.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.0...v5.2.6)

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
John Molakvoæ (skjnldsv) fb33652982
Replace node-sass with sass
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
dependabot-preview[bot] b563b98fd5
Bump @nextcloud/vue from 3.7.2 to 3.10.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.7.2 to 3.10.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/v3.10.0/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.7.2...v3.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
dependabot-preview[bot] 712a10f018
Bump @nextcloud/browserslist-config from 1.0.0 to 2.1.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 1.0.0 to 2.1.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v1.0.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
Valdnet e7c7f9da40 l10n: Unify spelling in "Readme"
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
Nextcloud bot 06377b7df1
[tx-robot] updated from transifex 3 years ago
Nextcloud bot da17db0fdc
[tx-robot] updated from transifex 3 years ago
Roeland Jago Douma 7d8ff27928
Merge pull request #26558 from J0WI/dashboard-strict
Dashboard: add missing strict_types
3 years ago
Nextcloud bot 07278ed57d
[tx-robot] updated from transifex 3 years ago
J0WI 684a0da48a Dashboard: add missing strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 years ago
dependabot-preview[bot] e2645a5e70 Bump core-js from 3.9.1 to 3.10.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.9.1 to 3.10.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.10.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
Nextcloud bot 41216e68bf
[tx-robot] updated from transifex 3 years ago
Nextcloud bot 4bea123c7a
[tx-robot] updated from transifex 3 years ago
John Molakvoæ (skjnldsv) 11437223e9
Compile node
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
John Molakvoæ (skjnldsv) 3e624dc399
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Nextcloud bot 855b5fc638
[tx-robot] updated from transifex 3 years ago
Nextcloud bot aec9c8437a
[tx-robot] updated from transifex 3 years ago
Nextcloud bot 9af8c0b380
[tx-robot] updated from transifex 3 years ago
Nextcloud bot a81408a8e1
[tx-robot] updated from transifex 3 years ago
Nextcloud bot ae19cb168f
[tx-robot] updated from transifex 3 years ago
Jo Sprague dc1413cad9
Make background cover whole viewport
Without a min-height, wider viewports can result in a blank white space at the bottom of the screen. This CSS ensures that doesn't happen.

Signed-off-by: Jo Sprague <git@josprague.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
Nextcloud bot 9e70b83f13
[tx-robot] updated from transifex 3 years ago
John Molakvoæ (skjnldsv) 043b5a9de4
Fix TerserPlugin
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
John Molakvoæ (skjnldsv) 5d9bb5e247
Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
John Molakvoæ (skjnldsv) 7f06a0cf8e
Compile js
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
dependabot-preview[bot] 613a5760f1 Bump css-loader from 5.0.1 to 5.1.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.0.1 to 5.1.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.0.1...v5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
Nextcloud bot 310e6550b1
[tx-robot] updated from transifex 3 years ago
dependabot-preview[bot] 6c8650d414 Bump core-js from 3.8.3 to 3.9.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.8.3 to 3.9.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.9.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Nextcloud bot a6c9688fd6
[tx-robot] updated from transifex 3 years ago
Nextcloud bot 9a90bfba32
[tx-robot] updated from transifex 3 years ago
Nextcloud bot c8f7a808fd
[tx-robot] updated from transifex 3 years ago
Nextcloud bot ff54a0481b
[tx-robot] updated from transifex 3 years ago
Nextcloud bot c222bac9ed
[tx-robot] updated from transifex 3 years ago
Nextcloud bot 57212a99f9
[tx-robot] updated from transifex 3 years ago
Nextcloud bot 45d36ec2b2
[tx-robot] updated from transifex 3 years ago
Roeland Jago Douma a6cd238517 Some psalm fixes for the DashboardController
* Use the AppFramework IInitialState
* Set return type

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Nextcloud bot decb70b9ac
[tx-robot] updated from transifex 3 years ago
dependabot-preview[bot] a21a8adb2b Bump @babel/preset-env from 7.12.11 to 7.12.13
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
Nextcloud bot f19287ae57
[tx-robot] updated from transifex 3 years ago
Joas Schilling 9de00f3d24
This is 22
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Nextcloud bot d1bdd1ceba
[tx-robot] updated from transifex 3 years ago