Commit graph

2226 commits

Author SHA1 Message Date
Raimund Schlüßler
7d2bcbb3d8
Add stricter tests for week collection
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-09 21:47:34 +01:00
Raimund Schlüßler
10e773a7a2
Add simple test for week view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-07 21:03:44 +01:00
Raimund Schlüßler
b33a08f6d3
Add tests for completed view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 20:28:20 +01:00
Raimund Schlüßler
e75d7fd0ad
Improve test for today collection
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 20:21:56 +01:00
Raimund Schlüßler
a80b78d946
Add simple test for today view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 07:46:52 +01:00
Raimund Schlüßler
229747ef26
Simplify isTaskInList
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 07:46:52 +01:00
Raimund Schlüßler
8fa530149f
Only match uncompleted tasks
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 07:46:52 +01:00
Raimund Schlüßler
6344344f86
Improve tests for starred and current view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 07:46:13 +01:00
Raimund Schlüßler
1ac8a278e3
Add test for current view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-02 20:01:53 +01:00
Raimund Schlüßler
52b44c8686
Add test for starred view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-30 22:20:26 +01:00
Raimund Schlüßler
54ceae13f5
Add test for all view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-30 21:02:23 +01:00
Raimund Schlüßler
5cd822fde4
Set dav on mocked tasks so we get an uri
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-30 20:12:12 +01:00
Raimund Schlüßler
0c86fe6a50
Add tests for current, today and completed collection
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-29 21:40:54 +01:00
Raimund Schlüßler
befa3782aa
Move creating store into separate file
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-29 21:15:25 +01:00
Raimund Schlüßler
899c2c9af1
Add more tests for general collection component
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 21:58:31 +01:00
Raimund Schlüßler
3bef2de2d3
Add test for general collection component
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:58 +01:00
Raimund Schlüßler
b4833a9dce
Sort tests in javascript and php folders
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:49 +01:00
Raimund Schlüßler
18e2e9145b
Make collection id a property
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:42 +01:00
Raimund Schlüßler
09823783ad
Move dayOfTask function to store
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:36 +01:00
Raimund Schlüßler
6c1436a255
Count all tasks that match a collection
Not only root tasks

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:31 +01:00
Raimund Schlüßler
c9835d4c93
Adjust which subtasks are shown in the collections
Only show subtasks in a collection
when they or a descendant task match the collection

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:23 +01:00
Raimund Schlüßler
4f07897580
Add tests
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:17 +01:00
Raimund Schlüßler
97a4addc2f
Also test subtasks for showing task in collections
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:14:51 +01:00
Raimund Schlüßler
1f5a60dc2c
Don't debug complete value to console 2019-10-28 09:58:20 +01:00
Raimund Schlüßler
55ca0a467d
Merge pull request #693 from nextcloud/npm-link
Only apply eslint-loader to our own sources
2019-10-27 11:51:05 +01:00
dependabot-preview[bot]
11a6361ffd
Merge pull request #690 from nextcloud/dependabot/npm_and_yarn/eslint-6.6.0 2019-10-27 10:35:21 +00:00
Raimund Schlüßler
b2b528885a
Only apply eslint-loader to our own sources
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

See c81b9ae648
2019-10-27 11:35:20 +01:00
dependabot-preview[bot]
9a4d8f1567
Bump eslint from 6.5.1 to 6.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.5.1 to 6.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.5.1...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 10:22:53 +00:00
dependabot-preview[bot]
11369d0fa9
Merge pull request #691 from nextcloud/dependabot/npm_and_yarn/cdav-library-5d42779 2019-10-27 10:21:12 +00:00
dependabot-preview[bot]
e903b4084e
Merge pull request #689 from nextcloud/dependabot/npm_and_yarn/stylelint-webpack-plugin-1.0.3 2019-10-27 10:20:15 +00:00
dependabot-preview[bot]
b514ceadeb
Merge pull request #692 from nextcloud/dependabot/npm_and_yarn/node-sass-4.13.0 2019-10-27 10:20:00 +00:00
dependabot-preview[bot]
a9f823c1cc
Bump node-sass from 4.12.0 to 4.13.0
Bumps [node-sass](https://github.com/sass/node-sass) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.12.0...v4.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 02:18:39 +00:00
dependabot-preview[bot]
908ff71a6e
Bump cdav-library from 4f198b6 to 5d42779
Bumps [cdav-library](https://github.com/nextcloud/cdav-library) from `4f198b6` to `5d42779`.
- [Release notes](https://github.com/nextcloud/cdav-library/releases)
- [Commits](4f198b64dc...5d427790be)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 02:17:43 +00:00
dependabot-preview[bot]
c5a289aca3
Bump stylelint-webpack-plugin from 1.0.2 to 1.0.3
Bumps [stylelint-webpack-plugin](https://github.com/webpack-contrib/stylelint-webpack-plugin) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/webpack-contrib/stylelint-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/stylelint-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/stylelint-webpack-plugin/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 02:15:50 +00:00
Raimund Schlüßler
d3a2618121
Merge pull request #684 from nextcloud/fix-663
Adjust complete value when setting status
2019-10-26 19:46:28 +02:00
Raimund Schlüßler
a3c2a0fa43
Keep status, complete, completed and date in sync
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:07 +02:00
Raimund Schlüßler
03beb4ac24
Add more tests
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:07 +02:00
Raimund Schlüßler
4b7f5fbb80
Make task.completed expect only bool
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:06 +02:00
Raimund Schlüßler
a583946f54
Add tests for summary and priority
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:05 +02:00
Raimund Schlüßler
b87f498bc6
Add test for setting and getting uid, fix model
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:05 +02:00
Raimund Schlüßler
e59a9e5553
Add tests for task model complete and status
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:04 +02:00
dependabot-preview[bot]
e0a9d389e5
Merge pull request #687 from nextcloud/dependabot/npm_and_yarn/stylelint-scss-3.12.0 2019-10-24 15:56:05 +00:00
dependabot-preview[bot]
7ae726b208
Merge pull request #686 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-0.12.7 2019-10-24 15:55:23 +00:00
Nextcloud bot
8e5bee148d
[tx-robot] updated from transifex 2019-10-24 02:50:44 +00:00
dependabot-preview[bot]
94a6aea3fc
Bump stylelint-scss from 3.11.1 to 3.12.0
Bumps [stylelint-scss](https://github.com/kristerkari/stylelint-scss) from 3.11.1 to 3.12.0.
- [Release notes](https://github.com/kristerkari/stylelint-scss/releases)
- [Changelog](https://github.com/kristerkari/stylelint-scss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kristerkari/stylelint-scss/compare/3.11.1...3.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 01:17:57 +00:00
dependabot-preview[bot]
cc6a3a27b1
Bump nextcloud-vue from 0.12.6 to 0.12.7
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.6 to 0.12.7.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.6...v0.12.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 01:16:44 +00:00
dependabot-preview[bot]
dc1d3b3882
Merge pull request #685 from nextcloud/dependabot/npm_and_yarn/terser-webpack-plugin-2.2.1 2019-10-23 09:18:50 +00:00
dependabot-preview[bot]
e36d5bd1c1
Bump terser-webpack-plugin from 2.1.3 to 2.2.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.1.3 to 2.2.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.1.3...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 01:13:25 +00:00
Raimund Schlüßler
ec7af09548
Merge pull request #683 from nextcloud/dependabot/npm_and_yarn/cdav-library-4f198b6
Bump cdav-library from `eac2cf7` to `4f198b6`
2019-10-21 19:07:07 +02:00
Nextcloud bot
1f2bfa0bc1
[tx-robot] updated from transifex 2019-10-21 02:51:10 +00:00