Compare commits

...
432 Commits
Author SHA1 Message Date
Jakob 4d0741e691 started listview
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-31 09:02:38 +01:00
dependabot-preview[bot]andGitHub 090e788c0c Merge pull request #1310 from nextcloud/dependabot/npm_and_yarn/vue/node-sass-4.13.0 2019-10-27 05:47:24 +00:00
dependabot-preview[bot]andGitHub 0e6b79fe9b 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:17:18 +00:00
Julius HärtlandGitHub ab3a42fc11 Collections (#1294)
Collections
2019-10-24 17:20:54 +02:00
Julius Härtl 56bee425b9 Fix angular dependency in board selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-24 16:04:18 +02:00
Julius HärtlandGitHub 6e192db79b clip icon instead of folder icon (#1305)
clip icon instead of folder icon
2019-10-24 14:50:24 +02:00
Jakob c29aed239c new icon
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-24 14:35:33 +02:00
Julius Härtl 9c8f5d5f63 Fetch board properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-23 15:31:34 +02:00
Julius Härtl 1fcb667a3c Fetch proper data for card resource provider
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-22 21:28:36 +02:00
Julius HärtlandGitHub 7390acae26 Improvements to Card Heading Editing (#1255)
Improvements to Card Heading Editing
2019-10-22 12:10:50 +02:00
Jakob 677123a8f7 added card project selection
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-22 11:42:09 +02:00
Gary Kim 067ec5e057 Fix overflowing card heading
If the heading of a card is too long,
it will push interface elements off the
card.

This change will ensure that text that
does not have spaces and thus cannot be
wrapped will simply be cut off with an
ellipsis instead.

Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-22 17:08:03 +08:00
Gary Kim fd406a0adb Prevent wrapping text being visible while editing card header
Also: address errors thrown by linter

Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-22 17:08:03 +08:00
Gary Kim 1d4fe31155 Cancel editing card header when escape is pressed
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-22 17:08:03 +08:00
Gary Kim c2b8408cd2 Update Card Name on Form Submit
When editing a card's heading, pressing
"enter" or otherwise submitting the form
will save your edits.

Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-22 17:08:03 +08:00
Gary Kim b50e295e27 Cancel Card Heading Edit on Click Outside
Clicking away while editing a card name
will now cancel the edit.

Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-22 17:08:03 +08:00
Julius Härtl 97864ac1ff Properly register tooltip directive
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-22 10:45:26 +02:00
Julius HärtlandGitHub f940d23968 Share boards and assign cards (#1293)
Share boards and assign cards
2019-10-22 10:09:21 +02:00
Julius Härtl ce31e02d6a Use groups icon from the server
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-22 10:08:38 +02:00
Julius Härtl c2189683c7 Fix npm audit
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-22 09:52:06 +02:00
Julius Härtl 9b2903b4d5 Move to @nextcloud packages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-22 09:51:13 +02:00
Jakob 2875e23b96 update assignabl
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-22 07:58:45 +02:00
Jakob 1d54fc3ae8 tried to move loadBoard to store
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-19 14:27:00 +02:00
Jakob 23e88a7e15 typos, css
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-18 11:18:29 +02:00
Jakob 08ef55c950 fix share users
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-17 13:50:32 +02:00
Jakob 4d10b5fd59 UI done
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-17 12:49:00 +02:00
Jakob 4a3ba6540c duplicate files
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-17 07:49:28 +02:00
dependabot-preview[bot]andGitHub 9c6d80d5d3 Merge pull request #1296 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-collections-0.6.0 2019-10-16 15:06:57 +00:00
dependabot-preview[bot]andGitHub 2d3ef29041 Merge pull request #1295 from nextcloud/dependabot/npm_and_yarn/vue/webpack-4.41.2 2019-10-16 14:36:56 +00:00
dependabot-preview[bot]andGitHub 4d9e26a6ce Bump nextcloud-vue-collections from 0.5.6 to 0.6.0
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.5.6 to 0.6.0.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.5.6...v0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 14:30:38 +00:00
dependabot-preview[bot]andGitHub 1a2c950b61 Bump webpack from 4.41.1 to 4.41.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.1 to 4.41.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.1...v4.41.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 14:28:18 +00:00
Julius Härtl 029accfe49 Use nextcloud-vue tooltip
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 14:48:15 +02:00
Julius Härtl 7716fb6738 Use url-loader to embed icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 14:40:12 +02:00
Julius Härtl da87973b85 Fix path for collection entrypoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 14:27:46 +02:00
Julius Härtl 91aa14c7c2 Remove old js directory
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 14:26:39 +02:00
Julius Härtl f3da8f80a7 Adjust path to load for collections
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 14:11:44 +02:00
Jakob 5021e475c7 start
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-16 13:48:29 +02:00
Jakob 7628eb425c little changes
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-16 10:09:25 +02:00
Jakob d33725303a start
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-16 09:39:38 +02:00
Jakob e0808273ec get circle users
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-15 13:56:12 +02:00
Jakob 84dc4ce1dd circles
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-15 11:39:15 +02:00
Jakob e7fcef3e3a circle sharing
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-15 08:30:25 +02:00
dependabot-preview[bot]andGitHub 99591eae0e Merge pull request #1287 from nextcloud/dependabot/npm_and_yarn/vue/babel/preset-env-7.6.3 2019-10-14 06:58:12 +00:00
dependabot-preview[bot]andGitHub a88ea8f4b3 Merge pull request #1289 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-0.12.6 2019-10-14 06:49:58 +00:00
Julius HärtlandGitHub 5772a7025d move card to another board (#1242)
move card to another board
2019-10-14 08:49:20 +02:00
dependabot-preview[bot]andGitHub abd82db9af Bump @babel/preset-env from 7.6.2 to 7.6.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.2 to 7.6.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 06:48:55 +00:00
dependabot-preview[bot]andGitHub 6efcf374d3 Merge pull request #1291 from nextcloud/dependabot/npm_and_yarn/vue/babel/core-7.6.4 2019-10-14 06:46:14 +00:00
dependabot-preview[bot]andGitHub 335d9a3a42 Merge pull request #1292 from nextcloud/dependabot/npm_and_yarn/vue/webpack-4.41.1 2019-10-14 06:46:09 +00:00
dependabot-preview[bot]andGitHub 040e248962 Bump webpack from 4.41.0 to 4.41.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.0 to 4.41.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.0...v4.41.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 01:26:01 +00:00
dependabot-preview[bot]andGitHub 87c0bc819a Bump @babel/core from 7.6.2 to 7.6.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.2 to 7.6.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 01:19:13 +00:00
dependabot-preview[bot]andGitHub d902f88258 Bump nextcloud-vue from 0.12.4 to 0.12.6
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.4 to 0.12.6.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.4...v0.12.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 01:17:22 +00:00
Jakob a6bdf077ff some css changes
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-11 11:04:25 +02:00
Jakob 0f2e735a20 some UI changes
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-10 11:06:51 +02:00
Julius HärtlandGitHub bb2eb7221a Clone boards with stacks, labels (#1221)
Clone boards with stacks, labels
2019-10-10 09:03:34 +02:00
Jakob e69b5465bd done
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-09 21:56:24 +02:00
Jakob 7d393292f3 stacks are not shown
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-09 13:40:12 +02:00
Jakob 1c2c700593 use try/catch
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-09 12:45:33 +02:00
Jakob 71e7c98fd6 change route after board duplication
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-10-09 09:36:25 +02:00
dependabot-preview[bot]andGitHub da650bb356 Merge pull request #1279 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-0.12.4 2019-10-06 08:02:03 +00:00
dependabot-preview[bot]andGitHub ddc903cc03 Bump nextcloud-vue from 0.12.3 to 0.12.4
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.3...v0.12.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-06 01:14:47 +00:00
Julius HärtlandGitHub e70340e267 Bump @babel/core from 7.6.0 to 7.6.2 (#1270)
Bump @babel/core from 7.6.0 to 7.6.2
2019-10-04 20:13:11 +02:00
dependabot-preview[bot]andGitHub c140e2f946 Merge pull request #1271 from nextcloud/dependabot/npm_and_yarn/vue/webpack-4.41.0 2019-10-04 18:12:46 +00:00
dependabot-preview[bot]andGitHub 7cffc7cdff Merge pull request #1272 from nextcloud/dependabot/npm_and_yarn/vue/babel/preset-env-7.6.2 2019-10-04 18:12:27 +00:00
dependabot-preview[bot]andGitHub c5ffde0469 Bump @babel/preset-env from 7.6.0 to 7.6.2
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.0 to 7.6.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.0...v7.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 01:17:17 +00:00
dependabot-preview[bot]andGitHub f561dc77e6 Bump webpack from 4.40.2 to 4.41.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.40.2 to 4.41.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.40.2...v4.41.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 01:16:11 +00:00
dependabot-preview[bot]andGitHub b9f37c6c36 Bump @babel/core from 7.6.0 to 7.6.2
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.0 to 7.6.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.0...v7.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 01:15:17 +00:00
dependabot-preview[bot]andGitHub 60e6ac0f10 Merge pull request #1260 from nextcloud/dependabot/npm_and_yarn/vue/webpack-cli-3.3.9 2019-09-27 03:58:05 +00:00
dependabot-preview[bot]andGitHub 9fbd85a67a Bump webpack-cli from 3.3.8 to 3.3.9
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.8 to 3.3.9.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.9/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.8...v3.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-22 01:13:17 +00:00
Jakob 27b8c79bca stack api call
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-17 14:26:46 +02:00
Jakob 31ae00708d loading indicator
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-17 12:37:43 +02:00
Julius HärtlandGitHub 3b8ee46bdd Bump webpack from 4.39.3 to 4.40.2 (#1249)
Bump webpack from 4.39.3 to 4.40.2
2019-09-13 23:14:16 +02:00
dependabot-preview[bot]andGitHub 999010aec2 Bump webpack from 4.39.3 to 4.40.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 20:59:29 +00:00
Julius HärtlandGitHub b577a79915 Add circles and groups to cards (#1243)
Add circles and groups to cards
2019-09-13 22:48:26 +02:00
Julius HärtlandGitHub d6373226db Bump webpack from 4.39.3 to 4.40.1 (#1245)
Bump webpack from 4.39.3 to 4.40.1
2019-09-13 22:35:18 +02:00
dependabot-preview[bot]andGitHub 436ca348e4 Merge pull request #1247 from nextcloud/dependabot/npm_and_yarn/vue/vue-jest-3.0.5 2019-09-13 20:34:30 +00:00
dependabot-preview[bot]andGitHub 1f56372aa0 Bump vue-jest from 3.0.4 to 3.0.5
Bumps [vue-jest](https://github.com/vuejs/vue-jest) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 09:03:51 +00:00
dependabot-preview[bot]andGitHub 5028b48777 Bump webpack from 4.39.3 to 4.40.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 09:02:57 +00:00
Jakob e968b6f680 possibility to add circles and groups to a board
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-13 10:14:40 +02:00
Jakob 452f49c17c boards are shown in model
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-13 09:51:16 +02:00
Jakob df0a8515a3 added icon
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-11 08:33:07 +02:00
Julius HärtlandGitHub 7b1dea3e56 Bump @babel/polyfill from 7.4.4 to 7.6.0 (#1229)
Bump @babel/polyfill from 7.4.4 to 7.6.0
2019-09-10 18:15:43 +02:00
Julius HärtlandGitHub 6862b1c07e Bump @babel/core from 7.5.5 to 7.6.0 (#1230)
Bump @babel/core from 7.5.5 to 7.6.0
2019-09-10 18:15:25 +02:00
Julius HärtlandGitHub d05694c2ce Bump @babel/preset-env from 7.5.5 to 7.6.0 (#1228)
Bump @babel/preset-env from 7.5.5 to 7.6.0
2019-09-10 18:15:19 +02:00
Julius HärtlandGitHub d156a6ae80 Bump nextcloud-vue from 0.12.2 to 0.12.3 (#1231)
Bump nextcloud-vue from 0.12.2 to 0.12.3
2019-09-10 18:15:10 +02:00
dependabot-preview[bot]andGitHub 511f17f13f Merge pull request #1232 from nextcloud/dependabot/npm_and_yarn/vue/webpack-cli-3.3.8 2019-09-10 16:04:07 +00:00
dependabot-preview[bot]andGitHub 8073ae9c0e Bump webpack-cli from 3.3.7 to 3.3.8
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.8/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.7...v3.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 14:33:51 +00:00
Julius Härtl 6eb8c117a3 Fix tests after reordering has changed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 16:30:01 +02:00
Julius HärtlandGitHub f74a3d6724 Merge pull request #1222 from nextcloud/changeDefaultBoardColor
default board color is now blue
2019-09-10 13:51:13 +02:00
Jakob d3efff0ce7 default board color is now blue
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-10 12:33:19 +02:00
dependabot-preview[bot]andGitHub 44fd63ef7e Bump nextcloud-vue from 0.12.2 to 0.12.3
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.2 to 0.12.3.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.2...v0.12.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-08 01:19:13 +00:00
dependabot-preview[bot]andGitHub 19f5063068 Bump @babel/core from 7.5.5 to 7.6.0
Bumps [@babel/core](https://github.com/babel/babel) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-08 01:17:45 +00:00
dependabot-preview[bot]andGitHub 8bc497b4b2 Bump @babel/polyfill from 7.4.4 to 7.6.0
Bumps [@babel/polyfill](https://github.com/babel/babel) from 7.4.4 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.4...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-08 01:16:57 +00:00
dependabot-preview[bot]andGitHub fba60673c5 Bump @babel/preset-env from 7.5.5 to 7.6.0
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-08 01:16:09 +00:00
Jakob 36afac9eff clone board func with labels and stacks
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-06 09:45:25 +02:00
Julius Härtl 014f708752 Fix spacing on badges
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-05 22:50:26 +02:00
Julius HärtlandGitHub 2139a82e9d Merge pull request #1217 from nextcloud/avatarFix
avatars now in a good looking way
2019-09-05 22:48:03 +02:00
Julius HärtlandGitHub 4e320ff1e9 tags are now in one line (#1219)
tags are now in one line
2019-09-05 22:47:55 +02:00
Julius Härtl d4c744b084 Unify card badges
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-05 22:47:34 +02:00
Julius Härtl 695042cdd0 Implement stack and card reordering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-05 22:37:47 +02:00
Julius Härtl 6c8ac1ed47 Fix tag style in card sidebar and remove flex basis on card labels
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-04 18:33:43 +02:00
Julius Härtl b75d1ef3fd Remove unused code and prevent click propagation on the avatar list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-04 18:15:27 +02:00
Jakob cba7525951 rename, position change
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-04 11:21:55 +02:00
Jakob 1db20878a9 changed back to ul,li
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-04 11:12:38 +02:00
Jakob 12037679e5 tags are now in one line
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-04 07:42:40 +02:00
Jakob 80b025fafe avatars now in a good looking way
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-03 15:03:25 +02:00
Julius HärtlandGitHub 91f9b8ee72 Merge pull request #1213 from nextcloud/highlightActiveCard
active is highlighted
2019-09-02 16:21:37 +02:00
dependabot-preview[bot]andGitHub ab1c765ff6 Merge pull request #1216 from nextcloud/dependabot/npm_and_yarn/vue/vue-router-3.1.3 2019-09-02 13:33:42 +00:00
dependabot-preview[bot]andGitHub 8661d51317 Bump vue-router from 3.1.2 to 3.1.3
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.1.2...v3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-01 01:15:21 +00:00
Julius HärtlandGitHub 625ebdc4c0 label multi shows color, sharing shows avatars (#1210)
label multi shows color, sharing shows avatars
2019-08-30 15:55:31 +02:00
JakobandJulius Härtl 283aa01fd4 fix reload problem
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-30 15:55:07 +02:00
Jakob 2ad66ca76e impl Julius review topics
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-30 09:20:45 +02:00
Jakob 1d8b4cd33d CSS, comparison
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-29 14:36:00 +02:00
Julius HärtlandGitHub 469e687686 Bump nextcloud-axios from 0.2.0 to 0.2.1 (#1212)
Bump nextcloud-axios from 0.2.0 to 0.2.1
2019-08-29 12:08:51 +02:00
dependabot-preview[bot]andGitHub ee2ebbecf8 Merge pull request #1211 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-0.12.2 2019-08-29 10:08:11 +00:00
Jakob 90d6923fb6 added the avatarselectoption
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-29 11:56:56 +02:00
Jakob d08bd23578 active is highlighted
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-29 10:53:34 +02:00
dependabot-preview[bot]andGitHub f36a1614c2 Bump nextcloud-axios from 0.2.0 to 0.2.1
Bumps [nextcloud-axios](https://github.com/ChristophWurst/nextcloud-axios) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/ChristophWurst/nextcloud-axios/releases)
- [Commits](https://github.com/ChristophWurst/nextcloud-axios/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 08:46:55 +00:00
dependabot-preview[bot]andGitHub 011470cfde Bump nextcloud-vue from 0.12.1 to 0.12.2
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.1...v0.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 08:44:43 +00:00
Julius HärtlandGitHub fecd59b511 Required (#1209)
Required
2019-08-29 10:33:51 +02:00
Jakob 59827e0f69 label multi shows color, sharing shows avatars
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-29 09:26:06 +02:00
Jakob 619f70b33b avoid empty names with required
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-29 08:39:52 +02:00
dependabot-preview[bot]andGitHub bc904c44d4 Merge pull request #1207 from nextcloud/dependabot/npm_and_yarn/vue/babel-eslint-10.0.3 2019-08-29 05:26:09 +00:00
dependabot-preview[bot]andGitHub 6a43db39a3 Merge pull request #1206 from nextcloud/dependabot/npm_and_yarn/vue/webpack-4.39.3 2019-08-29 05:24:21 +00:00
dependabot-preview[bot]andGitHub 57921c9e96 Bump webpack from 4.39.2 to 4.39.3
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.2 to 4.39.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.2...v4.39.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 21:27:21 +00:00
dependabot-preview[bot]andGitHub eb4b82060a Merge pull request #1208 from nextcloud/dependabot/npm_and_yarn/vue/webpack-merge-4.2.2 2019-08-28 21:24:45 +00:00
dependabot-preview[bot]andGitHub 60bf07d88b Bump webpack-merge from 4.2.1 to 4.2.2
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v4.2.1...v4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 18:40:36 +00:00
dependabot-preview[bot]andGitHub 71617d9d6b Bump babel-eslint from 10.0.2 to 10.0.3
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 18:39:11 +00:00
Jakob 1c040d35be edit not possible in archive mode
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-28 11:17:31 +02:00
Jakob 329df8e856 card and stack names required, clear card field after creation
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-28 11:01:36 +02:00
Julius HärtlandGitHub 493eee601b Merge pull request #1189 from nextcloud/boardTimeline
Board and Card Timeline
2019-08-27 12:40:44 +02:00
Julius Härtl e3405c915b Add activity entry component
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-27 12:12:58 +02:00
JakobandJulius Härtl 001aaa4dcd format entries, do not load on end, loading by click on another card/board
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-27 12:12:58 +02:00
JakobandJulius Härtl 9f62a24450 loading icon, parse msg in BoardSidebar
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-27 12:11:59 +02:00
JakobandJulius Härtl 6b8d42f176 timeline for board and cards and small other fixes
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-27 12:11:59 +02:00
JakobandJulius Härtl bc7c5ea4b7 board timeline
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-27 12:11:59 +02:00
Julius HärtlandGitHub c3d925a172 Fix desc field (#1192)
Fix desc field
2019-08-27 10:08:26 +02:00
JakobandJulius Härtl 1b2fed9e86 improve desc in editor
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-27 10:07:43 +02:00
dependabot-preview[bot]andGitHub f4f7c05f9f Merge pull request #1200 from nextcloud/dependabot/npm_and_yarn/vue/eslint-utils-1.4.2 2019-08-27 05:14:21 +00:00
dependabot-preview[bot]andGitHub 610507f790 [Security] Bump eslint-utils from 1.3.1 to 1.4.2
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. **This update includes a security fix.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 19:20:24 +00:00
dependabot-preview[bot]andGitHub edbeda81f6 Merge pull request #1194 from nextcloud/dependabot/npm_and_yarn/vue/sass-loader-7.3.1 2019-08-26 06:13:07 +00:00
dependabot-preview[bot]andGitHub 9accaa4987 Merge pull request #1195 from nextcloud/dependabot/npm_and_yarn/vue/webpack-cli-3.3.7 2019-08-26 06:13:02 +00:00
dependabot-preview[bot]andGitHub 0dbe106907 Bump webpack-cli from 3.3.6 to 3.3.7
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.6 to 3.3.7.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.7/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.6...v3.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-25 01:15:01 +00:00
dependabot-preview[bot]andGitHub 64e3af25f9 Bump sass-loader from 7.2.0 to 7.3.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-25 01:13:28 +00:00
Julius Härtl 77a3563b89 Fix card design
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-23 11:09:29 +02:00
Julius Härtl ba3b5b59ff Some styling of the card details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-23 11:09:29 +02:00
Julius Härtl 60d77e4d33 Make board title required
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-23 11:09:29 +02:00
Julius Härtl 6f595aebdc Fix tag list alignment
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-23 11:09:29 +02:00
Julius Härtl 0b5c7fb56a Fix color picker in navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-23 11:09:29 +02:00
Julius Härtl f14e9758a0 Fix board filter and limit acl list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-23 11:09:22 +02:00
JakobandJulius Härtl bd5f2c13b7 members are shown now
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-23 11:09:22 +02:00
JakobandJulius Härtl bdb9442671 sharing fix and updatedutime
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-22 09:55:23 +02:00
dependabot-preview[bot]andGitHub 8874b3df69 Merge pull request #1180 from nextcloud/dependabot/npm_and_yarn/vue/vue-easymde-1.0.0 2019-08-21 09:27:21 +00:00
Julius Härtl 74550b9953 Fix build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-21 11:24:18 +02:00
Julius HärtlandGitHub a0af85abe4 Merge branch 'vue' into dependabot/npm_and_yarn/vue/vue-easymde-1.0.0 2019-08-21 10:00:02 +02:00
JakobandJulius Härtl 34316d84f0 Import change for version 1.0
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-21 09:56:45 +02:00
Julius HärtlandGitHub 84a9e72463 Update vue branch to master (#1183)
Update vue branch to master
2019-08-20 11:58:38 +02:00
Julius HärtlandGitHub da8b7774b4 Merge pull request #1175 from nextcloud/timeFix
changed time calculation
2019-08-20 11:58:13 +02:00
Jakob 0de1c581e8 watcher readded
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-20 11:23:43 +02:00
Julius Härtl 1eeaff7f29 Merge branch 'master' into vue-master 2019-08-20 10:57:41 +02:00
Julius Härtl c88b25c627 Bump versions on master
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-20 10:55:53 +02:00
Julius Härtl 14244f257e Update CHANGELOG
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-20 10:55:23 +02:00
Julius HärtlandGitHub bcc9f03942 Merge pull request #1182 from a11exandru/issue1138
Able to set description on creation card via API.
2019-08-20 10:40:58 +02:00
alexandru.puiu 002587523f Add empty default value to description parameter and remove the tabs from the empty lines
Signed-off-by: alexandru.puiu <alexandrup@newro.co>
2019-08-19 11:40:03 +03:00
alexandru.puiu 313ceb9a95 Able to set description on creation card via API.
Signed-off-by: alexandru.puiu <alexandrup@newro.co>
2019-08-19 11:00:56 +03:00
Nextcloud bot 36977564a2 [tx-robot] updated from transifex 2019-08-19 02:23:31 +00:00
dependabot-preview[bot]andGitHub 27ec348533 Bump vue-easymde from 0.1.6 to 1.0.0
Bumps [vue-easymde](https://github.com/NikulinIlya/vue-easymde) from 0.1.6 to 1.0.0.
- [Release notes](https://github.com/NikulinIlya/vue-easymde/releases)
- [Commits](https://github.com/NikulinIlya/vue-easymde/commits/v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 17:35:36 +00:00
Julius HärtlandGitHub a5ee26a592 Bump jest from 24.8.0 to 24.9.0 (#1181)
Bump jest from 24.8.0 to 24.9.0
2019-08-18 19:33:17 +02:00
dependabot-preview[bot]andGitHub 3496c09472 Bump jest from 24.8.0 to 24.9.0
Bumps [jest](https://github.com/facebook/jest) from 24.8.0 to 24.9.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.8.0...v24.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 17:32:06 +00:00
Julius HärtlandGitHub 17999595a5 Bump webpack from 4.39.1 to 4.39.2 in /js (#1176)
Bump webpack from 4.39.1 to 4.39.2 in /js
2019-08-18 19:31:45 +02:00
Julius HärtlandGitHub 96dac29870 Bump markdown-it from 9.0.1 to 9.1.0 in /js (#1178)
Bump markdown-it from 9.0.1 to 9.1.0 in /js
2019-08-18 19:31:34 +02:00
dependabot-preview[bot]andGitHub be752061ff Merge pull request #1177 from nextcloud/dependabot/npm_and_yarn/vue/webpack-4.39.2 2019-08-18 17:31:22 +00:00
dependabot-preview[bot]andGitHub 1652bb921a Merge pull request #1179 from nextcloud/dependabot/npm_and_yarn/vue/babel-jest-24.9.0 2019-08-18 17:29:39 +00:00
Nextcloud bot 1ab2ee1daa [tx-robot] updated from transifex 2019-08-18 02:25:09 +00:00
dependabot-preview[bot]andGitHub 7aa7574e26 Bump babel-jest from 24.8.0 to 24.9.0
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.8.0 to 24.9.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v24.9.0/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 01:13:52 +00:00
dependabot-preview[bot]andGitHub 138faf2de1 Bump markdown-it from 9.0.1 to 9.1.0 in /js
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 9.0.1 to 9.1.0.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/9.0.1...9.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 01:13:06 +00:00
dependabot-preview[bot]andGitHub 2887df270d Bump webpack from 4.39.1 to 4.39.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 01:13:05 +00:00
dependabot-preview[bot]andGitHub 7e58486877 Bump webpack from 4.39.1 to 4.39.2 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 01:12:32 +00:00
Nextcloud bot 3454127aee [tx-robot] updated from transifex 2019-08-17 02:23:48 +00:00
Jakob c0a9597877 time calc all 10 secs and checkbox icon
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-16 14:01:40 +02:00
Jakob f63eef36b7 time calc all 10 secs
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-16 12:23:17 +02:00
Jakob 35e7c7dbe7 changed time calculation
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-16 10:30:50 +02:00
Julius HärtlandGitHub 75189217b0 Merge pull request #1174 from nextcloud/tagsRepair
tags repair
2019-08-16 10:10:23 +02:00
Jakob 519336787c tags repair
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-16 10:01:30 +02:00
Julius HärtlandGitHub 9e792db7c0 Open card sidebar (#1173)
Open card sidebar
2019-08-14 18:36:02 +02:00
Jakob 23a218d9af duplicate methode deleted
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-14 11:04:58 +02:00
Jakob ec7eb72f05 open sidebar with router
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-14 09:32:14 +02:00
Jakob 4324fe9e2e now with form
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-14 09:28:22 +02:00
Julius HärtlandGitHub 0e3b54a5d4 Merge pull request #1171 from nextcloud/fixCreateCard
create card fix
2019-08-13 16:31:58 +02:00
Jakob 8dffaaa8c5 now with lint:fix
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-13 15:03:43 +02:00
Jakob 6d88ea7ef6 stack create without page reload
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-13 13:52:42 +02:00
Jakob 4ca406472d create card fix
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-13 13:21:59 +02:00
Julius HärtlandGitHub f8cd20a01a Vue board sidebar sharing (#1114)
Vue board sidebar sharing
2019-08-12 13:10:04 +02:00
Julius Härtl aa2b9adeec Fix eslint errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 11:47:57 +02:00
Julius Härtl 37de63434e Fix badge icons and markdown editor listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 11:46:30 +02:00
Julius Härtl bb665fa56c Provide order for tabs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 11:46:26 +02:00
Julius Härtl a13e4b664d Fix styling of the share tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 11:43:51 +02:00
Julius Härtl e020c2631f Use server box-sizing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 11:43:23 +02:00
Julius Härtl 781e2b0bb2 Use router parameter to trigger card change
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 10:47:11 +02:00
Julius Härtl 2d35d90999 Fix click event target for opening the card
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 10:26:03 +02:00
Julius Härtl 65952acfdb Fix npm audit issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-12 08:48:30 +02:00
Julius Härtl 7ec4870999 Add package-lock to git
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-11 13:40:20 +02:00
Julius Härtl 015e2d9461 Use individual import
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-11 13:38:01 +02:00
Julius Härtl 623b55d348 General dependency bump
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-11 13:36:37 +02:00
Julius Härtl 0e37354a6e Fix styling of stack header/new card input
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-11 12:02:58 +02:00
Julius Härtl e16852ad17 Fix styling of share icon in navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-11 12:02:58 +02:00
Julius Härtl 8fc38a41d0 Fix color picker when creating boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-11 12:02:58 +02:00
JakobandJulius Härtl 097bb21b45 small fixes
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:58 +02:00
JakobandJulius Härtl 39ae9332e2 2 small fixes
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:58 +02:00
JakobandJulius Härtl cc92937c6b last stand
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:57 +02:00
JakobandJulius Härtl ac9fef5f05 last stand
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:57 +02:00
JakobandJulius Härtl 4e67c3172b new functions
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:57 +02:00
JakobandJulius Härtl 4a45687a28 new functions
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:56 +02:00
JakobandJulius Härtl 38dc7945dd new functions
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:56 +02:00
JakobandJulius Härtl 70d3fba187 sharing to groups, shaing icon opens boarddetails, enter creates card or stack
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:56 +02:00
JakobandJulius Härtl 10b7d8b335 deleted items
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:56 +02:00
JakobandJulius Härtl fcabdbdc24 added new functions
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:55 +02:00
JakobandJulius Härtl 408ea69272 it is working now
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:55 +02:00
Julius Härtl c6d16f4c16 Set default card type to plain
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-11 12:02:55 +02:00
JakobandJulius Härtl 770142232c sharing impl
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-08-11 12:02:55 +02:00
Jakob RöhrlandJulius Härtl 501545f2e5 some overall changes
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-08-11 12:02:54 +02:00
Jakob RöhrlandJulius Härtl f71f24c450 stack add and remove
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-08-11 12:02:54 +02:00
Jakob RöhrlandJulius Härtl b8cb364f00 sharing extensions
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-08-11 12:02:54 +02:00
Julius HärtlandGitHub 7a673efc4a Bump css-loader from 3.1.0 to 3.2.0 in /js (#1167)
Bump css-loader from 3.1.0 to 3.2.0 in /js
2019-08-11 10:49:51 +02:00
dependabot-preview[bot]andGitHub 36a5888faf Bump css-loader from 3.1.0 to 3.2.0 in /js
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.1.0 to 3.2.0.
- [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/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-11 08:33:32 +00:00
Julius HärtlandGitHub 6bfd9127ed Bump style-loader from 0.23.1 to 1.0.0 in /js (#1166)
Bump style-loader from 0.23.1 to 1.0.0 in /js
2019-08-11 10:31:42 +02:00
Julius HärtlandGitHub a5e155b6c7 Merge pull request #1165 from nextcloud/dependabot/npm_and_yarn/js/nextcloud-vue-0.12.1
Bump nextcloud-vue from 0.11.5 to 0.12.1 in /js
2019-08-11 09:35:15 +02:00
Julius HärtlandGitHub a0a0f9443d Merge pull request #1164 from nextcloud/dependabot/composer/christophwurst/nextcloud-tw-16.0
Update christophwurst/nextcloud requirement from ^15.0 to ^16.0
2019-08-11 09:33:57 +02:00
Julius HärtlandGitHub 3cb811bb79 Merge pull request #1168 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-tw-0.12.1
Update nextcloud-vue requirement from ^0.11.4 to ^0.12.1
2019-08-11 09:32:46 +02:00
dependabot-preview[bot]andGitHub 910325a712 Update nextcloud-vue requirement from ^0.11.4 to ^0.12.1
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.11.4...v0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-11 01:30:22 +00:00
dependabot-preview[bot]andGitHub 2a6385c68a Bump style-loader from 0.23.1 to 1.0.0 in /js
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 0.23.1 to 1.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v0.23.1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-11 01:13:39 +00:00
dependabot-preview[bot]andGitHub 33cb61fe07 Bump nextcloud-vue from 0.11.5 to 0.12.1 in /js
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.11.5 to 0.12.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.11.5...v0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-11 01:13:06 +00:00
dependabot-preview[bot]andGitHub f3fc9904d2 Update christophwurst/nextcloud requirement from ^15.0 to ^16.0
Updates the requirements on [christophwurst/nextcloud](https://github.com/ChristophWurst/nextcloud_composer) to permit the latest version.
- [Release notes](https://github.com/ChristophWurst/nextcloud_composer/releases)
- [Commits](https://github.com/ChristophWurst/nextcloud_composer/compare/v15.0.0...v16.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-11 01:12:35 +00:00
Nextcloud bot 3b7382f2d0 [tx-robot] updated from transifex 2019-08-09 02:22:51 +00:00
Nextcloud bot 7d52891eb8 [tx-robot] updated from transifex 2019-08-08 02:23:42 +00:00
Nextcloud bot a36bfda277 [tx-robot] updated from transifex 2019-08-07 02:23:17 +00:00
Nextcloud bot 427e954764 [tx-robot] updated from transifex 2019-08-06 02:22:58 +00:00
Julius HärtlandGitHub 5f6eb7848f Bump uglifyjs-webpack-plugin from 2.1.3 to 2.2.0 in /js (#1161)
Bump uglifyjs-webpack-plugin from 2.1.3 to 2.2.0 in /js
2019-08-05 08:04:02 +02:00
Julius HärtlandGitHub dfdd3222ea Bump webpack from 4.38.0 to 4.39.1 in /js (#1162)
Bump webpack from 4.38.0 to 4.39.1 in /js
2019-08-05 08:03:28 +02:00
Nextcloud bot 8845ba1033 [tx-robot] updated from transifex 2019-08-05 02:22:48 +00:00
dependabot-preview[bot]andGitHub 1b82ca5d17 Bump webpack from 4.38.0 to 4.39.1 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.38.0 to 4.39.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-04 01:13:19 +00:00
dependabot-preview[bot]andGitHub cefec146a2 Bump uglifyjs-webpack-plugin from 2.1.3 to 2.2.0 in /js
Bumps [uglifyjs-webpack-plugin](https://github.com/webpack-contrib/uglifyjs-webpack-plugin) from 2.1.3 to 2.2.0.
- [Release notes](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v2.1.3...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-04 01:12:41 +00:00
Nextcloud bot 6db4cf44bc [tx-robot] updated from transifex 2019-08-02 02:23:17 +00:00
Julius Härtl eff48652c9 Fix npm audit issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-01 16:12:49 +02:00
Julius HärtlandGitHub 28bdb2ea43 Bump nextcloud-vue-collections from 0.5.4 to 0.5.6 in /js (#1155)
Bump nextcloud-vue-collections from 0.5.4 to 0.5.6 in /js
2019-08-01 15:59:39 +02:00
Nextcloud bot 7b2de87b05 [tx-robot] updated from transifex 2019-07-31 02:25:10 +00:00
dependabot-preview[bot]andGitHub 1fcf3f95ac Bump nextcloud-vue-collections from 0.5.4 to 0.5.6 in /js
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.5.4 to 0.5.6.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.5.4...v0.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-30 07:27:52 +00:00
Julius HärtlandGitHub 2f893eb6ad Bump @babel/core from 7.4.5 to 7.5.5 in /js (#1149)
Bump @babel/core from 7.4.5 to 7.5.5 in /js
2019-07-28 13:11:46 +02:00
Julius HärtlandGitHub 65272d76e1 Bump @babel/preset-env from 7.4.5 to 7.5.5 in /js (#1145)
Bump @babel/preset-env from 7.4.5 to 7.5.5 in /js
2019-07-28 13:11:34 +02:00
Julius HärtlandGitHub 96bd7194af Adjust notifier to Nextcloud 17 (#1135)
Adjust notifier to Nextcloud 17
2019-07-28 13:10:48 +02:00
Joas SchillingandJulius Härtl f064fe55e2 Adjust notifier to Nextcloud 17
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-28 13:01:57 +02:00
Julius Härtl 799497e62f Bump phpunit
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-28 12:59:14 +02:00
Julius HärtlandGitHub a87277735d Bump webpack from 4.37.0 to 4.38.0 in /js (#1154)
Bump webpack from 4.37.0 to 4.38.0 in /js
2019-07-28 12:49:51 +02:00
Nextcloud bot 9d5c67cbef [tx-robot] updated from transifex 2019-07-28 02:24:28 +00:00
dependabot-preview[bot]andGitHub c031e1b9c2 Bump webpack from 4.37.0 to 4.38.0 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.37.0 to 4.38.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.37.0...v4.38.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-28 01:13:24 +00:00
Nextcloud bot 54b4b7c430 [tx-robot] updated from transifex 2019-07-25 02:23:27 +00:00
dependabot-preview[bot]andGitHub a953822671 Bump @babel/preset-env from 7.4.5 to 7.5.5 in /js
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.4.5 to 7.5.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.5...v7.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 13:27:18 +00:00
Julius HärtlandGitHub ea4f4e8335 Bump vue-loader from 15.7.0 to 15.7.1 in /js (#1144)
Bump vue-loader from 15.7.0 to 15.7.1 in /js
2019-07-24 15:25:38 +02:00
Julius HärtlandGitHub 0bf11c1976 Merge branch 'master' into dependabot/npm_and_yarn/js/vue-loader-15.7.1 2019-07-24 15:25:28 +02:00
Julius HärtlandGitHub 98bd957dd6 Bump nextcloud-vue from 0.11.4 to 0.11.5 in /js (#1127)
Bump nextcloud-vue from 0.11.4 to 0.11.5 in /js
2019-07-24 15:25:20 +02:00
Julius Härtl 6089d190f4 Adjust travis config as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-24 15:24:47 +02:00
Julius Härtl c51509faeb Adjust master test branches
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-24 15:20:02 +02:00
Julius Härtl c817ff2245 Make 0.7 a 17 only release
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-24 15:17:48 +02:00
dependabot-preview[bot]andGitHub a9dd5b8ebe Bump nextcloud-vue from 0.11.4 to 0.11.5 in /js
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.11.4...v0.11.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:16:51 +00:00
dependabot-preview[bot]andGitHub 3105ec62ec Bump vue-loader from 15.7.0 to 15.7.1 in /js
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.7.0 to 15.7.1.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.7.0...v15.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:16:33 +00:00
Julius HärtlandGitHub 012454abbc Bump webpack from 4.35.3 to 4.37.0 in /js (#1152)
Bump webpack from 4.35.3 to 4.37.0 in /js
2019-07-24 09:14:47 +02:00
dependabot-preview[bot]andGitHub 179f75052c Bump webpack from 4.35.3 to 4.37.0 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.35.3 to 4.37.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.35.3...v4.37.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 06:55:47 +00:00
Julius HärtlandGitHub e49c905d6e Bump mini-css-extract-plugin from 0.7.0 to 0.8.0 in /js (#1142)
Bump mini-css-extract-plugin from 0.7.0 to 0.8.0 in /js
2019-07-24 08:54:26 +02:00
Julius HärtlandGitHub a25f4ac6c1 Bump url-loader from 2.0.1 to 2.1.0 in /js (#1143)
Bump url-loader from 2.0.1 to 2.1.0 in /js
2019-07-24 08:53:58 +02:00
Julius HärtlandGitHub 37a9655f90 Bump webpack-cli from 3.3.5 to 3.3.6 in /js (#1150)
Bump webpack-cli from 3.3.5 to 3.3.6 in /js
2019-07-24 08:53:28 +02:00
Julius HärtlandGitHub 717955a233 Bump css-loader from 3.0.0 to 3.1.0 in /js (#1148)
Bump css-loader from 3.0.0 to 3.1.0 in /js
2019-07-24 08:53:10 +02:00
Julius HärtlandGitHub 2f14fa60e9 Update mini-css-extract-plugin requirement from ^0.7.0 to ^0.8.0 (#1147)
Update mini-css-extract-plugin requirement from ^0.7.0 to ^0.8.0
2019-07-24 08:52:52 +02:00
Nextcloud bot 36940d3c4b [tx-robot] updated from transifex 2019-07-21 02:24:41 +00:00
dependabot-preview[bot]andGitHub 804e662ec4 Bump webpack-cli from 3.3.5 to 3.3.6 in /js
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.6/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.5...v3.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-21 01:16:20 +00:00
dependabot-preview[bot]andGitHub 6ef071cee9 Bump @babel/core from 7.4.5 to 7.5.5 in /js
Bumps [@babel/core](https://github.com/babel/babel) from 7.4.5 to 7.5.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.5...v7.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-21 01:15:51 +00:00
dependabot-preview[bot]andGitHub 2bf98e57b1 Bump css-loader from 3.0.0 to 3.1.0 in /js
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.0.0 to 3.1.0.
- [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/v3.0.0...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-21 01:15:23 +00:00
dependabot-preview[bot]andGitHub 5f9d039056 Update mini-css-extract-plugin requirement from ^0.7.0 to ^0.8.0
Updates the requirements on [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.7.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-21 01:15:21 +00:00
dependabot-preview[bot]andGitHub 76943246c8 Bump url-loader from 2.0.1 to 2.1.0 in /js
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v2.0.1...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-21 01:13:17 +00:00
dependabot-preview[bot]andGitHub ecdae3a558 Bump mini-css-extract-plugin from 0.7.0 to 0.8.0 in /js
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.7.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-21 01:12:48 +00:00
Nextcloud bot 836d15486b [tx-robot] updated from transifex 2019-07-17 02:24:09 +00:00
Julius HärtlandGitHub 1281bde407 Bump nextcloud-vue-collections from 0.5.2 to 0.5.4 in /js (#1128)
Bump nextcloud-vue-collections from 0.5.2 to 0.5.4 in /js
2019-07-15 18:42:16 +02:00
Julius HärtlandGitHub a250b0ec7a Bump webpack from 4.35.2 to 4.35.3 in /js (#1126)
Bump webpack from 4.35.2 to 4.35.3 in /js
2019-07-15 18:42:08 +02:00
Julius HärtlandGitHub b09c622b7b Bump markdown-it from 8.4.2 to 9.0.1 in /js (#1130)
Bump markdown-it from 8.4.2 to 9.0.1 in /js
2019-07-15 18:41:38 +02:00
Julius HärtlandGitHub 99153659ae Bump karma from 4.1.0 to 4.2.0 in /js (#1132)
Bump karma from 4.1.0 to 4.2.0 in /js
2019-07-15 18:40:56 +02:00
dependabot-preview[bot]andGitHub c3661e6b25 Bump karma from 4.1.0 to 4.2.0 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v4.1.0...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-14 01:16:41 +00:00
dependabot-preview[bot]andGitHub b17b2bec39 Bump markdown-it from 8.4.2 to 9.0.1 in /js
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 8.4.2 to 9.0.1.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/8.4.2...9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-14 01:15:39 +00:00
dependabot-preview[bot]andGitHub 8e524e3ccb Bump nextcloud-vue-collections from 0.5.2 to 0.5.4 in /js
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.5.2 to 0.5.4.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.5.2...v0.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-14 01:14:48 +00:00
dependabot-preview[bot]andGitHub 5b7cd146d0 Bump webpack from 4.35.2 to 4.35.3 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.35.2 to 4.35.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.35.2...v4.35.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-14 01:13:27 +00:00
Nextcloud bot e18e8fb032 [tx-robot] updated from transifex 2019-07-13 02:23:06 +00:00
Julius HärtlandGitHub 5af9b3937a Bump lodash.merge from 4.6.1 to 4.6.2 in /js (#1124)
Bump lodash.merge from 4.6.1 to 4.6.2 in /js
2019-07-11 10:34:37 +02:00
Julius HärtlandGitHub 0f9972cff4 Bump webpack from 4.35.0 to 4.35.2 in /js (#1118)
Bump webpack from 4.35.0 to 4.35.2 in /js
2019-07-11 08:40:49 +02:00
dependabot[bot]andGitHub ac852cd4e7 Bump lodash.merge from 4.6.1 to 4.6.2 in /js
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 06:35:25 +00:00
Julius HärtlandGitHub 8ff832a9f9 [Security] Bump lodash from 4.17.11 to 4.17.14 in /js (#1123)
[Security] Bump lodash from 4.17.11 to 4.17.14 in /js
2019-07-11 08:34:49 +02:00
Julius HärtlandGitHub 45d8e224e4 [Security] Bump lodash.merge from 4.6.1 to 4.6.2 in /js (#1122)
[Security] Bump lodash.merge from 4.6.1 to 4.6.2 in /js
2019-07-11 08:34:37 +02:00
dependabot-preview[bot]andGitHub 5238e475a7 [Security] Bump lodash from 4.17.11 to 4.17.14 in /js
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 00:39:02 +00:00
dependabot-preview[bot]andGitHub 5d8e52b106 [Security] Bump lodash.merge from 4.6.1 to 4.6.2 in /js
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-10 21:40:52 +00:00
dependabot-preview[bot]andGitHub 436626684b Bump webpack from 4.35.0 to 4.35.2 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 4.35.0 to 4.35.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.35.0...v4.35.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-07 01:13:03 +00:00
Nextcloud bot d6e218064f [tx-robot] updated from transifex 2019-07-06 02:21:13 +00:00
Julius HärtlandGitHub c5cfef3ddb Fix proper activity object data (#1117)
Fix proper activity object data
2019-07-05 15:46:41 +02:00
Nextcloud bot 78233b2d62 [tx-robot] updated from transifex 2019-07-05 02:21:49 +00:00
Julius Härtl f3b5fd4030 Do not overwrite activity object with stripped down card data
Fix check for after data

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-04 21:34:03 +02:00
Nextcloud bot 5d0180956a [tx-robot] updated from transifex 2019-07-04 02:21:28 +00:00
Nextcloud bot 75c7502186 [tx-robot] updated from transifex 2019-07-03 02:21:27 +00:00
Nextcloud bot 3733b13651 [tx-robot] updated from transifex 2019-07-02 02:21:25 +00:00
Nextcloud bot 0543c1d775 [tx-robot] updated from transifex 2019-07-01 02:21:07 +00:00
Julius Härtl abb8ae5cff Bump version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-30 16:46:58 +02:00
Julius Härtl 40fd0c1401 Add polyfill and fix activity filtering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-30 16:39:28 +02:00
Julius HärtlandGitHub cc96da86c2 Update nextcloud-vue requirement from ^0.10.0 to ^0.11.4 (#1082)
Update nextcloud-vue requirement from ^0.10.0 to ^0.11.4
2019-06-30 13:21:51 +02:00
Julius HärtlandGitHub 7523792b9a Update prettier-eslint requirement from ^8.8.2 to ^9.0.0 (#1103)
Update prettier-eslint requirement from ^8.8.2 to ^9.0.0
2019-06-30 13:21:37 +02:00
dependabot-preview[bot]andGitHub c7b7f767e0 Update prettier-eslint requirement from ^8.8.2 to ^9.0.0
Updates the requirements on [prettier-eslint](https://github.com/prettier/prettier-eslint) to permit the latest version.
- [Release notes](https://github.com/prettier/prettier-eslint/releases)
- [Changelog](https://github.com/prettier/prettier-eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier-eslint/compare/v8.8.2...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-23 01:17:16 +00:00
Julius HärtlandGitHub ead3608082 Update css-loader requirement from ^2.0.1 to ^3.0.0 (#1093)
Update css-loader requirement from ^2.0.1 to ^3.0.0
2019-06-21 09:24:59 +02:00
dependabot-preview[bot]andGitHub 21920b2380 Update css-loader requirement from ^2.0.1 to ^3.0.0
Updates the requirements on [css-loader](https://github.com/webpack-contrib/css-loader) to permit the latest version.
- [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/v2.0.1...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 21:32:44 +00:00
dependabot-preview[bot]andJulius Härtl 4f1f9fd78d Update file-loader requirement from ^3.0.1 to ^4.0.0 (#1086)
Updates the requirements on [file-loader](https://github.com/webpack-contrib/file-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v3.0.1...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-11 18:33:35 +02:00
dependabot-preview[bot]andJulius Härtl 1155b85554 Update raw-loader requirement from ^2.0.0 to ^3.0.0 (#1087)
Updates the requirements on [raw-loader](https://github.com/webpack-contrib/raw-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/raw-loader/releases)
- [Changelog](https://github.com/webpack-contrib/raw-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/raw-loader/compare/v2.0.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-11 18:33:28 +02:00
Julius HärtlandGitHub 86515a7219 Update mini-css-extract-plugin requirement from ^0.6.0 to ^0.7.0 (#1076)
Update mini-css-extract-plugin requirement from ^0.6.0 to ^0.7.0
2019-06-05 11:34:25 +02:00
dependabot-preview[bot]andGitHub 159535a1f5 Update nextcloud-vue requirement from ^0.10.0 to ^0.11.4
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.10.0...v0.11.4)
2019-06-04 09:13:13 +00:00
Julius HärtlandGitHub e8c8d4c08d Update nextcloud-vue-collections requirement from ^0.4.0 to ^0.5.2 (#1068)
Update nextcloud-vue-collections requirement from ^0.4.0 to ^0.5.2
2019-06-04 11:07:22 +02:00
dependabot-preview[bot]andGitHub 56708643d5 Update nextcloud-vue-collections requirement from ^0.4.0 to ^0.5.2
Updates the requirements on [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) to permit the latest version.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.4.0...v0.5.2)
2019-05-31 08:22:31 +00:00
dependabot-preview[bot]andGitHub 39ca8e5255 Merge pull request #1077 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-axios-tw-0.2.0 2019-05-31 08:19:52 +00:00
dependabot-preview[bot]andGitHub 8402b80690 Update nextcloud-axios requirement from ^0.1.2 to ^0.2.0
Updates the requirements on [nextcloud-axios](https://github.com/ChristophWurst/nextcloud-axios) to permit the latest version.
- [Release notes](https://github.com/ChristophWurst/nextcloud-axios/releases)
- [Commits](https://github.com/ChristophWurst/nextcloud-axios/compare/v0.1.2...v0.2.0)
2019-05-31 07:33:57 +00:00
dependabot-preview[bot]andGitHub 49c21f7dc4 Update mini-css-extract-plugin requirement from ^0.6.0 to ^0.7.0
Updates the requirements on [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.6.0...v0.7.0)
2019-05-31 07:31:28 +00:00
Jakob Röhrl 362de5d411 board sharing sidebar
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-05-08 10:55:06 +02:00
Julius HärtlandGitHub d32da1017c Label editing in board sidebar (#935)
Label editing in board sidebar
2019-04-26 16:27:17 +02:00
Julius Härtl 643797daca Run initial install on drone
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 16:25:43 +02:00
Julius Härtl b854015e16 Use sidebar component for board sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 16:23:12 +02:00
Julius Härtl e7400fe1e5 Fix styling of label sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 16:15:41 +02:00
Jakob RöhrlandJulius Härtl 3f272b91c6 some small changes
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-04-26 15:39:18 +02:00
Julius Härtl 907bf57460 Add working example of vue-multiselect
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 15:39:18 +02:00
Jakob RöhrlandJulius Härtl 49e1d8e8ec added picker, button update and small changes
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-04-26 15:39:01 +02:00
Jakob RöhrlandJulius Härtl 1cd1684936 update, delete and create are working
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-04-26 15:39:01 +02:00
Jakob RöhrlandJulius Härtl b3cb618707 label update
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-04-26 15:39:01 +02:00
Michael WeimannandJulius Härtl 96ec6b812c Add label handling to the main store
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-04-26 15:39:00 +02:00
Jakob RöhrlandJulius Härtl ec01ab4f42 first try
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2019-04-26 15:39:00 +02:00
Julius Härtl f51d0b6716 Fix card styling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 15:35:06 +02:00
Julius Härtl e654fa0b4c Fix sidebar close
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 11:54:32 +02:00
Julius Härtl ea01804567 Move card styles to component and add compact mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 11:43:58 +02:00
Julius Härtl 93589d3eed Styles for board controls and remove old stylesheet
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 10:48:35 +02:00
Julius Härtl a7497aa590 Use AppSidebar component for card sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 10:22:26 +02:00
Julius Härtl 74eb579474 Add color picker to board edit mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 09:56:17 +02:00
Julius Härtl b2d844c013 Fix color picker in sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 09:39:43 +02:00
Julius Härtl dfb91a0e39 Add colorpicker component
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-26 08:56:54 +02:00
Julius Härtl 07cfa1abb8 Hide sections in navigation that are empty
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 21:51:51 +02:00
Julius Härtl 29c63288bf Add loading icon to group selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 21:51:39 +02:00
Julius Härtl 47f9b6cfc3 Add navigation to start screen board list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 21:50:40 +02:00
Julius Härtl f04225a33a Fix edit icon
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 21:41:06 +02:00
Julius Härtl a3b89f7da6 Add group settings to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 21:40:52 +02:00
Julius Härtl 8f1dbd3576 Add board unarchiving and navigation to board sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 19:06:34 +02:00
Julius Härtl d92f4d9739 Make the vue branch work with 17
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 18:54:13 +02:00
Julius HärtlandGitHub 4c9b4ed24f Update nextcloud-vue requirement from ^0.9.0 to ^0.10.0 (#1002)
Update nextcloud-vue requirement from ^0.9.0 to ^0.10.0
2019-04-25 18:19:38 +02:00
dependabot[bot] 79c653152c Update nextcloud-vue requirement from ^0.9.0 to ^0.10.0
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-25 16:16:39 +00:00
Julius Härtl 1a7d3ce00f Also build vue branch
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-25 18:13:43 +02:00
Julius Härtl 77fb6d54ea Merge branch 'master' into vue 2019-04-25 18:11:03 +02:00
Julius HärtlandGitHub f14e086c66 Update vue-smooth-dnd requirement from ^0.7.0 to ^0.8.0 (#1003)
Update vue-smooth-dnd requirement from ^0.7.0 to ^0.8.0
2019-04-25 18:02:39 +02:00
dependabot[bot] 0506c2454f Update vue-smooth-dnd requirement from ^0.7.0 to ^0.8.0
Updates the requirements on [vue-smooth-dnd](https://github.com/kutlugsahin/vue-smooth-dnd) to permit the latest version.
- [Release notes](https://github.com/kutlugsahin/vue-smooth-dnd/releases)
- [Commits](https://github.com/kutlugsahin/vue-smooth-dnd/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-21 01:24:27 +00:00
Julius HärtlandGitHub adf443902c Merge pull request #990 from nextcloud/dependabot/npm_and_yarn/vue/mini-css-extract-plugin-tw-0.6.0
Update mini-css-extract-plugin requirement from ^0.5.0 to ^0.6.0
2019-04-11 09:43:44 +02:00
dependabot[bot] 6c3239ea1f Update mini-css-extract-plugin requirement from ^0.5.0 to ^0.6.0
Updates the requirements on [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.5.0...v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-10 15:39:48 +00:00
Julius HärtlandGitHub c2b5ada462 Merge pull request #968 from nextcloud/dependabot/npm_and_yarn/vue/vue-smooth-dnd-tw-0.7.0
Update vue-smooth-dnd requirement from ^0.3.2 to ^0.7.0
2019-04-10 17:29:40 +02:00
dependabot[bot] 1f14b76caa Update vue-smooth-dnd requirement from ^0.3.2 to ^0.7.0
Updates the requirements on [vue-smooth-dnd](https://github.com/kutlugsahin/vue-smooth-dnd) to permit the latest version.
- [Release notes](https://github.com/kutlugsahin/vue-smooth-dnd/releases)
- [Commits](https://github.com/kutlugsahin/vue-smooth-dnd/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 19:24:21 +00:00
Julius HärtlandGitHub 026abd72f6 Merge pull request #945 from nextcloud/dependabot/npm_and_yarn/vue/raw-loader-tw-2.0.0
Update raw-loader requirement from ^1.0.0 to ^2.0.0
2019-03-19 12:21:29 +01:00
Julius HärtlandGitHub 18544f90c2 Merge pull request #944 from nextcloud/dependabot/npm_and_yarn/vue/vue-smooth-dnd-tw-0.3.2
Update vue-smooth-dnd requirement from ^0.2.8 to ^0.3.2
2019-03-19 12:18:47 +01:00
dependabot[bot] 0d7379366e Update raw-loader requirement from ^1.0.0 to ^2.0.0
Updates the requirements on [raw-loader](https://github.com/webpack-contrib/raw-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/raw-loader/releases)
- [Changelog](https://github.com/webpack-contrib/raw-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/raw-loader/compare/v1.0.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-19 07:30:08 +00:00
dependabot[bot] 2c7ce4590a Update vue-smooth-dnd requirement from ^0.2.8 to ^0.3.2
Updates the requirements on [vue-smooth-dnd](https://github.com/kutlugsahin/vue-smooth-dnd) to permit the latest version.
- [Release notes](https://github.com/kutlugsahin/vue-smooth-dnd/releases)
- [Commits](https://github.com/kutlugsahin/vue-smooth-dnd/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-19 07:27:54 +00:00
Julius HärtlandGitHub 64f6a64f77 Merge pull request #924 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-tw-0.9.0
Update nextcloud-vue requirement from ^0.8.0 to ^0.9.0
2019-03-12 08:46:39 +01:00
dependabot[bot] 8cec3f4b58 Update nextcloud-vue requirement from ^0.8.0 to ^0.9.0
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-06 16:01:44 +00:00
Julius HärtlandGitHub 4c14cb74c1 Merge pull request #917 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-tw-0.8.0
Update nextcloud-vue requirement from ^0.7.0 to ^0.8.0
2019-03-04 11:38:29 +01:00
dependabot[bot] 4729e1f85b Update nextcloud-vue requirement from ^0.7.0 to ^0.8.0
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.7.0...v0.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-02 02:17:50 +00:00
Julius HärtlandGitHub 297eb6b2c8 Merge pull request #905 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-tw-0.7.0
Update nextcloud-vue requirement from ^0.6.3 to ^0.7.0
2019-02-23 13:52:38 +01:00
dependabot[bot] 65c83837a3 Update nextcloud-vue requirement from ^0.6.3 to ^0.7.0
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.6.3...v0.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 02:24:14 +00:00
Julius Härtl bd0aa664b8 Fix some eslint errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-14 13:58:15 +01:00
Julius HärtlandGitHub b46e4c918a Merge pull request #895 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-tw-0.6.3
Update nextcloud-vue requirement from ^0.5.0 to ^0.6.3
2019-02-14 13:47:19 +01:00
dependabot[bot] 1b4519f578 Update nextcloud-vue requirement from ^0.5.0 to ^0.6.3
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/commits/v0.6.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-14 02:25:12 +00:00
Julius HärtlandGitHub f00f03253b Merge pull request #861 from nextcloud/dependabot/npm_and_yarn/vue/babel-jest-tw-24.0.0
Update babel-jest requirement from ^23.6.0 to ^24.0.0
2019-01-28 18:12:19 +01:00
Julius HärtlandGitHub 65bfebb218 Merge pull request #862 from nextcloud/dependabot/npm_and_yarn/vue/jest-tw-24.0.0
Update jest requirement from ^23.6.0 to ^24.0.0
2019-01-28 18:11:57 +01:00
dependabot[bot] 96f328475d Update jest requirement from ^23.6.0 to ^24.0.0
Updates the requirements on [jest](https://github.com/facebook/jest) to permit the latest version.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v24.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 02:20:42 +00:00
dependabot[bot] 71cbf8894d Update babel-jest requirement from ^23.6.0 to ^24.0.0
Updates the requirements on [babel-jest](https://github.com/facebook/jest) to permit the latest version.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v24.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 02:18:49 +00:00
Julius HärtlandGitHub 1bcb07bcad Merge pull request #839 from nextcloud/dependabot/npm_and_yarn/vue/nextcloud-vue-tw-0.5.0
Update nextcloud-vue requirement from ^0.4.2 to ^0.5.0
2019-01-08 15:50:47 +01:00
dependabot[bot] 6b5adbed02 Update nextcloud-vue requirement from ^0.4.2 to ^0.5.0
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/commits/v0.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-08 10:40:16 +00:00
Michael Weimann 47b08f0e52 Implement edit board name
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-01-06 23:06:35 +01:00
Michael Weimann c8b5b1efa5 Add the board api service to the app component
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-01-06 22:32:56 +01:00
Michael Weimann 8521cf4e0c Rename loading set methods to "load"
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-01-06 22:29:20 +01:00
Vadim Nicolai a63de8066e - setSharees action and mutation added
- Moved setBoards logic from App.vue to store.

Signed-off-by: Vadim Nicolai <nicolai.vadim@gmail.com>
2018-12-31 11:22:43 +02:00
Julius Härtl 35d9b48117 Implement stack drag-and-drop and use proper data from store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-29 22:54:18 +01:00
Julius Härtl 0f46b283b7 Add helper function for reordering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-29 22:54:18 +01:00
Julius Härtl c1580c765b Separate store to modules
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-29 22:54:18 +01:00
Michael Weimann 1fc0d64925 Re implement the navigation
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-12-29 22:30:56 +01:00
Michael Weimann 45be999245 Add dummy delete
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-12-29 18:00:09 +01:00
Michael Weimann 03a3d29f1a Re use nav items
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-12-29 18:00:02 +01:00
Michael Weimann b1e434ef6b Fix use of nc vue
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-12-29 13:47:48 +01:00
Michael Weimann 1edb403c9a Merge branch 'vue' of https://github.com/nextcloud/deck into vue 2018-12-29 12:08:03 +01:00
Vadim Nicolai d2f78714a6 Added multiselect; adjusted acl.
Signed-off-by: Vadim Nicolai <nicolai.vadim@gmail.com>
2018-12-28 15:50:50 +02:00
Julius Härtl fb2ee56346 Add sidebar component
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-23 21:58:22 +01:00
Julius Härtl 950c6b9046 Fix drag-and-drop reordering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-23 21:58:03 +01:00
Julius Härtl acd85eb097 Rework routing to make sidebar dependent on child routes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-23 21:57:43 +01:00
Julius Härtl ef06f21d2a Add basic board view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-23 21:56:13 +01:00
Vadim Nicolai 24af938058 Added current user avatar. 2018-12-22 23:17:27 +02:00
Julius HärtlandGitHub 2354a96624 Merge pull request #802 from nextcloud/dependabot/npm_and_yarn/vue/css-loader-tw-2.0.1
Update css-loader requirement from ^1.0.1 to ^2.0.1
2018-12-22 16:31:28 +01:00
Julius HärtlandGitHub 4a2c360de1 Merge pull request #791 from nextcloud/dependabot/npm_and_yarn/vue/raw-loader-tw-1.0.0
Update raw-loader requirement from ^0.5.1 to ^1.0.0
2018-12-22 16:31:05 +01:00
Julius HärtlandGitHub 89fc66df64 Merge pull request #819 from nextcloud/dependabot/npm_and_yarn/vue/file-loader-tw-3.0.1
Update file-loader requirement from ^2.0.0 to ^3.0.1
2018-12-22 16:29:55 +01:00
Michael Weimann d60ff00eec Remove archive action from archived boards
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-12-22 11:42:54 +01:00
Michael Weimann 756b4ddcc2 Use app nav children for categories
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-12-22 11:39:39 +01:00
Julius Härtl 41b917abfb Fix IE compatibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-21 19:28:32 +01:00
Vadim Nicolai 5ab601274c Added header tabs. 2018-12-21 17:19:50 +02:00
dependabot[bot] 1b0ea73318 Update file-loader requirement from ^2.0.0 to ^3.0.1
Updates the requirements on [file-loader](https://github.com/webpack-contrib/file-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/commits/v3.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-21 02:19:01 +00:00
Vadim Nicolai 32269d0483 BoardSidebar intendation fix. 2018-12-20 10:01:12 +02:00
Vadim Nicolai 021e3aa346 Added board sidebar close btn and adjusted title position. 2018-12-20 09:58:09 +02:00
dependabot[bot] 465a09f129 Update raw-loader requirement from ^0.5.1 to ^1.0.0
Updates the requirements on [raw-loader](https://github.com/webpack-contrib/raw-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/raw-loader/releases)
- [Changelog](https://github.com/webpack-contrib/raw-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/raw-loader/commits/v1.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-18 19:40:47 +00:00
Julius HärtlandGitHub adc44622eb Merge pull request #785 from nextcloud/dependabot/npm_and_yarn/vue/mini-css-extract-plugin-tw-0.5.0
Update mini-css-extract-plugin requirement from ^0.4.4 to ^0.5.0
2018-12-18 20:38:40 +01:00
dependabot[bot] 0711149e41 Update css-loader requirement from ^1.0.1 to ^2.0.1
Updates the requirements on [css-loader](https://github.com/webpack-contrib/css-loader) to permit the latest version.
- [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/commits/v2.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-17 02:16:57 +00:00
Michael Weimann 69ad41bb58 Add archive board 2018-12-16 23:30:09 +01:00
Michael Weimann 22744ee39c Add add board functionality 2018-12-16 22:47:58 +01:00
Michael Weimann 6a3643384c State refactoring, adds a sidebar example, extends the breadcrumb navigation, introduces an API class 2018-12-11 19:46:36 +01:00
Michael Weimann 2649309e57 WiP implements the add board action 2018-12-11 16:58:42 +01:00
Michael Weimann 6b2873ab28 Moves boards into their own state 2018-12-11 15:42:25 +01:00
Michael Weimann 643d70e6f0 Removes filtering of the left side bar boards 2018-12-11 14:59:52 +01:00
dependabot[bot] 17fcf0cd61 Update mini-css-extract-plugin requirement from ^0.4.4 to ^0.5.0
Updates the requirements on [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/commits/v0.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 02:21:23 +00:00
Michael Weimann 922aaf31d8 Adds the boards list view 2018-12-05 04:57:01 +01:00
Michael Weimann 8c94da81f1 Implements the breadcrumbs home link 2018-12-05 04:56:03 +01:00
Michael Weimann a4dbb31b8c Adds the board route 2018-12-04 00:14:44 +01:00
Michael Weimann 5ea20e1268 Implements board filters 2018-12-04 00:10:58 +01:00
Michael Weimann bd349a677d Implements loading boards from the API 2018-12-03 23:31:47 +01:00
Michael Weimann 411cab1d45 Happifies eslint and adds an editorconfig 2018-12-03 22:40:39 +01:00
Michael Weimann 18b03550cc Restructures the app main, nav and sidebar 2018-12-02 12:24:55 +01:00
Michael Weimann 6ae42b1007 Extends the nextcloud version range 2018-12-02 11:02:52 +01:00
Michael Weimann 37ce80b085 Adds the package lock file to gitignore 2018-12-02 11:02:36 +01:00
Michael Weimann c121a936ef Adds sass style support for vue 2018-12-02 11:02:25 +01:00
Julius HärtlandGitHub a1edb667b9 Merge pull request #748 from nextcloud/dependabot/npm_and_yarn/vue/css-loader-tw-1.0.1
Update css-loader requirement from ^0.28.11 to ^1.0.1
2018-11-26 11:52:30 +01:00
dependabot[bot] 4ef6045ee5 Update css-loader requirement from ^0.28.11 to ^1.0.1
Updates the requirements on [css-loader](https://github.com/webpack-contrib/css-loader) to permit the latest version.
- [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/commits/v1.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-26 02:29:41 +00:00
Julius Härtl 6783962cd8 Move template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-25 13:31:55 +01:00
Julius Härtl 921cfdfc4a Bump dependencies 2018-11-25 13:30:41 +01:00
Julius Härtl c5179ac62f Build branch on CI
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-25 13:30:40 +01:00
Julius Härtl 0a50467db0 Update drone for vue build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-25 13:30:40 +01:00
Julius Härtl 7f6cde15d4 Use vue template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-25 13:30:40 +01:00
Julius Härtl 1e4d663c11 Add basic vue structure
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-25 13:30:40 +01:00
210 changed files with 24959 additions and 15303 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"plugins": [
"@babel/plugin-syntax-dynamic-import"
],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": [
"last 2 versions",
"ie >= 11"
]
}
}
]
]
}
+18 -77
View File
@@ -16,20 +16,11 @@ steps:
- ./occ app:check-code $APP_NAME -c strong-comparison
- ./occ app:check-code $APP_NAME -c deprecation
- cd apps/$APP_NAME/
- name: syntax-php7.0
image: nextcloudci/php7.0:php7.0-17
environment:
APP_NAME: deck
CORE_BRANCH: stable15
DB: sqlite
commands:
- composer install
- ./vendor/bin/parallel-lint --exclude ./vendor/ --exclude ./lib/Collaboration/ .
- name: syntax-php7.1
image: nextcloudci/php7.1:php7.1-15
environment:
APP_NAME: deck
CORE_BRANCH: stable15
CORE_BRANCH: master
DB: sqlite
commands:
- composer install
@@ -38,7 +29,7 @@ steps:
image: nextcloudci/php7.2:php7.2-9
environment:
APP_NAME: deck
CORE_BRANCH: stable15
CORE_BRANCH: master
DB: sqlite
commands:
- composer install
@@ -47,7 +38,7 @@ steps:
image: nextcloudci/php7.3:php7.3-2
environment:
APP_NAME: deck
CORE_BRANCH: stable15
CORE_BRANCH: master
DB: sqlite
commands:
- composer install
@@ -61,41 +52,13 @@ trigger:
- push
---
kind: pipeline
name: unit-php7.0
steps:
- name: php7.0
image: nextcloudci/php7.0:php7.0-17
environment:
APP_NAME: deck
CORE_BRANCH: stable15
DB: sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- php occ app:enable deck
- cd apps/$APP_NAME
# Run phpunit tests
- composer install
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: unit-php7.1
steps:
- name: php7.1
image: nextcloudci/php7.1:php7.1-15
image: nextcloudci/php7.1:php7.1-16
environment:
APP_NAME: deck
CORE_BRANCH: stable15
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
@@ -122,7 +85,7 @@ steps:
image: nextcloudci/php7.2:php7.2-9
environment:
APP_NAME: deck
CORE_BRANCH: stable15
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
@@ -149,7 +112,7 @@ steps:
image: nextcloudci/php7.3:php7.3-2
environment:
APP_NAME: deck
CORE_BRANCH: stable15
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
@@ -170,39 +133,13 @@ trigger:
- push
---
kind: pipeline
name: integration-stable16
name: integration
steps:
- name: integration
image: nextcloudci/php7.1:php7.1-16
environment:
APP_NAME: deck
CORE_BRANCH: stable16
DB: sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- php occ app:enable deck
- cd apps/$APP_NAME
- cd tests/integration
- ./run.sh || true
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: integration-stable15
steps:
- name: integration
image: nextcloudci/php7.1:php7.1-16
environment:
APP_NAME: deck
CORE_BRANCH: stable15
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
@@ -225,19 +162,23 @@ trigger:
kind: pipeline
name: frontend
steps:
- name: install
image: node:11-alpine
commands:
- npm install
- name: eslint
image: nextcloudci/eslint:eslint-1
image: node:11-alpine
commands:
- ./run-eslint.sh
- npm run lint
- name: jsbuild
image: mhart/alpine-node:6.8.0
image: node:11-alpine
commands:
- apk add --no-cache make
- make build-js
- npm run build
trigger:
branch:
- master
- stable*
- vue
event:
- pull_request
- push
+9
View File
@@ -0,0 +1,9 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
[*.{js,vue}]
indent_style = tab
+67
View File
@@ -0,0 +1,67 @@
module.exports = {
root: true,
env: {
browser: true,
es6: true,
node: true,
jest: true
},
globals: {
t: true,
n: true,
OC: true,
OCA: true,
Vue: true,
VueRouter: true
},
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 6
},
extends: [
'eslint:recommended',
'plugin:node/recommended',
'plugin:vue/essential',
'plugin:vue/recommended',
'standard'
],
plugins: ['vue', 'node'],
rules: {
// space before function ()
'space-before-function-paren': ['error', 'never'],
// curly braces always space
'object-curly-spacing': ['error', 'always'],
// stay consistent with array brackets
'array-bracket-newline': ['error', 'consistent'],
// 1tbs brace style
'brace-style': 'error',
// tabs only
indent: ['error', 'tab'],
'no-tabs': 0,
'vue/html-indent': ['error', 'tab'],
// only debug console
'no-console': ['warn', { allow: ['error', 'warn', 'debug'] }],
// classes blocks
'padded-blocks': ['error', { classes: 'always' }],
// always have the operator in front
'operator-linebreak': ['error', 'before'],
// ternary on multiline
'multiline-ternary': ['error', 'always-multiline'],
// es6 import/export and require
'node/no-unpublished-require': ['off'],
'node/no-unsupported-features/es-syntax': ['off'],
// space before self-closing elements
'vue/html-closing-bracket-spacing': 'error',
// code spacing with attributes
'vue/max-attributes-per-line': [
'error',
{
singleline: 3,
multiline: {
max: 3,
allowFirstLine: true
}
}
]
}
}
-43
View File
@@ -1,43 +0,0 @@
root: true
extends:
- eslint:recommended
env:
browser: true
amd: true
es6: true
globals:
global: false
app: false
angular: false
$: false
escapeHTML: false
OC: false
OCA: false
t: false
oc_current_user: false
oc_requesttoken: false
Clipboard: false
oc_defaults: false
parserOptions:
ecmaVersion: 6
sourceType: "module"
rules:
curly: error
eqeqeq: ["error", "smart"]
guard-for-in: error
no-console: off
no-fallthrough: error
no-mixed-spaces-and-tabs: error
no-unused-vars: warn
no-useless-escape: warn
no-use-before-define: error
semi: ["error", "always"]
indent:
- error
- tab
- SwitchCase: 1
+2 -4
View File
@@ -1,7 +1,5 @@
js/node_modules/*
js/vendor/
js/public/
js/build/
node_modules/*
js/
build/
css/style.css
css/vendor.css
+4 -5
View File
@@ -2,18 +2,17 @@ language: php
services:
- mysql
php:
- 7.0
- 7.1
- 7.2
- 7.3
env:
- CORE_BRANCH=stable15 DB=mysql
- CORE_BRANCH=master DB=mysql
before_install:
- wget https://phar.phpunit.de/phpunit-5.7.phar
- chmod +x phpunit-5.7.phar
- wget https://phar.phpunit.de/phpunit-6.5.phar
- chmod +x phpunit-6.5.phar
- mkdir bin
- mv phpunit-5.7.phar bin/phpunit
- mv phpunit-6.5.phar bin/phpunit
- export PATH="$PWD/bin:$PATH"
- phpunit --version
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+22
View File
@@ -1,6 +1,28 @@
# Changelog
All notable changes to this project will be documented in this file.
## 0.7.0 - 2019-08-20
## Added
- Make deck compatible to Nextcloud 17
- Allow to set the description when creating cards though the REST API
## 0.6.6 - 2019-08-01
### Fixed
- Bump security related dependencies
## 0.6.5 - 2019-07-28
### Fixed
- Fix attachment upload/delete failures
- Bump dependencies
## 0.6.4 - 2019-06-30
### Fixed
- Restore stable15 compatibility
## 0.6.3 - 2019-06-30
### Fixed
+2 -2
View File
@@ -17,7 +17,7 @@
- 🚀 Get your project organized
</description>
<version>0.6.3</version>
<version>0.7.0</version>
<licence>agpl</licence>
<author>Julius Härtl</author>
<namespace>Deck</namespace>
@@ -36,7 +36,7 @@
<database min-version="9.4">pgsql</database>
<database>sqlite</database>
<database min-version="5.5">mysql</database>
<nextcloud min-version="15" max-version="17" />
<nextcloud min-version="17" max-version="18" />
</dependencies>
<background-jobs>
<job>OCA\Deck\Cron\DeleteCron</job>
+1
View File
@@ -40,6 +40,7 @@ return [
['name' => 'board#addAcl', 'url' => '/boards/{boardId}/acl', 'verb' => 'POST'],
['name' => 'board#updateAcl', 'url' => '/boards/{boardId}/acl', 'verb' => 'PUT'],
['name' => 'board#deleteAcl', 'url' => '/boards/{boardId}/acl/{aclId}', 'verb' => 'DELETE'],
['name' => 'board#clone', 'url' => '/boards/{boardId}/clone', 'verb' => 'POST'],
// stacks
['name' => 'stack#index', 'url' => '/stacks/{boardId}', 'verb' => 'GET'],
+1 -1
View File
@@ -13,7 +13,7 @@
},
"require-dev": {
"roave/security-advisories": "dev-master",
"christophwurst/nextcloud": "^15.0",
"christophwurst/nextcloud": "^16.0",
"jakub-onderka/php-parallel-lint": "^1.0.0"
}
}
@@ -2,6 +2,10 @@
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
* @author Artem Anufrij <artem.anufrij@live.de>
* @author Marin Treselj <marin@pixelipo.com>
* @author Oskar Kurz <oskar.kurz@gmail.com>
* @author Ryan Fletcher <ryan.fletcher@codepassion.ca>
*
* @license GNU AGPL version 3 or any later version
*
@@ -20,28 +24,17 @@
*
*/
import app from '../app/App.js';
// OwnCloud Click Handling
// https://doc.owncloud.org/server/8.0/developer_manual/app/css.html
app.directive('appNavigationEntryUtils', function () {
'use strict';
return {
restrict: 'C',
link: function (scope, elm) {
// colors
$color-warning-light: nc-lighten($color-warning, 15%);
$color-lightgrey: nc-darken($color-main-background, 4%);
$color-grey: nc-darken($color-main-background, 7%);
$color-darkgrey: nc-darken($color-main-background, 32%);
var menu = elm.siblings('.app-navigation-entry-menu');
var button = $(elm)
.find('.app-navigation-entry-utils-menu-button button');
// margins/paddings
$board-item-margin: 10px 10px 20px 10px;
$board-last-item-margin: 10px;
button.click(function () {
menu.toggleClass('open');
});
scope.$on('documentClicked', function (scope, event) {
if (event.target !== button[0]) {
menu.removeClass('open');
}
});
}
};
});
$compact-board-item-margin: 5px 10px 10px 10px;
$compact-board-last-item-margin: 5px 10px 10px;
@import 'icons';
+15 -9
View File
@@ -5,10 +5,6 @@
background-image: url('../img/deck-dark.svg');
}
.icon-group {
background-image: url('../../../settings/img/users.svg');
}
.icon-help {
background-image: url('../../../settings/img/help.svg');
}
@@ -17,6 +13,10 @@
background-image: url('../img/add-white.svg');
}
.icon-attach {
background-image: url('../img/attach.svg');
}
.icon-archive {
background-image: url('../img/archive.svg');
}
@@ -53,11 +53,14 @@
background-image: url('../img/toggle-view-collapse.svg');
}
@if mixin-exists('icon-black-white') {
@include icon-black-white('deck', 'deck', 1);
@include icon-black-white('archive', 'deck', 1);
@include icon-black-white('circles', 'deck', 1);
@include icon-black-white('deck', 'deck', 1);
@include icon-black-white('archive', 'deck', 1);
@include icon-black-white('circles', 'deck', 1);
@include icon-black-white('clone', 'deck', 1);
@include icon-black-white('attach', 'deck', 1);
.icon-toggle-compact-collapsed {
@include icon-color('toggle-view-expand', 'deck', $color-black);
}
@@ -77,4 +80,7 @@
opacity: 1;
background-size: 20px;
background-position: center center;
}
}
.icon-colorpicker {
background-image: url('../img/color_picker.svg');
}
-9
View File
@@ -72,10 +72,6 @@ input.input-inline {
border-radius: 0;
}
#app img {
box-sizing: content-box;
}
#searchbox {
display: flex !important;
}
@@ -543,11 +539,6 @@ input.input-inline {
margin-right: 2px;
}
}
button {
padding: 22px;
margin: 0;
}
}
a {
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>

After

Width:  |  Height:  |  Size: 390 B

+1
View File
@@ -0,0 +1 @@
<svg width="16" height="16" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M11.8 13.8H2.2V4.2h9.6m1.2 0c0-.67-.53-1.2-1.2-1.2H2.2C1.53 3 1 3.53 1 4.2v9.6c0 .67.53 1.2 1.2 1.2h9.6c.67 0 1.2-.53 1.2-1.2"/><path d="m4.2 1c-0.67 0-1.2 0.54-1.2 1.2h10.8v10.8c0.67 0 1.2-0.53 1.2-1.2v-9.6c0-0.67-0.53-1.2-1.2-1.2z"/></svg>

After

Width:  |  Height:  |  Size: 327 B

-12
View File
@@ -1,12 +0,0 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
browsers: ['last 2 versions', 'ie >= 11']
}
}
]
]
}
-49
View File
@@ -1,49 +0,0 @@
{
"esversion": 6,
"globals": {
"jasmine" : false,
"spyOn" : false,
"it" : false,
"describe" : false,
"expect" : false,
"beforeEach" : false,
"waits" : false,
"waitsFor" : false,
"runs" : false,
"require" : false,
"module": true
},
"asi" : true,
"boss" : true,
"browser" : true,
"curly" : true,
"debug" : true,
"devel" : true,
"eqeqeq" : true,
"eqnull" : false,
"evil" : false,
"forin" : true,
"immed" : true,
"indent" : 4,
"jquery" : true,
"latedef" : true,
"laxbreak" : false,
"newcap" : true,
"noarg" : true,
"node" : false,
"noempty" : false,
"nomen" : false,
"nonew" : true,
"onevar" : true,
"plusplus" : false,
"quotmark" : "single",
"regexp" : false,
"sub" : true,
"trailing" : true,
"undef" : true,
"unused" : true,
"white" : false,
"scripturl" : true
}
-64
View File
@@ -1,64 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* global angular */
angular.module('markdown', [])
.provider('markdown', [function () {
var opts = {};
return {
config: function (newOpts) {
opts = newOpts;
},
$get: function () {
return new window.showdown.Converter(opts);
}
};
}])
.filter('markdown', ['markdown', function (markdown) {
return function (text) {
return markdown.makeHtml(text || '');
};
}]);
import uirouter from '@uirouter/angularjs';
import ngsanitize from 'angular-sanitize';
import angularuiselect from 'ui-select';
import ngsortable from 'ng-sortable';
import md from 'angular-markdown-it';
import nganimate from 'angular-animate';
import 'angular-file-upload';
import ngInfiniteScroll from 'ng-infinite-scroll';
import '../legacy/jquery.atwho.min';
import '../legacy/jquery.caret.min';
var app = angular.module('Deck', [
ngsanitize,
uirouter,
angularuiselect,
ngsortable, md, nganimate,
'angularFileUpload',
ngInfiniteScroll
]);
export default app;
-117
View File
@@ -1,117 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* global app oc_requesttoken markdownitLinkTarget */
import app from './App.js';
import md from 'angular-markdown-it';
import markdownitLinkTarget from 'markdown-it-link-target';
import markdownitCheckbox from 'legacy/markdown-it-checkbox.js';
app.config(function ($provide, $interpolateProvider, $httpProvider, $urlRouterProvider, $stateProvider, $compileProvider, markdownItConverterProvider) {
'use strict';
$httpProvider.defaults.headers.common.requesttoken = oc_requesttoken;
$compileProvider.debugInfoEnabled(true);
// This should fix adding "unsafe:" prefix to ui-select href links containing javascript
// inline JS is blocked by CSP anyway and filtered out by our markdown renderer as well
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|javascript):/);
markdownItConverterProvider.config({
breaks: true,
linkify: true,
xhtmlOut: true
});
markdownItConverterProvider.use(markdownitLinkTarget).use(markdownitCheckbox);
$urlRouterProvider.otherwise('/');
$stateProvider
.state('list', {
url: '/:filter',
templateUrl: '/boardlist.mainView.html',
controller: 'ListController',
reloadOnSearch: false,
params: {
filter: {value: '', dynamic: true}
}
})
.state('board', {
url: '/board/:boardId/:filter',
templateUrl: '/board.html',
controller: 'BoardController',
params: {
filter: {value: '', dynamic: true}
}
})
.state('board.detail', {
url: '/detail/',
reloadOnSearch: false,
params: {
tab: {value: 0, dynamic: true},
},
views: {
'sidebarView@': {
templateUrl: '/board.sidebarView.html',
controller: 'BoardController'
}
}
})
.state('board.card', {
url: '/card/:cardId',
params: {
tab: {value: 0, dynamic: true},
},
views: {
'sidebarView@': {
templateUrl: '/card.sidebarView.html',
controller: 'CardController'
}
}
});
$provide.decorator('nvFileOverDirective', function ($delegate) {
var directive = $delegate[0],
link = directive.link;
directive.compile = function () {
return function (scope, element, attrs) {
var overClass = attrs.overClass || 'nv-file-over';
link.apply(this, arguments);
let counter = 0;
element.on('dragenter', function (event) {
counter++;
});
element.on('dragleave', function (event) {
counter--;
if (counter <= 0) {
$('.' + overClass).removeClass(overClass);
}
});
};
};
return $delegate;
});
});
-64
View File
@@ -1,64 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from './App.js';
/* global Snap */
app.run(function ($document, $rootScope, $transitions, BoardService) {
'use strict';
$document.click(function (event) {
$rootScope.$broadcast('documentClicked', event);
});
$transitions.onEnter({from: 'list'}, function ($state, $transition$) {
BoardService.unsetCurrrent();
});
$transitions.onEnter({to: 'list'}, function ($state, $transition$) {
BoardService.unsetCurrrent();
document.title = "Deck - " + oc_defaults.name;
});
$transitions.onEnter({to: 'board.card'}, function ($state, $transition$) {
$rootScope.sidebar.show = true;
});
$transitions.onEnter({to: 'board.detail'}, function ($state, $transition$) {
$rootScope.sidebar.show = true;
});
$transitions.onEnter({to: 'board'}, function ($state) {
$rootScope.sidebar.show = false;
});
$transitions.onExit({from: 'board.card'}, function ($state) {
$rootScope.sidebar.show = false;
});
$transitions.onExit({from: 'board.detail'}, function ($state) {
$rootScope.sidebar.show = false;
});
$('link[rel="shortcut icon"]').attr(
'href',
OC.filePath('deck', 'img', 'app-512.png')
);
// Select all elements with data-toggle="tooltips" in the document
$('body').tooltip({
selector: '[data-toggle="tooltip"]'
});
});
-350
View File
@@ -1,350 +0,0 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* global OC OCA OCP t escapeHTML Handlebars moment */
import CommentCollection from '../legacy/commentcollection';
import CommentModel from '../legacy/commentmodel';
class ActivityController {
constructor ($scope, CardService, ActivityService, BoardService) {
'ngInject';
this.cardservice = CardService;
this.boardservice = BoardService;
this.activityservice = ActivityService;
this.$scope = $scope;
this.type = '';
this.loading = false;
this.status = {
commentCreateLoading: false
};
this.$scope.newComment = '';
this.$scope.newCommentString = 'New comment…';
this.currentUser = OC.getCurrentUser();
const self = this;
this.$scope.$watch(function () {
return self.element.id;
}, function (params) {
if (self.type === 'deck_card') {
self.activityservice.loadComments(self.element.id);
}
if (self.getData(self.element.id).length === 0) {
self.loading = true;
self.fetchUntilResults();
}
self.activityservice.fetchNewerActivities(self.type, self.element.id).then(function () {});
if (self.type === 'deck_card') {
self.cardservice.getCurrent().commentsUnread = 0;
}
}, true);
let $target = $('.newCommentForm .message');
this.applyAtWho($target);
this.activityservice.subscribe(this.$scope, function() {
self.$scope.$apply();
});
if (typeof OCA.Activity.Templates !== 'undefined') {
OCA.Activity.Templates.userLocal = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var helper;
// Compiled handlesbars template
// '<span class="avatar-name-wrapper"><avatar ng-attr-contactsmenu ng-attr-tooltip ng-attr-user="{{ id }}" ng-attr-displayname="{{name}}" ng-attr-size="16"></avatar> {{ name }}</span>';
return "<span class=\"avatar-name-wrapper\"><avatar ng-attr-contactsmenu ng-attr-tooltip ng-attr-user=\""
+ container.escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"id","hash":{},"data":data}) : helper)))
+ "\" ng-attr-displayname=\""
+ container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"name","hash":{},"data":data}) : helper)))
+ "\" ng-attr-size=\"16\"></avatar> "
+ container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"name","hash":{},"data":data}) : helper)))
+ "</span>";
},"useData":true});
} else {
OCA.Activity.RichObjectStringParser._userLocalTemplate = '<span class="avatar-name-wrapper"><avatar ng-attr-contactsmenu ng-attr-tooltip ng-attr-user="{{ id }}" ng-attr-displayname="{{name}}" ng-attr-size="16"></avatar> {{ name }}</span>';
}
}
applyAtWho($target) {
const self = this;
if (!$target) {
return;
}
$target.atwho({
at: '@',
callbacks: {
remoteFilter: function(query, callback) {
let uids = self.boardservice.getUsers();
uids = uids.filter((x) => x.uid.toLowerCase().includes(query.toLowerCase()) || x.displayname.toLowerCase().includes(query.toLowerCase()));
callback(uids);
},
highlighter: function (li) {
// misuse the highlighter callback to instead of
// highlighting loads the avatars.
var $li = $(li);
$li.find('.avatar').avatar(undefined, 32);
return $li;
},
sorter: function (q, items) { return items; }
},
displayTpl: function (item) {
return '<li>' +
'<span class="avatar-name-wrapper">' +
'<span class="avatar" ' +
'data-username="' + escapeHTML(item.uid) + '" ' + // for avatars
'data-user="' + escapeHTML(item.uid) + '" ' + // for contactsmenu
'data-user-display-name="' + escapeHTML(item.displayname) + '">' +
'</span>' +
'<strong>' + escapeHTML(item.displayname) + '</strong>' +
'</span></li>';
},
insertTpl: function (item) {
return '' +
'<span class="avatar-name-wrapper">' +
'<span class="avatar" ' +
'data-username="' + escapeHTML(item.uid) + '" ' + // for avatars
'data-user="' + escapeHTML(item.uid) + '" ' + // for contactsmenu
'data-user-display-name="' + escapeHTML(item.displayname) + '">' +
'</span>' +
'<strong>' + escapeHTML(item.displayname) + '</strong>' +
'</span>';
},
searchKey: 'displayname'
});
$target.on('inserted.atwho', function (je, $el) {
$(je.target).find(
'span[data-username="' + $el.find('[data-username]').data('username') + '"]'
).avatar(undefined, 16);
});
$target.on('shown.atwho', function (je) {
$target.find('.avatar').avatar(undefined, 16);
});
}
commentBodyToPlain(content) {
let $comment = $('<div/>').html(content);
$comment.find('.avatar-name-wrapper').each(function () {
var $this = $(this);
var $inserted = $this.parent();
$inserted.html('@' + $this.find('.avatar').data('username'));
});
$comment.html(OCP.Comments.richToPlain($comment.html()));
$comment.html($comment.html().replace(/<br\s*[\/]?>/gi, '\n'));
return $comment.text();
}
static _composeHTMLMention(uid, displayName) {
var avatar = '' +
'<span class="avatar" data-username="' + escapeHTML(uid) + '" data-user="' + escapeHTML(uid) + '" ng-attr-size="16" ' +
'ng-attr-user="' + escapeHTML(uid) + '" ' +
'ng-attr-displayname="' + escapeHTML(displayName) + '" ng-attr-contactsmenu="true">' +
'</span>';
var isCurrentUser = (uid === OC.getCurrentUser().uid);
return '' +
'<span class="atwho-inserted" contenteditable="false">' +
'<span class="avatar-name-wrapper' + (isCurrentUser ? ' currentUser' : '') + '">' +
avatar +
'<strong>' + escapeHTML(displayName) + '</strong>' +
'</span>' +
'</span>';
}
formatMessage(activity) {
let message = activity.message;
let mentions = activity.commentModel.get('mentions');
const editMode = false;
message = escapeHTML(message).replace(/\n/g, '<br/>');
for(var i in mentions) {
if(!mentions.hasOwnProperty(i)) {
return;
}
var mention = '@' + mentions[i].mentionId;
// escape possible regex characters in the name
mention = mention.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
const displayName = ActivityController._composeHTMLMention(mentions[i].mentionId, mentions[i].mentionDisplayName);
// replace every mention either at the start of the input or after a whitespace
// followed by a non-word character.
message = message.replace(new RegExp('(^|\\s)(' + mention + ')\\b', 'g'),
function(match, p1) {
// to get number of whitespaces (0 vs 1) right
return p1+displayName;
}
);
}
if(editMode !== true) {
message = OCP.Comments.plainToRich(message);
}
return message;
}
postComment() {
const self = this;
this.status.commentCreateLoading = true;
let content = this.commentBodyToPlain(self.$scope.newComment);
if (content.length < 1) {
self.status.commentCreateLoading = false;
OC.Notification.showTemporary(t('deck', 'Please provide a content for your comment.'));
return;
}
var model = this.activityservice.commentCollection.create({
actorId: OC.getCurrentUser().uid,
actorDisplayName: OC.getCurrentUser().displayName,
actorType: 'users',
verb: 'comment',
message: content,
creationDateTime: (new Date()).toUTCString()
}, {
at: 0,
// wait for real creation before adding
wait: true,
success: function() {
self.$scope.newComment = '';
self.activityservice.fetchNewerActivities(self.type, self.element.id).then(function () {});
self.status.commentCreateLoading = false;
},
error: function() {
self.status.commentCreateLoading = false;
OC.Notification.showTemporary(t('deck', 'Posting the comment failed.'));
}
});
}
updateComment(item) {
item.commentEdit = this.formatMessage(item);
let $target = $('.newCommentForm .message');
this.applyAtWho($target);
/** Workaround to trigger avatar rendering after the view has been updated */
window.setTimeout(function () {
$target.find('.avatar').avatar(undefined, 16);
}, 0);
}
editComment(item) {
const self = this;
let content = this.commentBodyToPlain(item.commentEdit);
if (content.length < 1) {
OC.Notification.showTemporary(t('deck', 'Please provide a content for your comment.'));
return;
}
/** We need to save the model and afterwards run a fetch to update the mentions
* and call apply to propagate the changes to angular
*/
item.commentModel.on('sync', function() {
item.commentModel.off('sync');
item.commentModel.fetch({
success: function() {
self.$scope.$apply();
}
});
});
item.commentModel.save({
message: content,
});
item.message = content;
item.commentEdit = undefined;
}
deleteComment(item) {
item.commentModel.destroy();
item.deleted = true;
item.commentModel = undefined;
item.message = t('deck', 'The comment has been deleted');
}
getData(id) {
return this.activityservice.getData(this.type, id);
}
parseMessage(activity) {
let subject = activity.subject_rich[0];
let parameters = activity.subject_rich[1];
if (parameters.after && parameters.after.id && parameters.after.id.startsWith('dt:')) {
let dateTime = parameters.after.id.substr(3);
parameters.after.name = moment(dateTime).format('L LTS');
}
return OCA.Activity.RichObjectStringParser.parseMessage(subject, parameters);
}
fetchUntilResults () {
const self = this;
let dataLengthBefore = self.getData(self.element.id).length;
let _executeFetch = function() {
let promise = self.activityservice.fetchMoreActivities(self.type, self.element.id);
promise.then(function (data) {
let dataLengthAfter = self.getData(self.element.id).length;
if (data !== null && (dataLengthAfter <= dataLengthBefore || dataLengthAfter < self.activityservice.RESULT_PER_PAGE)) {
_executeFetch();
} else {
self.loading = false;
}
}, function () {
self.loading = false;
self.$scope.$apply();
});
};
_executeFetch();
}
getComments() {
return this.activityservice.comments;
}
getActivityStream() {
let activities = this.activityservice.getData(this.type, this.element.id);
return activities;
}
page() {
if (!this.activityservice.since[this.type][this.element.id].finished) {
this.loading = true;
this.fetchUntilResults();
} else {
this.loading = false;
}
}
loadingNewer() {
return this.activityservice.runningNewer;
}
t(text) {
return t('deck', text);
}
}
let activityComponent = {
templateUrl: OC.linkTo('deck', 'templates/part.card.activity.html'),
controller: ActivityController,
bindings: {
type: '@',
element: '='
}
};
export default activityComponent;
-44
View File
@@ -1,44 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* globals oc_current_user: false */
app.controller('AppController', function ($scope, $location, $http, $log, $rootScope, $attrs) {
$rootScope.sidebar = {
show: false
};
$scope.sidebar = $rootScope.sidebar;
$scope.user = oc_current_user;
$rootScope.config = JSON.parse($attrs.config);
$rootScope.compactMode = localStorage.getItem('deck.compactMode') === 'true';
$scope.appNavigationHide = localStorage.getItem('deck.appNavigationHide') === 'true';
$scope.toggleSidebar = function() {
if ($(window).width() > 768) {
$log.debug($scope.appNavigationHide);
$scope.appNavigationHide = !$scope.appNavigationHide;
localStorage.setItem('deck.appNavigationHide', JSON.stringify($scope.appNavigationHide));
}
};
});
-78
View File
@@ -1,78 +0,0 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* global OC */
class AttachmentListController {
constructor ($scope, CardService, FileService) {
'ngInject';
this.cardservice = CardService;
this.fileservice = FileService;
this.attachments = CardService.getCurrent().attachments;
}
mimetypeForAttachment(attachment) {
let url = OC.MimeType.getIconUrl(attachment.extendedData.mimetype);
let styles = {
'background-image': `url("${url}")`,
};
return styles;
}
attachmentUrl(attachment) {
let cardId = this.cardservice.getCurrent().id;
let attachmentId = attachment.id;
return OC.generateUrl(`/apps/deck/cards/${cardId}/attachment/${attachmentId}`);
}
getAttachmentMarkdown(attachment) {
const inlineMimetypes = ['image/png', 'image/jpg', 'image/jpeg'];
let url = this.attachmentUrl(attachment);
let filename = attachment.data;
let insertText = `[📎 ${filename}](${url})`;
if (inlineMimetypes.indexOf(attachment.extendedData.mimetype) > -1) {
insertText = `![📎 ${filename}](${url})`;
}
return insertText;
}
select(attachment) {
this.onSelect({attachment: this.getAttachmentMarkdown(attachment)});
}
abort() {
this.onAbort();
}
}
let attachmentListComponent = {
templateUrl: '/card.attachments.html',
controller: AttachmentListController,
bindings: {
isFileSelector: '<',
attachments: '=',
onSelect: '&',
onAbort: '&'
}
};
export default attachmentListComponent;
-568
View File
@@ -1,568 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* global oc_defaults oc_config OC OCP OCA t n */
import app from '../app/App.js';
import Vue from 'vue';
Vue.prototype.t = t;
Vue.prototype.n = n;
Vue.prototype.OC = OC;
import CollaborationView from '../views/CollaborationView';
app.controller('BoardController', function ($rootScope, $scope, $element, $stateParams, StatusService, BoardService, StackService, CardService, LabelService, $state, $transitions, $filter, FileService) {
$scope.sidebar = $rootScope.sidebar;
$scope.id = $stateParams.boardId;
$scope.status = {
addCard: [],
};
$scope.newLabel = {};
$scope.OC = OC;
$scope.stackservice = StackService;
$scope.boardservice = BoardService;
$scope.cardservice = CardService;
$scope.statusservice = StatusService.getInstance();
$scope.labelservice = LabelService;
$scope.defaultColors = ['31CC7C', '317CCC', 'FF7A66', 'F1DB50', '7C31CC', 'CC317C', '3A3B3D', 'CACBCD'];
$scope.board = BoardService.getCurrent();
$scope.uploader = FileService.uploader;
$scope.searchText = '';
$scope.startTitleEdit = function(card) {
card.renameTitle = card.title;
card.status = card.status || {};
card.status.editCard = true;
};
$scope.finishTitleEdit = function(card) {
var newTitle;
if (!card.renameTitle || !card.renameTitle.trim()) {
newTitle = '';
} else {
newTitle = card.renameTitle.trim();
}
if (newTitle === card.title) {
// title unchanged
card.status.editCard = false;
delete card.renameTitle;
} else if (newTitle !== '') {
// title changed
card.title = newTitle;
CardService.update(card).then(function (data) {
card.status.editCard = false;
delete card.renameTitle;
});
} else {
// empty title
card.status.editCard = false;
delete card.renameTitle;
}
};
$scope.$watch(function() {
return $scope.params.tab;
}, function (newTab, oldTab) {
if (newTab === 2 && oldTab !== 2) {
CardService.fetchDeleted($scope.id);
StackService.fetchDeleted($scope.id);
}
});
// workaround for $stateParams changes not being propagated
$scope.$watch(function() {
return $state.params;
}, function (params) {
$scope.params = params;
}, true);
$scope.params = $state.params;
/**
* Check for markdown checkboxes in description to render the counter
*
* This should probably be moved to the backend at some point
*
* @param text
* @returns array of [finished, total] checkboxes
*/
$scope.getCheckboxes = function(text) {
const regTotal = /\[(X|\s|\_|\-)\]/igm;
const regFinished = /\[(X|\_|\-)\]/igm;
return [
((text || '').match(regFinished) || []).length,
((text || '').match(regTotal) || []).length
];
};
$scope.search = function (searchText) {
$scope.searchText = searchText;
$scope.refreshData();
};
$scope.$watch(function () {
if (typeof BoardService.getCurrent() !== 'undefined') {
return BoardService.getCurrent().title;
} else {
return null;
}
}, function () {
$scope.setPageTitle();
});
$scope.setPageTitle = function () {
if (BoardService.getCurrent()) {
document.title = BoardService.getCurrent().title + ' | Deck - ' + oc_defaults.name;
} else {
document.title = 'Deck - ' + oc_defaults.name;
}
};
$scope.statusservice.retainWaiting();
$scope.statusservice.retainWaiting();
// handle filter parameter for switching between archived/unarchived cards
$scope.switchFilter = function (filter) {
$state.go('.', {filter: filter});
};
$scope.$watch(function() {
return $scope.params.filter;
}, function (filter) {
if (filter === 'archive') {
$scope.loadArchived();
} else {
$scope.loadDefault();
}
});
if (parseInt(oc_config.version.split('.')[0]) >= 16) {
const ComponentVM = new Vue({
render: h => h(CollaborationView),
data: {
model: BoardService.getCurrent()
},
});
$scope.mountCollections = function () {
const MountingPoint = document.getElementById('collaborationResources');
if (MountingPoint) {
ComponentVM.model = BoardService.getCurrent();
ComponentVM.$mount(MountingPoint);
}
};
$scope.$$postDigest($scope.mountCollections);
$scope.$watch(function () {
return BoardService.getCurrent();
}, function () {
ComponentVM.model = BoardService.getCurrent();
if ($scope.sidebar.show) {
$scope.$$postDigest($scope.mountCollections);
}
});
}
$scope.toggleCompactMode = function() {
$rootScope.compactMode = !$rootScope.compactMode;
localStorage.setItem('deck.compactMode', JSON.stringify($rootScope.compactMode));
};
$scope.stacksData = StackService;
$scope.stacks = [];
$scope.$watch('stacksData', function () {
$scope.refreshData();
}, true);
$scope.refreshData = function () {
if ($scope.params.filter === 'archive') {
$scope.filterData('-lastModified', $scope.searchText);
} else {
$scope.filterData('order', $scope.searchText);
}
};
$scope.checkCanEdit = function () {
return !BoardService.getCurrent().archived;
};
// filter cards here, as ng-sortable will not work nicely with html-inline filters
$scope.filterData = function (order, text) {
if ($scope.stacks === undefined) {
return;
}
angular.copy(StackService.getData(), $scope.stacks);
$scope.stacks = $filter('orderBy')($scope.stacks, 'order');
angular.forEach($scope.stacks, function (value, key) {
var cards = $filter('cardSearchFilter')(value.cards, text);
cards = $filter('orderBy')(cards, order);
$scope.stacks[key].cards = cards;
});
};
$scope.loadDefault = function () {
StackService.fetchAll($scope.id).then(function (data) {
$scope.statusservice.releaseWaiting();
}, function (error) {
$scope.statusservice.setError('Error occured', error);
});
};
$scope.loadArchived = function () {
StackService.fetchArchived($scope.id).then(function (data) {
$scope.statusservice.releaseWaiting();
}, function (error) {
$scope.statusservice.setError('Error occured', error);
});
};
// Handle initial Loading
BoardService.fetchOne($scope.id).then(function (data) {
$scope.statusservice.releaseWaiting();
$scope.setPageTitle();
}, function (error) {
$scope.statusservice.setError('Error occured', error);
});
$scope.searchForUser = function (search) {
BoardService.searchUsers(search);
};
$scope.newStack = {'boardId': $scope.id};
$scope.newCard = {};
// Create a new Stack
$scope.createStack = function () {
StackService.create($scope.newStack).then(function (data) {
$scope.newStack.title = '';
});
};
$scope.createCard = function (stack, title) {
if (this['addCardForm' + stack].$valid) {
var newCard = {
'title': title,
'stackId': stack,
'type': 'plain'
};
CardService.create(newCard).then(function (data) {
$scope.stackservice.addCard(data);
$scope.newCard.title = '';
});
}
};
$scope.stackDelete = function (stack) {
$scope.stackservice.delete(stack.id);
};
$scope.stackUndoDelete = function (deletedStack) {
return StackService.undoDelete(deletedStack);
};
$scope.cardDelete = function (card) {
CardService.delete(card.id).then(function () {
StackService.removeCard(card);
$scope.sidebar.show = false;
});
};
$scope.cardOrCardAndStackUndoDelete = function (deletedCard) {
var associatedDeletedStack = $scope.stackservice.deleted[deletedCard.stackId];
if(associatedDeletedStack !== undefined) {
$scope.cardAndStackUndoDeleteAskForConfirmation(deletedCard, associatedDeletedStack);
} else {
$scope.cardUndoDelete(deletedCard);
}
};
$scope.cardAndStackUndoDeleteAskForConfirmation = function(deletedCard, associatedDeletedStack) {
OC.dialogs.confirm(
t('deck', 'The associated stack is deleted as well, it will be restored as well.'),
t('deck', 'Restore associated stack'),
function(state) {
if (state) {
$scope.cardAndStackUndoDelete(deletedCard, associatedDeletedStack);
}
}
);
};
$scope.cardAndStackUndoDelete = function(deletedCard, associatedDeletedStack) {
$scope.stackUndoDelete(associatedDeletedStack).then(function() {
$scope.cardUndoDelete(deletedCard);
});
};
$scope.cardUndoDelete = function(deletedCard) {
CardService.undoDelete(deletedCard).then(function() {
StackService.addCard(deletedCard);
});
};
$scope.cardArchive = function (card) {
CardService.archive(card);
StackService.removeCard(card);
};
$scope.isCurrentUserAssigned = function (card) {
if (! CardService.get(card.id).assignedUsers) {
return false;
}
var userList = CardService.get(card.id).assignedUsers.filter(function (obj) {
return obj.participant.uid === OC.getCurrentUser().uid;
});
return userList.length === 1;
};
$scope.cardAssignToMe = function (card) {
CardService.assignUser(card, OC.getCurrentUser().uid)
.then(
function() {StackService.updateCard(card);}
);
// TODO: remove this jquery call. Fix and use appPopoverMenuUtils instead
$('.popovermenu').addClass('hidden');
};
$scope.cardUnassignFromMe = function (card) {
CardService.unassignUser(card, OC.getCurrentUser().uid);
StackService.updateCard(card);
// TODO: remove this jquery call.Fix and use appPopoverMenuUtils instead
$('.popovermenu').addClass('hidden');
};
$scope.cardUnarchive = function (card) {
CardService.unarchive(card);
StackService.removeCard(card);
};
$scope.labelDelete = function (label) {
LabelService.delete(label.id);
// remove from board data
var i = BoardService.getCurrent().labels.indexOf(label);
BoardService.getCurrent().labels.splice(i, 1);
// remove from cards
var cards = CardService.data;
for (var card in cards) {
if (Object.prototype.hasOwnProperty.call(cards, card)) {
var labelsFromCard = cards[card].labels;
labelsFromCard.forEach(function (labelFromCard, index) {
if (labelFromCard.id === label.id) {
cards[card].labels.splice(index, 1);
}
});
}
}
};
$scope.labelCreate = function (label) {
label.boardId = $scope.id;
LabelService.create(label).then(function (data) {
$scope.newStack.title = '';
BoardService.getCurrent().labels.push(data);
$scope.status.createLabel = false;
$scope.newLabel = {};
}).catch((err) => {
OC.Notification.showTemporary(err);
});
};
$scope.labelUpdateBefore = function (label) {
label.renameTitle = label.title;
};
$scope.labelUpdate = function (label) {
label.edit = false;
LabelService.update(label).catch((err) => {
label.title = label.renameTitle;
OC.Notification.showTemporary(err);
});
// update labels in UI
var cards = CardService.data;
for (var card in cards) {
if (Object.prototype.hasOwnProperty.call(cards, card)) {
var labelsFromCard = cards[card].labels;
labelsFromCard.forEach(function (labelFromCard, index) {
if (labelFromCard.id === label.id) {
cards[card].labels[index] = label;
}
});
}
}
};
$scope.aclAdd = function (sharee) {
sharee.boardId = $scope.id;
BoardService.addAcl(sharee);
$scope.status.addSharee = null;
};
$scope.aclDelete = function (acl) {
BoardService.deleteAcl(acl).then(function(data) {
$scope.loadDefault();
$scope.refreshData();
});
};
$scope.aclUpdate = function (acl) {
BoardService.updateAcl(acl);
};
$scope.aclTypeString = function (acl) {
if (typeof acl === 'undefined') {
return '';
}
switch (acl.type) {
case OC.Share.SHARE_TYPE_USER:
return 'user';
case OC.Share.SHARE_TYPE_GROUP:
return 'group';
case OC.Share.SHARE_TYPE_CIRCLE:
return 'circles';
default:
return '';
}
};
// settings for card sorting
$scope.sortOptions = {
id: 'card',
itemMoved: function (event) {
event.source.itemScope.modelValue.status = event.dest.sortableScope.$parent.column;
var order = event.dest.index;
var card = $scope.cardservice.get(event.source.itemScope.c.id);
var newStack = event.dest.sortableScope.$parent.s.id;
var oldStack = card.stackId;
card.stackId = newStack;
CardService.update(card);
CardService.reorder(card, order).then(function (data) {
StackService.addCard(card);
StackService.reorderCard(card, order);
StackService.removeCard({
id: card.id,
stackId: oldStack
});
});
},
orderChanged: function (event) {
var order = event.dest.index;
var card = $scope.cardservice.get(event.source.itemScope.c.id);
var stack = event.dest.sortableScope.$parent.s.id;
CardService.reorder(card, order).then(function (data) {
StackService.reorderCard(card, order);
$scope.refreshData();
});
},
scrollableContainer: '#innerBoard',
containerPositioning: 'relative',
containment: '#innerBoard',
longTouch: true,
// auto scroll on drag
dragMove: function (itemPosition, containment, eventObj) {
if (eventObj) {
var container = $('#board');
var offset = container.offset();
var targetX = eventObj.pageX - (offset.left || container.scrollLeft());
var targetY = eventObj.pageY - (offset.top || container.scrollTop());
if (targetX < offset.left) {
container.scrollLeft(container.scrollLeft() - 25);
} else if (targetX > container.width()) {
container.scrollLeft(container.scrollLeft() + 25);
}
if (targetY < offset.top) {
container.scrollTop(container.scrollTop() - 25);
} else if (targetY > container.height()) {
container.scrollTop(container.scrollTop() + 25);
}
}
},
accept: function (sourceItemHandleScope, destSortableScope, destItemScope) {
return sourceItemHandleScope.sortableScope.options.id === 'card';
}
};
$scope.sortOptionsStack = {
id: 'stack',
orderChanged: function (event) {
var order = event.dest.index;
var stack = event.source.itemScope.s;
StackService.reorder(stack, order).then(function (data) {
$scope.refreshData();
});
},
scrollableContainer: '#board',
containerPositioning: 'relative',
containment: '#innerBoard',
dragMove: function (itemPosition, containment, eventObj) {
if (eventObj) {
var container = $('#board');
var offset = container.offset();
var targetX = eventObj.pageX - (offset.left || container.scrollLeft());
var targetY = eventObj.pageY - (offset.top || container.scrollTop());
if (targetX < offset.left) {
container.scrollLeft(container.scrollLeft() - 50);
} else if (targetX > container.width()) {
container.scrollLeft(container.scrollLeft() + 50);
}
if (targetY < offset.top) {
container.scrollTop(container.scrollTop() - 50);
} else if (targetY > container.height()) {
container.scrollTop(container.scrollTop() + 50);
}
}
},
accept: function (sourceItemHandleScope, destSortableScope, destItemScope) {
return sourceItemHandleScope.sortableScope.options.id === 'stack';
}
};
$scope.labelStyle = function (color) {
return {
'background-color': '#' + color,
'color': $filter('textColorFilter')(color)
};
};
$scope.colorValue = function(color) {
const re = /^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/;
if (re.test(color)) {
return color;
}
return '';
};
$scope.attachmentCount = function(card) {
if (Array.isArray(card.attachments)) {
return card.attachments.filter((obj) => obj.deletedAt === 0).length;
}
return card.attachmentCount;
};
$scope.unreadCommentCount = function(card) {
return card.commentsUnread;
};
$scope.isTimelineEnabled = function() {
return OCP.Comments && OCA.Activity;
};
});
-286
View File
@@ -1,286 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* global app moment angular OC OCP OCA */
import app from '../app/App.js';
app.controller('CardController', function ($scope, $rootScope, $sce, $location, $stateParams, $state, $interval, $timeout, $filter, BoardService, CardService, StackService, StatusService, markdownItConverter, FileService) {
$scope.sidebar = $rootScope.sidebar;
$scope.status = {
renameTitle: '',
lastEdit: 0,
lastSave: Date.now()
};
$scope.cardservice = CardService;
$scope.fileservice = FileService;
$scope.cardId = $stateParams.cardId;
$scope.statusservice = StatusService.getInstance();
$scope.boardservice = BoardService;
$scope.isArray = angular.isArray;
// workaround for $stateParams changes not being propagated
$scope.$watch(function() {
return $state.params;
}, function (params) {
$scope.params = params;
$scope.fileservice.reset();
}, true);
$scope.params = $state.params;
$scope.addAttachmentToDescription = function(insertText) {
let el = document.querySelectorAll('textarea')[0];
let start = el.selectionStart;
let end = el.selectionEnd;
let text = $scope.status.edit.description || '';
let before = text.substring(0, start);
let after = text.substring(end, text.length);
let newText = before + '\n' + insertText + '\n' + after;
$scope.status.edit.description = newText;
el.selectionStart = el.selectionEnd = start + newText.length;
el.focus();
$scope.status.continueEdit = false;
$scope.cardEditDescriptionChanged();
$scope.status.selectAttachment = false;
};
$scope.abortAttachmentSelection = function() {
$scope.status.continueEdit = false;
$scope.status.selectAttachment = false;
let el = document.querySelectorAll('textarea')[0];
el.focus();
};
$scope.statusservice.retainWaiting();
$scope.description = function() {
return $scope.rendered;
};
$scope.updateMarkdown = function(content) {
// only trust the html from markdown-it-checkbox
$scope.rendered = $sce.trustAsHtml(markdownItConverter.render(content || ''));
};
CardService.fetchOne($scope.cardId).then(function (data) {
$scope.statusservice.releaseWaiting();
$scope.archived = CardService.getCurrent().archived;
$scope.updateMarkdown(CardService.getCurrent().description);
}, function (error) {
});
$scope.cardRenameShow = function () {
if ($scope.archived || !BoardService.canEdit()) {
return false;
} else {
$scope.status.renameTitle = CardService.getCurrent().title;
$scope.status.cardRename = true;
}
};
$scope.toggleCheckbox = function (id) {
$('#markdown input[type=checkbox]').attr('disabled', true);
$scope.status.edit = angular.copy(CardService.getCurrent());
var reg = /\[(X|\s|\_|\-)\]/ig;
var nth = 0;
$scope.status.edit.description = $scope.status.edit.description.replace(reg, function (match, i, original) {
var result = match;
if ('' + nth++ === '' + id) {
if (match.match(/^\[\s\]/i)) {
result = match.replace(/\[\s\]/i, '[x]');
}
if (match.match(/^\[x\]/i)) {
result = match.replace(/\[x\]/i, '[ ]');
}
return result;
}
return match;
});
CardService.update($scope.status.edit).then(function (data) {
var header = $('.tabDetails');
header.find('.save-indicator.unsaved').hide();
header.find('.save-indicator.saved').fadeIn(250).fadeOut(1000);
});
$('#markdown input[type=checkbox]').removeAttr('disabled');
};
$scope.clickCardDescription = function ($event) {
var checkboxId = $($event.target).data('id');
if ($event.target.tagName === 'LABEL') {
$scope.toggleCheckbox(checkboxId);
$event.stopPropagation();
return false;
}
if ($event.target.tagName === 'INPUT') {
$event.stopPropagation();
return;
}
if (BoardService.isArchived() || CardService.getCurrent().archived) {
return false;
}
if ($scope.card.archived || !$scope.boardservice.canEdit()) {
return false;
}
$scope.status.cardEditDescription = true;
$scope.status.edit = angular.copy(CardService.getCurrent());
return true;
};
$scope.cardEditDescriptionChanged = function ($event) {
$scope.status.lastEdit = Date.now();
var header = $('.tabDetails');
header.find('.save-indicator.unsaved').show();
header.find('.save-indicator.saved').hide();
};
$interval(function() {
var currentTime = Date.now();
var timeSinceEdit = currentTime-$scope.status.lastEdit;
if (timeSinceEdit > 1000 && $scope.status.lastEdit > $scope.status.lastSave && !$scope.status.saving) {
$scope.status.lastSave = currentTime;
$scope.status.saving = true;
var header = $('.tabDetails');
header.find('.save-indicator.unsaved').fadeIn(500);
CardService.update($scope.status.edit).then(function (data) {
var header = $('.tabDetails');
header.find('.save-indicator.unsaved').hide();
header.find('.save-indicator.saved').fadeIn(250).fadeOut(1000);
$scope.status.saving = false;
});
}
}, 500, 0, false);
// handle rename to update information on the board as well
$scope.cardRename = function (card) {
var newTitle;
if (!$scope.status.renameTitle || !$scope.status.renameTitle.trim()) {
newTitle = '';
} else {
newTitle = $scope.status.renameTitle.trim();
}
if (newTitle === card.title) {
// title unchanged
$scope.status.renameCard = false;
} else if (newTitle !== '') {
// title changed
card.title = newTitle;
CardService.rename(card).then(function (data) {
$scope.status.renameCard = false;
});
} else {
// empty title
$scope.status.renameTitle = card.title;
$scope.status.renameCard = false;
}
};
$scope.cardUpdate = function (card) {
CardService.update(card).then(function (data) {
$scope.status.cardEditDescription = false;
$scope.updateMarkdown($scope.status.edit.description);
var header = $('.tabDetails');
header.find('.save-indicator.unsaved').hide();
header.find('.save-indicator.saved').fadeIn(500).fadeOut(1000);
});
};
$scope.labelAssign = function (element, model) {
CardService.assignLabel($scope.cardId, element.id).then(function (data) {
});
};
$scope.labelRemove = function (element, model) {
CardService.removeLabel($scope.cardId, element.id).then(function (data) {
});
};
$scope.setDuedate = function (duedate) {
var element = CardService.getCurrent();
var newDate = moment(element.duedate);
if(!newDate.isValid()) {
newDate = moment();
}
newDate.date(duedate.date());
newDate.month(duedate.month());
newDate.year(duedate.year());
element.duedate = newDate.toISOString();
CardService.update(element);
};
$scope.setDuedateTime = function (time) {
var element = CardService.getCurrent();
var newDate = moment(element.duedate);
if(!newDate.isValid()) {
newDate = moment();
}
newDate.hour(time.hour());
newDate.minute(time.minute());
element.duedate = newDate.toISOString();
CardService.update(element);
};
$scope.resetDuedate = function () {
var element = CardService.getCurrent();
element.duedate = null;
CardService.update(element);
};
/**
* Show ui-select field when clicking the add button
*/
$scope.toggleAssignUser = function() {
$scope.status.showAssignUser = !$scope.status.showAssignUser;
if ($scope.status.showAssignUser === true) {
$timeout(function () {
$('#assignUserSelect').find('a').click();
});
}
};
/**
* Hide ui-select when select list is closed
*/
$scope.assingUserOpenClose = function(isOpen) {
$scope.status.showAssignUser = isOpen;
};
$scope.addAssignedUser = function(item) {
CardService.assignUser(CardService.getCurrent(), item.uid).then(function (data) {
});
$scope.status.showAssignUser = false;
};
$scope.removeAssignedUser = function(uid) {
CardService.unassignUser(CardService.getCurrent(), uid).then(function (data) {
});
};
$scope.labelStyle = function (color) {
return {
'background-color': '#' + color,
'color': $filter('textColorFilter')(color)
};
};
$scope.isTimelineEnabled = function() {
return OCP.Comments && OCA.Activity;
};
});
-44
View File
@@ -1,44 +0,0 @@
/*
* @copyright Copyright (c) 2018 Oskar Kurz <oskar.kurz@gmail.com>
*
* @author Oskar Kurz <oskar.kurz@gmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* global oc_defaults OC */
app.controller('ColorPickerController', ['$scope', function ($scope) {
$scope.hashedColor = '';
$scope.setColor = function (object, color) {
object.color = color;
object.hashedColor = '#' + color;
return object;
};
$scope.setHashedColor = function (object) {
object.color = object.hashedColor.substr(1);
return object;
};
$scope.getCustomBackground = function (color) {
return {'background-color': color};
};
}]);
-255
View File
@@ -1,255 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* global app angular oc_isadmin */
var ListController = function ($scope, $location, $filter, BoardService, $element, $timeout, $stateParams, $state, StatusService, $http, $q, $rootScope) {
function calculateNewColor() {
var boards = BoardService.getAll();
var boardKeys = Object.keys(boards);
var colorOccurrences = [];
for (var i = 0; i < $scope.colors.length; i++) {
colorOccurrences.push(0);
}
for (var j = 0; j < boardKeys.length; j++) {
var key = boardKeys[j];
var board = boards[key];
if (board && $scope.colors.indexOf(board.color) !== -1) {
colorOccurrences[$scope.colors.indexOf(board.color)]++;
}
}
return $scope.colors[colorOccurrences.indexOf(Math.min.apply(Math, colorOccurrences))];
}
$scope.boards = [];
$scope.newBoard = {};
$scope.status = {
deleteUndo: [],
filter: $stateParams.filter ? $stateParams.filter : '',
sidebar: false
};
$scope.colors = ['0082c9', '00c9c6','00c906', 'c92b00', 'F1DB50', '7C31CC', '3A3B3D', 'CACBCD'];
$scope.boardservice = BoardService;
$scope.updatingBoard = null;
$scope.isAdmin = oc_isadmin;
$scope.canCreate = $rootScope.config.canCreate;
if ($scope.isAdmin) {
OC.Apps.enableDynamicSlideToggle();
$scope.groups = [];
$scope.groupLimit = [];
$scope.groupLimitDisabled = true;
let fetchGroups = function () {
var deferred = $q.defer();
// TODO: move to groups/details once 15 is min version
$http.get(OC.linkToOCS('cloud', 2) + 'groups').then(function (response) {
$scope.groups = response.data.ocs.data.groups.reduce((obj, item) => {
obj.push({
id: item,
displayname: item,
});
return obj;
}, []);
deferred.resolve($scope.groups);
}, function (error) {
deferred.reject('Error while loading groups');
});
$http.get(OC.generateUrl('apps/deck/config')).then(function (response) {
$scope.groupLimit = response.data.groupLimit;
$scope.groupLimitDisabled = false;
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while loading groupLimit');
});
return deferred.promise;
};
let updateConfig = function() {
$scope.groupLimitDisabled = true;
var deferred = $q.defer();
$http.post(OC.generateUrl('apps/deck/config/groupLimit'), {value: $scope.groupLimit}).then(function (response) {
$scope.groupLimitDisabled = false;
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while saving groupLimit');
});
return deferred.promise;
};
$scope.groupLimitAdd = function (element, model) {
$scope.groupLimit.push(element);
updateConfig();
};
$scope.groupLimitRemove = function (element, model) {
$scope.groupLimit = $scope.groupLimit.filter((el) => {
return el.id !== element.id;
});
updateConfig();
};
fetchGroups();
}
var filterData = function () {
if($element.attr('id') === 'app-navigation') {
$scope.boardservice.sidebar = $scope.boardservice.getData();
$scope.boardservice.sidebar = $filter('orderBy')($scope.boardservice.sidebar, 'title');
$scope.boardservice.sidebar = $filter('cardFilter')($scope.boardservice.sidebar, {archived: false});
} else {
$scope.boardservice.sorted = $scope.boardservice.getData();
if ($scope.status.filter === 'archived') {
var filter = {};
filter[$scope.status.filter] = true;
$scope.boardservice.sorted = $filter('cardFilter')($scope.boardservice.sorted, filter);
} else if ($scope.status.filter === 'shared') {
$scope.boardservice.sorted = $filter('cardFilter')($scope.boardservice.sorted, {archived: false});
$scope.boardservice.sorted = $filter('boardFilterAcl')($scope.boardservice.sorted);
} else {
$scope.boardservice.sorted = $filter('cardFilter')($scope.boardservice.sorted, {archived: false});
}
$scope.boardservice.sorted = $filter('orderBy')($scope.boardservice.sorted, ['deletedAt', 'title']);
}
};
var finishedLoading = function() {
filterData();
$scope.newBoard.color = calculateNewColor();
};
var initialize = function () {
$scope.statusservice = StatusService.listStatus;
if($element.attr('id') === 'app-navigation') {
$scope.statusservice.retainWaiting();
BoardService.fetchAll().then(function(data) {
finishedLoading();
$scope.statusservice.releaseWaiting();
BoardService.loaded = true;
}, function (error) {
$scope.statusservice.setError('Error occured', error);
});
} else {
/* initialize main list controller when board list is loaded */
var boardDataWatch = $scope.$watch(function () {
return $scope.boardservice.loaded;
}, function () {
if (BoardService.loaded === true) {
boardDataWatch();
finishedLoading();
}
});
}
$scope.$watch(function () {
return $scope.boardservice.data;
}, function () {
filterData();
}, true);
/* Watch for board filter change */
$scope.$watchCollection(function(){
return $state.params;
}, function(){
$scope.status.filter = $state.params.filter;
filterData();
});
};
initialize();
$scope.selectColor = function(color) {
$scope.newBoard.color = color;
};
$scope.gotoBoard = function(board) {
if(board.deletedAt > 0) {
return false;
}
return $state.go('board', {boardId: board.id});
};
$scope.boardCreate = function() {
if(!$scope.newBoard.title || !$scope.newBoard.color) {
$scope.status.addBoard=false;
return;
}
BoardService.create($scope.newBoard)
.then(function (response) {
$scope.newBoard = {};
$scope.newBoard.color = calculateNewColor();
$scope.status.addBoard=false;
filterData();
}, function(error) {
$scope.status.createBoard = 'Unable to insert board: ' + error.message;
});
};
$scope.boardUpdate = function(board) {
BoardService.update(board).then(function(data) {
board.status.edit = false;
filterData();
});
};
$scope.boardUpdateBegin = function(board) {
$scope.updatingBoard = angular.copy(board);
};
$scope.boardUpdateReset = function(board) {
board.title = $scope.updatingBoard.title;
board.color = $scope.updatingBoard.color;
filterData();
board.status.edit = false;
};
$scope.boardArchive = function (board) {
board.archived = true;
BoardService.update(board).then(function(data) {
filterData();
});
};
$scope.boardUnarchive = function (board) {
board.archived = false;
BoardService.update(board).then(function(data) {
filterData();
});
};
$scope.boardDelete = function(board) {
BoardService.delete(board.id).then(function (data) {
filterData();
});
};
$scope.boardDeleteUndo = function (board) {
BoardService.deleteUndo(board.id).then(function (data) {
filterData();
});
};
};
export default ListController;
-48
View File
@@ -1,48 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.directive('appPopoverMenuUtils', function () {
'use strict';
return {
restrict: 'C',
link: function (scope, elm) {
var menu = elm.find('.popovermenu');
var button = elm.find('button');
button.click(function (e) {
var popovermenus = $('.popovermenu');
var shouldShow = menu.hasClass('hidden');
popovermenus.addClass('hidden');
if (shouldShow) {
menu.toggleClass('hidden');
}
e.stopPropagation();
});
scope.$on('documentClicked', function (scope, event) {
/* prevent closing popover if target has no-close class */
if (event.target !== button && !$(event.target).hasClass('no-close')) {
menu.addClass('hidden');
}
});
}
};
});
-29
View File
@@ -1,29 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.directive('autofocusOnInsert', function () {
'use strict';
return function (scope, elm) {
elm.focus();
};
});
-55
View File
@@ -1,55 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.directive('avatar', function() {
'use strict';
return {
restrict: 'AEC',
transclude: true,
replace: true,
template: '<div class="avatardiv-container"><div class="avatardiv" data-toggle="tooltip" ng-transclude></div></div>',
scope: { attr: '=' },
link: function(scope, element, attr){
scope.uid = attr.displayname;
scope.displayname = attr.displayname;
scope.size = attr.size;
if (typeof scope.size === 'undefined') {
scope.size = 32;
}
var value = attr.user;
var avatardiv = $(element).find('.avatardiv');
if(typeof attr.contactsmenu !== 'undefined' && attr.contactsmenu !== 'false') {
avatardiv.contactsMenu(value, 0, $(element));
avatardiv.addClass('has-contactsmenu');
}
if(typeof attr.tooltip !== 'undefined' && attr.tooltip !== 'false') {
$(element).tooltip({
title: scope.displayname,
placement: 'top'
});
}
avatardiv.avatar(value, scope.size, false, false, false, attr.displayname);
},
controller: function () {}
};
});
-42
View File
@@ -1,42 +0,0 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.directive('contactsmenudelete', function() {
'use strict';
return {
restrict: 'A',
priority: 1,
link: function(scope, element, attr){
var user = attr.user;
var menu = $(element).parent().find('.contactsmenu-popover');
if (oc_current_user === user) {
menu.children(':first').remove();
}
var menuEntry = $('<li><a><span class="icon icon-delete"></span><span>' + t('deck', 'Remove user from card') + '</span></a></li>');
menuEntry.on('click', function () {
scope.removeAssignedUser(user);
});
$(menu).append(menuEntry);
}
};
});
-59
View File
@@ -1,59 +0,0 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App';
app.directive('ngContenteditable', function($compile) {
return {
require: 'ngModel',
restrict: 'A',
scope: {
submit: '&ngSubmit'
},
link: function(scope, element, attrs, ngModel) {
//read the text typed in the div (syncing model with the view)
function read() {
ngModel.$setViewValue(element.html());
}
//render the data now in your model into your view
//$render is invoked when the modelvalue differs from the viewvalue
//see documentation: https://docs.angularjs.org/api/ng/type/ngModel.NgModelController#
ngModel.$render = function() {
element.html(ngModel.$viewValue || '');
};
//do this whenever someone starts typing
element.bind('blur keyup change', function(event) {
scope.$apply(read);
});
element.bind('keydown', function(event) {
if(event.which === 13 && event.shiftKey) {
scope.submit();
}
});
}
};
});
-55
View File
@@ -1,55 +0,0 @@
/*
* @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* global app */
/* gloabl t */
/* global moment */
app.directive('datepicker', function () {
'use strict';
return {
link: function (scope, elm, attr) {
return elm.datepicker({
dateFormat: moment.localeData().longDateFormat('L').replace('YYYY', 'YY').toLowerCase(),
onSelect: function(date, inst) {
var selectedDate = $(this).datepicker('getDate');
scope.setDuedate(moment(selectedDate));
scope.$apply();
},
beforeShow: function(input, inst) {
var dp, marginLeft;
dp = $(inst).datepicker('widget');
marginLeft = -Math.abs($(input).outerWidth() - dp.outerWidth()) / 2 + 'px';
dp.css({
'margin-left': marginLeft
});
$('div.ui-datepicker:before').css({
'left': 100 + 'px'
});
return $('.hasDatepicker').datepicker();
},
minDate: null
});
}
};
});
-41
View File
@@ -1,41 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
// original idea from blockloop: http://stackoverflow.com/a/24090733
app.directive('elastic', [
'$timeout',
function($timeout) {
return {
restrict: 'A',
link: function($scope, element) {
$scope.initialHeight = $scope.initialHeight || element[0].style.height;
var resize = function() {
element[0].style.height = $scope.initialHeight;
element[0].style.height = "" + element[0].scrollHeight + "px";
};
element.on("input change", resize);
$timeout(resize, 0);
}
};
}
]);
-61
View File
@@ -1,61 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.directive('search', function ($document, $location) {
'use strict';
return {
restrict: 'E',
scope: {
'onSearch': '='
},
link: function (scope) {
if (OCA.Search && OCA.Search.Core) {
// eslint-disable-next-line no-unused-vars
const search = new OCA.Search((term) => {
scope.$apply(function () {
scope.onSearch(term);
});
}, () => {
scope.$apply(function () {
scope.onSearch('');
});
});
} else {
const box = $('#searchbox');
box.val($location.search().search);
var doSearch = function () {
var value = box.val();
scope.$apply(function () {
scope.onSearch(value);
});
};
box.on('search keyup', function (event) {
doSearch();
});
}
}
};
});
-48
View File
@@ -1,48 +0,0 @@
/*
* @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
import '../legacy/jquery.ui.timepicker.js';
import 'legacy/jquery.ui.timepicker.css';
/* global app */
/* global t */
/* global moment */
app.directive('timepicker', function() {
'use strict';
return {
restrict: 'A',
link: function(scope, elm, attr) {
return $(elm).timepicker({
onSelect: function(date, inst) {
scope.setDuedateTime(moment('2000-01-01 ' + date));
scope.$apply();
},
myPosition: 'center top',
atPosition: 'center bottom',
hourText: t('deck', 'Hours'),
minuteText: t('deck', 'Minutes'),
showPeriodLabels: false
});
}
};
});
-34
View File
@@ -1,34 +0,0 @@
/*
* @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.filter('boardFilterAcl', function() {
return function(boards) {
var _result = [];
angular.forEach(boards, function(board){
if(board.acl !== null && Object.keys(board.acl).length > 0) {
_result.push(board);
}
});
return _result;
};
});
-40
View File
@@ -1,40 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
// usage | cardFilter({ member: 'admin'})
app.filter('cardFilter', function() {
return function(cards, rules) {
var _result = [];
angular.forEach(cards, function(card){
var _card = card;
var keys = Object.keys(rules);
keys.some(function(key, condition) {
if(_card[key]===rules[key]) {
_result.push(_card);
}
});
});
return _result;
};
});
-44
View File
@@ -1,44 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.filter('cardSearchFilter', function() {
return function(cards, searchString) {
var _result = {};
var rules = {
title: searchString,
//owner: searchString,
};
angular.forEach(cards, function(card){
var _card = card;
Object.keys(rules).some(function(rule) {
if(_card[rule].search(rules[rule])>=0) {
_result[_card.id] = _card;
}
});
});
return $.map(_result, function(value, index) {
return [value];
});
};
});
-63
View File
@@ -1,63 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* global app */
/* global OC */
/* global moment */
app.filter('relativeDateFilter', function() {
return function (timestamp) {
return OC.Util.relativeModifiedDate(timestamp*1000);
};
});
app.filter('relativeDateFilterString', function() {
return function (date) {
return OC.Util.relativeModifiedDate(Date.parse(date));
};
});
app.filter('dateToTimestamp', function() {
return function (date) {
return Date.parse(date);
};
});
app.filter('parseDate', function() {
return function (date) {
if(moment(date).isValid()) {
var dateFormat = moment.localeData().longDateFormat('L');
return moment(date).format(dateFormat);
}
return '';
};
});
app.filter('parseTime', function() {
return function (date) {
if(moment(date).isValid()) {
return moment(date).format('HH:mm');
}
return '';
};
});
-67
View File
@@ -1,67 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.filter('iconWhiteFilter', function () {
return function (hex) {
// RGB2HLS by Garry Tan
// http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-model-c
var result = /^([A-Fa-f\d]{2})([A-Fa-f\d]{2})([A-Fa-f\d]{2})$/i.exec(hex);
var color = result ? {
r: parseInt(result[1], 16),
g: parseInt(result[2], 16),
b: parseInt(result[3], 16)
} : null;
if (result === null) {
return '';
}
var r = color.r / 255;
var g = color.g / 255;
var b = color.b / 255;
var max = Math.max(r, g, b), min = Math.min(r, g, b);
var h, s, l = (max + min) / 2;
if (max === min) {
h = s = 0; // achromatic
} else {
var d = max - min;
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
switch (max) {
case r:
h = (g - b) / d + (g < b ? 6 : 0);
break;
case g:
h = (b - r) / d + 2;
break;
case b:
h = (r - g) / d + 4;
break;
}
h /= 6;
}
if (l < 0.5) {
return '-white';
} else {
return '';
}
};
});
-38
View File
@@ -1,38 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.filter('lightenColorFilter', function() {
return function (hex) {
var result = /^([A-Fa-f\d]{2})([A-Fa-f\d]{2})([A-Fa-f\d]{2})$/i.exec(hex);
var color = result ? {
r: parseInt(result[1], 16),
g: parseInt(result[2], 16),
b: parseInt(result[3], 16)
} : null;
if (result !== null) {
return 'rgba(' + color.r + ',' + color.g + ',' + color.b + ',0.7)';
} else {
return '#' + hex;
}
};
});
-43
View File
@@ -1,43 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.filter('orderObjectBy', function(){
return function(input, attribute) {
if (!angular.isObject(input)) {
return input;
}
var array = [];
for(var objectKey in input) {
if ({}.hasOwnProperty.call(input, objectKey)) {
array.push(input[objectKey]);
}
}
array.sort(function(a, b){
a = parseInt(a[attribute]);
b = parseInt(b[attribute]);
return a < b;
});
return array;
};
});
-69
View File
@@ -1,69 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.filter('textColorFilter', function () {
return function (hex) {
// RGB2HLS by Garry Tan
// http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-model-c
var result = /^#?([A-Fa-f\d]{2})([A-Fa-f\d]{2})([A-Fa-f\d]{2})$/i.exec(hex);
var color = result ? {
r: parseInt(result[1], 16),
g: parseInt(result[2], 16),
b: parseInt(result[3], 16)
} : null;
if (result !== null) {
var r = color.r / 255;
var g = color.g / 255;
var b = color.b / 255;
var max = Math.max(r, g, b), min = Math.min(r, g, b);
var h, s, l = (max + min) / 2;
if (max === min) {
h = s = 0; // achromatic
} else {
var d = max - min;
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
switch (max) {
case r:
h = (g - b) / d + (g < b ? 6 : 0);
break;
case g:
h = (b - r) / d + 2;
break;
case b:
h = (r - g) / d + 4;
break;
}
h /= 6;
}
if (l < 0.5) {
return '#ffffff';
} else {
return '#000000';
}
} else {
return '#000000';
}
};
});
-46
View File
@@ -1,46 +0,0 @@
/*
* @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* global app */
/* global angular */
/*
* Remove all assignedUsers from users list
*/
app.filter('withoutAssignedUsers', function () {
return function (users, assignedUsers) {
var _result = [];
angular.forEach(users, function (user) {
var _found = false;
angular.forEach(assignedUsers, function (assignedUser) {
if (assignedUser.participant.uid === user.uid) {
_found = true;
}
});
if (_found === false) {
_result.push(user);
}
});
return _result;
};
});
-69
View File
@@ -1,69 +0,0 @@
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
'use strict';
/* global __webpack_nonce__ __webpack_public_path__ OC t n */
// eslint-disable-next-line
__webpack_nonce__ = btoa(OC.requestToken);
// eslint-disable-next-line
__webpack_public_path__ = OC.linkTo('deck', 'js/build/');
import Vue from 'vue';
Vue.prototype.t = t;
Vue.prototype.n = n;
Vue.prototype.OC = OC;
import BoardSelector from './views/BoardSelector';
import './../css/collections.css';
((function(OCP) {
OCP.Collaboration.registerType('deck', {
action: () => {
return new Promise((resolve, reject) => {
const container = document.createElement('div');
container.id = 'deck-board-select';
const body = document.getElementById('body-user');
body.append(container);
const ComponentVM = new Vue({
render: h => h(BoardSelector),
});
ComponentVM.$mount(container);
ComponentVM.$root.$on('close', () => {
ComponentVM.$el.remove();
ComponentVM.$destroy();
reject();
});
ComponentVM.$root.$on('select', (id) => {
resolve(id);
ComponentVM.$el.remove();
ComponentVM.$destroy();
});
});
},
typeString: t('deck', 'Link to a board'),
typeIconClass: 'icon-deck'
});
})(window.OCP));
-36
View File
@@ -1,36 +0,0 @@
'use strict';
/* global __webpack_nonce__ __webpack_public_path__ OC t n */
// eslint-disable-next-line
__webpack_nonce__ = btoa(OC.requestToken);
// eslint-disable-next-line
__webpack_public_path__ = OC.linkTo('deck', 'js/build/');
// used for building a vendor stylesheet
import 'ng-sortable/dist/ng-sortable.css';
import angular from 'angular';
import markdownit from 'markdown-it';
global.markdownit = markdownit;
import app from './app/App.js';
import './app/Config.js';
import './app/Run.js';
import ListController from 'controller/ListController.js';
import attachmentListComponent from './controller/AttachmentController.js';
import activityComponent from './controller/ActivityController.js';
app.controller('ListController', ListController);
app.component('attachmentListComponent', attachmentListComponent);
app.component('activityComponent', activityComponent);
// require all the js files from subdirectories
var context = require.context('.', true, /(controller|service|filters|directive)\/(.*)\.js$/);
context.keys().forEach(function (key) {
context(key);
});
-161
View File
@@ -1,161 +0,0 @@
/**
* @licence
*/
import CommentModel from './commentmodel.js';
import CommentSummaryModel from './commentsummarymodel.js';
/**
* @class CommentCollection
* @classdesc
*
* Collection of comments assigned to a file
*
*/
var CommentCollection = OC.Backbone.Collection.extend(
/** @lends OCA.AnnouncementCenter.Comments.CommentCollection.prototype */ {
sync: OC.Backbone.davSync,
model: CommentModel,
/**
* Object type
*
* @type string
*/
_objectType: 'deckCard',
/**
* Object id
*
* @type string
*/
_objectId: null,
/**
* True if there are no more page results left to fetch
*
* @type bool
*/
_endReached: false,
/**
* Number of comments to fetch per page
*
* @type int
*/
_limit : 5,
/**
* Initializes the collection
*
* @param {string} [options.objectType] object type
* @param {string} [options.objectId] object id
*/
initialize: function(models, options) {
options = options || {};
if (options.objectType) {
this._objectType = options.objectType;
}
if (options.objectId) {
this._objectId = options.objectId;
}
},
url: function() {
return OC.linkToRemote('dav') + '/comments/' +
encodeURIComponent(this._objectType) + '/' +
encodeURIComponent(this._objectId) + '/';
},
setObjectId: function(objectId) {
this._objectId = objectId;
},
hasMoreResults: function() {
return !this._endReached;
},
reset: function() {
this._endReached = false;
this._summaryModel = null;
return OC.Backbone.Collection.prototype.reset.apply(this, arguments);
},
/**
* Fetch the next set of results
*/
fetchNext: function(options) {
var self = this;
if (!this.hasMoreResults()) {
return null;
}
var body = '<?xml version="1.0" encoding="utf-8" ?>\n' +
'<oc:filter-comments xmlns:D="DAV:" xmlns:oc="http://owncloud.org/ns">\n' +
// load one more so we know there is more
' <oc:limit>' + (this._limit + 1) + '</oc:limit>\n' +
' <oc:offset>' + this.length + '</oc:offset>\n' +
'</oc:filter-comments>\n';
options = options || {};
var success = options.success;
options = _.extend({
remove: false,
parse: true,
data: body,
davProperties: CommentCollection.prototype.model.prototype.davProperties,
success: function(resp) {
if (resp.length <= self._limit) {
// no new entries, end reached
self._endReached = true;
} else {
// remove last entry, for next page load
resp = _.initial(resp);
}
if (!self.set(resp, options)) {
return false;
}
if (success) {
success.apply(null, arguments);
}
self.trigger('sync', 'REPORT', self, options);
}
}, options);
return this.sync('REPORT', this, options);
},
/**
* Returns the matching summary model
*
* @return {OCA.AnnouncementCenter.Comments.CommentSummaryModel} summary model
*/
getSummaryModel: function() {
if (!this._summaryModel) {
this._summaryModel = new CommentSummaryModel({
id: this._objectId,
objectType: this._objectType
});
}
return this._summaryModel;
},
/**
* Updates the read marker for this comment thread
*
* @param {Date} [date] optional date, defaults to now
* @param {Object} [options] backbone options
*/
updateReadMarker: function(date, options) {
options = options || {};
return this.getSummaryModel().save({
readMarker: (date || new Date()).toUTCString()
}, options);
}
});
export default CommentCollection;
-119
View File
@@ -1,119 +0,0 @@
/*
* Copyright (c) 2016
*
* This file is licensed under the Affero General Public License version 3
* or later.
*
* See the COPYING-README file.
*
*/
var NS_OWNCLOUD = 'http://owncloud.org/ns';
/**
* @class CommentModel
* @classdesc
*
* Comment
*
*/
var CommentModel = OC.Backbone.Model.extend(
/** @lends OCA.Comments.CommentModel.prototype */ {
sync: OC.Backbone.davSync,
/**
* Object type
*
* @type string
*/
_objectType: 'deckCard',
/**
* Object id
*
* @type string
*/
_objectId: null,
initialize: function(model, options) {
options = options || {};
if (options.objectType) {
this._objectType = options.objectType;
}
if (options.objectId) {
this._objectId = options.objectId;
}
},
defaults: {
actorType: 'users',
objectType: 'deckCard'
},
davProperties: {
'id': '{' + NS_OWNCLOUD + '}id',
'message': '{' + NS_OWNCLOUD + '}message',
'actorType': '{' + NS_OWNCLOUD + '}actorType',
'actorId': '{' + NS_OWNCLOUD + '}actorId',
'actorDisplayName': '{' + NS_OWNCLOUD + '}actorDisplayName',
'creationDateTime': '{' + NS_OWNCLOUD + '}creationDateTime',
'objectType': '{' + NS_OWNCLOUD + '}objectType',
'objectId': '{' + NS_OWNCLOUD + '}objectId',
'isUnread': '{' + NS_OWNCLOUD + '}isUnread',
'mentions': '{' + NS_OWNCLOUD + '}mentions'
},
parse: function(data) {
return {
id: data.id,
message: data.message,
actorType: data.actorType,
actorId: data.actorId,
actorDisplayName: data.actorDisplayName,
creationDateTime: data.creationDateTime,
objectType: data.objectType,
objectId: data.objectId,
isUnread: (data.isUnread === 'true'),
mentions: this._parseMentions(data.mentions)
};
},
_parseMentions: function(mentions) {
if(_.isUndefined(mentions)) {
return {};
}
var result = {};
for(var i in mentions) {
var mention = mentions[i];
if(_.isUndefined(mention.localName) || mention.localName !== 'mention') {
continue;
}
result[i] = {};
for (var child = mention.firstChild; child; child = child.nextSibling) {
if(_.isUndefined(child.localName) || !child.localName.startsWith('mention')) {
continue;
}
result[i][child.localName] = child.textContent;
}
}
return result;
},
url: function() {
let baseUrl;
if (typeof this.collection === 'undefined') {
baseUrl = OC.linkToRemote('dav') + '/comments/' +
encodeURIComponent(this.get('objectType')) + '/' +
encodeURIComponent(this.get('objectId')) + '/';
} else {
baseUrl = this.collection.url();
}
if (typeof this.get('id') !== 'undefined') {
return baseUrl + this.get('id');
} else {
return baseUrl;
}
}
});
export default CommentModel;
-54
View File
@@ -1,54 +0,0 @@
var NS_OWNCLOUD = 'http://owncloud.org/ns';
/**
* @class OCA.AnnouncementCenter.Comments.CommentSummaryModel
* @classdesc
*
* Model containing summary information related to comments
* like the read marker.
*
*/
var CommentSummaryModel = OC.Backbone.Model.extend(
/** @lends OCA.AnnouncementCenter.Comments.CommentSummaryModel.prototype */ {
sync: OC.Backbone.davSync,
/**
* Object type
*
* @type string
*/
_objectType: 'deckCard',
/**
* Object id
*
* @type string
*/
_objectId: null,
davProperties: {
'readMarker': '{' + NS_OWNCLOUD + '}readMarker'
},
/**
* Initializes the summary model
*
* @param {string} [options.objectType] object type
* @param {string} [options.objectId] object id
*/
initialize: function(attrs, options) {
options = options || {};
if (options.objectType) {
this._objectType = options.objectType;
}
},
url: function() {
return OC.linkToRemote('dav') + '/comments/' +
encodeURIComponent(this._objectType) + '/' +
encodeURIComponent(this.id) + '/';
}
});
export default CommentSummaryModel;
-1
View File
File diff suppressed because one or more lines are too long
-561
View File
@@ -1,561 +0,0 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
(function($, undefined) {
var _input = document.createElement('input');
var _support = {
setSelectionRange: ('setSelectionRange' in _input) || ('selectionStart' in _input),
createTextRange: ('createTextRange' in _input) || ('selection' in document)
};
var _rNewlineIE = /\r\n/g,
_rCarriageReturn = /\r/g;
var _getValue = function(input) {
if (typeof(input.value) !== 'undefined') {
return input.value;
}
return $(input).text();
};
var _setValue = function(input, value) {
if (typeof(input.value) !== 'undefined') {
input.value = value;
} else {
$(input).text(value);
}
};
var _getIndex = function(input, pos) {
var norm = _getValue(input).replace(_rCarriageReturn, '');
var len = norm.length;
if (typeof(pos) === 'undefined') {
pos = len;
}
pos = Math.floor(pos);
// Negative index counts backward from the end of the input/textarea's value
if (pos < 0) {
pos = len + pos;
}
// Enforce boundaries
if (pos < 0) { pos = 0; }
if (pos > len) { pos = len; }
return pos;
};
var _hasAttr = function(input, attrName) {
return input.hasAttribute ? input.hasAttribute(attrName) : (typeof(input[attrName]) !== 'undefined');
};
/**
* @class
* @constructor
*/
var Range = function(start, end, length, text) {
this.start = start || 0;
this.end = end || 0;
this.length = length || 0;
this.text = text || '';
};
Range.prototype.toString = function() {
return JSON.stringify(this, null, ' ');
};
var _getCaretW3 = function(input) {
return input.selectionStart;
};
/**
* @see http://stackoverflow.com/q/6943000/467582
*/
var _getCaretIE = function(input) {
var caret, range, textInputRange, rawValue, len, endRange;
// Yeah, you have to focus twice for IE 7 and 8. *cries*
input.focus();
input.focus();
range = document.selection.createRange();
if (range && range.parentElement() === input) {
rawValue = _getValue(input);
len = rawValue.length;
// Create a working TextRange that lives only in the input
textInputRange = input.createTextRange();
textInputRange.moveToBookmark(range.getBookmark());
// Check if the start and end of the selection are at the very end
// of the input, since moveStart/moveEnd doesn't return what we want
// in those cases
endRange = input.createTextRange();
endRange.collapse(false);
if (textInputRange.compareEndPoints("StartToEnd", endRange) > -1) {
caret = rawValue.replace(_rNewlineIE, '\n').length;
} else {
caret = -textInputRange.moveStart("character", -len);
}
return caret;
}
// NOTE: This occurs when you highlight part of a textarea and then click in the middle of the highlighted portion in IE 6-10.
// There doesn't appear to be anything we can do about it.
// alert("Your browser is incredibly stupid. I don't know what else to say.");
// alert(range + '\n\n' + range.parentElement().tagName + '#' + range.parentElement().id);
return 0;
};
/**
* Gets the position of the caret in the given input.
* @param {HTMLInputElement|HTMLTextAreaElement} input input or textarea element
* @returns {Number}
* @see http://stackoverflow.com/questions/263743/how-to-get-cursor-position-in-textarea/263796#263796
*/
var _getCaret = function(input) {
if (!input) {
return undefined;
}
// Mozilla, et al.
if (_support.setSelectionRange) {
return _getCaretW3(input);
}
// IE
else if (_support.createTextRange) {
return _getCaretIE(input);
}
return undefined;
};
var _setCaretW3 = function(input, pos) {
input.setSelectionRange(pos, pos);
};
var _setCaretIE = function(input, pos) {
var range = input.createTextRange();
range.move('character', pos);
range.select();
};
/**
* Sets the position of the caret in the given input.
* @param {HTMLInputElement|HTMLTextAreaElement} input input or textarea element
* @param {Number} pos
* @see http://parentnode.org/javascript/working-with-the-cursor-position/
*/
var _setCaret = function(input, pos) {
input.focus();
pos = _getIndex(input, pos);
// Mozilla, et al.
if (_support.setSelectionRange) {
_setCaretW3(input, pos);
}
// IE
else if (_support.createTextRange) {
_setCaretIE(input, pos);
}
};
/**
* Inserts the specified text at the current caret position in the given input.
* @param {HTMLInputElement|HTMLTextAreaElement} input input or textarea element
* @param {String} text
* @see http://parentnode.org/javascript/working-with-the-cursor-position/
*/
var _insertAtCaret = function(input, text) {
var curPos = _getCaret(input);
var oldValueNorm = _getValue(input).replace(_rCarriageReturn, '');
var newLength = +(curPos + text.length + (oldValueNorm.length - curPos));
var maxLength = +input.getAttribute('maxlength');
if(_hasAttr(input, 'maxlength') && newLength > maxLength) {
var delta = text.length - (newLength - maxLength);
text = text.substr(0, delta);
}
_setValue(input, oldValueNorm.substr(0, curPos) + text + oldValueNorm.substr(curPos));
_setCaret(input, curPos + text.length);
};
var _getInputRangeW3 = function(input) {
var range = new Range();
range.start = input.selectionStart;
range.end = input.selectionEnd;
var min = Math.min(range.start, range.end);
var max = Math.max(range.start, range.end);
range.length = max - min;
range.text = _getValue(input).substring(min, max);
return range;
};
/** @see http://stackoverflow.com/a/3648244/467582 */
var _getInputRangeIE = function(input) {
var range = new Range();
input.focus();
var selection = document.selection.createRange();
if (selection && selection.parentElement() === input) {
var len, normalizedValue, textInputRange, endRange, start = 0, end = 0;
var rawValue = _getValue(input);
len = rawValue.length;
normalizedValue = rawValue.replace(/\r\n/g, "\n");
// Create a working TextRange that lives only in the input
textInputRange = input.createTextRange();
textInputRange.moveToBookmark(selection.getBookmark());
// Check if the start and end of the selection are at the very end
// of the input, since moveStart/moveEnd doesn't return what we want
// in those cases
endRange = input.createTextRange();
endRange.collapse(false);
if (textInputRange.compareEndPoints("StartToEnd", endRange) > -1) {
start = end = len;
} else {
start = -textInputRange.moveStart("character", -len);
start += normalizedValue.slice(0, start).split("\n").length - 1;
if (textInputRange.compareEndPoints("EndToEnd", endRange) > -1) {
end = len;
} else {
end = -textInputRange.moveEnd("character", -len);
end += normalizedValue.slice(0, end).split("\n").length - 1;
}
}
/// normalize newlines
start -= (rawValue.substring(0, start).split('\r\n').length - 1);
end -= (rawValue.substring(0, end).split('\r\n').length - 1);
/// normalize newlines
range.start = start;
range.end = end;
range.length = range.end - range.start;
range.text = normalizedValue.substr(range.start, range.length);
}
return range;
};
/**
* Gets the selected text range of the given input.
* @param {HTMLInputElement|HTMLTextAreaElement} input input or textarea element
* @returns {Range}
* @see http://stackoverflow.com/a/263796/467582
* @see http://stackoverflow.com/a/2966703/467582
*/
var _getInputRange = function(input) {
if (!input) {
return undefined;
}
// Mozilla, et al.
if (_support.setSelectionRange) {
return _getInputRangeW3(input);
}
// IE
else if (_support.createTextRange) {
return _getInputRangeIE(input);
}
return undefined;
};
var _setInputRangeW3 = function(input, startPos, endPos) {
input.setSelectionRange(startPos, endPos);
};
var _setInputRangeIE = function(input, startPos, endPos) {
var tr = input.createTextRange();
tr.moveEnd('textedit', -1);
tr.moveStart('character', startPos);
tr.moveEnd('character', endPos - startPos);
tr.select();
};
/**
* Sets the selected text range of (i.e., highlights text in) the given input.
* @param {HTMLInputElement|HTMLTextAreaElement} input input or textarea element
* @param {Number} startPos Zero-based index
* @param {Number} endPos Zero-based index
* @see http://parentnode.org/javascript/working-with-the-cursor-position/
* @see http://stackoverflow.com/a/2966703/467582
*/
var _setInputRange = function(input, startPos, endPos) {
startPos = _getIndex(input, startPos);
endPos = _getIndex(input, endPos);
// Mozilla, et al.
if (_support.setSelectionRange) {
_setInputRangeW3(input, startPos, endPos);
}
// IE
else if (_support.createTextRange) {
_setInputRangeIE(input, startPos, endPos);
}
};
/**
* Replaces the currently selected text with the given string.
* @param {HTMLInputElement|HTMLTextAreaElement} input input or textarea element
* @param {String} text New text that will replace the currently selected text.
* @see http://parentnode.org/javascript/working-with-the-cursor-position/
*/
var _replaceInputRange = function(input, text) {
var $input = $(input);
var oldValue = $input.val();
var selection = _getInputRange(input);
var newLength = +(selection.start + text.length + (oldValue.length - selection.end));
var maxLength = +$input.attr('maxlength');
if($input.is('[maxlength]') && newLength > maxLength) {
var delta = text.length - (newLength - maxLength);
text = text.substr(0, delta);
}
// Now that we know what the user selected, we can replace it
var startText = oldValue.substr(0, selection.start);
var endText = oldValue.substr(selection.end);
$input.val(startText + text + endText);
// Reset the selection
var startPos = selection.start;
var endPos = startPos + text.length;
_setInputRange(input, selection.length ? startPos : endPos, endPos);
};
var _selectAllW3 = function(elem) {
var selection = window.getSelection();
var range = document.createRange();
range.selectNodeContents(elem);
selection.removeAllRanges();
selection.addRange(range);
};
var _selectAllIE = function(elem) {
var range = document.body.createTextRange();
range.moveToElementText(elem);
range.select();
};
/**
* Select all text in the given element.
* @param {HTMLElement} elem Any block or inline element other than a form element.
*/
var _selectAll = function(elem) {
var $elem = $(elem);
if ($elem.is('input, textarea') || elem.select) {
$elem.select();
return;
}
// Mozilla, et al.
if (_support.setSelectionRange) {
_selectAllW3(elem);
}
// IE
else if (_support.createTextRange) {
_selectAllIE(elem);
}
};
var _deselectAll = function() {
if (document.selection) {
document.selection.empty();
}
else if (window.getSelection) {
window.getSelection().removeAllRanges();
}
};
$.extend($.fn, {
/**
* Gets or sets the position of the caret or inserts text at the current caret position in an input or textarea element.
* @returns {Number|jQuery} The current caret position if invoked as a getter (with no arguments)
* or this jQuery object if invoked as a setter or inserter.
* @see http://web.archive.org/web/20080704185920/http://parentnode.org/javascript/working-with-the-cursor-position/
* @since 1.0.0
* @example
* <pre>
* // Get position
* var pos = $('input:first').caret();
* </pre>
* @example
* <pre>
* // Set position
* $('input:first').caret(15);
* $('input:first').caret(-3);
* </pre>
* @example
* <pre>
* // Insert text at current position
* $('input:first').caret('Some text');
* </pre>
*/
caret: function() {
var $inputs = this.filter('input, textarea');
// getCaret()
if (arguments.length === 0) {
var input = $inputs.get(0);
return _getCaret(input);
}
// setCaret(position)
else if (typeof arguments[0] === 'number') {
var pos = arguments[0];
$inputs.each(function(_i, input) {
_setCaret(input, pos);
});
}
// insertAtCaret(text)
else {
var text = arguments[0];
$inputs.each(function(_i, input) {
_insertAtCaret(input, text);
});
}
return this;
},
/**
* Gets or sets the selection range or replaces the currently selected text in an input or textarea element.
* @returns {Range|jQuery} The current selection range if invoked as a getter (with no arguments)
* or this jQuery object if invoked as a setter or replacer.
* @see http://stackoverflow.com/a/2966703/467582
* @since 1.0.0
* @example
* <pre>
* // Get selection range
* var range = $('input:first').range();
* </pre>
* @example
* <pre>
* // Set selection range
* $('input:first').range(15);
* $('input:first').range(15, 20);
* $('input:first').range(-3);
* $('input:first').range(-8, -3);
* </pre>
* @example
* <pre>
* // Replace the currently selected text
* $('input:first').range('Replacement text');
* </pre>
*/
range: function() {
var $inputs = this.filter('input, textarea');
// getRange() = { start: pos, end: pos }
if (arguments.length === 0) {
var input = $inputs.get(0);
return _getInputRange(input);
}
// setRange(startPos, endPos)
else if (typeof arguments[0] === 'number') {
var startPos = arguments[0];
var endPos = arguments[1];
$inputs.each(function(_i, input) {
_setInputRange(input, startPos, endPos);
});
}
// replaceRange(text)
else {
var text = arguments[0];
$inputs.each(function(_i, input) {
_replaceInputRange(input, text);
});
}
return this;
},
/**
* Selects all text in each element of this jQuery object.
* @returns {jQuery} This jQuery object
* @see http://stackoverflow.com/a/11128179/467582
* @since 1.5.0
* @example
* <pre>
* // Select the contents of span elements when clicked
* $('span').on('click', function() { $(this).highlight(); });
* </pre>
*/
selectAll: function() {
return this.each(function(_i, elem) {
_selectAll(elem);
});
}
});
$.extend($, {
/**
* Deselects all text on the page.
* @returns {jQuery} The jQuery function
* @since 1.5.0
* @example
* <pre>
* // Select some text
* $('span').selectAll();
*
* // Deselect the text
* $.deselectAll();
* </pre>
*/
deselectAll: function() {
_deselectAll();
return this;
}
});
}(window.jQuery || window.Zepto || window.$));
-57
View File
@@ -1,57 +0,0 @@
/*
* Timepicker stylesheet
* Highly inspired from datepicker
* FG - Nov 2010 - Web3R
*
* version 0.0.3 : Fixed some settings, more dynamic
* version 0.0.4 : Removed width:100% on tables
* version 0.1.1 : set width 0 on tables to fix an ie6 bug
*/
.ui-timepicker-inline { display: inline; }
#ui-timepicker-div { padding: 0.2em; }
.ui-timepicker-table { display: inline-table; width: 0; }
.ui-timepicker-table table { margin:0.15em 0 0 0; border-collapse: collapse; }
.ui-timepicker-hours, .ui-timepicker-minutes { padding: 0.2em; }
.ui-timepicker-table .ui-timepicker-title { line-height: 1.8em; text-align: center; }
.ui-timepicker-table td { padding: 0.1em; width: 2.2em; }
.ui-timepicker-table th.periods { padding: 0.1em; width: 2.2em; }
/* span for disabled cells */
.ui-timepicker-table td span {
display:block;
padding:0.2em 0.3em 0.2em 0.5em;
width: 1.2em;
text-align:right;
text-decoration:none;
}
/* anchors for clickable cells */
.ui-timepicker-table td a {
display:block;
padding:0.2em 0.3em 0.2em 0.5em;
width: 1.2em;
cursor: pointer;
text-align:right;
text-decoration:none;
}
/* buttons and button pane styling */
.ui-timepicker .ui-timepicker-buttonpane {
background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0;
}
.ui-timepicker .ui-timepicker-buttonpane button { margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
/* The close button */
.ui-timepicker .ui-timepicker-close { float: right }
/* the now button */
.ui-timepicker .ui-timepicker-now { float: left; }
/* the deselect button */
.ui-timepicker .ui-timepicker-deselect { float: left; }
-1496
View File
File diff suppressed because it is too large Load Diff
-120
View File
@@ -1,120 +0,0 @@
/**
* Original source code from https://github.com/mcecot/markdown-it-checkbox
* © 2015 Markus Cecot
* licenced under MIT
* https://github.com/mcecot/markdown-it-checkbox/blob/master/LICENSE
*/
var checkboxReplace;
checkboxReplace = function(md, options, Token) {
"use strict";
var arrayReplaceAt, createTokens, defaults, lastId, pattern, splitTextToken;
arrayReplaceAt = md.utils.arrayReplaceAt;
lastId = 0;
defaults = {
divWrap: false,
divClass: 'checkbox',
idPrefix: 'checkbox'
};
options = Object.assign(defaults, options);
pattern = /(.*?)(\[(X|\s|\_|\-)\])(.*)/igm;
createTokens = function(checked, label, Token, before) {
var id, idNumeric, nodes, token;
nodes = [];
token = new Token("text", "", 0);
token.content = before;
nodes.push(token);
/**
* <div class="checkbox">
*/
if (options.divWrap) {
token = new Token("checkbox_open", "div", 1);
token.attrs = [["class", options.divClass]];
nodes.push(token);
}
/**
* <input type="checkbox" id="checkbox{n}" checked="true">
*/
id = options.idPrefix + lastId;
idNumeric = lastId;
lastId += 1;
token = new Token("checkbox_input", "input", 0);
token.attrs = [["type", "checkbox"], ["id", id], ["data-id", idNumeric]];
if (checked === true) {
token.attrs.push(["checked", "true"]);
}
token.attrs.push(["class", "checkbox"]);
nodes.push(token);
/**
* <label for="checkbox{n}">
*/
token = new Token("label_open", "label", 1);
token.attrs = [["for", id], ["data-id", idNumeric]];
nodes.push(token);
/**
* content of label tag
*/
token = new Token("text", "", 0);
token.content = label;
nodes.push(token);
/**
* closing tags
*/
nodes.push(new Token("label_close", "label", -1));
if (options.divWrap) {
nodes.push(new Token("checkbox_close", "div", -1));
}
return nodes;
};
splitTextToken = function(original, Token) {
var checked, label, matches, text, value, before;
text = original.content;
matches = pattern.exec(text);
if (matches === null) {
return original;
}
checked = false;
before = matches[1];
value = matches[3];
label = matches[4];
if (value === "X" || value === "x") {
checked = true;
}
return createTokens(checked, label, Token, before);
};
return function(state) {
lastId = 0;
var blockTokens, i, j, l, token, tokens;
blockTokens = state.tokens;
j = 0;
l = blockTokens.length;
while (j < l) {
if (blockTokens[j].type !== "inline") {
j++;
continue;
}
tokens = blockTokens[j].children;
i = 0;
while (i < tokens.length) {
token = tokens[i];
blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, splitTextToken(token, state.Token));
i++;
}
j++;
}
};
};
/*global module */
module.exports = function(md, options) {
"use strict";
md.core.ruler.push("checkbox", checkboxReplace(md, options));
};
-7779
View File
File diff suppressed because it is too large Load Diff
-56
View File
@@ -1,56 +0,0 @@
{
"name": "deck",
"description": "Frontend for the Nextcloud Deck app",
"repository": "https://github.com/nextcloud/deck",
"version": "1.0.0",
"directories": {
"test": "tests"
},
"dependencies": {
"@uirouter/angularjs": "^1.0.22",
"angular": "^1.7.8",
"angular-animate": "^1.7.8",
"angular-file-upload": "^2.5.0",
"angular-markdown-it": "^0.6.1",
"angular-sanitize": "^1.7.8",
"babel-polyfill": "^6.26.0",
"markdown-it": "^8.4.2",
"markdown-it-link-target": "^1.0.2",
"nextcloud-axios": "^0.2.0",
"nextcloud-vue": "^0.11.4",
"nextcloud-vue-collections": "^0.5.2",
"ng-infinite-scroll": "^1.3.0",
"ng-sortable": "^1.3.8",
"ui-select": "^0.19.8",
"vue": "^2.6.10",
"vuex": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"babel-loader": "^8.0.6",
"css-loader": "^3.0.0",
"karma": "^4.1.0",
"mini-css-extract-plugin": "^0.7.0",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.1.3",
"url-loader": "^2.0.1",
"vue-loader": "^15.7.0",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5",
"webpack-merge": "^4.2.1"
},
"scripts": {
"build": "NODE_ENV=production ./node_modules/webpack-cli/bin/cli.js --mode production --config webpack.prod.config.js",
"dev": "./node_modules/webpack-cli/bin/cli.js --mode development --config webpack.dev.config.js",
"watch": "./node_modules/webpack-cli/bin/cli.js --mode development --config webpack.dev.config.js --watch",
"test": "echo \"Warning: no test specified\" && exit 0"
},
"author": "",
"license": "AGPL-3.0",
"keywords": []
}
-256
View File
@@ -1,256 +0,0 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
import CommentCollection from '../legacy/commentcollection';
import CommentModel from '../legacy/commentmodel';
const DECK_ACTIVITY_TYPE_BOARD = 'deck_board';
const DECK_ACTIVITY_TYPE_CARD = 'deck_card';
/* global OC oc_requesttoken */
class ActivityService {
static get RESULT_PER_PAGE() { return 50; }
constructor ($rootScope, $filter, $http, $q) {
this.running = false;
this.runningNewer = false;
this.$filter = $filter;
this.$http = $http;
this.$q = $q;
this.$rootScope = $rootScope;
this.data = {};
this.data[DECK_ACTIVITY_TYPE_BOARD] = {};
this.data[DECK_ACTIVITY_TYPE_CARD] = {};
this.toEnhanceWithComments = [];
this.commentCollection = new CommentCollection();
this.commentCollection._limit = ActivityService.RESULT_PER_PAGE;
this.commentCollection.on('request', function() {
}, this);
this.commentCollection.on('sync', function(a) {
for (let index in this.toEnhanceWithComments) {
if (this.toEnhanceWithComments.hasOwnProperty(index)) {
let item = this.toEnhanceWithComments[index];
let commentId = Array.isArray(item.subject_rich[1].comment) ? item.subject_rich[1].comment.id : item.subject_rich[1].comment;
item.commentModel = this.commentCollection.get(commentId);
if (typeof item.commentModel !== 'undefined') {
this.toEnhanceWithComments = this.toEnhanceWithComments.filter((entry) => entry.activity_id !== item.activity_id);
}
}
}
var firstUnread = this.commentCollection.findWhere({isUnread: true});
if (typeof firstUnread !== 'undefined') {
this.commentCollection.updateReadMarker();
}
this.notify();
}, this);
this.commentCollection.on('add', function(model, collection, options) {
// we need to update the model, because it consists of client data
// only, but the server might add meta data, e.g. about mentions
model.fetch();
}, this);
this.since = {
deck_card: {
},
deck_board: {
},
};
}
/**
* We need a event here to properly update scope once the external data from
* the comments backbone js code has changed
*/
subscribe(scope, callback) {
let handler = this.$rootScope.$on('notify-comment-update', callback);
scope.$on('$destroy', handler);
}
notify() {
this.$rootScope.$emit('notify-comment-update');
}
static getUrl(type, id, since) {
if (type === DECK_ACTIVITY_TYPE_CARD) {
return OC.linkToOCS('apps/activity/api/v2/activity', 2) + 'deck?format=json&object_type=deck_card&object_id=' + id + '&limit=' + this.RESULT_PER_PAGE + '&since=' + since;
}
if (type === DECK_ACTIVITY_TYPE_BOARD) {
return OC.linkToOCS('apps/activity/api/v2/activity', 2) + 'deck?format=json&limit=' + this.RESULT_PER_PAGE + '&since=' + since;
}
}
fetchCardActivities(type, id, since) {
this.running = true;
this.checkData(type, id);
const self = this;
return this.$http.get(ActivityService.getUrl(type, id, since)).then(function (response) {
const objects = response.data.ocs.data;
for (let index in objects) {
if (objects.hasOwnProperty(index)) {
let item = objects[index];
self.addItem(type, id, item);
if (item.activity_id > self.since[type][id].latest) {
self.since[type][id].latest = item.activity_id;
}
}
}
self.data[type][id].sort(function(a, b) {
return b.activity_id - a.activity_id;
});
self.since[type][id].oldest = response.headers('X-Activity-Last-Given');
self.running = false;
return response;
}, function (error) {
if (error.status === 304 || error.status === 404) {
self.since[type][id].finished = true;
}
self.running = false;
});
}
fetchMoreActivities(type, id, success) {
const self = this;
this.checkData(type, id);
if (this.running === true) {
return this.runningPromise;
}
if (!this.since[type][id].finished) {
this.runningPromise = this.fetchCardActivities(type, id, this.since[type][id].oldest);
this.runningPromise.then(function() {
if (type === 'deck_card') {
self.commentCollection.fetchNext();
}
});
return this.runningPromise;
}
return Promise.reject();
}
checkData(type, id) {
if (!Array.isArray(this.data[type][id])) {
this.data[type][id] = [];
}
if (typeof this.since[type][id] === 'undefined') {
this.since[type][id] = {
latest: -1,
oldestCatchedUp: false,
oldest: '0',
finished: false,
};
}
}
addItem(type, id, item) {
const self = this;
const existingEntry = this.data[type][id].findIndex((entry) => { return entry.activity_id === item.activity_id; });
if (existingEntry !== -1) {
return;
}
/** check if the fetched item from all deck activities is actually related */
const isUnrelatedBoard = (item.object_type === DECK_ACTIVITY_TYPE_BOARD && item.object_id !== id);
const isUnrelatedCard = (item.object_type === DECK_ACTIVITY_TYPE_CARD && (
(item.subject_rich[1].board && item.subject_rich[1].board.id !== id) || (typeof item.subject_rich[1].board === 'undefined'))
);
if (type === DECK_ACTIVITY_TYPE_BOARD && (isUnrelatedBoard || isUnrelatedCard)) {
return;
}
item.timestamp = new Date(item.datetime).getTime();
item.type = 'activity';
if (item.subject_rich[1].comment) {
item.type = 'comment';
item.commentModel = this.commentCollection.get(item.subject_rich[1].comment);
if (typeof item.commentModel === 'undefined') {
this.toEnhanceWithComments.push(item);
}
}
this.data[type][id].push(item);
}
/**
* Fetch newer activities starting from the latest ones that are in cache
*
* @param type
* @param id
*/
fetchNewerActivities(type, id) {
if (this.since[type][id].latest === 0) {
return Promise.resolve();
}
let self = this;
return this.fetchNewer(type, id).then(function() {
return self.fetchNewerActivities(type, id);
});
}
fetchNewer(type, id) {
const deferred = this.$q.defer();
this.running = true;
this.runningNewer = true;
const self = this;
this.$http.get(ActivityService.getUrl(type, id, this.since[type][id].latest) + '&sort=asc').then(function (response) {
let objects = response.data.ocs.data;
let data = [];
for (let index in objects) {
if (objects.hasOwnProperty(index)) {
let item = objects[index];
self.addItem(type, id, item);
}
}
self.data[type][id].sort(function(a, b) {
return b.activity_id - a.activity_id;
});
self.since[type][id].latest = response.headers('X-Activity-Last-Given');
self.data[type][id] = data.concat(self.data[type][id]);
self.running = false;
self.runningNewer = false;
deferred.resolve(objects);
}, function (error) {
self.runningNewer = false;
self.running = false;
});
return deferred.promise;
}
getData(type, id) {
if (!Array.isArray(this.data[type][id])) {
return [];
}
return this.data[type][id];
}
loadComments(id) {
this.commentCollection.reset();
this.commentCollection.setObjectId(id);
}
}
app.service('ActivityService', ActivityService);
export default ActivityService;
export {DECK_ACTIVITY_TYPE_BOARD, DECK_ACTIVITY_TYPE_CARD};
-232
View File
@@ -1,232 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/** global: oc_defaults */
app.factory('ApiService', function ($http, $q) {
var ApiService = function (http, endpoint) {
// Consider renaming endpoint to resource
this.endpoint = endpoint;
this.baseUrl = this.generateUrl(this.endpoint);
this.http = http;
this.q = $q;
this.data = {};
this.deleted = {};
this.id = null;
this.sorted = [];
};
ApiService.prototype.generateUrl = function(path) {
return OC.generateUrl('/apps/deck/' + path);
};
ApiService.prototype.tryAllThenDeleted = function(id) {
let object = this.data[id];
if (object === undefined) {
object = this.deleted[id];
}
return object;
};
ApiService.prototype.fetchAll = function () {
var deferred = $q.defer();
var self = this;
$http.get(this.baseUrl).then(function (response) {
var objects = response.data;
objects.forEach(function (obj) {
self.data[obj.id] = obj;
});
deferred.resolve(self.data);
}, function (error) {
deferred.reject('Fetching ' + self.endpoint + ' failed');
});
return deferred.promise;
};
ApiService.prototype.fetchDeleted = function (scopeId) {
var deferred = $q.defer();
var self = this;
self.deleted = {};
$http.get(this.generateUrl(scopeId + '/' + this.endpoint + '/deleted')).then(function (response) {
var objects = response.data;
objects.forEach(function (obj) {
if(self.deleted[obj.id] !== undefined) {
return;
}
self.deleted[obj.id] = obj;
if(self.afterFetch !== undefined) {
self.afterFetch(obj);
}
});
deferred.resolve(objects);
}, function (error) {
deferred.reject('Fetching ' + self.endpoint + ' failed');
});
return deferred.promise;
};
ApiService.prototype.fetchOne = function (id) {
this.id = id;
var deferred = $q.defer();
if (id === undefined) {
return deferred.promise;
}
var self = this;
$http.get(this.baseUrl + '/' + id).then(function (response) {
var data = response.data;
if (self.data[data.id] === undefined) {
self.data[data.id] = response.data;
}
$.each(response.data, function (key, value) {
self.data[data.id][key] = value;
});
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Fetching ' + self.endpoint + ' failed');
});
return deferred.promise;
};
ApiService.prototype.create = function (entity) {
var deferred = $q.defer();
var self = this;
$http.post(this.baseUrl, entity).then(function (response) {
self.add(response.data);
deferred.resolve(response.data);
}, function (error) {
deferred.reject(error.data.message);
});
return deferred.promise;
};
ApiService.prototype.update = function (entity) {
var deferred = $q.defer();
var self = this;
$http.put(this.baseUrl + '/' + entity.id, entity).then(function (response) {
self.add(response.data);
deferred.resolve(response.data);
}, function (error) {
deferred.reject(error.data.message);
});
return deferred.promise;
};
ApiService.prototype.delete = function (id) {
var deferred = $q.defer();
var self = this;
$http.delete(this.baseUrl + '/' + id).then(function (response) {
self.deleted[id] = self.data[id];
delete self.data[id];
let deletedAt = response.data.deletedAt;
if (deletedAt !== undefined) {
self.deleted[id].deletedAt = deletedAt;
}
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Deleting ' + self.endpoint + ' failed');
});
return deferred.promise;
};
ApiService.prototype.undoDelete = function(entity) {
var self = this;
entity.deletedAt = 0;
var promise = this.update(entity);
promise.then(() => {
self.data[entity.id] = entity;
delete this.deleted[entity.id];
});
return promise;
};
// methods for managing data
ApiService.prototype.clear = function () {
this.data = {};
};
ApiService.prototype.add = function (entity) {
var element = this.data[entity.id];
if (element === undefined) {
this.data[entity.id] = entity;
} else {
Object.keys(entity).forEach(function (key) {
if (entity[key] !== null && element[key] !== entity[key]) {
element[key] = entity[key];
}
});
element.status = {};
}
};
ApiService.prototype.addAll = function (entities) {
var self = this;
angular.forEach(entities, function (entity) {
self.add(entity);
});
};
ApiService.prototype.getCurrent = function () {
return this.data[this.id];
};
ApiService.prototype.unsetCurrrent = function () {
this.id = null;
};
ApiService.prototype.getData = function () {
return $.map(this.data, function (value, index) {
return [value];
});
};
ApiService.prototype.getAll = function () {
return this.data;
};
ApiService.prototype.get = function (id) {
return this.data[id];
};
ApiService.prototype.getName = function () {
var funcNameRegex = /function (.{1,})\(/;
var results = (funcNameRegex).exec((this).constructor.toString());
return (results && results.length > 1) ? results[1] : '';
};
return ApiService;
});
-272
View File
@@ -1,272 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* global app OC angular */
app.factory('BoardService', function (ApiService, $http, $q) {
var BoardService = function ($http, ep, $q) {
ApiService.call(this, $http, ep, $q);
};
BoardService.prototype = angular.copy(ApiService.prototype);
BoardService.prototype.delete = function (id) {
var deferred = $q.defer();
var self = this;
$http.delete(this.baseUrl + '/' + id).then(function (response) {
self.data[id].deletedAt = response.data.deletedAt;
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Deleting ' + self.endpoint + ' failed');
});
return deferred.promise;
};
BoardService.prototype.deleteUndo = function (id) {
var deferred = $q.defer();
var self = this;
var _id = id;
$http.post(this.baseUrl + '/' + id + '/deleteUndo').then(function (response) {
self.data[_id].deletedAt = 0;
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Deleting ' + self.endpoint + ' failed');
});
return deferred.promise;
};
BoardService.prototype.searchUsers = function (search) {
var deferred = $q.defer();
var self = this;
var searchData = {
format: 'json',
perPage: 4,
itemType: [0, 1, 7]
};
if (search !== "") {
searchData.search = search;
}
$http({
method: 'GET',
url: OC.linkToOCS('apps/files_sharing/api/v1') + 'sharees',
params: searchData
})
.then(function (result) {
var response = result.data;
if (response.ocs.meta.statuscode !== 100) {
deferred.reject('Error while searching for sharees');
return;
}
self.sharees = [];
var users = response.ocs.data.exact.users.concat(response.ocs.data.users.slice(0, 4));
var groups = response.ocs.data.exact.groups.concat(response.ocs.data.groups.slice(0, 4));
var circles = response.ocs.data.exact.groups.concat(response.ocs.data.circles.slice(0, 4));
// filter out everyone who is already in the share list
angular.forEach(users, function (item) {
var acl = self.generateAcl(OC.Share.SHARE_TYPE_USER, item);
var exists = false;
angular.forEach(self.getCurrent().acl, function (acl) {
if (acl.participant.primaryKey === item.value.shareWith) {
exists = true;
}
});
if (!exists && OC.getCurrentUser().uid !== item.value.shareWith) {
self.sharees.push(acl);
}
});
angular.forEach(groups, function (item) {
var acl = self.generateAcl(OC.Share.SHARE_TYPE_GROUP, item);
var exists = false;
angular.forEach(self.getCurrent().acl, function (acl) {
if (acl.participant.primaryKey === item.value.shareWith) {
exists = true;
}
});
if (!exists) {
self.sharees.push(acl);
}
});
angular.forEach(circles, function (item) {
var acl = self.generateAcl(OC.Share.SHARE_TYPE_CIRCLE, item);
var exists = false;
angular.forEach(self.getCurrent().acl, function (acl) {
if (acl.participant.primaryKey === item.value.shareWith) {
exists = true;
}
});
if (!exists) {
self.sharees.push(acl);
}
});
deferred.resolve(self.sharees);
}, function () {
deferred.reject('Error while searching for sharees');
});
return deferred.promise;
};
BoardService.prototype.generateAcl = function (type, ocsItem) {
return {
boardId: null,
id: null,
owner: false,
participant: {
primaryKey: ocsItem.value.shareWith,
uid: ocsItem.value.shareWith,
displayname: ocsItem.label
},
permissionEdit: true,
permissionManage: false,
permissionShare: false,
type: type
};
};
BoardService.prototype.addAcl = function (acl) {
var board = this.getCurrent();
var deferred = $q.defer();
var self = this;
var _acl = acl;
$http.post(this.baseUrl + '/' + acl.boardId + '/acl', _acl).then(function (response) {
if (!board.acl || board.acl.length === 0) {
board.acl = {};
}
board.acl[response.data.id] = response.data;
if (response.data.type === OC.Share.SHARE_TYPE_USER) {
self._updateUsers();
} else {
self.fetchOne(response.data.boardId);
}
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error creating ACL ' + _acl);
});
acl = null;
return deferred.promise;
};
BoardService.prototype.deleteAcl = function (acl) {
var board = this.getCurrent();
var deferred = $q.defer();
var self = this;
$http.delete(this.baseUrl + '/' + acl.boardId + '/acl/' + acl.id).then(function (response) {
var index = board.acl.findIndex((item) => item.id === response.data.id);
delete board.acl[index];
if (response.data.type === OC.Share.SHARE_TYPE_USER) {
self._updateUsers();
} else {
self.fetchOne(response.data.boardId);
}
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error deleting ACL ' + acl.id);
});
acl = null;
return deferred.promise;
};
BoardService.prototype.updateAcl = function (acl) {
var board = this.getCurrent();
var deferred = $q.defer();
var self = this;
var _acl = acl;
$http.put(this.baseUrl + '/' + acl.boardId + '/acl', _acl).then(function (response) {
var index = board.acl.findIndex((item) => item.id === _acl.id);
board.acl[index] = response.data;
if (response.data.type === OC.Share.SHARE_TYPE_USER) {
self._updateUsers();
} else {
self.fetchOne(response.data.boardId);
}
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error updating ACL ' + _acl);
});
acl = null;
return deferred.promise;
};
BoardService.prototype._updateUsers = function () {
if (!this.getCurrent() || !this.getCurrent().acl) {
return [];
}
this.getCurrent().users = [this.getCurrent().owner];
let self = this;
angular.forEach(this.getCurrent().acl, function(value, key) {
if (value.type === OC.Share.SHARE_TYPE_USER) {
self.getCurrent().users.push(value.participant);
}
});
};
BoardService.prototype.getUsers = function () {
if (this.getCurrent() && !this.getCurrent().users) {
this._updateUsers();
}
return this.getCurrent().users;
};
BoardService.prototype.canRead = function () {
if (!this.getCurrent() || !this.getCurrent().permissions) {
return false;
}
return this.getCurrent().permissions['PERMISSION_READ'];
};
BoardService.prototype.canEdit = function () {
if (!this.getCurrent() || !this.getCurrent().permissions) {
return false;
}
return this.getCurrent().permissions['PERMISSION_EDIT'];
};
BoardService.prototype.canManage = function (board) {
if (board !== null && board !== undefined) {
return board.permissions['PERMISSION_MANAGE'];
}
if (!this.getCurrent() || !this.getCurrent().permissions) {
return false;
}
return this.getCurrent().permissions['PERMISSION_MANAGE'];
};
BoardService.prototype.canShare = function () {
if (!this.getCurrent() || !this.getCurrent().permissions) {
return false;
}
return this.getCurrent().permissions['PERMISSION_SHARE'];
};
BoardService.prototype.isArchived = function () {
if (!this.getCurrent() || this.getCurrent().archived) {
return true;
}
return false;
};
return new BoardService($http, 'boards', $q);
});
-177
View File
@@ -1,177 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.factory('CardService', function (ApiService, $http, $q) {
var CardService = function ($http, ep, $q) {
ApiService.call(this, $http, ep, $q);
};
CardService.prototype = angular.copy(ApiService.prototype);
CardService.prototype.reorder = function (card, order) {
var deferred = $q.defer();
var self = this;
$http.put(this.baseUrl + '/' + card.id + '/reorder', {
cardId: card.id,
order: order,
stackId: card.stackId
}).then(function (response) {
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.rename = function (card) {
var deferred = $q.defer();
var self = this;
$http.put(this.baseUrl + '/' + card.id + '/rename', {
cardId: card.id,
title: card.title
}).then(function (response) {
self.data[card.id].title = card.title;
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while renaming ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.assignLabel = function (card, label) {
var url = this.baseUrl + '/' + card + '/label/' + label;
var deferred = $q.defer();
var self = this;
$http.post(url).then(function (response) {
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.removeLabel = function (card, label) {
var url = this.baseUrl + '/' + card + '/label/' + label;
var deferred = $q.defer();
var self = this;
$http.delete(url).then(function (response) {
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.archive = function (card) {
var deferred = $q.defer();
var self = this;
$http.put(this.baseUrl + '/' + card.id + '/archive', {}).then(function (response) {
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.unarchive = function (card) {
var deferred = $q.defer();
var self = this;
$http.put(this.baseUrl + '/' + card.id + '/unarchive', {}).then(function (response) {
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.assignUser = function (card, user) {
var deferred = $q.defer();
var self = this;
if (self.get(card.id).assignedUsers === null) {
self.get(card.id).assignedUsers = [];
}
$http.post(this.baseUrl + '/' + card.id + '/assign', {'userId': user}).then(function (response) {
self.get(card.id).assignedUsers.push(response.data);
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.unassignUser = function (card, user) {
var deferred = $q.defer();
var self = this;
$http.delete(this.baseUrl + '/' + card.id + '/assign/' + user, {}).then(function (response) {
self.get(card.id).assignedUsers = self.get(card.id).assignedUsers.filter(function (obj) {
return obj.participant.uid !== user;
});
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
CardService.prototype.attachmentRemove = function (attachment) {
var deferred = $q.defer();
var self = this;
$http.delete(this.baseUrl + '/' + this.getCurrent().id + '/attachment/' + attachment.id, {}).then(function (response) {
if (response.data.deletedAt > 0) {
let currentAttachment = self.getCurrent().attachments.find(function (obj) {
if (obj.id === attachment.id) {
obj.deletedAt = response.data.deletedAt;
}
});
} else {
self.getCurrent().attachments = self.getCurrent().attachments.filter(function (obj) {
return obj.id !== attachment.id;
});
}
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error when removing the attachment');
});
return deferred.promise;
};
CardService.prototype.attachmentRemoveUndo = function (attachment) {
var deferred = $q.defer();
var self = this;
$http.get(this.baseUrl + '/' + this.getCurrent().id + '/attachment/' + attachment.id + '/restore', {}).then(function (response) {
let currentAttachment = self.getCurrent().attachments.find(function (obj) {
if (obj.id === attachment.id) {
obj.deletedAt = response.data.deletedAt;
}
});
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error when restoring the attachment');
});
return deferred.promise;
};
var service = new CardService($http, 'cards', $q);
return service;
});
-137
View File
@@ -1,137 +0,0 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* global OC oc_requesttoken */
export default class FileService {
constructor (FileUploader, CardService, $rootScope, $filter) {
this.$filter = $filter;
this.uploader = new FileUploader();
this.cardservice = CardService;
this.uploader.onAfterAddingFile = this.onAfterAddingFile.bind(this);
this.uploader.onSuccessItem = this.onSuccessItem.bind(this);
this.uploader.onErrorItem = this.onErrorItem.bind(this);
this.uploader.onCancelItem = this.onCancelItem.bind(this);
this.maxUploadSize = $rootScope.config.maxUploadSize;
this.progress = [];
this.status = null;
}
reset () {
this.status = null;
}
runUpload (fileItem, attachmentId) {
this.status = null;
fileItem.url = OC.generateUrl('/apps/deck/cards/' + fileItem.cardId + '/attachment?type=deck_file');
if (typeof attachmentId !== 'undefined') {
fileItem.url = OC.generateUrl('/apps/deck/cards/' + fileItem.cardId + '/attachment/' + attachmentId + '?type=deck_file');
} else {
fileItem.formData = [
{
requesttoken: oc_requesttoken,
type: 'deck_file',
}
];
}
fileItem.headers = {requesttoken: oc_requesttoken};
this.uploader.uploadItem(fileItem);
}
onAfterAddingFile (fileItem) {
if (this.maxUploadSize > 0 && fileItem.file.size > this.maxUploadSize) {
this.status = {
error: t('deck', `Failed to upload {name}`, {name: fileItem.file.name}),
message: t('deck', 'Maximum file size of {size} exceeded', {size: this.$filter('bytes')(this.maxUploadSize)})
};
return;
}
// Fetch card details before trying to upload so we can detect filename collisions properly
let self = this;
this.progress.push(fileItem);
this.cardservice.fetchOne(fileItem.cardId).then(function (data) {
let attachments = self.cardservice.get(fileItem.cardId).attachments;
let existingFile = attachments.find((attachment) => {
return attachment.data === fileItem.file.name;
});
if (typeof existingFile !== 'undefined') {
OC.dialogs.confirm(
t('deck', `A file with the name ${fileItem.file.name} already exists. Do you want to overwrite it?`),
t('deck', 'File already exists'),
function (result) {
if (result) {
self.runUpload(fileItem, existingFile.id);
} else {
let fileName = existingFile.extendedData.info.filename;
let foundFilesMatching = attachments.filter((attachment) => {
return attachment.extendedData.info.extension === existingFile.extendedData.info.extension
&& attachment.extendedData.info.filename.startsWith(fileName);
});
let nextIndex = foundFilesMatching.length + 1;
fileItem.file.name = fileName + ' (' + nextIndex + ').' + existingFile.extendedData.info.extension;
self.runUpload(fileItem);
}
}
);
} else {
self.runUpload(fileItem);
}
}, function (error) {
this.progress = this.progress.filter((item) => (fileItem.file.name !== item.file.name));
});
}
onSuccessItem (item, response) {
let attachments = this.cardservice.get(item.cardId).attachments;
let index = attachments.indexOf(attachments.find((attachment) => attachment.id === response.id));
if (~index) {
attachments = attachments.splice(index, 1);
}
this.cardservice.get(item.cardId).attachments.push(response);
this.progress = this.progress.filter((fileItem) => (fileItem.file.name !== item.file.name));
}
onErrorItem (item, response) {
this.progress = this.progress.filter((fileItem) => (fileItem.file.name !== item.file.name));
this.status = {
error: t('deck', `Failed to upload:`) + ' ' + item.file.name,
message: response.message
};
}
onCancelItem (item) {
this.progress = this.progress.filter((fileItem) => (fileItem.file.name !== item.file.name));
}
getProgressItemsForCard (cardId) {
return this.progress.filter((fileItem) => (fileItem.cardId === cardId));
}
}
app.service('FileService', FileService);
-30
View File
@@ -1,30 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.factory('LabelService', function (ApiService, $http, $q) {
var LabelService = function ($http, ep, $q) {
ApiService.call(this, $http, ep, $q);
};
LabelService.prototype = angular.copy(ApiService.prototype);
return new LabelService($http, 'labels', $q);
});
-139
View File
@@ -1,139 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
/* global app angular */
app.factory('StackService', function (ApiService, CardService, $http, $q) {
var StackService = function ($http, ep, $q) {
ApiService.call(this, $http, ep, $q);
};
StackService.prototype = angular.copy(ApiService.prototype);
StackService.prototype.afterFetch = function(stack) {
CardService.addAll(stack.cards);
};
StackService.prototype.fetchAll = function (boardId) {
var deferred = $q.defer();
var self = this;
$http.get(this.baseUrl + '/' + boardId).then(function (response) {
self.clear();
self.addAll(response.data);
// When loading a stack add cards to the CardService so we can fetch
// information from there. That way we don't need to refresh the whole
// stack data during digest if some value changes
angular.forEach(response.data, function (entity) {
CardService.addAll(entity.cards);
});
deferred.resolve(self.data);
}, function (error) {
deferred.reject('Error while loading stacks');
});
return deferred.promise;
};
StackService.prototype.fetchArchived = function (boardId) {
var deferred = $q.defer();
var self = this;
$http.get(this.baseUrl + '/' + boardId + '/archived').then(function (response) {
self.clear();
self.addAll(response.data);
angular.forEach(response.data, function (entity) {
CardService.addAll(entity.cards);
});
deferred.resolve(self.data);
}, function (error) {
deferred.reject('Error while loading stacks');
});
return deferred.promise;
};
StackService.prototype.addCard = function (entity) {
if (!this.data[entity.stackId].cards) {
this.data[entity.stackId].cards = [];
}
this.data[entity.stackId].cards.push(entity);
};
StackService.prototype.reorder = function (stack, order) {
var deferred = $q.defer();
var self = this;
$http.put(this.baseUrl + '/' + stack.id + '/reorder', {
stackId: stack.id,
order: order
}).then(function (response) {
angular.forEach(response.data, function (value, key) {
var id = value.id;
self.data[id].order = value.order;
});
deferred.resolve(response.data);
}, function (error) {
deferred.reject('Error while update ' + self.endpoint);
});
return deferred.promise;
};
StackService.prototype.reorderCard = function (entity, order) {
// assign new order
for (var i = 0, j = 0; i < this.data[entity.stackId].cards.length; i++) {
if (this.data[entity.stackId].cards[i].id === entity.id) {
this.data[entity.stackId].cards[i].order = order;
}
if (j === order) {
j++;
}
if (this.data[entity.stackId].cards[i].id !== entity.id) {
this.data[entity.stackId].cards[i].order = j++;
}
}
// sort array by order
this.data[entity.stackId].cards.sort(function (a, b) {
if (a.order < b.order)
{return -1;}
if (a.order > b.order)
{return 1;}
return 0;
});
};
StackService.prototype.updateCard = function (entity) {
var self = this;
var cards = this.data[entity.stackId].cards;
for (var i = 0; i < cards.length; i++) {
if (cards[i].id === entity.id) {
cards[i] = entity;
}
}
};
StackService.prototype.removeCard = function (entity) {
var self = this;
var cards = this.data[entity.stackId].cards;
for (var i = 0; i < cards.length; i++) {
if (cards[i].id === entity.id) {
cards.splice(i, 1);
}
}
};
var service = new StackService($http, 'stacks', $q);
return service;
});
-82
View File
@@ -1,82 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import app from '../app/App.js';
app.factory('StatusService', function () {
// Status Helper
var StatusService = function () {
this.active = true;
this.icon = 'loading';
this.title = '';
this.text = '';
this.counter = 0;
};
StatusService.prototype.setStatus = function ($icon, $title, $text) {
this.active = true;
this.icon = $icon;
this.title = $title;
this.text = $text;
};
StatusService.prototype.setError = function ($title, $text) {
this.active = true;
this.icon = 'error';
this.title = $title;
this.text = $text;
this.counter = 0;
};
StatusService.prototype.releaseWaiting = function () {
if (this.counter > 0) {
this.counter--;
}
if (this.counter <= 0) {
this.active = false;
this.counter = 0;
}
};
StatusService.prototype.retainWaiting = function () {
this.active = true;
this.icon = 'loading';
this.title = '';
this.text = '';
this.counter++;
};
StatusService.prototype.unsetStatus = function () {
this.active = false;
};
return {
getInstance: function () {
return new StatusService();
},
/* Shared StatusService instance between both ListController instances */
listStatus: new StatusService()
};
});
-41
View File
@@ -1,41 +0,0 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
describe('BoardController', function() {
'use strict';
var $controller;
beforeEach(inject(function(_$controller_){
// The injector unwraps the underscores (_) from around the parameter names when matching
$controller = _$controller_;
}));
describe('$scope.rgblight', function() {
it('converts rbg color to a lighter color', function() {
var $scope = {};
var controller = $controller('BoardController', { $scope: $scope });
var hex = $scope.rgblight('red');
expect(hex).toEqual('#red');
});
});
});
-76
View File
@@ -1,76 +0,0 @@
const path = require('path');
const webpack = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const { VueLoaderPlugin } = require('vue-loader');
module.exports = {
node: {
fs: 'empty',
},
entry: {
deck: ['./init.js'],
collections: ['./init-collections.js']
},
output: {
filename: '[name].js',
path: __dirname + '/build'
},
module: {
rules: [
{
test: /\.css$/,
use: ['vue-style-loader', 'style-loader', 'css-loader']
},
{
test: /\.vue$/,
loader: 'vue-loader'
},
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
query: {
presets: ['@babel/preset-env'],
plugins: ['@babel/plugin-syntax-dynamic-import']
}
},
{
test: /\.scss$/,
use: [
'vue-style-loader',
'css-loader',
'sass-loader'
]
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: 'url-loader',
options: {
name: '[name].[ext]?[hash]'
}
},
]
},
/* use external jQuery from server */
externals: {
'jquery': 'jQuery'
},
resolve: {
alias: {
vue$: 'vue/dist/vue.esm.js'
},
extensions: ['*', '.js', '.vue', '.json'],
modules: [
path.resolve(__dirname),
path.join(__dirname, 'node_modules'),
'node_modules'
]
},
plugins: [
new VueLoaderPlugin(),
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery'
})
]
};
-7
View File
@@ -1,7 +0,0 @@
const merge = require('webpack-merge');
const baseConfig = require('./webpack.config.js');
module.exports = merge(baseConfig, {
mode: 'development',
devtool: 'source-map',
});
-15
View File
@@ -1,15 +0,0 @@
const webpack = require('webpack');
const merge = require('webpack-merge');
const baseConfig = require('./webpack.config.js');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
module.exports = merge(baseConfig, {
mode: 'production',
optimization: {
minimizer: [
new UglifyJsPlugin({
test: /(vendor\.js)+/i
})
]
}});
+18
View File
@@ -0,0 +1,18 @@
OC.L10N.register(
"deck",
{
"Hours" : "ساعات",
"Minutes" : "دقائق",
"File already exists" : "الملف موجود مسبقاً",
"Done" : "تم",
"Actions" : "الإجراءات",
"Delete card" : "حذف البطاقة",
"Timeline" : "الخيط الزمني",
"Share" : "شارك",
"Update tag" : "تحديث الوسم",
"Edit tag" : "تعديل الوسم",
"Delete tag" : "حذف الوسم",
"Delete attachment" : "حذف المرفق",
"Settings" : "الإعدادات"
},
"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;");
+16
View File
@@ -0,0 +1,16 @@
{ "translations": {
"Hours" : "ساعات",
"Minutes" : "دقائق",
"File already exists" : "الملف موجود مسبقاً",
"Done" : "تم",
"Actions" : "الإجراءات",
"Delete card" : "حذف البطاقة",
"Timeline" : "الخيط الزمني",
"Share" : "شارك",
"Update tag" : "تحديث الوسم",
"Edit tag" : "تعديل الوسم",
"Delete tag" : "حذف الوسم",
"Delete attachment" : "حذف المرفق",
"Settings" : "الإعدادات"
},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"
}
+29
View File
@@ -0,0 +1,29 @@
OC.L10N.register(
"deck",
{
"Hours" : "Hores",
"Minutes" : "Minutos",
"Deck" : "Deck",
"Finished" : "Finó",
"Action needed" : "Precísase aición",
"Later" : "Más sero",
"Submit" : "Unviar",
"Show archived cards" : "Amosar tarxetes archivaes",
"Close" : "Zarrar",
"Tags" : "Etiquetes",
"Select users or groups to share with" : "Esbilla usuarios o grupos colos que compartir",
"No matching user or group found." : "Nun s'alcontró dengún usuariu o grupu que concasara.",
"Loading" : "Cargando",
"Edit" : "Editar",
"Share" : "Compartir",
"Manage" : "Xestionar",
"Discard share" : "Escartar compartición",
"Title" : "Títulu",
"Members" : "Miembros",
"More actions" : "Más aiciones",
"by" : "por",
"Click to set" : "Primi p'afitar",
"Description" : "Descripción",
"Saved" : "Guardóse"
},
"nplurals=2; plural=(n != 1);");
+27
View File
@@ -0,0 +1,27 @@
{ "translations": {
"Hours" : "Hores",
"Minutes" : "Minutos",
"Deck" : "Deck",
"Finished" : "Finó",
"Action needed" : "Precísase aición",
"Later" : "Más sero",
"Submit" : "Unviar",
"Show archived cards" : "Amosar tarxetes archivaes",
"Close" : "Zarrar",
"Tags" : "Etiquetes",
"Select users or groups to share with" : "Esbilla usuarios o grupos colos que compartir",
"No matching user or group found." : "Nun s'alcontró dengún usuariu o grupu que concasara.",
"Loading" : "Cargando",
"Edit" : "Editar",
"Share" : "Compartir",
"Manage" : "Xestionar",
"Discard share" : "Escartar compartición",
"Title" : "Títulu",
"Members" : "Miembros",
"More actions" : "Más aiciones",
"by" : "por",
"Click to set" : "Primi p'afitar",
"Description" : "Descripción",
"Saved" : "Guardóse"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+42
View File
@@ -0,0 +1,42 @@
OC.L10N.register(
"deck",
{
"Hours" : "Часове",
"Minutes" : "Минути",
"Finished" : "Готово",
"To review" : "За преглед",
"Action needed" : "Необходимо е действие",
"Later" : "По-късно",
"The file was uploaded" : "Файлът е качен",
"The file was only partially uploaded" : "Файлът е качен частично",
"No file was uploaded" : "Нито един файл не е качен",
"Sharing" : "Споделяне",
"Tags" : "Етикети",
"Select users or groups to share with" : "Споделяне с потребители или групи",
"No matching user or group found." : "Не са намерени съвпадащи потребители или групи",
"Loading" : "Зареждане",
"Edit" : "Редакция",
"Share" : "Сподели",
"Manage" : "Управление",
"Discard share" : "Отхвърляне на споделяне",
"Create" : "Създай",
"Title" : "Име",
"Members" : "Членове",
"Cancel upload" : "Откажи качването",
"by" : "от",
"Modified:" : "Променена:",
"Created:" : "Създадена:",
"Choose a tag" : "Изберете етикет",
"Add a tag" : "Етикети",
"Select tags" : "Изберете етикети",
"Assign users" : "Зачисляване на потребител",
"Choose a user to assign" : "Изберете потребител на който да бъде зачислена",
"Due date" : "Крайна дата",
"Remove due date" : "Премахни крайната дата",
"Description" : "Описание",
"Attachments" : "Прикачени файлове",
"Saved" : "Запазено",
"Upload attachment" : "Качване",
"Settings" : "Настройки"
},
"nplurals=2; plural=(n != 1);");
+40
View File
@@ -0,0 +1,40 @@
{ "translations": {
"Hours" : "Часове",
"Minutes" : "Минути",
"Finished" : "Готово",
"To review" : "За преглед",
"Action needed" : "Необходимо е действие",
"Later" : "По-късно",
"The file was uploaded" : "Файлът е качен",
"The file was only partially uploaded" : "Файлът е качен частично",
"No file was uploaded" : "Нито един файл не е качен",
"Sharing" : "Споделяне",
"Tags" : "Етикети",
"Select users or groups to share with" : "Споделяне с потребители или групи",
"No matching user or group found." : "Не са намерени съвпадащи потребители или групи",
"Loading" : "Зареждане",
"Edit" : "Редакция",
"Share" : "Сподели",
"Manage" : "Управление",
"Discard share" : "Отхвърляне на споделяне",
"Create" : "Създай",
"Title" : "Име",
"Members" : "Членове",
"Cancel upload" : "Откажи качването",
"by" : "от",
"Modified:" : "Променена:",
"Created:" : "Създадена:",
"Choose a tag" : "Изберете етикет",
"Add a tag" : "Етикети",
"Select tags" : "Изберете етикети",
"Assign users" : "Зачисляване на потребител",
"Choose a user to assign" : "Изберете потребител на който да бъде зачислена",
"Due date" : "Крайна дата",
"Remove due date" : "Премахни крайната дата",
"Description" : "Описание",
"Attachments" : "Прикачени файлове",
"Saved" : "Запазено",
"Upload attachment" : "Качване",
"Settings" : "Настройки"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+15
View File
@@ -0,0 +1,15 @@
OC.L10N.register(
"deck",
{
"Hours" : "Sati",
"Minutes" : "Minute",
"Maximum file size of {size} exceeded" : "Maksimalna veličina datoteke prekoračena",
"Edit" : "Izmjeni",
"Share" : "Podjeli",
"Create" : "Ustvari",
"Status" : "Status",
"Title" : "Naslov",
"Members" : "Članovi",
"Settings" : "Podešavanje"
},
"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);");
+13
View File
@@ -0,0 +1,13 @@
{ "translations": {
"Hours" : "Sati",
"Minutes" : "Minute",
"Maximum file size of {size} exceeded" : "Maksimalna veličina datoteke prekoračena",
"Edit" : "Izmjeni",
"Share" : "Podjeli",
"Create" : "Ustvari",
"Status" : "Status",
"Title" : "Naslov",
"Members" : "Članovi",
"Settings" : "Podešavanje"
},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"
}
+3 -2
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"deck",
{
"Please provide a content for your comment." : "Si us plau, proporcioneu un contingut per al vostre comentari.",
"Please provide a content for your comment." : "Proporcioneu un contingut per al vostre comentari.",
"Posting the comment failed." : "No s'ha pogut publicar el comentari.",
"The comment has been deleted" : "S'ha suprimit el comentari",
"The associated stack is deleted as well, it will be restored as well." : "La pila associada també se suprimeix, també es restaurarà.",
@@ -19,7 +19,7 @@ OC.L10N.register(
"You have restored the board {board}" : "Heu restaurat el tauler {board}",
"{user} has restored the board {board}" : "{user} ha restaurat el tauler {board}",
"You have shared the board {board} with {acl}" : "Heu compartit el tauler {board} amb {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} ha compartit el tauler {board} amb {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} ha compartit el tauler {board} amb {acl}",
"You have removed {acl} from the board {board}" : "Heu suprimit {acl} del tauler {board}",
"{user} has removed {acl} from the board {board}" : "{user} ha suprimit {acl} del tauler {board}",
"You have renamed the board {before} to {board}" : "Heu reanomenat el tauler {before} a {board}",
@@ -77,6 +77,7 @@ OC.L10N.register(
"A <strong>card description</strong> inside the Deck app has been changed" : "S'ha canviat una <strong>descripció de targeta</strong> a l'aplicació Tauler",
"Deck" : "Tauler",
"Changes in the <strong>Deck app</strong>" : "Hi ha canvis a l'<strong>aplicació Tauler</strong>",
"A <strong>comment</strong> was created on a card" : "S'ha afegit un <strong>comentari</strong> a una targeta",
"Personal" : "Personal",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La targeta \"%s\" sobre \"%s\" se us ha assignat per %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} us ha assignat la targeta \"%s\" sobre \"%s\".",
+3 -2
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Please provide a content for your comment." : "Si us plau, proporcioneu un contingut per al vostre comentari.",
"Please provide a content for your comment." : "Proporcioneu un contingut per al vostre comentari.",
"Posting the comment failed." : "No s'ha pogut publicar el comentari.",
"The comment has been deleted" : "S'ha suprimit el comentari",
"The associated stack is deleted as well, it will be restored as well." : "La pila associada també se suprimeix, també es restaurarà.",
@@ -17,7 +17,7 @@
"You have restored the board {board}" : "Heu restaurat el tauler {board}",
"{user} has restored the board {board}" : "{user} ha restaurat el tauler {board}",
"You have shared the board {board} with {acl}" : "Heu compartit el tauler {board} amb {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} ha compartit el tauler {board} amb {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} ha compartit el tauler {board} amb {acl}",
"You have removed {acl} from the board {board}" : "Heu suprimit {acl} del tauler {board}",
"{user} has removed {acl} from the board {board}" : "{user} ha suprimit {acl} del tauler {board}",
"You have renamed the board {before} to {board}" : "Heu reanomenat el tauler {before} a {board}",
@@ -75,6 +75,7 @@
"A <strong>card description</strong> inside the Deck app has been changed" : "S'ha canviat una <strong>descripció de targeta</strong> a l'aplicació Tauler",
"Deck" : "Tauler",
"Changes in the <strong>Deck app</strong>" : "Hi ha canvis a l'<strong>aplicació Tauler</strong>",
"A <strong>comment</strong> was created on a card" : "S'ha afegit un <strong>comentari</strong> a una targeta",
"Personal" : "Personal",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La targeta \"%s\" sobre \"%s\" se us ha assignat per %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} us ha assignat la targeta \"%s\" sobre \"%s\".",
-1
View File
@@ -18,7 +18,6 @@ OC.L10N.register(
"You have restored the board {board}" : "Obnovili jste nástěnku {board}",
"{user} has restored the board {board}" : "{user} obnovil(a) nástěnku {board}",
"You have shared the board {board} with {acl}" : "Nasdíleli jste nástěnku {board} s {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} nasdílel(a) nástěnku {board} pro {sharee}",
"You have removed {acl} from the board {board}" : "Odebrali jste {acl} z nástěnky {board}",
"{user} has removed {acl} from the board {board}" : "{user} odebral(a) {acl} z nástěnky {board}",
"You have renamed the board {before} to {board}" : "Přejmenovali jste nástěnku {before} na {board}",
-1
View File
@@ -16,7 +16,6 @@
"You have restored the board {board}" : "Obnovili jste nástěnku {board}",
"{user} has restored the board {board}" : "{user} obnovil(a) nástěnku {board}",
"You have shared the board {board} with {acl}" : "Nasdíleli jste nástěnku {board} s {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} nasdílel(a) nástěnku {board} pro {sharee}",
"You have removed {acl} from the board {board}" : "Odebrali jste {acl} z nástěnky {board}",
"{user} has removed {acl} from the board {board}" : "{user} odebral(a) {acl} z nástěnky {board}",
"You have renamed the board {before} to {board}" : "Přejmenovali jste nástěnku {before} na {board}",
+2 -1
View File
@@ -19,7 +19,7 @@ OC.L10N.register(
"You have restored the board {board}" : "Du hast das Board {board} wiederhergestellt",
"{user} has restored the board {board}" : "{user} hat das Board {board} wiederhergestellt",
"You have shared the board {board} with {acl}" : "Du hast das Board {board} mit {acl} geteilt",
"{user} has shared the board {board} with {sharee}" : "{user} hat das Board {board} mit {sharee} geteilt",
"{user} has shared the board {board} with {acl}" : "{user} hat das Board {board} mit {acl} geteilt",
"You have removed {acl} from the board {board}" : "Du hast {acl} vom Board {board} entfernt",
"{user} has removed {acl} from the board {board}" : "{user} hat {acl} vom Board {board} entfernt",
"You have renamed the board {before} to {board}" : "Du hast das Board {before} in {board} umbenannt",
@@ -77,6 +77,7 @@ OC.L10N.register(
"A <strong>card description</strong> inside the Deck app has been changed" : "Eine <strong>Kartenbeschreibung</strong> wurde innerhalb der Deck-App geändert",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Änderungen in der <strong>Deck-App</strong>",
"A <strong>comment</strong> was created on a card" : "Ein <strong>Kommentar</strong> zu einer Karte wurde erstellt",
"Personal" : "Persönlich",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Die Karte \"%s\" auf \"%s\" wurde Dir von %s zugewiesen.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} hat Dir die Karte \"%s\" auf \"%s\" zugewiesen.",
+2 -1
View File
@@ -17,7 +17,7 @@
"You have restored the board {board}" : "Du hast das Board {board} wiederhergestellt",
"{user} has restored the board {board}" : "{user} hat das Board {board} wiederhergestellt",
"You have shared the board {board} with {acl}" : "Du hast das Board {board} mit {acl} geteilt",
"{user} has shared the board {board} with {sharee}" : "{user} hat das Board {board} mit {sharee} geteilt",
"{user} has shared the board {board} with {acl}" : "{user} hat das Board {board} mit {acl} geteilt",
"You have removed {acl} from the board {board}" : "Du hast {acl} vom Board {board} entfernt",
"{user} has removed {acl} from the board {board}" : "{user} hat {acl} vom Board {board} entfernt",
"You have renamed the board {before} to {board}" : "Du hast das Board {before} in {board} umbenannt",
@@ -75,6 +75,7 @@
"A <strong>card description</strong> inside the Deck app has been changed" : "Eine <strong>Kartenbeschreibung</strong> wurde innerhalb der Deck-App geändert",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Änderungen in der <strong>Deck-App</strong>",
"A <strong>comment</strong> was created on a card" : "Ein <strong>Kommentar</strong> zu einer Karte wurde erstellt",
"Personal" : "Persönlich",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Die Karte \"%s\" auf \"%s\" wurde Dir von %s zugewiesen.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} hat Dir die Karte \"%s\" auf \"%s\" zugewiesen.",
+2 -1
View File
@@ -19,7 +19,7 @@ OC.L10N.register(
"You have restored the board {board}" : "Sie haben das Board {board} wiederhergestellt",
"{user} has restored the board {board}" : "{user} hat das Board {board} wiederhergestellt",
"You have shared the board {board} with {acl}" : "Sie haben das Board {board} mit {acl} geteilt",
"{user} has shared the board {board} with {sharee}" : "{user} hat das Board {board} mit {sharee} geteilt",
"{user} has shared the board {board} with {acl}" : "{user} hat das Board {board} mit {acl} geteilt",
"You have removed {acl} from the board {board}" : "Sie haben {acl} vom Board {board} entfernt",
"{user} has removed {acl} from the board {board}" : "{user} hat {acl} vom Board {board} entfernt",
"You have renamed the board {before} to {board}" : "Sie haben das Board {before} in {board} umbenannt",
@@ -77,6 +77,7 @@ OC.L10N.register(
"A <strong>card description</strong> inside the Deck app has been changed" : "Eine <strong>Kartenbeschreibung</strong> wurde innerhalb der Deck-App geändert",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Änderungen in der <strong>Deck-App</strong>",
"A <strong>comment</strong> was created on a card" : "Ein <strong>Kommentar</strong> zu einer Karte wurde erstellt",
"Personal" : "Persönlich",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Die Karte \"%s\" auf \"%s\" wurde Ihnen von %s zugewiesen.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} hat Ihnen die Karte \"%s\" auf \"%s\" zugewiesen.",
+2 -1
View File
@@ -17,7 +17,7 @@
"You have restored the board {board}" : "Sie haben das Board {board} wiederhergestellt",
"{user} has restored the board {board}" : "{user} hat das Board {board} wiederhergestellt",
"You have shared the board {board} with {acl}" : "Sie haben das Board {board} mit {acl} geteilt",
"{user} has shared the board {board} with {sharee}" : "{user} hat das Board {board} mit {sharee} geteilt",
"{user} has shared the board {board} with {acl}" : "{user} hat das Board {board} mit {acl} geteilt",
"You have removed {acl} from the board {board}" : "Sie haben {acl} vom Board {board} entfernt",
"{user} has removed {acl} from the board {board}" : "{user} hat {acl} vom Board {board} entfernt",
"You have renamed the board {before} to {board}" : "Sie haben das Board {before} in {board} umbenannt",
@@ -75,6 +75,7 @@
"A <strong>card description</strong> inside the Deck app has been changed" : "Eine <strong>Kartenbeschreibung</strong> wurde innerhalb der Deck-App geändert",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Änderungen in der <strong>Deck-App</strong>",
"A <strong>comment</strong> was created on a card" : "Ein <strong>Kommentar</strong> zu einer Karte wurde erstellt",
"Personal" : "Persönlich",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Die Karte \"%s\" auf \"%s\" wurde Ihnen von %s zugewiesen.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} hat Ihnen die Karte \"%s\" auf \"%s\" zugewiesen.",
+1
View File
@@ -26,6 +26,7 @@ OC.L10N.register(
"Deleted items" : "Διαγραμμένα αντικείμενα",
"Timeline" : "Χρονοδιάγραμμα",
"Select users or groups to share with" : "Επιλέξτε χρήστες ή ομάδες με τις οποίες θα μοιραστείτε",
"Group" : "Ομάδα",
"No matching user or group found." : "Δεν βρέθηκε χρήστης ή ομάδα να ταιριάζει.",
"Loading" : "Γίνεται φόρτωση",
"Edit" : "Επεξεργασία",
+1
View File
@@ -24,6 +24,7 @@
"Deleted items" : "Διαγραμμένα αντικείμενα",
"Timeline" : "Χρονοδιάγραμμα",
"Select users or groups to share with" : "Επιλέξτε χρήστες ή ομάδες με τις οποίες θα μοιραστείτε",
"Group" : "Ομάδα",
"No matching user or group found." : "Δεν βρέθηκε χρήστης ή ομάδα να ταιριάζει.",
"Loading" : "Γίνεται φόρτωση",
"Edit" : "Επεξεργασία",
+3 -1
View File
@@ -11,6 +11,7 @@ OC.L10N.register(
"Minutes" : "Minutoj",
"Link to a board" : "Ligilo al tabulo",
"Maximum file size of {size} exceeded" : "Maksimuma dosiergrando {size} transpasita",
"File already exists" : "La dosiero jam ekzistas",
"You have created a new board {board}" : "Vi kreis novan tabulon {board}",
"{user} has created a new board {board}" : "{user} kreis novan tabulon {board}",
"You have deleted the board {board}" : "Vi forigis tabulon {board}",
@@ -18,7 +19,7 @@ OC.L10N.register(
"You have restored the board {board}" : "Vi restaŭris tabulon {board}",
"{user} has restored the board {board}" : "{user} restaŭris tabulon {board}",
"You have shared the board {board} with {acl}" : "Vi kunhavigis tabulon {board} kun {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} kunhavigis tabulon {board} kun {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} kunhavigis tabulon {board} kun {acl}",
"You have removed {acl} from the board {board}" : "Vi forigis {acl} el la tabulo {board}",
"{user} has removed {acl} from the board {board}" : "{user} forigis {acl} el la tabulo {board}",
"You have renamed the board {before} to {board}" : "Vi alinomis la tabulon {before} al {board}",
@@ -76,6 +77,7 @@ OC.L10N.register(
"A <strong>card description</strong> inside the Deck app has been changed" : "<strong>Karta priskribo</strong> ene de la aplikaĵo Kartaro ŝanĝiĝis",
"Deck" : "Kartaro",
"Changes in the <strong>Deck app</strong>" : "Ŝanĝoj en la <strong>aplikaĵo Kartaro</strong>",
"A <strong>comment</strong> was created on a card" : "<strong>Komento</strong> kreiĝis sur karton",
"Personal" : "Persona",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La karto „%s“ sur „%s“ estis atribuita al vi de %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} atribuis la karton „%s“ sur „%s“ al vi.",
+3 -1
View File
@@ -9,6 +9,7 @@
"Minutes" : "Minutoj",
"Link to a board" : "Ligilo al tabulo",
"Maximum file size of {size} exceeded" : "Maksimuma dosiergrando {size} transpasita",
"File already exists" : "La dosiero jam ekzistas",
"You have created a new board {board}" : "Vi kreis novan tabulon {board}",
"{user} has created a new board {board}" : "{user} kreis novan tabulon {board}",
"You have deleted the board {board}" : "Vi forigis tabulon {board}",
@@ -16,7 +17,7 @@
"You have restored the board {board}" : "Vi restaŭris tabulon {board}",
"{user} has restored the board {board}" : "{user} restaŭris tabulon {board}",
"You have shared the board {board} with {acl}" : "Vi kunhavigis tabulon {board} kun {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} kunhavigis tabulon {board} kun {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} kunhavigis tabulon {board} kun {acl}",
"You have removed {acl} from the board {board}" : "Vi forigis {acl} el la tabulo {board}",
"{user} has removed {acl} from the board {board}" : "{user} forigis {acl} el la tabulo {board}",
"You have renamed the board {before} to {board}" : "Vi alinomis la tabulon {before} al {board}",
@@ -74,6 +75,7 @@
"A <strong>card description</strong> inside the Deck app has been changed" : "<strong>Karta priskribo</strong> ene de la aplikaĵo Kartaro ŝanĝiĝis",
"Deck" : "Kartaro",
"Changes in the <strong>Deck app</strong>" : "Ŝanĝoj en la <strong>aplikaĵo Kartaro</strong>",
"A <strong>comment</strong> was created on a card" : "<strong>Komento</strong> kreiĝis sur karton",
"Personal" : "Persona",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La karto „%s“ sur „%s“ estis atribuita al vi de %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} atribuis la karton „%s“ sur „%s“ al vi.",
+2 -1
View File
@@ -19,7 +19,7 @@ OC.L10N.register(
"You have restored the board {board}" : "Has restaurado el tablero {board}",
"{user} has restored the board {board}" : "{user} ha restaurado el tablero {board}",
"You have shared the board {board} with {acl}" : "Has compartido el tablero {board} con {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} ha compartido el tablero {board} con {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} ha compartido el tablero {board} con {acl}",
"You have removed {acl} from the board {board}" : "Has eliminado a {acl} del tablero {board}",
"{user} has removed {acl} from the board {board}" : "{user} ha elimiando a {acl} del tablero {board}",
"You have renamed the board {before} to {board}" : "Has renombrado el tablero {before} como {board}",
@@ -77,6 +77,7 @@ OC.L10N.register(
"A <strong>card description</strong> inside the Deck app has been changed" : "Una <strong>descripción de tarjeta</strong> dentro de la app Deck ha cambiado",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Cambios en la <strong>app Deck</strong>",
"A <strong>comment</strong> was created on a card" : "Un <strong>comment</strong> ha sido creado en una tarjeta",
"Personal" : "Personal",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La tarjeta \"%s\" en \"%s\" te ha sido asignada por %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} te ha asignado la tarjeta \"%s\" en \"%s\".",
+2 -1
View File
@@ -17,7 +17,7 @@
"You have restored the board {board}" : "Has restaurado el tablero {board}",
"{user} has restored the board {board}" : "{user} ha restaurado el tablero {board}",
"You have shared the board {board} with {acl}" : "Has compartido el tablero {board} con {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} ha compartido el tablero {board} con {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} ha compartido el tablero {board} con {acl}",
"You have removed {acl} from the board {board}" : "Has eliminado a {acl} del tablero {board}",
"{user} has removed {acl} from the board {board}" : "{user} ha elimiando a {acl} del tablero {board}",
"You have renamed the board {before} to {board}" : "Has renombrado el tablero {before} como {board}",
@@ -75,6 +75,7 @@
"A <strong>card description</strong> inside the Deck app has been changed" : "Una <strong>descripción de tarjeta</strong> dentro de la app Deck ha cambiado",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Cambios en la <strong>app Deck</strong>",
"A <strong>comment</strong> was created on a card" : "Un <strong>comment</strong> ha sido creado en una tarjeta",
"Personal" : "Personal",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La tarjeta \"%s\" en \"%s\" te ha sido asignada por %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} te ha asignado la tarjeta \"%s\" en \"%s\".",
+32
View File
@@ -0,0 +1,32 @@
OC.L10N.register(
"deck",
{
"Deck" : "Deck",
"Finished" : "Terminado",
"To review" : "Para revisar",
"Action needed" : "Acción requerida",
"Later" : "Después",
"Show archived cards" : "Mostrar tarjetas archivadas",
"Hide archived cards" : "Ocultar tarjetas archivadas",
"All Boards" : "Todos los Tablero",
"Enter a card title" : "Ingrese el títilo de la tarjeta",
"Sharing" : "Compartiendo",
"Select users or groups to share with" : "Seleccione los usuarios o grupos con los cuales compartir",
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
"Edit" : "Editar",
"Share" : "Compartir",
"Manage" : "Administrar",
"Discard share" : "Descartar elemento compartido",
"Members" : "Miembros",
"Create new board" : "Crear un nuevo tablero",
"New board title" : "Nuevo título de tablero",
"by" : "por",
"Modified:" : "Modificado:",
"Created:" : "Creado:",
"Description" : "Descripción",
"Saved" : "Guardado",
"Formatting help" : "Ayuda de formato",
"Add a card description…" : "Agregar una descripción de tarjeta...",
"Create a new board" : "Crear nuevo tablero"
},
"nplurals=2; plural=(n != 1);");
+30
View File
@@ -0,0 +1,30 @@
{ "translations": {
"Deck" : "Deck",
"Finished" : "Terminado",
"To review" : "Para revisar",
"Action needed" : "Acción requerida",
"Later" : "Después",
"Show archived cards" : "Mostrar tarjetas archivadas",
"Hide archived cards" : "Ocultar tarjetas archivadas",
"All Boards" : "Todos los Tablero",
"Enter a card title" : "Ingrese el títilo de la tarjeta",
"Sharing" : "Compartiendo",
"Select users or groups to share with" : "Seleccione los usuarios o grupos con los cuales compartir",
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
"Edit" : "Editar",
"Share" : "Compartir",
"Manage" : "Administrar",
"Discard share" : "Descartar elemento compartido",
"Members" : "Miembros",
"Create new board" : "Crear un nuevo tablero",
"New board title" : "Nuevo título de tablero",
"by" : "por",
"Modified:" : "Modificado:",
"Created:" : "Creado:",
"Description" : "Descripción",
"Saved" : "Guardado",
"Formatting help" : "Ayuda de formato",
"Add a card description…" : "Agregar una descripción de tarjeta...",
"Create a new board" : "Crear nuevo tablero"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+64 -1
View File
@@ -1,11 +1,37 @@
OC.L10N.register(
"deck",
{
"Please provide a content for your comment." : "Kirjoita sisältö kommenttiisi.",
"Posting the comment failed." : "Kommentin lähettäminen epäonnistui.",
"The comment has been deleted" : "Kommentti on poistettu",
"Remove user from card" : "Poista käyttäjä kortilta",
"Hours" : "Tunnit",
"Minutes" : "Minuutit",
"Link to a board" : "Linkki taululle",
"Maximum file size of {size} exceeded" : "Tiedoston enimmäiskoko {size} ylitetty",
"File already exists" : "Tiedosto on jo olemassa",
"You have created a new board {board}" : "Loit uuden taulun {board}",
"{user} has created a new board {board}" : "{user} loi uuden taulun {board}",
"You have deleted the board {board}" : "Poistit taulun {board}",
"{user} has deleted the board {board}" : "{user} poisti taulun {board}",
"You have restored the board {board}" : "Palautit taulun {board}",
"{user} has restored the board {board}" : "{user} palautti taulun {board}",
"You have renamed the board {before} to {board}" : "Asetit taulun {before} uudeksi nimeksi {board}",
"{user} has renamed the board {before} to {board}" : "{user} asetti taulun {before} uudeksi nimeksi {board}",
"You have archived the board {board}" : "Arkistoit taulun {board}",
"{user} has archived the board {before}" : "{user} arkistoi taulun {before}",
"You have renamed the card {before} to {card}" : "Muutit kortin {before} uudeksi nimeksi {card}",
"{user} has renamed the card {before} to {card}" : "{user} muutti kortin {before} uudeksi nimeksi {card}",
"You have added the attachment {attachment} to card {card}" : "Lisäsit liitteen {attachment} kortille {card}",
"{user} has added the attachment {attachment} to card {card}" : "{user} lisäsi liitteen {attachment} kortille {card}",
"You have deleted the attachment {attachment} from card {card}" : "Poistit liitteen {attachment} kortilta {card}",
"You have restored the attachment {attachment} to card {card}" : "Palautit liitteen {attachment} kortille {card}",
"{user} has restored the attachment {attachment} to card {card}" : "{user} palautti liitteen {attachment} kortille {card}",
"You have commented on card {card}" : "Kommentoit korttia {card}",
"{user} has commented on card {card}" : "{user} kommentoi korttia {card}",
"Deck" : "Kansi",
"A <strong>comment</strong> was created on a card" : "<strong>Kommentti</strong> luotiin kortille",
"Personal" : "Henkilökohtainen",
"The card \"%s\" on \"%s\" has reached its due date." : "Kortin \"%s\" on \"%s\" eräpäivä on tullut vastaan.",
"The board \"%s\" has been shared with you by %s." : "Taulu \"%s\" on jaettu kanssasi käyttäjän %s toimesta.",
"{user} has shared the board %s with you." : "{user} on jakanut taulun %s kanssasi.",
@@ -13,32 +39,61 @@ OC.L10N.register(
"To review" : "Arvostella",
"Action needed" : "Toimia vaaditaan",
"Later" : "Myöhemmin",
"To do" : "Odottaa",
"Doing" : "Tekeillä",
"Done" : "Valmis",
"Example Task 3" : "Esimerkkitehtävä 3",
"Example Task 2" : "Esimerkkitehtävä 2",
"Example Task 1" : "Esimerkkitehtävä 1",
"The file was uploaded" : "Tiedosto lähetettiin",
"The file was only partially uploaded" : "Tiedosto lähetettiin vain osittain",
"No file was uploaded" : "Tiedostoa ei lähetetty",
"Could not write file to disk" : "Tiedostoa ei voitu kirjoittaa levylle",
"A kanban style project and personal management tool for Nextcloud" : "Kanban-tyylinen projektien ja henkilökohtaisten asioiden hallintatyökalu Nextcloudille",
"Select the board to link to a project" : "Valitse projektiin linkitettävä taulu",
"Select board" : "Valitse taulu",
"Add a new stack" : "Lisää uusi pino",
"Submit" : "Lähetä",
"Show archived cards" : "Näytä arkistoidut kortit",
"Hide archived cards" : "Piilota arkistoidut kortit",
"Show board details" : "Näytä taulun tiedot",
"All Boards" : "Kaikki taulut",
"Archived boards" : "Arkistoidut taulut",
"Share board" : "Jaa taulu",
"Archived cards" : "Arkistoidut kortit",
"Actions" : "Toiminnot",
"Drop your files here to upload it to the card" : "Pudota tiedostot tähän lähettääksesi ne kortille",
"Assign card to me" : "Määritä kortti minulle",
"Unassign card from me" : "Poista kortin määritys minulta",
"Archive card" : "Arkistoi kortti",
"Unarchive card" : "Poista kortti arkistosta",
"Delete card" : "Poista kortti",
"Enter a card title" : "Anna otsikko",
"Add card" : "Lisää kortti",
"Close" : "Sulje",
"Sharing" : "Jakaminen",
"Tags" : "Tunnisteet",
"Deleted items" : "Poistetut tietueet",
"Timeline" : "Aikajana",
"Select users or groups to share with" : "Valitse käyttäjiä tai ryhmiä joille haluat jakaa",
"Group" : "Ryhmä",
"Circle" : "Piiri",
"No matching user or group found." : "Käyttäjää tai ryhmää ei löytynyt.",
"Loading" : "Ladataan",
"Edit" : "Muokkaa",
"Share" : "Jaa",
"Manage" : "Hallitse",
"Discard share" : "Peru jakaminen",
"Sharing has been disabled for your account." : "Jakaminen on poistettu käytöstä tililtäsi.",
"Update tag" : "Päivitä tunniste",
"Edit tag" : "Muokkaa tunnistetta",
"Delete tag" : "Poista tunniste",
"Create" : "Luo",
"Create a new tag" : "Luo uusi tunniste",
"Deleted cards" : "Poistetut kortit",
"Status" : "Tila",
"No archived boards to display" : "Ei arkistoituja tauluja näytettäväksi",
"No shared boards to display" : "Ei jaettuja tauluja näytettäväksi",
"Title" : "Otsikko",
"Members" : "Jäsenet",
"More actions" : "Lisää toimintoja",
@@ -46,11 +101,17 @@ OC.L10N.register(
"Archive board" : "Arkistoi taulu",
"Unarchive board" : "Kumoa taulun arkistointi",
"Delete board" : "Poista taulu",
"Update board" : "Päivitä taulu",
"Reset board" : "Nollaa taulu",
"Create new board" : "Luo uusi taulu",
"New board title" : "Uusi taulun otsikko",
"Create board" : "Luo taulu",
"Select an attachment" : "Valitse liite",
"Cancel upload" : "Peruuta lähetys",
"by" : " Kirjoittaja:",
"Undo file deletion" : "Kumoa tiedoston luonti",
"Insert the file into the description" : "Lisää tiedosto kuvaukseen",
"Delete attachment" : "Poista liite",
"Modified:" : "Muokattu:",
"Created:" : "Luotu:",
"Choose a tag" : "Valitse tunniste",
@@ -66,11 +127,13 @@ OC.L10N.register(
"Attachments" : "Liitteet",
"Saved" : "Tallennettu",
"Unsaved changes" : "Tallentamattomia muutoksia",
"Insert attachment" : "Lisää liite",
"Formatting help" : "Muotoiluapu",
"Upload attachment" : "Lähetä liite",
"Add a card description…" : "Lisää kortin kuvaus…",
"Shared boards" : "Jaetut taulut",
"Move board to archive" : "Siirrä taulu arkistoon",
"Create a new board" : "Luo uusi taulu"
"Create a new board" : "Luo uusi taulu",
"Settings" : "Asetukset"
},
"nplurals=2; plural=(n != 1);");
+64 -1
View File
@@ -1,9 +1,35 @@
{ "translations": {
"Please provide a content for your comment." : "Kirjoita sisältö kommenttiisi.",
"Posting the comment failed." : "Kommentin lähettäminen epäonnistui.",
"The comment has been deleted" : "Kommentti on poistettu",
"Remove user from card" : "Poista käyttäjä kortilta",
"Hours" : "Tunnit",
"Minutes" : "Minuutit",
"Link to a board" : "Linkki taululle",
"Maximum file size of {size} exceeded" : "Tiedoston enimmäiskoko {size} ylitetty",
"File already exists" : "Tiedosto on jo olemassa",
"You have created a new board {board}" : "Loit uuden taulun {board}",
"{user} has created a new board {board}" : "{user} loi uuden taulun {board}",
"You have deleted the board {board}" : "Poistit taulun {board}",
"{user} has deleted the board {board}" : "{user} poisti taulun {board}",
"You have restored the board {board}" : "Palautit taulun {board}",
"{user} has restored the board {board}" : "{user} palautti taulun {board}",
"You have renamed the board {before} to {board}" : "Asetit taulun {before} uudeksi nimeksi {board}",
"{user} has renamed the board {before} to {board}" : "{user} asetti taulun {before} uudeksi nimeksi {board}",
"You have archived the board {board}" : "Arkistoit taulun {board}",
"{user} has archived the board {before}" : "{user} arkistoi taulun {before}",
"You have renamed the card {before} to {card}" : "Muutit kortin {before} uudeksi nimeksi {card}",
"{user} has renamed the card {before} to {card}" : "{user} muutti kortin {before} uudeksi nimeksi {card}",
"You have added the attachment {attachment} to card {card}" : "Lisäsit liitteen {attachment} kortille {card}",
"{user} has added the attachment {attachment} to card {card}" : "{user} lisäsi liitteen {attachment} kortille {card}",
"You have deleted the attachment {attachment} from card {card}" : "Poistit liitteen {attachment} kortilta {card}",
"You have restored the attachment {attachment} to card {card}" : "Palautit liitteen {attachment} kortille {card}",
"{user} has restored the attachment {attachment} to card {card}" : "{user} palautti liitteen {attachment} kortille {card}",
"You have commented on card {card}" : "Kommentoit korttia {card}",
"{user} has commented on card {card}" : "{user} kommentoi korttia {card}",
"Deck" : "Kansi",
"A <strong>comment</strong> was created on a card" : "<strong>Kommentti</strong> luotiin kortille",
"Personal" : "Henkilökohtainen",
"The card \"%s\" on \"%s\" has reached its due date." : "Kortin \"%s\" on \"%s\" eräpäivä on tullut vastaan.",
"The board \"%s\" has been shared with you by %s." : "Taulu \"%s\" on jaettu kanssasi käyttäjän %s toimesta.",
"{user} has shared the board %s with you." : "{user} on jakanut taulun %s kanssasi.",
@@ -11,32 +37,61 @@
"To review" : "Arvostella",
"Action needed" : "Toimia vaaditaan",
"Later" : "Myöhemmin",
"To do" : "Odottaa",
"Doing" : "Tekeillä",
"Done" : "Valmis",
"Example Task 3" : "Esimerkkitehtävä 3",
"Example Task 2" : "Esimerkkitehtävä 2",
"Example Task 1" : "Esimerkkitehtävä 1",
"The file was uploaded" : "Tiedosto lähetettiin",
"The file was only partially uploaded" : "Tiedosto lähetettiin vain osittain",
"No file was uploaded" : "Tiedostoa ei lähetetty",
"Could not write file to disk" : "Tiedostoa ei voitu kirjoittaa levylle",
"A kanban style project and personal management tool for Nextcloud" : "Kanban-tyylinen projektien ja henkilökohtaisten asioiden hallintatyökalu Nextcloudille",
"Select the board to link to a project" : "Valitse projektiin linkitettävä taulu",
"Select board" : "Valitse taulu",
"Add a new stack" : "Lisää uusi pino",
"Submit" : "Lähetä",
"Show archived cards" : "Näytä arkistoidut kortit",
"Hide archived cards" : "Piilota arkistoidut kortit",
"Show board details" : "Näytä taulun tiedot",
"All Boards" : "Kaikki taulut",
"Archived boards" : "Arkistoidut taulut",
"Share board" : "Jaa taulu",
"Archived cards" : "Arkistoidut kortit",
"Actions" : "Toiminnot",
"Drop your files here to upload it to the card" : "Pudota tiedostot tähän lähettääksesi ne kortille",
"Assign card to me" : "Määritä kortti minulle",
"Unassign card from me" : "Poista kortin määritys minulta",
"Archive card" : "Arkistoi kortti",
"Unarchive card" : "Poista kortti arkistosta",
"Delete card" : "Poista kortti",
"Enter a card title" : "Anna otsikko",
"Add card" : "Lisää kortti",
"Close" : "Sulje",
"Sharing" : "Jakaminen",
"Tags" : "Tunnisteet",
"Deleted items" : "Poistetut tietueet",
"Timeline" : "Aikajana",
"Select users or groups to share with" : "Valitse käyttäjiä tai ryhmiä joille haluat jakaa",
"Group" : "Ryhmä",
"Circle" : "Piiri",
"No matching user or group found." : "Käyttäjää tai ryhmää ei löytynyt.",
"Loading" : "Ladataan",
"Edit" : "Muokkaa",
"Share" : "Jaa",
"Manage" : "Hallitse",
"Discard share" : "Peru jakaminen",
"Sharing has been disabled for your account." : "Jakaminen on poistettu käytöstä tililtäsi.",
"Update tag" : "Päivitä tunniste",
"Edit tag" : "Muokkaa tunnistetta",
"Delete tag" : "Poista tunniste",
"Create" : "Luo",
"Create a new tag" : "Luo uusi tunniste",
"Deleted cards" : "Poistetut kortit",
"Status" : "Tila",
"No archived boards to display" : "Ei arkistoituja tauluja näytettäväksi",
"No shared boards to display" : "Ei jaettuja tauluja näytettäväksi",
"Title" : "Otsikko",
"Members" : "Jäsenet",
"More actions" : "Lisää toimintoja",
@@ -44,11 +99,17 @@
"Archive board" : "Arkistoi taulu",
"Unarchive board" : "Kumoa taulun arkistointi",
"Delete board" : "Poista taulu",
"Update board" : "Päivitä taulu",
"Reset board" : "Nollaa taulu",
"Create new board" : "Luo uusi taulu",
"New board title" : "Uusi taulun otsikko",
"Create board" : "Luo taulu",
"Select an attachment" : "Valitse liite",
"Cancel upload" : "Peruuta lähetys",
"by" : " Kirjoittaja:",
"Undo file deletion" : "Kumoa tiedoston luonti",
"Insert the file into the description" : "Lisää tiedosto kuvaukseen",
"Delete attachment" : "Poista liite",
"Modified:" : "Muokattu:",
"Created:" : "Luotu:",
"Choose a tag" : "Valitse tunniste",
@@ -64,11 +125,13 @@
"Attachments" : "Liitteet",
"Saved" : "Tallennettu",
"Unsaved changes" : "Tallentamattomia muutoksia",
"Insert attachment" : "Lisää liite",
"Formatting help" : "Muotoiluapu",
"Upload attachment" : "Lähetä liite",
"Add a card description…" : "Lisää kortin kuvaus…",
"Shared boards" : "Jaetut taulut",
"Move board to archive" : "Siirrä taulu arkistoon",
"Create a new board" : "Luo uusi taulu"
"Create a new board" : "Luo uusi taulu",
"Settings" : "Asetukset"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+44 -43
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"deck",
{
"Please provide a content for your comment." : "Merci de renseigner votre commentaire.",
"Please provide a content for your comment." : "Merci de renseigner un contenu pour votre commentaire.",
"Posting the comment failed." : "L'envoi du commentaire a échoué.",
"The comment has been deleted" : "Le commentaire a été supprimé",
"The associated stack is deleted as well, it will be restored as well." : "La pile associée est également supprimée, elle sera également restaurée.",
@@ -9,7 +9,7 @@ OC.L10N.register(
"Remove user from card" : "Supprimer l'utilisateur de la carte",
"Hours" : "Heures",
"Minutes" : "Minutes",
"Link to a board" : "Lien à un tableau",
"Link to a board" : "Lier à un tableau",
"Maximum file size of {size} exceeded" : "Taille de fichier maximale de {size} dépassée",
"File already exists" : "Le fichier existe déjà",
"You have created a new board {board}" : "Vous avez créé un nouveau tableau {tableau}",
@@ -19,15 +19,15 @@ OC.L10N.register(
"You have restored the board {board}" : "Vous avez restauré le tableau {board}",
"{user} has restored the board {board}" : "{user} a restauré le tableau {board}",
"You have shared the board {board} with {acl}" : "Vous avez partagé le tableau {board} avec {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} a partagé le tableau {board} avec {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} a partagé le tableau {board} en {acl}",
"You have removed {acl} from the board {board}" : "Vous avez supprimé {acl} du tableau {board}",
"{user} has removed {acl} from the board {board}" : "{user} a supprimé {acl} du tableau {board}",
"You have renamed the board {before} to {board}" : "Vous avez renommé le tableau {before} en {board}",
"{user} has renamed the board {before} to {board}" : "{user} a renommé le tableau {before} à {board}",
"You have archived the board {board}" : "Vous avez archivé le tableau {board}",
"{user} has archived the board {before}" : "{user} a archivé le tableau {before}",
"You have unarchived the board {board}" : "Vous avez sorti de larchive le tableau {board}",
"{user} has unarchived the board {before}" : "{user} a sorti de larchive le tableau {board}",
"You have unarchived the board {board}" : "Vous avez sorti des archives le tableau {board}",
"{user} has unarchived the board {before}" : "{user} a sorti des archives le tableau {board}",
"You have created a new stack {stack} on board {board}" : "Vous avez créé une nouvelle pile {stack} sur le tableau {board}",
"{user} has created a new stack {stack} on board {board}" : "{user} a créé une nouvelle pile {stack} sur le tableau {board}",
"You have renamed stack {before} to {stack} on board {board}" : "Vous avez renommé la pile {before} en {stack} sur le tableau {board}",
@@ -46,22 +46,22 @@ OC.L10N.register(
"{user} has updated the description of the card {card} in stack {stack} on board {board}" : "{user} a mis à jour la description de la carte {card} de la pile {stack} du tableau {board}",
"You have archived card {card} in stack {stack} on board {board}" : "Vous avez archivé la carte {card} de la pile {stack} du tableau {board}",
"{user} has archived card {card} in stack {stack} on board {board}" : "{user} a archivé la carte {card} de la pile {stack} du tableau {board}",
"You have unarchived card {card} in stack {stack} on board {board}" : "Vous avez une carte {card} non-archivée dans la pile {stack} du tableau {board}",
"{user} has unarchived card {card} in stack {stack} on board {board}" : "{user} a une carte {card} non-archivée dans la pile {stack} du tableau {board}",
"You have removed the due date of card {card}" : "Vous avez supprimé la date limite de la carte {card}",
"{user} has removed the due date of card {card}" : "{user} a supprimé la date limite de la carte {card}",
"You have set the due date of card {card} to {after}" : "Vous avez établie la date limite de la carte {card} à {after}",
"{user} has set the due date of card {card} to {after}" : "{user} a établie la date limite de la carte {card} à {after}",
"You have updated the due date of card {card} to {after}" : "Vous avez mis à jour la date limite de la carte {card} à {after}",
"{user} has updated the due date of card {card} to {after}" : "{user} a mis à jour la date limite de la carte {card} à {after}",
"You have unarchived card {card} in stack {stack} on board {board}" : "Vous avez retiré des archives la carte {card} de la pile {stack} du tableau {board}",
"{user} has unarchived card {card} in stack {stack} on board {board}" : "{user} a retiré des archives la carte {card} de la pile {stack} du tableau {board}",
"You have removed the due date of card {card}" : "Vous avez supprimé la date d'échéance de la carte {card}",
"{user} has removed the due date of card {card}" : "{user} a supprimé la date d'échéance de la carte {card}",
"You have set the due date of card {card} to {after}" : "Vous avez établi la date d'échéance de la carte {card} à {after}",
"{user} has set the due date of card {card} to {after}" : "{user} a établi la date d'échéance de la carte {card} à {after}",
"You have updated the due date of card {card} to {after}" : "Vous avez mis à jour la date d'échéance de la carte {card} à {after}",
"{user} has updated the due date of card {card} to {after}" : "{user} a mis à jour la date d'échéance de la carte {card} à {after}",
"You have added the tag {label} to card {card} in stack {stack} on board {board}" : "Vous avez ajouté l'étiquette {label} à la carte {card} de la pile {stack} du tableau {board}",
"{user} has added the tag {label} to card {card} in stack {stack} on board {board}" : "{user} a ajouté l'étiquette {label} à la carte {card} de la pile {stack} du tableau {board}",
"You have removed the tag {label} from card {card} in stack {stack} on board {board}" : "Vous avez supprimé l'étiquette {label} de la carte {card} de la pile {stack} du tableau {board}",
"{user} has removed the tag {label} from card {card} in stack {stack} on board {board}" : "{user} a supprimé l'étiquette {label} de la carte {card} de la pile {stack} du tableau {board}",
"You have assigned {assigneduser} to card {card} on board {board}" : "Vous avez assigné {assigneduser} à la carte {card} du tableau {board}",
"{user} has assigned {assigneduser} to card {card} on board {board}" : "{user} a assigné {assigneduser} à la carte {card} du tableau {board}",
"You have unassigned {assigneduser} from card {card} on board {board}" : "Vous avez désassigner {assigneduser} de la carte {card} du tableau {board}",
"{user} has unassigned {assigneduser} from card {card} on board {board}" : "{user} a désassigner {assigneduser} de la carte {card} du tableau {board}",
"You have unassigned {assigneduser} from card {card} on board {board}" : "Vous avez retiré {assigneduser} de la carte {card} du tableau {board}",
"{user} has unassigned {assigneduser} from card {card} on board {board}" : "{user} a retiré {assigneduser} de la carte {card} du tableau {board}",
"You have moved the card {card} from stack {stackBefore} to {stack}" : "Vous avez déplacé la carte {card} de la pile {stackBefore} vers {stack}",
"{user} has moved the card {card} from stack {stackBefore} to {stack}" : "{user} a déplacé la carte {card} de la pile {stackBefore} vers {stack}",
"You have added the attachment {attachment} to card {card}" : "Vous avez ajouté la pièce jointe {attachment} à la carte {card}",
@@ -77,13 +77,14 @@ OC.L10N.register(
"A <strong>card description</strong> inside the Deck app has been changed" : "La <strong>description de la carte</strong> présente dans lapplication Deck a été modifiée",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Modifications dans <strong>Deck app</strong>",
"A <strong>comment</strong> was created on a card" : "Un <strong>commentaire</strong> a été créé sur une carte",
"Personal" : "Personnel",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La carte \"%s\" de \"%s\" vous a été assignée par %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} vous a assigné la carte \"%s\" de \"%s\".",
"The card \"%s\" on \"%s\" has reached its due date." : "Le délai de la carte %s de %s est expiré.",
"The card \"%s\" on \"%s\" has reached its due date." : "La date d'échéance de la carte \"%s\" de \"%s\" a été atteinte.",
"%s has mentioned you in a comment on \"%s\"." : "%s vous a mentionné dans un commentaire sur \"%s\".",
"{user} has mentioned you in a comment on \"%s\"." : " {user} vous a mentionné dans un commentaire sur \"%s\".",
"The board \"%s\" has been shared with you by %s." : "Le tableau %s a été partagé avec vous par %s.",
"The board \"%s\" has been shared with you by %s." : "Le tableau \"%s\" a été partagé avec vous par %s.",
"{user} has shared the board %s with you." : "{user} a partagé le tableau %s avec vous.",
"No data was provided to create an attachment." : "Aucune donnée n'a été fournie pour créer une pièce jointe.",
"Finished" : "Terminé",
@@ -96,17 +97,17 @@ OC.L10N.register(
"Example Task 3" : "Exemple de tâche 3",
"Example Task 2" : "Exemple de tâche 2",
"Example Task 1" : "Exemple de tâche 1",
"The file was uploaded" : "Le fichier a été téléchargé",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Le fichier téléversé dépasse la valeur upload_max_filesize située dans le fichier php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Le fichier envoyé dépasse la valeur MAX_FILE_SIZE qui était spécifiée dans le formulaire HTML",
"The file was uploaded" : "Le fichier a été envoyé",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Le fichier envoyé dépasse la valeur upload_max_filesize spécifiée dans php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Le fichier envoyé dépasse la valeur MAX_FILE_SIZE spécifiée dans le formulaire HTML",
"The file was only partially uploaded" : "Le fichier n'a été que partiellement envoyé",
"No file was uploaded" : "Aucun fichier n'a été téléchargé",
"No file was uploaded" : "Aucun fichier n'a été envoyé",
"Missing a temporary folder" : "Absence de dossier temporaire",
"Could not write file to disk" : "Impossible d'écrire le fichier sur le disque.",
"A PHP extension stopped the file upload" : "Une extension PHP a arrêté le téléversement du fichier",
"No file uploaded or file size exceeds maximum of %s" : "Aucun fichier téléversé ou la taille du fichier dépasse la maximum de %s",
"Could not write file to disk" : "Impossible d'écrire le fichier sur le disque",
"A PHP extension stopped the file upload" : "Une extension PHP a arrêté l'envoi du fichier",
"No file uploaded or file size exceeds maximum of %s" : "Aucun fichier envoyé ou la taille du fichier dépasse le maximum de %s",
"A kanban style project and personal management tool for Nextcloud" : " Un outil de style kanban pour Nextcloud, pour la gestion de votre vie personnelle et de vos projets.",
"Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized" : "Deck est un outil d'organisation de style kanban destiné à la planification personnelle et à l'organisation de projets pour les équipes intégrées à Nextcloud.\n\n\n- 📥 Ajoutez vos tâches à des cartes et organisez-les\n- 📄 Écrivez des notes supplémentaires en Markdown\n- 🔖 Affectez des étiquettes pour une organisation encore meilleure\n- 👥 Partagez avec votre équipe, vos amis ou votre famille\n- 📎 Attachez des fichiers et utilisez les dans vos descriptions en Markdown\n- 💬 Echanger avec votre équipe grâce aux commentaires\n- ⚡ Garder l'oeil sur les modifications dans le flux d'activité\n- 🚀 Organisez vos projets",
"Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized" : "Deck est un outil d'organisation de style kanban destiné à la planification personnelle et à l'organisation de projets pour les équipes intégrées à Nextcloud.\n\n\n- 📥 Ajoutez vos tâches à des cartes et organisez-les\n- 📄 Écrivez des notes supplémentaires en Markdown\n- 🔖 Affectez des étiquettes pour une organisation encore meilleure\n- 👥 Partagez avec votre équipe, vos amis ou votre famille\n- 📎 Attachez des fichiers et utilisez les dans vos descriptions en Markdown\n- 💬 Échangez avec votre équipe grâce aux commentaires\n- ⚡ Gardez un œil sur les modifications dans le flux d'activité\n- 🚀 Organisez vos projets",
"Select the board to link to a project" : "Sélection le tableau pour faire le lien avec un projet.",
"Select board" : "Sélectionner le tableau",
"Add a new stack" : "Ajouter une nouvelle pile",
@@ -120,13 +121,13 @@ OC.L10N.register(
"Share board" : "Partager le tableau",
"Archived cards" : "Cartes archivées",
"Actions" : "Actions",
"Drop your files here to upload it to the card" : "Déposez vos fichiers ici pour les téléverser sur la carte",
"Assign card to me" : "Assignez-moi la carte",
"Unassign card from me" : "Retirez-moi la carte",
"Drop your files here to upload it to the card" : "Déposez vos fichiers ici pour les envoyer sur la carte",
"Assign card to me" : "M'assigner la carte",
"Unassign card from me" : "Me retirer de la carte",
"Archive card" : "Archiver la carte",
"Unarchive card" : "Ne plus archiver la carte",
"Unarchive card" : "Sortir la carte des archives",
"Delete card" : "Supprimer la carte",
"Enter a card title" : "Saisissez un titre de carte",
"Enter a card title" : "Saisir un titre de carte",
"Add card" : "Ajouter une carte",
"Close" : "Fermer",
"Sharing" : "Partage",
@@ -136,7 +137,7 @@ OC.L10N.register(
"Select users or groups to share with" : "Sélectionnez des utilisateurs ou des groupes avec qui partager",
"Group" : "Groupe",
"Circle" : "Cercle",
"No matching user or group found." : "Aucun utilisateur ou groupe correspondant trouvé",
"No matching user or group found." : "Aucun utilisateur ou groupe correspondant trouvé.",
"Loading" : "Chargement",
"Edit" : "Modifier",
"Share" : "Partager",
@@ -158,23 +159,23 @@ OC.L10N.register(
"More actions" : "Plus d'actions",
"Edit board" : "Modifier le tableau",
"Archive board" : "Archiver le tableau",
"Unarchive board" : "Ne plus archiver le tableau",
"Unarchive board" : "Sortir le tableau des archives",
"Delete board" : "Supprimer le tableau",
"Update board" : "Mettre à jour le tableau",
"Reset board" : "Réinitialiser le tableau",
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Annuler la suppression du tableau — Autrement le tableau sera supprimé lors du prochain lancement de la tâche cron.",
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Annuler la suppression du tableau — Autrement le tableau sera supprimé lors de la prochaine tâche cron.",
"Create new board" : "Créer un nouveau tableau",
"New board title" : "Nouveau titre pour le tableau",
"Create board" : "Créer le tableau",
"Select an attachment" : "Sélectionner une pièce jointe",
"Cancel upload" : "Annuler le téléversement",
"Cancel upload" : "Annuler l'envoi",
"by" : "par",
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Annuler la suppression du fichier — Autrement le fichier sera supprimé lors du prochain lancement de la tâche cron.",
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Annuler la suppression du fichier — Autrement le fichier sera supprimé lors de la prochaine tâche cron.",
"Undo file deletion" : "Annuler la suppression du fichier",
"Insert the file into the description" : "Insérer le fichier dans la description",
"Delete attachment" : "Supprimer la pièce jointe",
"Modified:" : "Modifié le :",
"Created:" : "Créé le :",
"Modified:" : "Modifiée le :",
"Created:" : "Créée le :",
"Choose a tag" : "Choisir une étiquette",
"Add a tag" : "Ajouter une étiquette",
"Select tags" : "Sélectionner les étiquettes",
@@ -182,21 +183,21 @@ OC.L10N.register(
"Choose a user to assign" : "Choisir un utilisateur à assigner",
"Assign this card to a user" : "Assigner cette carte à un utilisateur",
"Due date" : "Date d'échéance",
"Click to set" : "Cliquez pour définir",
"Click to set" : "Cliquer pour définir",
"Remove due date" : "Supprimer la date d'échéance",
"Description" : "Description",
"Attachments" : "Pièces jointes",
"Saved" : "Enregistré",
"Unsaved changes" : "Modifications non sauvegardées",
"Unsaved changes" : "Modifications non enregistrées",
"Insert attachment" : "Insérer une pièce jointe",
"Formatting help" : "Aide sur la mise en forme",
"Upload attachment" : "Téléverser la pièce jointe",
"Add a card description…" : "Ajouter une description pour la carte",
"Upload attachment" : "Envoyer une pièce jointe",
"Add a card description…" : "Ajouter une description pour la carte...",
"Shared boards" : "Tableaux partagés",
"Move board to archive" : "Déplacer le tableau vers l'archive",
"Move board to archive" : "Déplacer le tableau vers les archives",
"Create a new board" : "Créer un nouveau tableau",
"Settings" : "Paramètres",
"Limit deck to groups" : "Limiter deck aux groupes",
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Limiter le Deck empêchera les utilisateurs ne faisant pas partie de ces groupes de créer leurs propres tableaux. Les utilisateurs pourront toujours travailler sur des tableaux qui ont été partagés avec eux."
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Limiter Deck empêchera les utilisateurs ne faisant pas partie de ces groupes de créer leurs propres tableaux. Ces utilisateurs pourront toujours travailler sur les tableaux qui ont été partagés avec eux."
},
"nplurals=2; plural=(n > 1);");
+44 -43
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Please provide a content for your comment." : "Merci de renseigner votre commentaire.",
"Please provide a content for your comment." : "Merci de renseigner un contenu pour votre commentaire.",
"Posting the comment failed." : "L'envoi du commentaire a échoué.",
"The comment has been deleted" : "Le commentaire a été supprimé",
"The associated stack is deleted as well, it will be restored as well." : "La pile associée est également supprimée, elle sera également restaurée.",
@@ -7,7 +7,7 @@
"Remove user from card" : "Supprimer l'utilisateur de la carte",
"Hours" : "Heures",
"Minutes" : "Minutes",
"Link to a board" : "Lien à un tableau",
"Link to a board" : "Lier à un tableau",
"Maximum file size of {size} exceeded" : "Taille de fichier maximale de {size} dépassée",
"File already exists" : "Le fichier existe déjà",
"You have created a new board {board}" : "Vous avez créé un nouveau tableau {tableau}",
@@ -17,15 +17,15 @@
"You have restored the board {board}" : "Vous avez restauré le tableau {board}",
"{user} has restored the board {board}" : "{user} a restauré le tableau {board}",
"You have shared the board {board} with {acl}" : "Vous avez partagé le tableau {board} avec {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} a partagé le tableau {board} avec {sharee}",
"{user} has shared the board {board} with {acl}" : "{user} a partagé le tableau {board} en {acl}",
"You have removed {acl} from the board {board}" : "Vous avez supprimé {acl} du tableau {board}",
"{user} has removed {acl} from the board {board}" : "{user} a supprimé {acl} du tableau {board}",
"You have renamed the board {before} to {board}" : "Vous avez renommé le tableau {before} en {board}",
"{user} has renamed the board {before} to {board}" : "{user} a renommé le tableau {before} à {board}",
"You have archived the board {board}" : "Vous avez archivé le tableau {board}",
"{user} has archived the board {before}" : "{user} a archivé le tableau {before}",
"You have unarchived the board {board}" : "Vous avez sorti de larchive le tableau {board}",
"{user} has unarchived the board {before}" : "{user} a sorti de larchive le tableau {board}",
"You have unarchived the board {board}" : "Vous avez sorti des archives le tableau {board}",
"{user} has unarchived the board {before}" : "{user} a sorti des archives le tableau {board}",
"You have created a new stack {stack} on board {board}" : "Vous avez créé une nouvelle pile {stack} sur le tableau {board}",
"{user} has created a new stack {stack} on board {board}" : "{user} a créé une nouvelle pile {stack} sur le tableau {board}",
"You have renamed stack {before} to {stack} on board {board}" : "Vous avez renommé la pile {before} en {stack} sur le tableau {board}",
@@ -44,22 +44,22 @@
"{user} has updated the description of the card {card} in stack {stack} on board {board}" : "{user} a mis à jour la description de la carte {card} de la pile {stack} du tableau {board}",
"You have archived card {card} in stack {stack} on board {board}" : "Vous avez archivé la carte {card} de la pile {stack} du tableau {board}",
"{user} has archived card {card} in stack {stack} on board {board}" : "{user} a archivé la carte {card} de la pile {stack} du tableau {board}",
"You have unarchived card {card} in stack {stack} on board {board}" : "Vous avez une carte {card} non-archivée dans la pile {stack} du tableau {board}",
"{user} has unarchived card {card} in stack {stack} on board {board}" : "{user} a une carte {card} non-archivée dans la pile {stack} du tableau {board}",
"You have removed the due date of card {card}" : "Vous avez supprimé la date limite de la carte {card}",
"{user} has removed the due date of card {card}" : "{user} a supprimé la date limite de la carte {card}",
"You have set the due date of card {card} to {after}" : "Vous avez établie la date limite de la carte {card} à {after}",
"{user} has set the due date of card {card} to {after}" : "{user} a établie la date limite de la carte {card} à {after}",
"You have updated the due date of card {card} to {after}" : "Vous avez mis à jour la date limite de la carte {card} à {after}",
"{user} has updated the due date of card {card} to {after}" : "{user} a mis à jour la date limite de la carte {card} à {after}",
"You have unarchived card {card} in stack {stack} on board {board}" : "Vous avez retiré des archives la carte {card} de la pile {stack} du tableau {board}",
"{user} has unarchived card {card} in stack {stack} on board {board}" : "{user} a retiré des archives la carte {card} de la pile {stack} du tableau {board}",
"You have removed the due date of card {card}" : "Vous avez supprimé la date d'échéance de la carte {card}",
"{user} has removed the due date of card {card}" : "{user} a supprimé la date d'échéance de la carte {card}",
"You have set the due date of card {card} to {after}" : "Vous avez établi la date d'échéance de la carte {card} à {after}",
"{user} has set the due date of card {card} to {after}" : "{user} a établi la date d'échéance de la carte {card} à {after}",
"You have updated the due date of card {card} to {after}" : "Vous avez mis à jour la date d'échéance de la carte {card} à {after}",
"{user} has updated the due date of card {card} to {after}" : "{user} a mis à jour la date d'échéance de la carte {card} à {after}",
"You have added the tag {label} to card {card} in stack {stack} on board {board}" : "Vous avez ajouté l'étiquette {label} à la carte {card} de la pile {stack} du tableau {board}",
"{user} has added the tag {label} to card {card} in stack {stack} on board {board}" : "{user} a ajouté l'étiquette {label} à la carte {card} de la pile {stack} du tableau {board}",
"You have removed the tag {label} from card {card} in stack {stack} on board {board}" : "Vous avez supprimé l'étiquette {label} de la carte {card} de la pile {stack} du tableau {board}",
"{user} has removed the tag {label} from card {card} in stack {stack} on board {board}" : "{user} a supprimé l'étiquette {label} de la carte {card} de la pile {stack} du tableau {board}",
"You have assigned {assigneduser} to card {card} on board {board}" : "Vous avez assigné {assigneduser} à la carte {card} du tableau {board}",
"{user} has assigned {assigneduser} to card {card} on board {board}" : "{user} a assigné {assigneduser} à la carte {card} du tableau {board}",
"You have unassigned {assigneduser} from card {card} on board {board}" : "Vous avez désassigner {assigneduser} de la carte {card} du tableau {board}",
"{user} has unassigned {assigneduser} from card {card} on board {board}" : "{user} a désassigner {assigneduser} de la carte {card} du tableau {board}",
"You have unassigned {assigneduser} from card {card} on board {board}" : "Vous avez retiré {assigneduser} de la carte {card} du tableau {board}",
"{user} has unassigned {assigneduser} from card {card} on board {board}" : "{user} a retiré {assigneduser} de la carte {card} du tableau {board}",
"You have moved the card {card} from stack {stackBefore} to {stack}" : "Vous avez déplacé la carte {card} de la pile {stackBefore} vers {stack}",
"{user} has moved the card {card} from stack {stackBefore} to {stack}" : "{user} a déplacé la carte {card} de la pile {stackBefore} vers {stack}",
"You have added the attachment {attachment} to card {card}" : "Vous avez ajouté la pièce jointe {attachment} à la carte {card}",
@@ -75,13 +75,14 @@
"A <strong>card description</strong> inside the Deck app has been changed" : "La <strong>description de la carte</strong> présente dans lapplication Deck a été modifiée",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Modifications dans <strong>Deck app</strong>",
"A <strong>comment</strong> was created on a card" : "Un <strong>commentaire</strong> a été créé sur une carte",
"Personal" : "Personnel",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "La carte \"%s\" de \"%s\" vous a été assignée par %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} vous a assigné la carte \"%s\" de \"%s\".",
"The card \"%s\" on \"%s\" has reached its due date." : "Le délai de la carte %s de %s est expiré.",
"The card \"%s\" on \"%s\" has reached its due date." : "La date d'échéance de la carte \"%s\" de \"%s\" a été atteinte.",
"%s has mentioned you in a comment on \"%s\"." : "%s vous a mentionné dans un commentaire sur \"%s\".",
"{user} has mentioned you in a comment on \"%s\"." : " {user} vous a mentionné dans un commentaire sur \"%s\".",
"The board \"%s\" has been shared with you by %s." : "Le tableau %s a été partagé avec vous par %s.",
"The board \"%s\" has been shared with you by %s." : "Le tableau \"%s\" a été partagé avec vous par %s.",
"{user} has shared the board %s with you." : "{user} a partagé le tableau %s avec vous.",
"No data was provided to create an attachment." : "Aucune donnée n'a été fournie pour créer une pièce jointe.",
"Finished" : "Terminé",
@@ -94,17 +95,17 @@
"Example Task 3" : "Exemple de tâche 3",
"Example Task 2" : "Exemple de tâche 2",
"Example Task 1" : "Exemple de tâche 1",
"The file was uploaded" : "Le fichier a été téléchargé",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Le fichier téléversé dépasse la valeur upload_max_filesize située dans le fichier php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Le fichier envoyé dépasse la valeur MAX_FILE_SIZE qui était spécifiée dans le formulaire HTML",
"The file was uploaded" : "Le fichier a été envoyé",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Le fichier envoyé dépasse la valeur upload_max_filesize spécifiée dans php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Le fichier envoyé dépasse la valeur MAX_FILE_SIZE spécifiée dans le formulaire HTML",
"The file was only partially uploaded" : "Le fichier n'a été que partiellement envoyé",
"No file was uploaded" : "Aucun fichier n'a été téléchargé",
"No file was uploaded" : "Aucun fichier n'a été envoyé",
"Missing a temporary folder" : "Absence de dossier temporaire",
"Could not write file to disk" : "Impossible d'écrire le fichier sur le disque.",
"A PHP extension stopped the file upload" : "Une extension PHP a arrêté le téléversement du fichier",
"No file uploaded or file size exceeds maximum of %s" : "Aucun fichier téléversé ou la taille du fichier dépasse la maximum de %s",
"Could not write file to disk" : "Impossible d'écrire le fichier sur le disque",
"A PHP extension stopped the file upload" : "Une extension PHP a arrêté l'envoi du fichier",
"No file uploaded or file size exceeds maximum of %s" : "Aucun fichier envoyé ou la taille du fichier dépasse le maximum de %s",
"A kanban style project and personal management tool for Nextcloud" : " Un outil de style kanban pour Nextcloud, pour la gestion de votre vie personnelle et de vos projets.",
"Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized" : "Deck est un outil d'organisation de style kanban destiné à la planification personnelle et à l'organisation de projets pour les équipes intégrées à Nextcloud.\n\n\n- 📥 Ajoutez vos tâches à des cartes et organisez-les\n- 📄 Écrivez des notes supplémentaires en Markdown\n- 🔖 Affectez des étiquettes pour une organisation encore meilleure\n- 👥 Partagez avec votre équipe, vos amis ou votre famille\n- 📎 Attachez des fichiers et utilisez les dans vos descriptions en Markdown\n- 💬 Echanger avec votre équipe grâce aux commentaires\n- ⚡ Garder l'oeil sur les modifications dans le flux d'activité\n- 🚀 Organisez vos projets",
"Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized" : "Deck est un outil d'organisation de style kanban destiné à la planification personnelle et à l'organisation de projets pour les équipes intégrées à Nextcloud.\n\n\n- 📥 Ajoutez vos tâches à des cartes et organisez-les\n- 📄 Écrivez des notes supplémentaires en Markdown\n- 🔖 Affectez des étiquettes pour une organisation encore meilleure\n- 👥 Partagez avec votre équipe, vos amis ou votre famille\n- 📎 Attachez des fichiers et utilisez les dans vos descriptions en Markdown\n- 💬 Échangez avec votre équipe grâce aux commentaires\n- ⚡ Gardez un œil sur les modifications dans le flux d'activité\n- 🚀 Organisez vos projets",
"Select the board to link to a project" : "Sélection le tableau pour faire le lien avec un projet.",
"Select board" : "Sélectionner le tableau",
"Add a new stack" : "Ajouter une nouvelle pile",
@@ -118,13 +119,13 @@
"Share board" : "Partager le tableau",
"Archived cards" : "Cartes archivées",
"Actions" : "Actions",
"Drop your files here to upload it to the card" : "Déposez vos fichiers ici pour les téléverser sur la carte",
"Assign card to me" : "Assignez-moi la carte",
"Unassign card from me" : "Retirez-moi la carte",
"Drop your files here to upload it to the card" : "Déposez vos fichiers ici pour les envoyer sur la carte",
"Assign card to me" : "M'assigner la carte",
"Unassign card from me" : "Me retirer de la carte",
"Archive card" : "Archiver la carte",
"Unarchive card" : "Ne plus archiver la carte",
"Unarchive card" : "Sortir la carte des archives",
"Delete card" : "Supprimer la carte",
"Enter a card title" : "Saisissez un titre de carte",
"Enter a card title" : "Saisir un titre de carte",
"Add card" : "Ajouter une carte",
"Close" : "Fermer",
"Sharing" : "Partage",
@@ -134,7 +135,7 @@
"Select users or groups to share with" : "Sélectionnez des utilisateurs ou des groupes avec qui partager",
"Group" : "Groupe",
"Circle" : "Cercle",
"No matching user or group found." : "Aucun utilisateur ou groupe correspondant trouvé",
"No matching user or group found." : "Aucun utilisateur ou groupe correspondant trouvé.",
"Loading" : "Chargement",
"Edit" : "Modifier",
"Share" : "Partager",
@@ -156,23 +157,23 @@
"More actions" : "Plus d'actions",
"Edit board" : "Modifier le tableau",
"Archive board" : "Archiver le tableau",
"Unarchive board" : "Ne plus archiver le tableau",
"Unarchive board" : "Sortir le tableau des archives",
"Delete board" : "Supprimer le tableau",
"Update board" : "Mettre à jour le tableau",
"Reset board" : "Réinitialiser le tableau",
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Annuler la suppression du tableau — Autrement le tableau sera supprimé lors du prochain lancement de la tâche cron.",
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Annuler la suppression du tableau — Autrement le tableau sera supprimé lors de la prochaine tâche cron.",
"Create new board" : "Créer un nouveau tableau",
"New board title" : "Nouveau titre pour le tableau",
"Create board" : "Créer le tableau",
"Select an attachment" : "Sélectionner une pièce jointe",
"Cancel upload" : "Annuler le téléversement",
"Cancel upload" : "Annuler l'envoi",
"by" : "par",
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Annuler la suppression du fichier — Autrement le fichier sera supprimé lors du prochain lancement de la tâche cron.",
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Annuler la suppression du fichier — Autrement le fichier sera supprimé lors de la prochaine tâche cron.",
"Undo file deletion" : "Annuler la suppression du fichier",
"Insert the file into the description" : "Insérer le fichier dans la description",
"Delete attachment" : "Supprimer la pièce jointe",
"Modified:" : "Modifié le :",
"Created:" : "Créé le :",
"Modified:" : "Modifiée le :",
"Created:" : "Créée le :",
"Choose a tag" : "Choisir une étiquette",
"Add a tag" : "Ajouter une étiquette",
"Select tags" : "Sélectionner les étiquettes",
@@ -180,21 +181,21 @@
"Choose a user to assign" : "Choisir un utilisateur à assigner",
"Assign this card to a user" : "Assigner cette carte à un utilisateur",
"Due date" : "Date d'échéance",
"Click to set" : "Cliquez pour définir",
"Click to set" : "Cliquer pour définir",
"Remove due date" : "Supprimer la date d'échéance",
"Description" : "Description",
"Attachments" : "Pièces jointes",
"Saved" : "Enregistré",
"Unsaved changes" : "Modifications non sauvegardées",
"Unsaved changes" : "Modifications non enregistrées",
"Insert attachment" : "Insérer une pièce jointe",
"Formatting help" : "Aide sur la mise en forme",
"Upload attachment" : "Téléverser la pièce jointe",
"Add a card description…" : "Ajouter une description pour la carte",
"Upload attachment" : "Envoyer une pièce jointe",
"Add a card description…" : "Ajouter une description pour la carte...",
"Shared boards" : "Tableaux partagés",
"Move board to archive" : "Déplacer le tableau vers l'archive",
"Move board to archive" : "Déplacer le tableau vers les archives",
"Create a new board" : "Créer un nouveau tableau",
"Settings" : "Paramètres",
"Limit deck to groups" : "Limiter deck aux groupes",
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Limiter le Deck empêchera les utilisateurs ne faisant pas partie de ces groupes de créer leurs propres tableaux. Les utilisateurs pourront toujours travailler sur des tableaux qui ont été partagés avec eux."
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Limiter Deck empêchera les utilisateurs ne faisant pas partie de ces groupes de créer leurs propres tableaux. Ces utilisateurs pourront toujours travailler sur les tableaux qui ont été partagés avec eux."
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+2 -1
View File
@@ -19,7 +19,7 @@ OC.L10N.register(
"You have restored the board {board}" : "Vostede restaurou o taboleiro {board}",
"{user} has restored the board {board}" : "{user} restaurou o taboleiro {board}",
"You have shared the board {board} with {acl}" : "Vostede compartiu o taboleiro {board} con {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} compartiu o taboleiro {board} con {acl}",
"{user} has shared the board {board} with {acl}" : "{user} compartiu o taboleiro {board} con {acl}",
"You have removed {acl} from the board {board}" : "Vostede retirou a {acl} do taboleiro {board}",
"{user} has removed {acl} from the board {board}" : "{user} retirou a {acl} do taboleiro {board}",
"You have renamed the board {before} to {board}" : "Vostede renomeou o taboleiro {before} como {board}",
@@ -77,6 +77,7 @@ OC.L10N.register(
"A <strong>card description</strong> inside the Deck app has been changed" : "Cambiouse a <strong>descripción da tarxeta</strong> dentro do aplicativo Deck",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Cambios no <strong>aplicativo Deck</strong>",
"A <strong>comment</strong> was created on a card" : "Creouse un <strong>comentario</strong> nunha tarxeta",
"Personal" : "Persoal",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "A tarxeta «%s» en «%s» foi asignada a vostede por %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} asignoulle a vostede a tarxeta «%s» en «%s».",
+2 -1
View File
@@ -17,7 +17,7 @@
"You have restored the board {board}" : "Vostede restaurou o taboleiro {board}",
"{user} has restored the board {board}" : "{user} restaurou o taboleiro {board}",
"You have shared the board {board} with {acl}" : "Vostede compartiu o taboleiro {board} con {acl}",
"{user} has shared the board {board} with {sharee}" : "{user} compartiu o taboleiro {board} con {acl}",
"{user} has shared the board {board} with {acl}" : "{user} compartiu o taboleiro {board} con {acl}",
"You have removed {acl} from the board {board}" : "Vostede retirou a {acl} do taboleiro {board}",
"{user} has removed {acl} from the board {board}" : "{user} retirou a {acl} do taboleiro {board}",
"You have renamed the board {before} to {board}" : "Vostede renomeou o taboleiro {before} como {board}",
@@ -75,6 +75,7 @@
"A <strong>card description</strong> inside the Deck app has been changed" : "Cambiouse a <strong>descripción da tarxeta</strong> dentro do aplicativo Deck",
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Cambios no <strong>aplicativo Deck</strong>",
"A <strong>comment</strong> was created on a card" : "Creouse un <strong>comentario</strong> nunha tarxeta",
"Personal" : "Persoal",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "A tarxeta «%s» en «%s» foi asignada a vostede por %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} asignoulle a vostede a tarxeta «%s» en «%s».",

Some files were not shown because too many files have changed in this diff Show More