Compare commits
445 Commits
v0.2.3
...
v0.4.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20b25e0108 | ||
|
|
e959afb2de | ||
|
|
cb25643741 | ||
|
|
bbfb9e713a | ||
|
|
e71a38fe96 | ||
|
|
120e4e13a6 | ||
|
|
04aa9df45b | ||
|
|
8d60a4379d | ||
|
|
4e96dec474 | ||
|
|
9727356d3b | ||
|
|
c0c0cb8545 | ||
|
|
af646c1999 | ||
|
|
38bb4c7a3a | ||
|
|
573fa2c457 | ||
|
|
d7e7fd58b0 | ||
|
|
f5a234fd26 | ||
|
|
f75c9e0d4a | ||
|
|
5eca92a0ea | ||
|
|
384b7a41a9 | ||
|
|
47e27a7a89 | ||
|
|
ac19621d5b | ||
|
|
cf2e84873c | ||
|
|
c523474980 | ||
|
|
754486673a | ||
|
|
a7110082e7 | ||
|
|
db619e4cda | ||
|
|
34d05f2ac0 | ||
|
|
fdb1dbf397 | ||
|
|
5c2925aeed | ||
|
|
dc5fbbf7eb | ||
|
|
e46844988e | ||
|
|
9d98107f3a | ||
|
|
681176c684 | ||
|
|
5d4757ddf1 | ||
|
|
9731e6811a | ||
|
|
23c86a4fcc | ||
|
|
43ea0136c8 | ||
|
|
2cc8eb1313 | ||
|
|
bfe71900d3 | ||
|
|
c6a6b41193 | ||
|
|
b0f7bef279 | ||
|
|
014f76b2fb | ||
|
|
546928fb79 | ||
|
|
b4ead5a2eb | ||
|
|
124918b744 | ||
|
|
9308ad125a | ||
|
|
7dc43829ab | ||
|
|
63ac985f15 | ||
|
|
93725e481d | ||
|
|
8e976cb2a6 | ||
|
|
58a89374e2 | ||
|
|
313bbca462 | ||
|
|
f0c22370e0 | ||
|
|
00554c218b | ||
|
|
b0222a2d11 | ||
|
|
03ba692f69 | ||
|
|
7147368ce1 | ||
|
|
c938fdd806 | ||
|
|
49d7f8c522 | ||
|
|
6357080f89 | ||
|
|
147c317a46 | ||
|
|
dd1a03f243 | ||
|
|
dfa409bd68 | ||
|
|
c2c0bae3d6 | ||
|
|
56412498f1 | ||
|
|
c720f964bb | ||
|
|
6ac3066dc8 | ||
|
|
63ad39dd2d | ||
|
|
7955a19149 | ||
|
|
a83b50bb97 | ||
|
|
0f50f8d1d9 | ||
|
|
5b95beb153 | ||
|
|
7ad8080f82 | ||
|
|
1972edc38d | ||
|
|
06ea03689b | ||
|
|
22190b90cf | ||
|
|
5bc65a6eb3 | ||
|
|
0b5ded2860 | ||
|
|
48c622d19e | ||
|
|
581fa011e3 | ||
|
|
c816b15bfa | ||
|
|
2bcd5d35c0 | ||
|
|
8229fbacea | ||
|
|
7b230d567e | ||
|
|
344ed6d928 | ||
|
|
94397dedb1 | ||
|
|
04b0807a12 | ||
|
|
757b041f73 | ||
|
|
0137b882c5 | ||
|
|
ee5a54a575 | ||
|
|
0c711b2b0b | ||
|
|
b08d416c51 | ||
|
|
bfda3e7623 | ||
|
|
f152f32952 | ||
|
|
45c7241daf | ||
|
|
cfc32c0b74 | ||
|
|
e4863b6d8d | ||
|
|
8f5d0c3f76 | ||
|
|
38feba1740 | ||
|
|
9973eef488 | ||
|
|
77b906e884 | ||
|
|
962724f0dc | ||
|
|
55440c47cf | ||
|
|
002ffc4b99 | ||
|
|
97952d775c | ||
|
|
a5130d8032 | ||
|
|
5b3f1f847d | ||
|
|
5be62756ed | ||
|
|
be2d0010f7 | ||
|
|
ab5d2c79ec | ||
|
|
1de3dc2f6c | ||
|
|
3413e7694a | ||
|
|
57f58e5e68 | ||
|
|
1a4b2e5f01 | ||
|
|
20490dbd39 | ||
|
|
f3088b5b48 | ||
|
|
40536a0097 | ||
|
|
6c93e99b9b | ||
|
|
00ae0e6963 | ||
|
|
25edef4fb9 | ||
|
|
9f58b1ea07 | ||
|
|
4a9ef92e5d | ||
|
|
2cc961dcdf | ||
|
|
fe383a3485 | ||
|
|
264ae7bac6 | ||
|
|
f6de432bcc | ||
|
|
1ed28ff563 | ||
|
|
23492745f7 | ||
|
|
a56c82928c | ||
|
|
78f5d24a5d | ||
|
|
aeac40e37e | ||
|
|
6b1015e99f | ||
|
|
6d8b856728 | ||
|
|
8c77f1bc8a | ||
|
|
7714b1e83b | ||
|
|
8ad1496eff | ||
|
|
a5683add3a | ||
|
|
3a155a3004 | ||
|
|
67a482cc6f | ||
|
|
fd154fafb3 | ||
|
|
51949fa179 | ||
|
|
614ddf1023 | ||
|
|
401a7db3e9 | ||
|
|
d52c727b92 | ||
|
|
7ff5fb64c3 | ||
|
|
d28a408994 | ||
|
|
541b8cc9e7 | ||
|
|
11f78403dd | ||
|
|
3db63d1761 | ||
|
|
24b00f0a85 | ||
|
|
f711a0214b | ||
|
|
7facc2593e | ||
|
|
bd32f51451 | ||
|
|
3b6c04dad9 | ||
|
|
99f845d746 | ||
|
|
22f39d28e4 | ||
|
|
aa0d8b6026 | ||
|
|
dd008f0895 | ||
|
|
c4dfb75b3a | ||
|
|
b633d82c5e | ||
|
|
08d9d51bea | ||
|
|
e21c12f23d | ||
|
|
101f20095d | ||
|
|
701b5c5a5b | ||
|
|
e92c99fe22 | ||
|
|
893734dff9 | ||
|
|
43babf82b0 | ||
|
|
bd5ce84c65 | ||
|
|
37851bad6f | ||
|
|
13c7be9dc2 | ||
|
|
2433703fa5 | ||
|
|
e320b52b48 | ||
|
|
73b91246e9 | ||
|
|
822cc1aaa5 | ||
|
|
83e62a9bc9 | ||
|
|
4057be32e8 | ||
|
|
764a28a1dd | ||
|
|
5565589ebf | ||
|
|
cd5d23bacc | ||
|
|
b7bc38376f | ||
|
|
3e0de1bfba | ||
|
|
8ddc21e403 | ||
|
|
9cf8ab1efb | ||
|
|
6f254510c1 | ||
|
|
2cd5606d40 | ||
|
|
4f0c05f536 | ||
|
|
24f4f84eb6 | ||
|
|
e94986744d | ||
|
|
7b15c04976 | ||
|
|
b9ff4ef305 | ||
|
|
5d0173f755 | ||
|
|
405f23f660 | ||
|
|
6cefa20ec7 | ||
|
|
20a2f53745 | ||
|
|
bd7fdf7934 | ||
|
|
8042d50d4c | ||
|
|
2999d96a22 | ||
|
|
9920546ec8 | ||
|
|
eeceda539f | ||
|
|
ee262291ce | ||
|
|
858952a56f | ||
|
|
ad9ce6cd26 | ||
|
|
d362e0ad0e | ||
|
|
31965bf40c | ||
|
|
691bbda056 | ||
|
|
9b82779513 | ||
|
|
8cb92934b1 | ||
|
|
1b471b0fe8 | ||
|
|
537e9b35da | ||
|
|
ad5967859e | ||
|
|
afa2d247aa | ||
|
|
76e3cc5061 | ||
|
|
8f5ded6a28 | ||
|
|
0e092d3495 | ||
|
|
f32721d1e6 | ||
|
|
19a3466b18 | ||
|
|
5d3f952d92 | ||
|
|
d1b8e3cc5f | ||
|
|
efb7da6ca5 | ||
|
|
cc737cf250 | ||
|
|
da373bafe0 | ||
|
|
9e4d48ae36 | ||
|
|
4d84d77d27 | ||
|
|
0a82689284 | ||
|
|
a3e14ec732 | ||
|
|
4a56995326 | ||
|
|
eb262a13e4 | ||
|
|
21d84343ec | ||
|
|
431dfe3b15 | ||
|
|
9bb474638d | ||
|
|
220adf708f | ||
|
|
f616f38e67 | ||
|
|
8e51fdbb88 | ||
|
|
d5bec8d19e | ||
|
|
742c02cbbb | ||
|
|
27aa2adf0f | ||
|
|
79550fc843 | ||
|
|
ac982a72a4 | ||
|
|
de0aeaa084 | ||
|
|
e6f4929cea | ||
|
|
f8fbcee618 | ||
|
|
7ffe11e8cd | ||
|
|
99fffe750d | ||
|
|
ae4857b75e | ||
|
|
27bab0ec4d | ||
|
|
8ca3e5d32e | ||
|
|
6227583917 | ||
|
|
5d10f834c5 | ||
|
|
009734295c | ||
|
|
74c7530a4f | ||
|
|
acc168e174 | ||
|
|
6998a4a643 | ||
|
|
2a6db83804 | ||
|
|
31e4d370c3 | ||
|
|
ce3e979452 | ||
|
|
4ec2ae2a61 | ||
|
|
904eecd155 | ||
|
|
e70045f7d3 | ||
|
|
75f95db0b1 | ||
|
|
63d29ae533 | ||
|
|
59ac632d0e | ||
|
|
b57e8e56fa | ||
|
|
5b28365444 | ||
|
|
f55fb90cfa | ||
|
|
c517dbdb77 | ||
|
|
14d5af683e | ||
|
|
e1e01c0e0d | ||
|
|
403629c91a | ||
|
|
15d642efa4 | ||
|
|
d3d888fb43 | ||
|
|
5ac2b91542 | ||
|
|
de4e90b52e | ||
|
|
dc37dd2c60 | ||
|
|
5d38f6a176 | ||
|
|
70d28ec376 | ||
|
|
8cec7cb571 | ||
|
|
52ac77ea90 | ||
|
|
dd0c26b298 | ||
|
|
19dda17e71 | ||
|
|
cd6f661dc9 | ||
|
|
5dcf52b489 | ||
|
|
ea5203049b | ||
|
|
a388a04a06 | ||
|
|
4393b44e0d | ||
|
|
d3b34fc3f6 | ||
|
|
cd81192cae | ||
|
|
d33cce3725 | ||
|
|
5ffef2fd3a | ||
|
|
d7da990a55 | ||
|
|
95f4e4b014 | ||
|
|
66cfa72839 | ||
|
|
f707bed675 | ||
|
|
173b0f4756 | ||
|
|
2425018897 | ||
|
|
415e5b5a1a | ||
|
|
eb0810de27 | ||
|
|
0af0124c12 | ||
|
|
ebe3666b9f | ||
|
|
183c2665eb | ||
|
|
63da73600f | ||
|
|
253e60f88a | ||
|
|
1d5ed11a8c | ||
|
|
28208f168d | ||
|
|
84502db00b | ||
|
|
6d8afe6252 | ||
|
|
d674abb7b6 | ||
|
|
7200e17d33 | ||
|
|
1ace5de9e6 | ||
|
|
5394d0f59b | ||
|
|
d386ab80d4 | ||
|
|
9fa88cac6b | ||
|
|
827aceecda | ||
|
|
9cefecb45d | ||
|
|
a48169de18 | ||
|
|
fbf48e1be0 | ||
|
|
c8d5f179be | ||
|
|
137f429cfa | ||
|
|
367873beaa | ||
|
|
a8aab8d049 | ||
|
|
ef64dfc5a2 | ||
|
|
7c552e9a52 | ||
|
|
02724fd4eb | ||
|
|
89643fb681 | ||
|
|
1b19ba2385 | ||
|
|
8b9ae38303 | ||
|
|
175f47be5b | ||
|
|
8cfaca8a75 | ||
|
|
03fc1fd0f2 | ||
|
|
066f67ef7b | ||
|
|
081b3520a0 | ||
|
|
8324410578 | ||
|
|
b3db3daf91 | ||
|
|
aa5e0a1d5e | ||
|
|
c38039ad80 | ||
|
|
a9a5b6a52a | ||
|
|
e1793b5c31 | ||
|
|
f533f2bd80 | ||
|
|
35fc02734f | ||
|
|
91261f2e4e | ||
|
|
c519e1b841 | ||
|
|
8668a900b1 | ||
|
|
4ca45a5629 | ||
|
|
78020635c8 | ||
|
|
abc039a634 | ||
|
|
afec4f211c | ||
|
|
47b51c512d | ||
|
|
f8f755f31e | ||
|
|
a2adcf2487 | ||
|
|
650313254f | ||
|
|
5dd91f4261 | ||
|
|
8499a28921 | ||
|
|
c1bc287fe1 | ||
|
|
68b3c0216d | ||
|
|
58885f6598 | ||
|
|
af3201b293 | ||
|
|
d2dde30098 | ||
|
|
10c836d864 | ||
|
|
ff2503f857 | ||
|
|
fcd5918686 | ||
|
|
8213b39949 | ||
|
|
88474bb11b | ||
|
|
546b71926a | ||
|
|
37967f5bfb | ||
|
|
cd651ebda5 | ||
|
|
5f69c56c3a | ||
|
|
3f8806c81f | ||
|
|
32a7c5f765 | ||
|
|
7b45a92a60 | ||
|
|
7b88d56e7a | ||
|
|
19b13456a5 | ||
|
|
53b1af9dbe | ||
|
|
3037effb5a | ||
|
|
8357599361 | ||
|
|
5d54772b1b | ||
|
|
afa16ee3ba | ||
|
|
090d99a360 | ||
|
|
a322c7a3b5 | ||
|
|
1f3276acee | ||
|
|
dc917b1e5d | ||
|
|
ff2d96a1fb | ||
|
|
a56ceb348d | ||
|
|
8cb95c4105 | ||
|
|
28d6f4196e | ||
|
|
99c31d3c00 | ||
|
|
02ec4ae9d1 | ||
|
|
f42e3eb857 | ||
|
|
447cb80573 | ||
|
|
01f11d1be9 | ||
|
|
f746588111 | ||
|
|
458a795460 | ||
|
|
4cf746dd6f | ||
|
|
4fa37f0548 | ||
|
|
fa70d329cd | ||
|
|
98978b019a | ||
|
|
07da13bdf9 | ||
|
|
794fcb76b8 | ||
|
|
2ca1e1eed8 | ||
|
|
063bf59ddb | ||
|
|
5fde7a19bf | ||
|
|
6901314382 | ||
|
|
c45bb71084 | ||
|
|
320f2bf5c8 | ||
|
|
9014ae1490 | ||
|
|
516e396a58 | ||
|
|
9b9c1432f2 | ||
|
|
8d39fd9ad1 | ||
|
|
3d54d129b9 | ||
|
|
05395dbfbe | ||
|
|
1b0ac8c1e2 | ||
|
|
4fc96e40ff | ||
|
|
8b4eac0854 | ||
|
|
1d4c019588 | ||
|
|
dbef69e9ce | ||
|
|
7c6e48d15b | ||
|
|
d9c3aa44b9 | ||
|
|
ac1b1e826f | ||
|
|
3c2ee00ad7 | ||
|
|
6a575baadd | ||
|
|
f8c9bc1c7c | ||
|
|
e1ac6b0a9e | ||
|
|
ed55b0db51 | ||
|
|
e8ecfce134 | ||
|
|
07132126a9 | ||
|
|
a346e215cd | ||
|
|
52fc971529 | ||
|
|
e0bab217a0 | ||
|
|
f770b2e7af | ||
|
|
0d3916d450 | ||
|
|
8fbd400c3c | ||
|
|
fa9067b47a | ||
|
|
af83e8a3d0 | ||
|
|
e8ba47564c | ||
|
|
ea1b597fc0 | ||
|
|
5312751cb8 | ||
|
|
a2bef30759 | ||
|
|
b2f58b3404 | ||
|
|
d212a426f2 | ||
|
|
4689619ba4 | ||
|
|
e2e8e98c1f | ||
|
|
f9b9973c29 | ||
|
|
c3ba8fa536 | ||
|
|
e1d1e0c2c8 | ||
|
|
aaf04ffbd4 | ||
|
|
1d08c67353 | ||
|
|
2706dfaf4e |
107
.drone.yml
107
.drone.yml
@@ -5,7 +5,7 @@ clone:
|
||||
|
||||
pipeline:
|
||||
check-app-compatbility:
|
||||
image: nextcloudci/php5.6:php5.6-3
|
||||
image: nextcloudci/php7.0:php7.0-17
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
@@ -23,57 +23,72 @@ pipeline:
|
||||
matrix:
|
||||
TESTS: check-app-compatbility
|
||||
signed-off-check:
|
||||
image: nextcloudci/php7.0:php7.0-2
|
||||
image: nextcloudci/php7.0:php7.0-17
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
- DB=sqlite
|
||||
commands:
|
||||
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
|
||||
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
|
||||
- cd ../server
|
||||
- php ./build/signed-off-checker.php
|
||||
- wget https://raw.githubusercontent.com/nextcloud/server/master/build/signed-off-checker.php
|
||||
- php ./signed-off-checker.php
|
||||
secrets: [ github_token ]
|
||||
when:
|
||||
matrix:
|
||||
TESTS: signed-off-check
|
||||
syntax-php5.6:
|
||||
image: nextcloudci/php5.6:php5.6-3
|
||||
image: nextcloudci/php5.6:php5.6-8
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
- CORE_BRANCH=stable13
|
||||
- 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
|
||||
- composer install
|
||||
- ./lib/composer/bin/parallel-lint --exclude build/.phan/ --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .
|
||||
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
|
||||
when:
|
||||
matrix:
|
||||
TESTS: syntax-php5.6
|
||||
syntax-php7.0:
|
||||
image: nextcloudci/php7.0:php7.0-2
|
||||
image: nextcloudci/php7.0:php7.0-17
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
- 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
|
||||
- composer install
|
||||
- ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .
|
||||
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
|
||||
when:
|
||||
matrix:
|
||||
TESTS: syntax-php7.0
|
||||
php5.6:
|
||||
image: nextcloudci/php5.6:php5.6-7
|
||||
syntax-php7.1:
|
||||
image: nextcloudci/php7.1:php7.1-15
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
- DB=sqlite
|
||||
commands:
|
||||
- composer install
|
||||
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
|
||||
when:
|
||||
matrix:
|
||||
TESTS: syntax-php7.1
|
||||
syntax-php7.2:
|
||||
image: nextcloudci/php7.2:php7.2-9
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
- DB=sqlite
|
||||
commands:
|
||||
- composer install
|
||||
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
|
||||
when:
|
||||
matrix:
|
||||
TESTS: syntax-php7.2
|
||||
php5.6:
|
||||
image: nextcloudci/php5.6:php5.6-8
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=stable13
|
||||
- DB=sqlite
|
||||
commands:
|
||||
- apt update && apt-get -y install php5-xdebug
|
||||
|
||||
@@ -83,19 +98,13 @@ pipeline:
|
||||
- cd ../server/
|
||||
- ./occ app:enable $APP_NAME
|
||||
- cd apps/$APP_NAME
|
||||
|
||||
- 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
|
||||
|
||||
# Create coverage report
|
||||
- wget https://codecov.io/bash -O codecov.sh
|
||||
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t f6375299-4832-487e-b831-091772ab0384; fi"
|
||||
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t f6375299-4832-487e-b831-091772ab0384; fi"
|
||||
when:
|
||||
matrix:
|
||||
TESTS: php5.6
|
||||
php7.0:
|
||||
image: nextcloudci/php7.0:php7.0-8
|
||||
image: nextcloudci/php7.0:php7.0-17
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
@@ -114,14 +123,13 @@ pipeline:
|
||||
matrix:
|
||||
TESTS: php7.0
|
||||
php7.1:
|
||||
image: nextcloudci/php7.1:php7.1-11
|
||||
image: nextcloudci/php7.1:php7.1-15
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
- DB=sqlite
|
||||
commands:
|
||||
# Pre-setup steps
|
||||
- yum -y install wget
|
||||
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
|
||||
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
|
||||
- cd ../server/
|
||||
@@ -132,8 +140,26 @@ pipeline:
|
||||
when:
|
||||
matrix:
|
||||
TESTS: php7.1
|
||||
php7.2:
|
||||
image: nextcloudci/php7.2:php7.2-9
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
- 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
|
||||
- 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
|
||||
when:
|
||||
matrix:
|
||||
TESTS: php7.2
|
||||
integration:
|
||||
image: nextcloudci/integration-php7.0:integration-php7.0-3
|
||||
image: nextcloudci/integration-php7.0:integration-php7.0-6
|
||||
environment:
|
||||
- APP_NAME=deck
|
||||
- CORE_BRANCH=master
|
||||
@@ -150,13 +176,18 @@ pipeline:
|
||||
when:
|
||||
matrix:
|
||||
TESTS: integration
|
||||
eslint:
|
||||
image: nextcloudci/eslint:eslint-1
|
||||
commands:
|
||||
- ./run-eslint.sh
|
||||
when:
|
||||
matrix:
|
||||
TESTS: eslint
|
||||
jsbuild:
|
||||
image: mhart/alpine-node:6.8.0
|
||||
commands:
|
||||
- apk add --no-cache git
|
||||
- cd js
|
||||
- npm install --deps
|
||||
- ./node_modules/.bin/bower --allow-root install
|
||||
- apk add --no-cache make
|
||||
- make build-js
|
||||
when:
|
||||
matrix:
|
||||
TESTS: jsbuild
|
||||
@@ -166,11 +197,15 @@ matrix:
|
||||
- TESTS: signed-off-check
|
||||
- TESTS: syntax-php5.6
|
||||
- TESTS: syntax-php7.0
|
||||
- TESTS: syntax-php7.1
|
||||
- TESTS: syntax-php7.2
|
||||
- TESTS: php5.6
|
||||
- TESTS: php7.0
|
||||
- TESTS: php7.1
|
||||
- TESTS: php7.2
|
||||
- TESTS: eslint
|
||||
- TESTS: jsbuild
|
||||
- TESTS: integration
|
||||
#- TESTS: integration
|
||||
|
||||
branches: [ master, stable* ]
|
||||
|
||||
|
||||
9
.eslintignore
Normal file
9
.eslintignore
Normal file
@@ -0,0 +1,9 @@
|
||||
/js/tests/*
|
||||
/js/vendor/*
|
||||
/js/legacy/*
|
||||
/js/node_modules/*
|
||||
/js/public/*
|
||||
/karma.conf.js
|
||||
/tests/*
|
||||
/l10n/*
|
||||
|
||||
42
.eslintrc.yml
Normal file
42
.eslintrc.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
root: true
|
||||
|
||||
extends:
|
||||
- eslint:recommended
|
||||
|
||||
env:
|
||||
browser: true
|
||||
amd: 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
|
||||
@@ -1,79 +1,97 @@
|
||||
### Steps to reproduce
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
### Expected behaviour
|
||||
Tell us what should happen
|
||||
|
||||
### Actual behaviour
|
||||
Tell us what happens instead
|
||||
|
||||
### Server configuration
|
||||
<!--
|
||||
You can use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
|
||||
-->
|
||||
|
||||
**Operating system**:
|
||||
|
||||
**Web server:**
|
||||
|
||||
**Database:**
|
||||
|
||||
**PHP version:**
|
||||
|
||||
**Nextcloud version:** (see Nextcloud admin page)
|
||||
|
||||
**Where did you install Nextcloud from:**
|
||||
|
||||
**Signing status:**
|
||||
|
||||
```
|
||||
Login as admin user into your Nextcloud and access
|
||||
http://example.com/index.php/settings/integrity/failed
|
||||
paste the results here.
|
||||
```
|
||||
|
||||
**List of activated apps:**
|
||||
|
||||
```
|
||||
If you have access to your command line run e.g.:
|
||||
sudo -u www-data php occ app:list
|
||||
from within your Nextcloud installation folder
|
||||
```
|
||||
|
||||
**Nextcloud configuration:**
|
||||
|
||||
```
|
||||
If you have access to your command line run e.g.:
|
||||
sudo -u www-data php occ config:list system
|
||||
from within your Nextcloud installation folder
|
||||
|
||||
or
|
||||
|
||||
Insert your config.php content here
|
||||
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
|
||||
```
|
||||
|
||||
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
|
||||
|
||||
### Client configuration
|
||||
**Browser:**
|
||||
|
||||
**Operating system:**
|
||||
|
||||
### Logs
|
||||
|
||||
#### Nextcloud log (data/nextcloud.log)
|
||||
```
|
||||
Insert your Nextcloud log here
|
||||
```
|
||||
|
||||
#### Browser log
|
||||
```
|
||||
Insert your browser log here, this could for example include:
|
||||
|
||||
a) The javascript console log
|
||||
b) The network log
|
||||
c) ...
|
||||
```
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Client details:**
|
||||
- OS: [e.g. iOS]
|
||||
- Browser [e.g. chrome, safari]
|
||||
- Version [e.g. 22]
|
||||
- Device: [e.g. iPhone6, desktop]
|
||||
|
||||
<details>
|
||||
<summary>Server details</summary>
|
||||
<!--
|
||||
You can use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
|
||||
-->
|
||||
|
||||
**Operating system**:
|
||||
|
||||
**Web server:**
|
||||
|
||||
**Database:**
|
||||
|
||||
**PHP version:**
|
||||
|
||||
**Nextcloud version:** (see Nextcloud admin page)
|
||||
|
||||
**Where did you install Nextcloud from:**
|
||||
|
||||
**Signing status:**
|
||||
|
||||
```
|
||||
Login as admin user into your Nextcloud and access
|
||||
http://example.com/index.php/settings/integrity/failed
|
||||
paste the results here.
|
||||
```
|
||||
|
||||
**List of activated apps:**
|
||||
|
||||
```
|
||||
If you have access to your command line run e.g.:
|
||||
sudo -u www-data php occ app:list
|
||||
from within your Nextcloud installation folder
|
||||
```
|
||||
|
||||
**Nextcloud configuration:**
|
||||
|
||||
```
|
||||
If you have access to your command line run e.g.:
|
||||
sudo -u www-data php occ config:list system
|
||||
from within your Nextcloud installation folder
|
||||
|
||||
or
|
||||
|
||||
Insert your config.php content here
|
||||
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
|
||||
```
|
||||
|
||||
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Logs</summary>
|
||||
|
||||
#### Nextcloud log (data/nextcloud.log)
|
||||
```
|
||||
Insert your Nextcloud log here
|
||||
```
|
||||
|
||||
#### Browser log
|
||||
```
|
||||
Insert your browser log here, this could for example include:
|
||||
|
||||
a) The javascript console log
|
||||
b) The network log
|
||||
c) ...
|
||||
```
|
||||
|
||||
</details>
|
||||
17
.github/ISSUE_TEMPLATE/Feature_request.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE/Feature_request.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,7 +1,11 @@
|
||||
js/node_modules/*
|
||||
js/vendor/
|
||||
build/
|
||||
js/public/
|
||||
js/build/
|
||||
build/
|
||||
css/style.css
|
||||
css/vendor.css
|
||||
tests/integration/vendor/
|
||||
tests/integration/composer.lock
|
||||
vendor/
|
||||
*.lock
|
||||
|
||||
18
.travis.yml
18
.travis.yml
@@ -1,29 +1,24 @@
|
||||
language: php
|
||||
dist: trusty
|
||||
sudo: required
|
||||
services:
|
||||
- mysql
|
||||
php:
|
||||
- 5.6
|
||||
- 7
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
env:
|
||||
matrix:
|
||||
- CORE_BRANCH=master DB=mysql
|
||||
- CORE_BRANCH=stable12 DB=mysql
|
||||
- CORE_BRANCH=stable11 DB=mysql
|
||||
- CORE_BRANCH=master DB=mysql
|
||||
|
||||
before_install:
|
||||
- wget https://phar.phpunit.de/phpunit-5.7.phar
|
||||
- chmod +x phpunit-5.7.phar
|
||||
- mkdir bin
|
||||
- sudo mv phpunit-5.7.phar bin/phpunit
|
||||
- mv phpunit-5.7.phar bin/phpunit
|
||||
- export PATH="$PWD/bin:$PATH"
|
||||
- phpunit --version
|
||||
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
|
||||
- bash ./before_install.sh deck $CORE_BRANCH $DB
|
||||
- cd ../server
|
||||
- ./occ app:enable deck
|
||||
- php -S localhost:8080 &
|
||||
|
||||
before_script:
|
||||
- cd apps/deck
|
||||
@@ -31,6 +26,9 @@ before_script:
|
||||
script:
|
||||
- make test-unit
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
after_failure:
|
||||
- cat ../../data/nextcloud.log
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ host = https://www.transifex.com
|
||||
lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja
|
||||
|
||||
[nextcloud.deck]
|
||||
file_filter = <lang>/deck.po
|
||||
source_file = templates/deck.pot
|
||||
file_filter = translationfiles/<lang>/deck.po
|
||||
source_file = translationfiles/templates/deck.pot
|
||||
source_lang = en
|
||||
type = PO
|
||||
74
CHANGELOG.md
74
CHANGELOG.md
@@ -1,9 +1,81 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 0.4.0 - unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- Attach files to cards
|
||||
- Embed attachments into the card description
|
||||
- Color picker to use any color value for board and labels
|
||||
- Support for checkboxes inside the description
|
||||
- occ command to export user data as JSON
|
||||
|
||||
### Fixed
|
||||
|
||||
- Improve frontend data management
|
||||
- Fix bug the user list being empty on some occasions
|
||||
|
||||
## 0.3.0 - 2018-01-12
|
||||
|
||||
### Added
|
||||
- Allow to assign users to cards
|
||||
- Emit notifications for overdue cards
|
||||
- Emit notifications if boards gets shared to a user
|
||||
- Add support for Nextcloud 13
|
||||
- Simplify layout for cleaner user experience
|
||||
- Add contacts menu to avatars
|
||||
- Automatically save card description on inactivity
|
||||
|
||||
|
||||
### Fixed
|
||||
- Fix card dragging behaviour
|
||||
- Fix scrolling and dragging on mobile
|
||||
- Various fixes when data is not syncronized between different views
|
||||
- Improved performance
|
||||
- Update document title when renaming a board
|
||||
- Automatically chose the least used color
|
||||
- Improve accessibility
|
||||
- Fix issue when assigning labels after creating them
|
||||
- Allow to save tag changes with enter
|
||||
- Fix bug when removing labels changed the color of the remaining ones
|
||||
- Fix issues with auto saving of card descriptions
|
||||
|
||||
|
||||
## 0.2.8 - 2017-11-26
|
||||
|
||||
### Fixed
|
||||
- Drop support for NC 13, since that will only be supported by the next version of Deck
|
||||
|
||||
## 0.2.7 - 2017-11-10
|
||||
|
||||
### Fixed
|
||||
- Fix bug that caused update to fail
|
||||
|
||||
## 0.2.6 - 2017-11-10
|
||||
|
||||
### Fixed
|
||||
- Fix duedates not being updated with MySQL databases
|
||||
|
||||
## 0.2.5 - 2017-11-08
|
||||
|
||||
### Fixed
|
||||
- Fix duedates not being saved with MySQL databases
|
||||
|
||||
## 0.2.4 - 2017-10-08
|
||||
|
||||
### Fixed
|
||||
- Fix card action menu not being accessible
|
||||
|
||||
## 0.2.3 - 2017-09-23
|
||||
|
||||
### Fixed
|
||||
- Fix delete stack button being not available
|
||||
- Fix acl issues with PostgreSQL
|
||||
|
||||
## 0.2.2 - 2017-09-07
|
||||
|
||||
## Fixed
|
||||
### Fixed
|
||||
- Various frontend fixes
|
||||
- Fix sidebar drag issues
|
||||
- Improvements for IE11
|
||||
|
||||
18
Makefile
18
Makefile
@@ -19,22 +19,20 @@ clean-build:
|
||||
|
||||
clean-dist:
|
||||
rm -rf js/node_modules
|
||||
rm -rf js/vendor
|
||||
|
||||
install-deps:
|
||||
cd js && npm install --deps
|
||||
cd js && ./node_modules/.bin/bower install
|
||||
cd js && npm install
|
||||
|
||||
build: build-js build-css
|
||||
build: build-js
|
||||
|
||||
build-js: install-deps
|
||||
cd js && ./node_modules/.bin/grunt build
|
||||
cd js && npm run build
|
||||
|
||||
build-css: install-deps
|
||||
./js/node_modules/node-sass/bin/node-sass --output-style compressed css/legacy.scss css/style.css
|
||||
build-js-dev: install-deps
|
||||
cd js && npm run dev
|
||||
|
||||
watch:
|
||||
cd js && ./node_modules/.bin/grunt watch
|
||||
cd js && npm run watch
|
||||
|
||||
# appstore: clean install-deps
|
||||
appstore: clean-build build
|
||||
@@ -51,6 +49,7 @@ appstore: clean-build build
|
||||
--exclude="../$(app_name)/js/tests" \
|
||||
--exclude="../$(app_name)/js/test" \
|
||||
--exclude="../$(app_name)/js/*.log" \
|
||||
--exclude="../$(app_name)/js/package-lock.json" \
|
||||
--exclude="../$(app_name)/js/package.json" \
|
||||
--exclude="../$(app_name)/js/bower.json" \
|
||||
--exclude="../$(app_name)/js/karma.*" \
|
||||
@@ -60,7 +59,10 @@ appstore: clean-build build
|
||||
--exclude="../$(app_name)/karma.*" \
|
||||
--exclude="../$(app_name)/protractor\.*" \
|
||||
--exclude="../$(app_name)/.*" \
|
||||
--exclude="../$(app_name)/*.lock" \
|
||||
--exclude="../$(app_name)/run-eslint.sh" \
|
||||
--exclude="../$(app_name)/js/.*" \
|
||||
--exclude="../$(app_name)/vendor" \
|
||||
--exclude-vcs \
|
||||
../$(app_name)
|
||||
|
||||
|
||||
15
README.md
15
README.md
@@ -1,6 +1,6 @@
|
||||
# Deck
|
||||
|
||||
[](https://travis-ci.org/nextcloud/deck) [](https://codecov.io/github/nextcloud/deck) [](https://scrutinizer-ci.com/g/nextcloud/deck/?branch=master) [](https://www.versioneye.com/user/projects/58ad558f4ca76f004ed475b3) [](https://webchat.freenode.net/?channels=nextcloud-deck)
|
||||
[](https://travis-ci.org/nextcloud/deck) [](https://codecov.io/github/nextcloud/deck) [](https://www.codacy.com/app/juliushaertl/deck?utm_source=github.com&utm_medium=referral&utm_content=nextcloud/deck&utm_campaign=Badge_Grade) [](https://scrutinizer-ci.com/g/nextcloud/deck/?branch=master) [](https://www.versioneye.com/user/projects/5af6c4090fb24f0e3a423c40) [](https://webchat.freenode.net/?channels=nextcloud-deck)
|
||||
|
||||
|
||||
Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.
|
||||
@@ -14,17 +14,9 @@ Deck is a kanban style organization tool aimed at personal planning and project
|
||||
|
||||

|
||||
|
||||
### Planned features
|
||||
|
||||
- :file_folder: Attach files directly from your Nextcloud
|
||||
- :earth_africa: Share boards with the public
|
||||
- :calendar: Integration with Nextcloud calendar and other apps
|
||||
- :speech_balloon: Comments integration
|
||||
- :exclamation: Checkout the project milestones for more ...
|
||||
|
||||
## Installation/Update
|
||||
|
||||
This app is supposed to work on Nextcloud version 11 or later.
|
||||
This app is supposed to work on Nextcloud version 12 or later.
|
||||
|
||||
### Install latest release
|
||||
|
||||
@@ -55,8 +47,7 @@ Nothing to prepare, just dig into the code.
|
||||
|
||||
### JavaScript
|
||||
|
||||
When `'debug'=>true` is set in your config.php files will get loaded automatically. Otherwise you need to ensure that `public/app.js` is generated by running `make` or `make watch` to regenerate it on every change.
|
||||
Make sure you have installed the dependencies with ```make install-deps```.
|
||||
Deck requires running a `make build-js` to install npm dependencies and build the JavaScript code using webpack. While developing you can also use `make watch` to rebuild everytime the code changes.
|
||||
|
||||
### Running tests
|
||||
You can use the provided Makefile to run all tests by using:
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
theme: jekyll-theme-cayman
|
||||
site: https://deck-app.com
|
||||
@@ -23,3 +23,4 @@
|
||||
|
||||
$app = new \OCA\Deck\AppInfo\Application();
|
||||
$app->registerNavigationEntry();
|
||||
$app->registerNotifications();
|
||||
@@ -162,6 +162,11 @@
|
||||
<type>timestamp</type>
|
||||
<default>0</default>
|
||||
</field>
|
||||
<field>
|
||||
<name>notified</name>
|
||||
<type>boolean</type>
|
||||
<default>false</default>
|
||||
</field>
|
||||
<index>
|
||||
<name>deck_cards_stack_id_index</name>
|
||||
<field>
|
||||
@@ -193,12 +198,6 @@
|
||||
<autoincrement>1</autoincrement>
|
||||
<length>4</length>
|
||||
</field>
|
||||
<field>
|
||||
<name>title</name>
|
||||
<type>text</type>
|
||||
<notnull>true</notnull>
|
||||
<length>100</length>
|
||||
</field>
|
||||
<field>
|
||||
<name>card_id</name>
|
||||
<type>integer</type>
|
||||
@@ -213,12 +212,12 @@
|
||||
</field>
|
||||
<field>
|
||||
<name>data</name>
|
||||
<type>clob</type>
|
||||
<type>text</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>last_modified</name>
|
||||
<type>integer</type>
|
||||
<default></default>
|
||||
<default/>
|
||||
<length>8</length>
|
||||
<notnull>false</notnull>
|
||||
<unsigned>true</unsigned>
|
||||
@@ -226,7 +225,21 @@
|
||||
<field>
|
||||
<name>created_at</name>
|
||||
<type>integer</type>
|
||||
<default></default>
|
||||
<default/>
|
||||
<length>8</length>
|
||||
<notnull>false</notnull>
|
||||
<unsigned>true</unsigned>
|
||||
</field>
|
||||
<field>
|
||||
<name>created_by</name>
|
||||
<type>text</type>
|
||||
<notnull>true</notnull>
|
||||
<length>64</length>
|
||||
</field>
|
||||
<field>
|
||||
<name>deleted_at</name>
|
||||
<type>integer</type>
|
||||
<default>0</default>
|
||||
<length>8</length>
|
||||
<notnull>false</notnull>
|
||||
<unsigned>true</unsigned>
|
||||
@@ -311,6 +324,44 @@
|
||||
</index>
|
||||
</declaration>
|
||||
</table>
|
||||
<table>
|
||||
<name>*dbprefix*deck_assigned_users</name>
|
||||
<declaration>
|
||||
<field>
|
||||
<name>id</name>
|
||||
<type>integer</type>
|
||||
<default>0</default>
|
||||
<notnull>true</notnull>
|
||||
<autoincrement>1</autoincrement>
|
||||
<length>4</length>
|
||||
</field>
|
||||
<field>
|
||||
<name>participant</name>
|
||||
<type>text</type>
|
||||
<notnull>true</notnull>
|
||||
<length>64</length>
|
||||
</field>
|
||||
<field>
|
||||
<name>card_id</name>
|
||||
<type>integer</type>
|
||||
<default>0</default>
|
||||
<notnull>true</notnull>
|
||||
<length>4</length>
|
||||
</field>
|
||||
<index>
|
||||
<name>deck_assigned_users_idx_p</name>
|
||||
<field>
|
||||
<name>participant</name>
|
||||
</field>
|
||||
</index>
|
||||
<index>
|
||||
<name>deck_assigned_users_idx_c</name>
|
||||
<field>
|
||||
<name>card_id</name>
|
||||
</field>
|
||||
</index>
|
||||
</declaration>
|
||||
</table>
|
||||
<table>
|
||||
<name>*dbprefix*deck_board_acl</name>
|
||||
<declaration>
|
||||
|
||||
@@ -13,28 +13,31 @@
|
||||
- 👥 Share with your team, friends or family
|
||||
- 🚀 Get your project organized
|
||||
|
||||
💥 This is still alpha software: it may not be stable enough for production!
|
||||
|
||||
</description>
|
||||
<version>0.2.2</version>
|
||||
<version>0.4.0-beta5</version>
|
||||
<licence>agpl</licence>
|
||||
<author>Julius Härtl</author>
|
||||
<namespace>Deck</namespace>
|
||||
<category>organization</category>
|
||||
<category>office</category>
|
||||
<website>https://github.com/nextcloud/deck</website>
|
||||
<bugs>https://github.com/nextcloud/deck/issues</bugs>
|
||||
<repository type="git">https://github.com/nextcloud/deck.git</repository>
|
||||
<screenshot>https://download.bitgrid.net/nextcloud/deck/screenshots/Deck_Board.png</screenshot>
|
||||
<screenshot>https://download.bitgrid.net/nextcloud/deck/screenshots/Deck_Details.png</screenshot>
|
||||
<dependencies>
|
||||
<nextcloud min-version="11" max-version="13" />
|
||||
<nextcloud min-version="12" max-version="14" />
|
||||
</dependencies>
|
||||
<background-jobs>
|
||||
<job>OCA\Deck\Cron\DeleteCron</job>
|
||||
<job>OCA\Deck\Cron\ScheduledNotifications</job>
|
||||
</background-jobs>
|
||||
<repair-steps>
|
||||
<post-migration>
|
||||
<step>OCA\Deck\Migration\UnknownUsers</step>
|
||||
</post-migration>
|
||||
</repair-steps>
|
||||
<commands>
|
||||
<command>OCA\Deck\Command\UserExport</command>
|
||||
</commands>
|
||||
</info>
|
||||
|
||||
@@ -56,6 +56,18 @@ return [
|
||||
['name' => 'card#unarchive', 'url' => '/cards/{cardId}/unarchive', 'verb' => 'PUT'],
|
||||
['name' => 'card#assignLabel', 'url' => '/cards/{cardId}/label/{labelId}', 'verb' => 'POST'],
|
||||
['name' => 'card#removeLabel', 'url' => '/cards/{cardId}/label/{labelId}', 'verb' => 'DELETE'],
|
||||
['name' => 'card#assignUser', 'url' => '/cards/{cardId}/assign', 'verb' => 'POST'],
|
||||
['name' => 'card#unassignUser', 'url' => '/cards/{cardId}/assign/{userId}', 'verb' => 'DELETE'],
|
||||
|
||||
['name' => 'attachment#getAll', 'url' => '/cards/{cardId}/attachments', 'verb' => 'GET'],
|
||||
['name' => 'attachment#create', 'url' => '/cards/{cardId}/attachment', 'verb' => 'POST'],
|
||||
['name' => 'attachment#display', 'url' => '/cards/{cardId}/attachment/{attachmentId}', 'verb' => 'GET'],
|
||||
['name' => 'attachment#update', 'url' => '/cards/{cardId}/attachment/{attachmentId}', 'verb' => 'PUT'],
|
||||
// also allow to use POST for updates so we can properly access files when using application/x-www-form-urlencoded
|
||||
['name' => 'attachment#update', 'url' => '/cards/{cardId}/attachment/{attachmentId}', 'verb' => 'POST'],
|
||||
['name' => 'attachment#delete', 'url' => '/cards/{cardId}/attachment/{attachmentId}', 'verb' => 'DELETE'],
|
||||
['name' => 'attachment#restore', 'url' => '/cards/{cardId}/attachment/{attachmentId}/restore', 'verb' => 'GET'],
|
||||
|
||||
|
||||
// labels
|
||||
['name' => 'label#create', 'url' => '/labels', 'verb' => 'POST'],
|
||||
|
||||
16
composer.json
Normal file
16
composer.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "nextcloud/deck",
|
||||
"type": "project",
|
||||
"license": "AGPLv3",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Julius Härtl",
|
||||
"email": "jus@bitgrid.net"
|
||||
}
|
||||
],
|
||||
"require": {},
|
||||
"require-dev": {
|
||||
"christophwurst/nextcloud": "^13.0",
|
||||
"jakub-onderka/php-parallel-lint": "^1.0.0"
|
||||
}
|
||||
}
|
||||
113
css/comp-appnav.scss
Normal file
113
css/comp-appnav.scss
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
|
||||
* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @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/>.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Hotfix for support <NC13 with new app sidebar
|
||||
*/
|
||||
#app-navigation {
|
||||
.app-navigation-entry-menu.open {
|
||||
ul li a {
|
||||
background-position: 10px center;
|
||||
padding: 0 10px 0 36px !important;
|
||||
}
|
||||
}
|
||||
.app-navigation-entry-edit {
|
||||
display: none;
|
||||
}
|
||||
.editing {
|
||||
.app-navigation-entry-edit {
|
||||
display: block;
|
||||
position: absolute;
|
||||
background: $color-main-background;
|
||||
height: auto;
|
||||
z-index: 250;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* copied styles from core/css/styles.scss
|
||||
* to have the same breadcrumb styling in NC12
|
||||
*/
|
||||
.breadcrumb {
|
||||
display: inline-flex;
|
||||
}
|
||||
div.crumb {
|
||||
display: inline-flex;
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
height: 44px;
|
||||
background-size: auto 24px;
|
||||
flex: 0 0 auto;
|
||||
order: 1;
|
||||
padding-right: 7px;
|
||||
&.crumbmenu {
|
||||
order: 2;
|
||||
position: relative;
|
||||
a {
|
||||
opacity: 0.5
|
||||
}
|
||||
}
|
||||
&.hidden {
|
||||
display: none;
|
||||
~ .crumb {
|
||||
order: 3;
|
||||
}
|
||||
}
|
||||
> a,
|
||||
> span {
|
||||
position: relative;
|
||||
padding: 12px;
|
||||
opacity: 0.5;
|
||||
top: 0 !important;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
flex: 0 0 auto;
|
||||
&.icon-home {
|
||||
// Hide home text
|
||||
text-indent: -9999px;
|
||||
}
|
||||
}
|
||||
> a[class^='icon-'] {
|
||||
padding: 0;
|
||||
width: 44px;
|
||||
}
|
||||
&:not(:first-child) a {
|
||||
}
|
||||
&:last-child {
|
||||
font-weight: 600;
|
||||
margin-right: 10px;
|
||||
// Allow multiple span next to the main 'a'
|
||||
a ~ span {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
&:hover, &:focus, a:focus, &:active {
|
||||
> a,
|
||||
> span {
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
}
|
||||
42
css/icons.scss
Normal file
42
css/icons.scss
Normal file
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Custom icons
|
||||
*/
|
||||
.icon-deck {
|
||||
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');
|
||||
}
|
||||
|
||||
.icon-add-white {
|
||||
background-image: url('../img/add-white.svg');
|
||||
}
|
||||
|
||||
.icon-archive {
|
||||
background-image: url('../img/archive.svg');
|
||||
}
|
||||
|
||||
.icon-archive-white {
|
||||
background-image: url('../img/archive-white.svg');
|
||||
}
|
||||
|
||||
.icon-details {
|
||||
background-image: url('../img/details.svg');
|
||||
}
|
||||
|
||||
.icon-details-white {
|
||||
background-image: url('../img/details-white.svg');
|
||||
}
|
||||
|
||||
.icon-home {
|
||||
background-image: url('../../../core/img/places/home.svg');
|
||||
}
|
||||
|
||||
.icon-badge {
|
||||
background-image: url('../../../core/img/places/calendar-dark.svg');
|
||||
}
|
||||
765
css/style.scss
765
css/style.scss
File diff suppressed because it is too large
Load Diff
1
img/color_picker-dark.svg
Normal file
1
img/color_picker-dark.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 100 100"><path d="M91.645 8.355c-4.474-4.474-11.727-4.474-16.2 0l-13.5 13.501-3.727-3.727a5.015 5.015 0 1 0-7.093 7.093l3.727 3.727-41.51 41.508a11.411 11.411 0 0 0-3.329 7.324c-.073 1.087-.347 3.105-.675 5.292a1.748 1.748 0 0 1-.487.983l-3.105 3.106a2.546 2.546 0 0 0 0 3.6l3.493 3.493a2.546 2.546 0 0 0 3.6 0l3.106-3.105c.277-.275.622-.433.981-.486 2.187-.329 4.205-.602 5.293-.675a11.412 11.412 0 0 0 7.325-3.33l41.508-41.508 3.727 3.727a5.015 5.015 0 1 0 7.093-7.093L69.507 29.419l9.697 7.577 12.44-12.441c4.475-4.473 4.474-11.726.001-16.2zM65.051 42.749l-20.53 20.53a2.546 2.546 0 0 1-3.6 0l-3.27-3.27a2.545 2.545 0 0 0-3.599.001l-.616.616-.002-.002-14.728 14.727c-.337.337-.819.401-1.076.143s-.194-.74.143-1.076l23.841-23.841.004.004 15.633-15.633a2.546 2.546 0 0 1 3.6 0l4.2 4.201a2.546 2.546 0 0 1 0 3.6z"/></svg>
|
||||
|
After Width: | Height: | Size: 897 B |
1
img/color_picker.svg
Normal file
1
img/color_picker.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="15" height="15" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M91.645 8.355c-4.474-4.474-11.727-4.474-16.2 0l-13.5 13.501-3.727-3.727a5.015 5.015 0 1 0-7.093 7.093l3.727 3.727-41.51 41.508a11.411 11.411 0 0 0-3.329 7.324c-.073 1.087-.347 3.105-.675 5.292a1.748 1.748 0 0 1-.487.983l-3.105 3.106a2.546 2.546 0 0 0 0 3.6l3.493 3.493a2.546 2.546 0 0 0 3.6 0l3.106-3.105c.277-.275.622-.433.981-.486 2.187-.329 4.205-.602 5.293-.675a11.412 11.412 0 0 0 7.325-3.33l41.508-41.508 3.727 3.727a5.015 5.015 0 1 0 7.093-7.093L69.507 29.419l9.697 7.577 12.44-12.441c4.475-4.473 4.474-11.726.001-16.2zM65.051 42.749l-20.53 20.53a2.546 2.546 0 0 1-3.6 0l-3.27-3.27a2.545 2.545 0 0 0-3.599.001l-.616.616-.002-.002-14.728 14.727c-.337.337-.819.401-1.076.143s-.194-.74.143-1.076l23.841-23.841.004.004 15.633-15.633a2.546 2.546 0 0 1 3.6 0l4.2 4.201a2.546 2.546 0 0 1 0 3.6z" fill="#fff"/></svg>
|
||||
|
After Width: | Height: | Size: 910 B |
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"directory": "vendor"
|
||||
}
|
||||
123
js/Gruntfile.js
123
js/Gruntfile.js
@@ -1,123 +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/>.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
module.exports = function(grunt) {
|
||||
'use strict';
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-wrap');
|
||||
grunt.loadNpmTasks('grunt-karma');
|
||||
grunt.loadNpmTasks('grunt-phpunit');
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
meta: {
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
version: '<%= meta.pkg.version %>',
|
||||
configJS: 'config/',
|
||||
buildJS: [
|
||||
'app/**/*.js',
|
||||
'controller/**/*.js',
|
||||
'filters/**/*.js',
|
||||
'directive/**/*.js',
|
||||
'service/**/*.js'
|
||||
],
|
||||
productionJS: 'public/',
|
||||
testsJS: '../tests/js/'
|
||||
},
|
||||
|
||||
concat: {
|
||||
options: {
|
||||
stripBanners: true
|
||||
},
|
||||
dist: {
|
||||
src: ['<%= meta.buildJS %>'],
|
||||
dest: '<%= meta.productionJS %>app.js'
|
||||
}
|
||||
},
|
||||
|
||||
wrap: {
|
||||
app: {
|
||||
src: ['<%= meta.productionJS %>app.js'],
|
||||
dest: '<%= meta.productionJS %>app.js',
|
||||
option: {
|
||||
wrapper: [
|
||||
'(function(angular, $, oc_requesttoken, undefined){\n\n\'use strict\';\n\n',
|
||||
'\n})(angular, jQuery, oc_requesttoken);'
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
jshint: {
|
||||
files: [
|
||||
'Gruntfile.js',
|
||||
'<%= meta.buildJS %>**/*.js',
|
||||
'<%= meta.testsJS %>**/*.js'
|
||||
],
|
||||
options: {
|
||||
jshintrc: '.jshintrc',
|
||||
reporter: require('jshint-stylish')
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
concat: {
|
||||
files: ['<%=meta.buildJS%>'],
|
||||
options: {
|
||||
livereload: true
|
||||
},
|
||||
tasks: ['build']
|
||||
}
|
||||
},
|
||||
|
||||
phpunit: {
|
||||
classes: {
|
||||
dir: '../tests/unit'
|
||||
},
|
||||
options: {
|
||||
bootstrap: '../tests/bootstrap.php',
|
||||
colors: true
|
||||
}
|
||||
},
|
||||
|
||||
karma: {
|
||||
unit: {
|
||||
configFile: '<%= meta.testsJS %>config/karma.js'
|
||||
},
|
||||
continuous: {
|
||||
configFile: '<%= meta.testsJS %>config/karma.js',
|
||||
browsers: ['Firefox'],
|
||||
singleRun: true,
|
||||
reporters: ['progress']
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
// make tasks available under simpler commands
|
||||
grunt.registerTask('build', ['jshint', 'concat', 'wrap']);
|
||||
grunt.registerTask('js-unit', ['karma:continuous']);
|
||||
|
||||
};
|
||||
@@ -20,6 +20,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/* global angular */
|
||||
|
||||
|
||||
angular.module('markdown', [])
|
||||
.provider('markdown', [function () {
|
||||
var opts = {};
|
||||
@@ -38,13 +41,20 @@ angular.module('markdown', [])
|
||||
};
|
||||
}]);
|
||||
|
||||
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';
|
||||
|
||||
var app = angular.module('Deck', [
|
||||
'ngRoute',
|
||||
'ngSanitize',
|
||||
'ui.router',
|
||||
'ui.select',
|
||||
'as.sortable',
|
||||
'mdMarkdownIt',
|
||||
'ngAnimate'
|
||||
ngsanitize,
|
||||
uirouter,
|
||||
angularuiselect,
|
||||
ngsortable, md, nganimate,
|
||||
'angularFileUpload'
|
||||
]);
|
||||
|
||||
export default app;
|
||||
|
||||
126
js/app/Config.js
126
js/app/Config.js
@@ -20,57 +20,97 @@
|
||||
*
|
||||
*/
|
||||
|
||||
app.config(function ($provide, $routeProvider, $interpolateProvider, $httpProvider, $urlRouterProvider, $stateProvider, $compileProvider, markdownItConverterProvider) {
|
||||
'use strict';
|
||||
$httpProvider.defaults.headers.common.requesttoken = oc_requesttoken;
|
||||
/* global app oc_requesttoken markdownitLinkTarget */
|
||||
|
||||
$compileProvider.debugInfoEnabled(true);
|
||||
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';
|
||||
|
||||
markdownItConverterProvider.config({
|
||||
breaks: true,
|
||||
linkify: true,
|
||||
xhtmlOut: true
|
||||
});
|
||||
markdownItConverterProvider.use(markdownitLinkTarget);
|
||||
app.config(function ($provide, $interpolateProvider, $httpProvider, $urlRouterProvider, $stateProvider, $compileProvider, markdownItConverterProvider) {
|
||||
'use strict';
|
||||
$httpProvider.defaults.headers.common.requesttoken = oc_requesttoken;
|
||||
|
||||
$urlRouterProvider.otherwise('/');
|
||||
|
||||
$stateProvider
|
||||
.state('list', {
|
||||
url: '/:filter',
|
||||
templateUrl: '/boardlist.mainView.html',
|
||||
controller: 'ListController',
|
||||
$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 }
|
||||
}
|
||||
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,
|
||||
views: {
|
||||
'sidebarView': {
|
||||
templateUrl: '/board.sidebarView.html'
|
||||
.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'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('board.card', {
|
||||
url: '/card/:cardId',
|
||||
views: {
|
||||
'sidebarView': {
|
||||
templateUrl: '/card.sidebarView.html',
|
||||
controller: 'CardController'
|
||||
}
|
||||
}
|
||||
});
|
||||
.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;
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
100
js/app/Run.js
100
js/app/Run.js
@@ -19,58 +19,66 @@
|
||||
* 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$) {
|
||||
'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;
|
||||
});
|
||||
$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')
|
||||
);
|
||||
$('link[rel="shortcut icon"]').attr(
|
||||
'href',
|
||||
OC.filePath('deck', 'img', 'app-512.png')
|
||||
);
|
||||
|
||||
$('#app-navigation-toggle').off('click');
|
||||
// App sidebar on mobile
|
||||
var snapper = new Snap({
|
||||
element: document.getElementById('app-content'),
|
||||
disable: 'right',
|
||||
maxPosition: 250,
|
||||
touchToDrag: false
|
||||
});
|
||||
$('#app-navigation-toggle').off('click');
|
||||
// App sidebar on mobile
|
||||
var snapper = new Snap({
|
||||
element: document.getElementById('app-content'),
|
||||
disable: 'right',
|
||||
maxPosition: 250,
|
||||
touchToDrag: false
|
||||
});
|
||||
|
||||
$('#app-navigation-toggle').click(function () {
|
||||
if ($(window).width() > 768) {
|
||||
$('#app-navigation').toggle('hidden');
|
||||
} else {
|
||||
if (snapper.state().state === 'left') {
|
||||
snapper.close();
|
||||
} else {
|
||||
snapper.open('left');
|
||||
}
|
||||
}
|
||||
});
|
||||
// Select all elements with data-toggle="tooltips" in the document
|
||||
$('body').tooltip({
|
||||
selector: '[data-toggle="tooltip"]'
|
||||
});
|
||||
|
||||
$('#app-navigation-toggle').click(function(){
|
||||
if($(window).width() > 768) {
|
||||
$('#app-navigation').toggle('hidden');
|
||||
} else {
|
||||
if(snapper.state().state === 'left'){
|
||||
snapper.close();
|
||||
} else {
|
||||
snapper.open('left');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"name": "deck",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"angular": "~1.6.1",
|
||||
"angular-route": "~1.6.1",
|
||||
"angular-mocks": "~1.6.1",
|
||||
"angular-sanitize": "~1.6.1",
|
||||
"angular-animate": "~1.6.1",
|
||||
"ng-sortable": "1.3.8",
|
||||
"jquery": "3.2.x",
|
||||
"es6-shim": "~0.*",
|
||||
"js-url": "~2.*",
|
||||
"angular-ui-select": "~0.19.6",
|
||||
"angular-markdown-it": "~0.6.1",
|
||||
"angular-ui-router": "~1.0.0",
|
||||
"markdown-it-link-target": "~1.0.1",
|
||||
"jquery-timepicker": "883bb2cd94"
|
||||
},
|
||||
"license": "AGPL-3.0",
|
||||
"private": true,
|
||||
"ignore": [
|
||||
"'**/.*",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests"
|
||||
]
|
||||
}
|
||||
@@ -20,10 +20,14 @@
|
||||
*
|
||||
*/
|
||||
|
||||
app.controller('AppController', function ($scope, $location, $http, $route, $log, $rootScope, $stateParams) {
|
||||
$rootScope.sidebar = {
|
||||
show: false
|
||||
};
|
||||
$scope.sidebar = $rootScope.sidebar;
|
||||
$scope.user = oc_current_user;
|
||||
});
|
||||
import app from '../app/App.js';
|
||||
|
||||
/** global: OC */
|
||||
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);
|
||||
});
|
||||
|
||||
78
js/controller/AttachmentController.js
Normal file
78
js/controller/AttachmentController.js
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* @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 = ``;
|
||||
}
|
||||
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;
|
||||
@@ -20,7 +20,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
app.controller('BoardController', function ($rootScope, $scope, $stateParams, StatusService, BoardService, StackService, CardService, LabelService, $state, $transitions, $filter) {
|
||||
import app from '../app/App.js';
|
||||
/* global oc_defaults OC */
|
||||
app.controller('BoardController', function ($rootScope, $scope, $stateParams, StatusService, BoardService, StackService, CardService, LabelService, $state, $transitions, $filter, FileService) {
|
||||
|
||||
$scope.sidebar = $rootScope.sidebar;
|
||||
|
||||
@@ -29,58 +31,88 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
addCard: [],
|
||||
};
|
||||
$scope.newLabel = {};
|
||||
$scope.status.boardtab = $stateParams.detailTab;
|
||||
|
||||
$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;
|
||||
|
||||
// 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|\_|\-)\]\s(.*)/ig;
|
||||
const regFinished = /\[(X|\_|\-)\]\s(.*)/ig;
|
||||
return [
|
||||
((text || '').match(regFinished) || []).length,
|
||||
((text || '').match(regTotal) || []).length
|
||||
];
|
||||
};
|
||||
|
||||
$scope.search = function (searchText) {
|
||||
$scope.searchText = searchText;
|
||||
$scope.refreshData();
|
||||
};
|
||||
|
||||
$scope.board = BoardService.getCurrent();
|
||||
StackService.clear(); //FIXME: Is this still needed?
|
||||
$scope.setPageTitle = function() {
|
||||
if(BoardService.getCurrent()) {
|
||||
document.title = BoardService.getCurrent().title + " | Deck - " + oc_defaults.name;
|
||||
$scope.$watch(function () {
|
||||
if (typeof BoardService.getCurrent() !== 'undefined') {
|
||||
return BoardService.getCurrent().title;
|
||||
} else {
|
||||
document.title = "Deck - " + oc_defaults.name;
|
||||
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();
|
||||
|
||||
// FIXME: ugly solution for archive
|
||||
$scope.$state = $stateParams;
|
||||
$scope.filter = $stateParams.filter;
|
||||
$scope.$watch('$state.filter', function (name) {
|
||||
$scope.filter = name;
|
||||
});
|
||||
// handle filter parameter for switching between archived/unarchived cards
|
||||
$scope.switchFilter = function (filter) {
|
||||
$state.go('.', {filter: filter}, {notify: false});
|
||||
$scope.filter = filter;
|
||||
$state.go('.', {filter: filter});
|
||||
};
|
||||
$scope.$watch('filter', function (name) {
|
||||
if (name === "archive") {
|
||||
$scope.$watch(function() {
|
||||
return $scope.params.filter;
|
||||
}, function (filter) {
|
||||
if (filter === 'archive') {
|
||||
$scope.loadArchived();
|
||||
} else {
|
||||
$scope.loadDefault();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$scope.stacksData = StackService;
|
||||
$scope.stacks = [];
|
||||
$scope.$watch('stacksData', function (value) {
|
||||
$scope.$watch('stacksData', function () {
|
||||
$scope.refreshData();
|
||||
}, true);
|
||||
$scope.refreshData = function () {
|
||||
if ($scope.filter === "archive") {
|
||||
if ($scope.params.filter === 'archive') {
|
||||
$scope.filterData('-lastModified', $scope.searchText);
|
||||
} else {
|
||||
$scope.filterData('order', $scope.searchText);
|
||||
@@ -92,8 +124,9 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
|
||||
// filter cards here, as ng-sortable will not work nicely with html-inline filters
|
||||
$scope.filterData = function (order, text) {
|
||||
if ($scope.stacks === undefined)
|
||||
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) {
|
||||
@@ -137,7 +170,7 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
// Create a new Stack
|
||||
$scope.createStack = function () {
|
||||
StackService.create($scope.newStack).then(function (data) {
|
||||
$scope.newStack.title = "";
|
||||
$scope.newStack.title = '';
|
||||
});
|
||||
};
|
||||
|
||||
@@ -149,13 +182,19 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
};
|
||||
CardService.create(newCard).then(function (data) {
|
||||
$scope.stackservice.addCard(data);
|
||||
$scope.newCard.title = "";
|
||||
$scope.newCard.title = '';
|
||||
});
|
||||
};
|
||||
|
||||
$scope.cardDelete = function (card) {
|
||||
CardService.delete(card.id);
|
||||
StackService.removeCard(card);
|
||||
OC.dialogs.confirm(t('deck', 'Are you sure you want to delete this card with all of its data?'), t('deck', 'Delete'), function(state) {
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
CardService.delete(card.id).then(function () {
|
||||
StackService.removeCard(card);
|
||||
});
|
||||
});
|
||||
};
|
||||
$scope.cardArchive = function (card) {
|
||||
CardService.archive(card);
|
||||
@@ -175,10 +214,12 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
};
|
||||
$scope.labelCreate = function (label) {
|
||||
label.boardId = $scope.id;
|
||||
LabelService.create(label);
|
||||
BoardService.getCurrent().labels.push(label);
|
||||
$scope.status.createLabel = false;
|
||||
$scope.newLabel = {};
|
||||
LabelService.create(label).then(function (data) {
|
||||
$scope.newStack.title = '';
|
||||
BoardService.getCurrent().labels.push(data);
|
||||
$scope.status.createLabel = false;
|
||||
$scope.newLabel = {};
|
||||
});
|
||||
};
|
||||
$scope.labelUpdate = function (label) {
|
||||
label.edit = false;
|
||||
@@ -191,12 +232,28 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
$scope.status.addSharee = null;
|
||||
};
|
||||
$scope.aclDelete = function (acl) {
|
||||
BoardService.deleteAcl(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';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
};
|
||||
|
||||
// settings for card sorting
|
||||
$scope.sortOptions = {
|
||||
@@ -227,26 +284,26 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
$scope.refreshData();
|
||||
});
|
||||
},
|
||||
scrollableContainer: '#board',
|
||||
scrollableContainer: '#innerBoard',
|
||||
containerPositioning: 'relative',
|
||||
containment: '#board',
|
||||
containment: '#innerBoard',
|
||||
longTouch: true,
|
||||
// auto scroll on drag
|
||||
dragMove: function (itemPosition, containment, eventObj) {
|
||||
if (eventObj) {
|
||||
var container = $("#board");
|
||||
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);
|
||||
container.scrollLeft(container.scrollLeft() - 25);
|
||||
} else if (targetX > container.width()) {
|
||||
container.scrollLeft(container.scrollLeft() + 50);
|
||||
container.scrollLeft(container.scrollLeft() + 25);
|
||||
}
|
||||
if (targetY < offset.top) {
|
||||
container.scrollTop(container.scrollTop() - 50);
|
||||
container.scrollTop(container.scrollTop() - 25);
|
||||
} else if (targetY > container.height()) {
|
||||
container.scrollTop(container.scrollTop() + 50);
|
||||
container.scrollTop(container.scrollTop() + 25);
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -266,11 +323,10 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
},
|
||||
scrollableContainer: '#board',
|
||||
containerPositioning: 'relative',
|
||||
containment: '#board',
|
||||
longTouch: true,
|
||||
containment: '#innerBoard',
|
||||
dragMove: function (itemPosition, containment, eventObj) {
|
||||
if (eventObj) {
|
||||
var container = $("#board");
|
||||
var container = $('#board');
|
||||
var offset = container.offset();
|
||||
var targetX = eventObj.pageX - (offset.left || container.scrollLeft());
|
||||
var targetY = eventObj.pageY - (offset.top || container.scrollTop());
|
||||
@@ -291,4 +347,18 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
}
|
||||
};
|
||||
|
||||
$scope.labelStyle = function (color) {
|
||||
return {
|
||||
'background-color': '#' + color,
|
||||
'color': $filter('textColorFilter')(color)
|
||||
};
|
||||
};
|
||||
|
||||
$scope.attachmentCount = function(card) {
|
||||
if (Array.isArray(card.attachments)) {
|
||||
return card.attachments.filter((obj) => obj.deletedAt === 0).length;
|
||||
}
|
||||
return card.attachmentCount;
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
@@ -20,69 +20,175 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/* global app */
|
||||
/* global moment */
|
||||
/* global app moment angular OC */
|
||||
import app from '../app/App.js';
|
||||
|
||||
app.controller('CardController', function ($scope, $rootScope, $routeParams, $location, $stateParams, BoardService, CardService, StackService, StatusService) {
|
||||
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 = {};
|
||||
$scope.status = {
|
||||
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;
|
||||
{return false;}
|
||||
else {
|
||||
$scope.status.cardRename = true;
|
||||
}
|
||||
};
|
||||
$scope.cardEditDescriptionShow = function ($event) {
|
||||
|
||||
$scope.toggleCheckbox = function (id) {
|
||||
$('#markdown input[type=checkbox]').attr('disabled', true);
|
||||
$scope.status.edit = angular.copy(CardService.getCurrent());
|
||||
var reg = /\[(X|\s|\_|\-)\]\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 = $('.section-header-tabbed .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);
|
||||
return;
|
||||
}
|
||||
if ($event.target.tagName === 'INPUT') {
|
||||
$scope.toggleCheckbox(checkboxId);
|
||||
return;
|
||||
}
|
||||
if (BoardService.isArchived() || CardService.getCurrent().archived) {
|
||||
return false;
|
||||
}
|
||||
var node = $event.target.nodeName;
|
||||
if ($scope.card.archived || !$scope.boardservice.canEdit()) {
|
||||
console.log(node);
|
||||
} else {
|
||||
console.log("edit");
|
||||
$scope.status.cardEditDescription = true;
|
||||
return false;
|
||||
}
|
||||
console.log($scope.status.canEditDescription);
|
||||
$scope.status.cardEditDescription = true;
|
||||
$scope.status.edit = angular.copy(CardService.getCurrent());
|
||||
return true;
|
||||
};
|
||||
$scope.cardEditDescriptionChanged = function ($event) {
|
||||
$scope.status.lastEdit = Date.now();
|
||||
var header = $('.section-header-tabbed .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 = $('.section-header-tabbed .tabDetails');
|
||||
header.find('.save-indicator.unsaved').fadeIn(500);
|
||||
CardService.update($scope.status.edit).then(function (data) {
|
||||
var header = $('.section-header-tabbed .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) {
|
||||
CardService.rename(card).then(function (data) {
|
||||
StackService.updateCard(card);
|
||||
$scope.status.renameCard = false;
|
||||
});
|
||||
};
|
||||
$scope.cardUpdate = function (card) {
|
||||
CardService.update(CardService.getCurrent()).then(function (data) {
|
||||
CardService.update(card).then(function (data) {
|
||||
$scope.status.cardEditDescription = false;
|
||||
$('#card-description').find('.save-indicator').fadeIn(500).fadeOut(1000);
|
||||
$scope.updateMarkdown($scope.status.edit.description);
|
||||
var header = $('.section-header-tabbed .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);
|
||||
var card = CardService.getCurrent();
|
||||
StackService.updateCard(card);
|
||||
CardService.assignLabel($scope.cardId, element.id).then(function (data) {
|
||||
});
|
||||
};
|
||||
|
||||
$scope.labelRemove = function (element, model) {
|
||||
CardService.removeLabel($scope.cardId, element.id)
|
||||
CardService.removeLabel($scope.cardId, element.id).then(function (data) {
|
||||
});
|
||||
};
|
||||
|
||||
$scope.setDuedate = function (duedate) {
|
||||
@@ -96,7 +202,6 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo
|
||||
newDate.year(duedate.year());
|
||||
element.duedate = newDate.toISOString();
|
||||
CardService.update(element);
|
||||
StackService.updateCard(element);
|
||||
};
|
||||
$scope.setDuedateTime = function (time) {
|
||||
var element = CardService.getCurrent();
|
||||
@@ -108,13 +213,49 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo
|
||||
newDate.minute(time.minute());
|
||||
element.duedate = newDate.toISOString();
|
||||
CardService.update(element);
|
||||
StackService.updateCard(element);
|
||||
};
|
||||
|
||||
$scope.resetDuedate = function () {
|
||||
var element = CardService.getCurrent();
|
||||
element.duedate = null;
|
||||
CardService.update(element);
|
||||
StackService.updateCard(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)
|
||||
};
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
44
js/controller/ColorPickerController.js
Normal file
44
js/controller/ColorPickerController.js
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* @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};
|
||||
};
|
||||
}]);
|
||||
@@ -22,7 +22,29 @@
|
||||
|
||||
/* global app angular */
|
||||
|
||||
app.controller('ListController', function ($scope, $location, $filter, BoardService, $element, $timeout, $stateParams, $state) {
|
||||
var ListController = function ($scope, $location, $filter, BoardService, $element, $timeout, $stateParams, $state, StatusService) {
|
||||
|
||||
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 = {
|
||||
@@ -32,44 +54,73 @@ app.controller('ListController', function ($scope, $location, $filter, BoardServ
|
||||
};
|
||||
$scope.colors = ['0082c9', '00c9c6','00c906', 'c92b00', 'F1DB50', '7C31CC', '3A3B3D', 'CACBCD'];
|
||||
$scope.boardservice = BoardService;
|
||||
$scope.newBoard.color = $scope.colors[0];
|
||||
$scope.updatingBoard = null;
|
||||
|
||||
// FIXME: not nice, but we want to load this only once
|
||||
if($element.attr('id') === 'app-navigation') {
|
||||
BoardService.fetchAll().then(function(data) {
|
||||
$scope.filterData();
|
||||
}, function (error) {
|
||||
// TODO: show error when loading fails
|
||||
});
|
||||
}
|
||||
|
||||
$scope.filterData = function () {
|
||||
angular.copy($scope.boardservice.getData(), $scope.boardservice.sorted);
|
||||
angular.copy($scope.boardservice.sorted, $scope.boardservice.sidebar);
|
||||
$scope.boardservice.sidebar = $filter('orderBy')($scope.boardservice.sidebar, 'title');
|
||||
$scope.boardservice.sidebar = $filter('cardFilter')($scope.boardservice.sidebar, {archived: false});
|
||||
|
||||
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);
|
||||
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 = $filter('cardFilter')($scope.boardservice.sorted, {archived: false});
|
||||
$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']);
|
||||
}
|
||||
$scope.boardservice.sorted = $filter('orderBy')($scope.boardservice.sorted, ['deletedAt', 'title']);
|
||||
};
|
||||
|
||||
$scope.$watchCollection(function(){
|
||||
return $state.params;
|
||||
}, function(){
|
||||
$scope.status.filter = $state.params.filter;
|
||||
$scope.filterData();
|
||||
});
|
||||
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;
|
||||
@@ -90,9 +141,9 @@ app.controller('ListController', function ($scope, $location, $filter, BoardServ
|
||||
BoardService.create($scope.newBoard)
|
||||
.then(function (response) {
|
||||
$scope.newBoard = {};
|
||||
$scope.newBoard.color = $scope.colors[0];
|
||||
$scope.newBoard.color = calculateNewColor();
|
||||
$scope.status.addBoard=false;
|
||||
$scope.filterData();
|
||||
filterData();
|
||||
}, function(error) {
|
||||
$scope.status.createBoard = 'Unable to insert board: ' + error.message;
|
||||
});
|
||||
@@ -100,47 +151,48 @@ app.controller('ListController', function ($scope, $location, $filter, BoardServ
|
||||
|
||||
$scope.boardUpdate = function(board) {
|
||||
BoardService.update(board).then(function(data) {
|
||||
$scope.filterData();
|
||||
board.status.edit = false;
|
||||
filterData();
|
||||
});
|
||||
};
|
||||
|
||||
$scope.boardUpdateBegin = function(board) {
|
||||
$scope.updatingBoard = board;
|
||||
$scope.updatingBoard = angular.copy(board);
|
||||
};
|
||||
|
||||
$scope.boardUpdateReset = function(board) {
|
||||
board.title = $scope.updatingBoard.title;
|
||||
board.color = $scope.updatingBoard.color;
|
||||
$scope.filterData();
|
||||
filterData();
|
||||
board.status.edit = false;
|
||||
};
|
||||
|
||||
$scope.boardArchive = function (board) {
|
||||
board.archived = true;
|
||||
BoardService.update(board).then(function(data) {
|
||||
$scope.filterData();
|
||||
filterData();
|
||||
});
|
||||
};
|
||||
|
||||
$scope.boardUnarchive = function (board) {
|
||||
board.archived = false;
|
||||
BoardService.update(board).then(function(data) {
|
||||
$scope.filterData();
|
||||
filterData();
|
||||
});
|
||||
};
|
||||
|
||||
$scope.boardDelete = function(board) {
|
||||
BoardService.delete(board.id).then(function (data) {
|
||||
$scope.filterData();
|
||||
filterData();
|
||||
});
|
||||
};
|
||||
|
||||
$scope.boardDeleteUndo = function (board) {
|
||||
BoardService.deleteUndo(board.id).then(function (data) {
|
||||
$scope.filterData();
|
||||
filterData();
|
||||
});
|
||||
};
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
export default ListController;
|
||||
|
||||
@@ -19,31 +19,30 @@
|
||||
* 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) {
|
||||
$('.popovermenu').addClass('hidden');
|
||||
menu.toggleClass('hidden');
|
||||
if(!menu.hasClass('hidden')) {
|
||||
button.css('display','block');
|
||||
} else {
|
||||
button.css('display','');
|
||||
}
|
||||
'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');
|
||||
}
|
||||
button.css('display','');
|
||||
});
|
||||
}
|
||||
};
|
||||
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');
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
@@ -20,27 +20,28 @@
|
||||
*
|
||||
*/
|
||||
|
||||
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) {
|
||||
'use strict';
|
||||
return {
|
||||
restrict: 'C',
|
||||
link: function (scope, elm) {
|
||||
|
||||
var menu = elm.siblings('.app-navigation-entry-menu');
|
||||
var button = $(elm)
|
||||
.find('.app-navigation-entry-utils-menu-button button');
|
||||
var menu = elm.siblings('.app-navigation-entry-menu');
|
||||
var button = $(elm)
|
||||
.find('.app-navigation-entry-utils-menu-button button');
|
||||
|
||||
button.click(function () {
|
||||
menu.toggleClass('open');
|
||||
});
|
||||
scope.$on('documentClicked', function (scope, event) {
|
||||
if (event.target !== button[0]) {
|
||||
menu.removeClass('open');
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
button.click(function () {
|
||||
menu.toggleClass('open');
|
||||
});
|
||||
scope.$on('documentClicked', function (scope, event) {
|
||||
if (event.target !== button[0]) {
|
||||
menu.removeClass('open');
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -19,10 +19,11 @@
|
||||
* 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();
|
||||
};
|
||||
'use strict';
|
||||
return function (scope, elm) {
|
||||
elm.focus();
|
||||
};
|
||||
});
|
||||
@@ -19,18 +19,33 @@
|
||||
* 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: 'A',
|
||||
scope: true,
|
||||
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){
|
||||
attr.$observe('displayname', function(value){
|
||||
if(value!==undefined) {
|
||||
$(element).avatar(value, 32);
|
||||
}
|
||||
});
|
||||
}
|
||||
scope.uid = attr.displayname;
|
||||
scope.displayname = attr.displayname;
|
||||
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, 32, false, false, false, attr.displayname);
|
||||
},
|
||||
controller: function () {}
|
||||
};
|
||||
});
|
||||
42
js/directive/contactsmenudelete.js
Normal file
42
js/directive/contactsmenudelete.js
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* @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);
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -19,6 +19,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import app from '../app/App.js';
|
||||
|
||||
/* global app */
|
||||
/* gloabl t */
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
* 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', [
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
* 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';
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
* 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 */
|
||||
@@ -29,7 +32,7 @@ app.directive('timepicker', function() {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function(scope, elm, attr) {
|
||||
return elm.timepicker({
|
||||
return $(elm).timepicker({
|
||||
onSelect: function(date, inst) {
|
||||
scope.setDuedateTime(moment('2000-01-01 ' + date));
|
||||
scope.$apply();
|
||||
|
||||
@@ -19,9 +19,10 @@
|
||||
* 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) {
|
||||
return function(boards) {
|
||||
var _result = [];
|
||||
angular.forEach(boards, function(board){
|
||||
if(board.acl !== null && Object.keys(board.acl).length > 0) {
|
||||
@@ -29,5 +30,5 @@ app.filter('boardFilterAcl', function() {
|
||||
}
|
||||
});
|
||||
return _result;
|
||||
};
|
||||
};
|
||||
});
|
||||
37
js/filters/bytesFilter.js
Normal file
37
js/filters/bytesFilter.js
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* @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.filter('bytes', function () {
|
||||
return function (bytes, precision) {
|
||||
if (isNaN(parseFloat(bytes, 10)) || !isFinite(bytes)) {
|
||||
return '-';
|
||||
}
|
||||
if (typeof precision === 'undefined') {
|
||||
precision = 2;
|
||||
}
|
||||
var units = ['bytes', 'KB', 'MB', 'GB', 'TB', 'PB'],
|
||||
number = Math.floor(Math.log(bytes) / Math.log(1024));
|
||||
return (bytes / Math.pow(1024, Math.floor(number))).toFixed(precision) + ' ' + units[number];
|
||||
};
|
||||
});
|
||||
@@ -19,11 +19,12 @@
|
||||
* 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) {
|
||||
return function(cards, rules) {
|
||||
var _result = [];
|
||||
angular.forEach(cards, function(card){
|
||||
var _card = card;
|
||||
@@ -35,5 +36,5 @@ app.filter('cardFilter', function() {
|
||||
});
|
||||
});
|
||||
return _result;
|
||||
};
|
||||
};
|
||||
});
|
||||
@@ -19,6 +19,7 @@
|
||||
* 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) {
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import app from '../app/App.js';
|
||||
|
||||
/* global app */
|
||||
/* global OC */
|
||||
@@ -27,19 +28,19 @@
|
||||
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() {
|
||||
@@ -48,7 +49,7 @@ app.filter('parseDate', function() {
|
||||
return moment(date).format('YYYY-MM-DD');
|
||||
}
|
||||
return '';
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
app.filter('parseTime', function() {
|
||||
@@ -57,5 +58,5 @@ app.filter('parseTime', function() {
|
||||
return moment(date).format('HH:mm');
|
||||
}
|
||||
return '';
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -19,8 +19,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import app from '../app/App.js';
|
||||
|
||||
app.filter('iconWhiteFilter', function() {
|
||||
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
|
||||
@@ -30,36 +31,37 @@ app.filter('iconWhiteFilter', function() {
|
||||
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;
|
||||
}
|
||||
// TODO: Maybe just darken/lighten the color
|
||||
if(l<0.5) {
|
||||
return "-white";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
//var rgba = "rgba(" + color.r + "," + color.g + "," + color.b + ",0.7)";
|
||||
//return rgba;
|
||||
} else {
|
||||
return "";
|
||||
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 '';
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
* 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) {
|
||||
@@ -29,9 +30,9 @@ app.filter('lightenColorFilter', function() {
|
||||
b: parseInt(result[3], 16)
|
||||
} : null;
|
||||
if (result !== null) {
|
||||
return "rgba(" + color.r + "," + color.g + "," + color.b + ",0.7)";
|
||||
return 'rgba(' + color.r + ',' + color.g + ',' + color.b + ',0.7)';
|
||||
} else {
|
||||
return "#" + hex;
|
||||
return '#' + hex;
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
@@ -19,13 +19,18 @@
|
||||
* 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;
|
||||
if (!angular.isObject(input)) {
|
||||
return input;
|
||||
}
|
||||
var array = [];
|
||||
for(var objectKey in input) {
|
||||
array.push(input[objectKey]);
|
||||
if ({}.hasOwnProperty.call(input, objectKey)) {
|
||||
array.push(input[objectKey]);
|
||||
}
|
||||
}
|
||||
|
||||
array.sort(function(a, b){
|
||||
@@ -34,5 +39,5 @@ app.filter('orderObjectBy', function(){
|
||||
return a < b;
|
||||
});
|
||||
return array;
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -19,8 +19,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import app from '../app/App.js';
|
||||
|
||||
app.filter('textColorFilter', function() {
|
||||
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
|
||||
@@ -30,33 +31,39 @@ app.filter('textColorFilter', function() {
|
||||
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;
|
||||
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){
|
||||
if (max === min) {
|
||||
h = s = 0; // achromatic
|
||||
}else{
|
||||
} 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;
|
||||
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";
|
||||
if (l < 0.5) {
|
||||
return '#ffffff';
|
||||
} else {
|
||||
return "#000000";
|
||||
return '#000000';
|
||||
}
|
||||
} else {
|
||||
return "#000000";
|
||||
return '#000000';
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
46
js/filters/withoutAssignedUsers.js
Normal file
46
js/filters/withoutAssignedUsers.js
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* @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;
|
||||
};
|
||||
});
|
||||
28
js/init.js
Normal file
28
js/init.js
Normal file
@@ -0,0 +1,28 @@
|
||||
'use strict';
|
||||
|
||||
// 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';
|
||||
|
||||
app.controller('ListController', ListController);
|
||||
app.component('attachmentListComponent', attachmentListComponent);
|
||||
|
||||
|
||||
// require all the js files from subdirectories
|
||||
var context = require.context('.', true, /(controller|service|filters|directive)\/(.*)\.js$/);
|
||||
|
||||
context.keys().forEach(function (key) {
|
||||
context(key);
|
||||
});
|
||||
|
||||
57
js/legacy/jquery.ui.timepicker.css
vendored
Normal file
57
js/legacy/jquery.ui.timepicker.css
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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
js/legacy/jquery.ui.timepicker.js
vendored
Normal file
1496
js/legacy/jquery.ui.timepicker.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
114
js/legacy/markdown-it-checkbox.js
Normal file
114
js/legacy/markdown-it-checkbox.js
Normal file
@@ -0,0 +1,114 @@
|
||||
/**
|
||||
* 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|\_|\-)\]\s(.*)/i;
|
||||
createTokens = function(checked, label, Token) {
|
||||
var id, idNumeric, nodes, token;
|
||||
nodes = [];
|
||||
|
||||
/**
|
||||
* <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"]);
|
||||
}
|
||||
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;
|
||||
text = original.content;
|
||||
matches = text.match(pattern);
|
||||
if (matches === null) {
|
||||
return original;
|
||||
}
|
||||
checked = false;
|
||||
value = matches[1];
|
||||
label = matches[2];
|
||||
if (value === "X" || value === "x") {
|
||||
checked = true;
|
||||
}
|
||||
return createTokens(checked, label, Token);
|
||||
};
|
||||
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 = tokens.length - 1;
|
||||
while (i >= 0) {
|
||||
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));
|
||||
};
|
||||
9749
js/package-lock.json
generated
Normal file
9749
js/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,29 +1,44 @@
|
||||
{
|
||||
"name": "deck",
|
||||
"description": "Frontend for the Nextcloud Deck app",
|
||||
"repository": "https://github.com/nextcloud/deck",
|
||||
"version": "1.0.0",
|
||||
"main": "Gruntfile.js",
|
||||
"directories": {
|
||||
"test": "tests"
|
||||
},
|
||||
"dependencies": {},
|
||||
"dependencies": {
|
||||
"@uirouter/angularjs": "^1.0.18",
|
||||
"angular": "^1.7.2",
|
||||
"angular-animate": "^1.7.2",
|
||||
"angular-file-upload": "^2.5.0",
|
||||
"angular-markdown-it": "^0.6.1",
|
||||
"angular-sanitize": "^1.7.2",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"markdown-it": "^8.4.1",
|
||||
"markdown-it-link-target": "^1.0.2",
|
||||
"ng-sortable": "^1.3.8",
|
||||
"ui-select": "^0.19.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bower": "^1.8.0",
|
||||
"grunt": "^1.0.1",
|
||||
"grunt-contrib-concat": "^1.0.1",
|
||||
"grunt-contrib-jshint": "^1.1.0",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
"grunt-karma": "^2.0.0",
|
||||
"grunt-phpunit": "^0.3.6",
|
||||
"grunt-wrap": "^0.3.0",
|
||||
"jshint-stylish": "^2.2.1",
|
||||
"karma": "^1.4.1",
|
||||
"node-sass": "^4.5.3"
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"css-loader": "^0.28.9",
|
||||
"karma": "^2.0.4",
|
||||
"mini-css-extract-plugin": "^0.4.1",
|
||||
"node-sass": "^4.5.3",
|
||||
"webpack": "^4.14.0",
|
||||
"webpack-cli": "^3.0.8",
|
||||
"webpack-merge": "^4.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "./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": [],
|
||||
"description": ""
|
||||
"keywords": []
|
||||
}
|
||||
|
||||
@@ -19,153 +19,160 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import app from '../app/App.js';
|
||||
|
||||
app.factory('ApiService', function($http, $q){
|
||||
var ApiService = function(http, endpoint) {
|
||||
this.endpoint = endpoint;
|
||||
this.baseUrl = OC.generateUrl('/apps/deck/' + endpoint);
|
||||
this.http = http;
|
||||
this.q = $q;
|
||||
this.data = {};
|
||||
this.id = null;
|
||||
this.sorted = [];
|
||||
};
|
||||
/** global: oc_defaults */
|
||||
app.factory('ApiService', function ($http, $q) {
|
||||
var ApiService = function (http, endpoint) {
|
||||
this.endpoint = endpoint;
|
||||
this.baseUrl = OC.generateUrl('/apps/deck/' + endpoint);
|
||||
this.http = http;
|
||||
this.q = $q;
|
||||
this.data = {};
|
||||
this.id = null;
|
||||
this.sorted = [];
|
||||
};
|
||||
|
||||
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.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.fetchOne = function (id) {
|
||||
ApiService.prototype.fetchOne = function (id) {
|
||||
|
||||
this.id = id;
|
||||
var deferred = $q.defer();
|
||||
this.id = id;
|
||||
var deferred = $q.defer();
|
||||
|
||||
if(id===undefined) {
|
||||
return deferred.promise;
|
||||
}
|
||||
if (id === undefined) {
|
||||
return deferred.promise;
|
||||
}
|
||||
|
||||
var self = this;
|
||||
$http.get(this.baseUrl + '/' + id).then(function (response) {
|
||||
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);
|
||||
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;
|
||||
};
|
||||
}, 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('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('Fetching' + self.endpoint + ' failed');
|
||||
});
|
||||
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('Updating ' + self.endpoint + ' failed');
|
||||
});
|
||||
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('Updating ' + self.endpoint + ' failed');
|
||||
});
|
||||
return deferred.promise;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
ApiService.prototype.delete = function (id) {
|
||||
var deferred = $q.defer();
|
||||
var self = this;
|
||||
ApiService.prototype.delete = function (id) {
|
||||
var deferred = $q.defer();
|
||||
var self = this;
|
||||
|
||||
$http.delete(this.baseUrl + '/' + id).then(function (response) {
|
||||
self.remove(id);
|
||||
deferred.resolve(response.data);
|
||||
$http.delete(this.baseUrl + '/' + id).then(function (response) {
|
||||
self.remove(id);
|
||||
deferred.resolve(response.data);
|
||||
|
||||
}, function (error) {
|
||||
deferred.reject('Deleting ' + self.endpoint + ' failed');
|
||||
});
|
||||
return deferred.promise;
|
||||
}, function (error) {
|
||||
deferred.reject('Deleting ' + self.endpoint + ' failed');
|
||||
});
|
||||
return deferred.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) {
|
||||
element[key] = entity[key];
|
||||
});
|
||||
element.status = {};
|
||||
}
|
||||
};
|
||||
ApiService.prototype.remove = function(id) {
|
||||
if (this.data[id] !== undefined) {
|
||||
delete this.data[id];
|
||||
}
|
||||
};
|
||||
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];
|
||||
};
|
||||
// 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.remove = function (id) {
|
||||
if (this.data[id] !== undefined) {
|
||||
delete this.data[id];
|
||||
}
|
||||
};
|
||||
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.getData = function() {
|
||||
return $.map(this.data, function(value, index) {
|
||||
return [value];
|
||||
});
|
||||
};
|
||||
ApiService.prototype.getAll = function () {
|
||||
return this.data;
|
||||
};
|
||||
|
||||
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] : "";
|
||||
};
|
||||
ApiService.prototype.getName = function () {
|
||||
var funcNameRegex = /function (.{1,})\(/;
|
||||
var results = (funcNameRegex).exec((this).constructor.toString());
|
||||
return (results && results.length > 1) ? results[1] : '';
|
||||
};
|
||||
|
||||
return ApiService;
|
||||
return ApiService;
|
||||
|
||||
});
|
||||
|
||||
@@ -19,12 +19,13 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
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);
|
||||
import app from '../app/App.js';
|
||||
/* global app OC */
|
||||
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();
|
||||
@@ -45,7 +46,6 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
var _id = id;
|
||||
$http.post(this.baseUrl + '/' + id + '/deleteUndo').then(function (response) {
|
||||
self.data[_id].deletedAt = 0;
|
||||
console.log(self.data[_id]);
|
||||
deferred.resolve(response.data);
|
||||
}, function (error) {
|
||||
deferred.reject('Deleting ' + self.endpoint + ' failed');
|
||||
@@ -77,12 +77,12 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
}
|
||||
self.sharees = [];
|
||||
|
||||
var users = response.ocs.data.exact.users.concat(response.ocs.data.users);
|
||||
var groups = response.ocs.data.exact.groups.concat(response.ocs.data.groups);
|
||||
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));
|
||||
|
||||
// filter out everyone who is already in the share list
|
||||
angular.forEach(users, function (item) {
|
||||
var acl = self.generateAcl('user', 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) {
|
||||
@@ -94,7 +94,7 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
}
|
||||
});
|
||||
angular.forEach(groups, function (item) {
|
||||
var acl = self.generateAcl('group', 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) {
|
||||
@@ -114,7 +114,7 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
return deferred.promise;
|
||||
};
|
||||
|
||||
BoardService.prototype.generateAcl = function(type, ocsItem) {
|
||||
BoardService.prototype.generateAcl = function (type, ocsItem) {
|
||||
return {
|
||||
boardId: null,
|
||||
id: null,
|
||||
@@ -128,7 +128,7 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
permissionManage: true,
|
||||
permissionShare: true,
|
||||
type: type
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
BoardService.prototype.addAcl = function (acl) {
|
||||
@@ -141,6 +141,11 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
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);
|
||||
@@ -149,74 +154,104 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
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) {
|
||||
delete board.acl[response.data.id];
|
||||
deferred.resolve(response.data);
|
||||
}, function (error) {
|
||||
deferred.reject('Error deleting ACL ' + acl.id);
|
||||
});
|
||||
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) {
|
||||
delete board.acl[response.data.id];
|
||||
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) {
|
||||
board.acl[_acl.id] = response.data;
|
||||
deferred.resolve(response.data);
|
||||
}, function (error) {
|
||||
deferred.reject('Error updating ACL ' + _acl);
|
||||
});
|
||||
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) {
|
||||
board.acl[_acl.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 updating ACL ' + _acl);
|
||||
});
|
||||
acl = null;
|
||||
return deferred.promise;
|
||||
};
|
||||
|
||||
BoardService.prototype.canRead = function() {
|
||||
if(!this.getCurrent() || !this.getCurrent().permissions) {
|
||||
return false;
|
||||
}
|
||||
return this.getCurrent().permissions['PERMISSION_READ'];
|
||||
};
|
||||
BoardService.prototype._updateUsers = function () {
|
||||
if (!this.getCurrent() || !this.getCurrent().acl) {
|
||||
return [];
|
||||
}
|
||||
|
||||
BoardService.prototype.canEdit = function() {
|
||||
if(!this.getCurrent() || !this.getCurrent().permissions) {
|
||||
return false;
|
||||
}
|
||||
return this.getCurrent().permissions['PERMISSION_EDIT'];
|
||||
};
|
||||
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.canManage = function(board) {
|
||||
if(board !== null && board !== undefined) {
|
||||
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'];
|
||||
};
|
||||
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.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) {
|
||||
BoardService.prototype.isArchived = function () {
|
||||
if (!this.getCurrent() || this.getCurrent().archived) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
service = new BoardService($http, 'boards', $q);
|
||||
return service;
|
||||
|
||||
});
|
||||
return new BoardService($http, 'boards', $q);
|
||||
|
||||
});
|
||||
|
||||
@@ -19,83 +19,159 @@
|
||||
* 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);
|
||||
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.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.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.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.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.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.getCurrent().assignedUsers === null) {
|
||||
self.getCurrent().assignedUsers = [];
|
||||
}
|
||||
$http.post(this.baseUrl + '/' + card.id + '/assign', {'userId': user}).then(function (response) {
|
||||
self.getCurrent().assignedUsers.push(response.data);
|
||||
deferred.resolve(response.data);
|
||||
}, function (error) {
|
||||
deferred.reject('Error while update ' + self.endpoint);
|
||||
});
|
||||
return deferred.promise;
|
||||
|
||||
service = new CardService($http, 'cards', $q);
|
||||
return service;
|
||||
};
|
||||
|
||||
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.getCurrent().assignedUsers = self.getCurrent().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
js/service/FileService.js
Normal file
137
js/service/FileService.js
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* @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(
|
||||
`A file with the name ${fileItem.file.name} already exists. Do you want to overwrite it?`,
|
||||
'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);
|
||||
@@ -19,12 +19,12 @@
|
||||
* 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);
|
||||
service = new LabelService($http, 'labels', $q);
|
||||
return service;
|
||||
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);
|
||||
});
|
||||
@@ -19,49 +19,63 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import app from '../app/App.js';
|
||||
|
||||
app.factory('StackService', function(ApiService, $http, $q){
|
||||
var StackService = function($http, ep, $q) {
|
||||
ApiService.call(this, $http, ep, $q);
|
||||
};
|
||||
StackService.prototype = angular.copy(ApiService.prototype);
|
||||
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);
|
||||
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);
|
||||
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) {
|
||||
/* 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.fetchAll = function (boardId) {
|
||||
var deferred = $q.defer();
|
||||
var self = this;
|
||||
$http.put(this.baseUrl + '/' + stack.id + '/reorder', {stackId: stack.id, order: order}).then(function (response) {
|
||||
$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;
|
||||
@@ -73,49 +87,69 @@ app.factory('StackService', function(ApiService, $http, $q){
|
||||
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.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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
service = new StackService($http, 'stacks', $q);
|
||||
return service;
|
||||
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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// FIXME: Should not show popup but proper undo mechanism
|
||||
StackService.prototype.delete = function (id) {
|
||||
var deferred = $q.defer();
|
||||
var self = this;
|
||||
|
||||
OC.dialogs.confirm(t('deck', 'Are you sure you want to delete the stack with all of its data?'), t('deck', 'Delete'), function(state) {
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
$http.delete(self.baseUrl + '/' + id).then(function (response) {
|
||||
self.remove(id);
|
||||
deferred.resolve(response.data);
|
||||
|
||||
}, function (error) {
|
||||
deferred.reject('Deleting ' + self.endpoint + ' failed');
|
||||
});
|
||||
});
|
||||
return deferred.promise;
|
||||
};
|
||||
|
||||
var service = new StackService($http, 'stacks', $q);
|
||||
return service;
|
||||
});
|
||||
|
||||
|
||||
@@ -19,59 +19,63 @@
|
||||
* 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;
|
||||
};
|
||||
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.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.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.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.retainWaiting = function () {
|
||||
this.active = true;
|
||||
this.icon = 'loading';
|
||||
this.title = '';
|
||||
this.text = '';
|
||||
this.counter++;
|
||||
};
|
||||
|
||||
StatusService.prototype.unsetStatus = function() {
|
||||
this.active = false;
|
||||
};
|
||||
StatusService.prototype.unsetStatus = function () {
|
||||
this.active = false;
|
||||
};
|
||||
|
||||
return {
|
||||
getInstance: function() {
|
||||
return new StatusService();
|
||||
}
|
||||
}
|
||||
return {
|
||||
getInstance: function () {
|
||||
return new StatusService();
|
||||
},
|
||||
/* Shared StatusService instance between both ListController instances */
|
||||
listStatus: new StatusService()
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
|
||||
68
js/webpack.config.js
Normal file
68
js/webpack.config.js
Normal file
@@ -0,0 +1,68 @@
|
||||
const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
|
||||
require('babel-polyfill');
|
||||
|
||||
module.exports = {
|
||||
node: {
|
||||
fs: 'empty',
|
||||
},
|
||||
entry: {
|
||||
deck: ['babel-polyfill', './init.js'],
|
||||
},
|
||||
output: {
|
||||
filename: '[name].js',
|
||||
path: __dirname + '/build'
|
||||
},
|
||||
resolve: {
|
||||
modules: [path.resolve(__dirname), 'node_modules'],
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel-loader',
|
||||
query: {
|
||||
presets: ['env'],
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: [
|
||||
MiniCssExtractPlugin.loader,
|
||||
'css-loader'
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
/* separate vendor chunk for node_modules and legacy scripts */
|
||||
commons: {
|
||||
test: /[\\/]node_modules[\\/]/,
|
||||
name: 'vendor',
|
||||
chunks: 'all'
|
||||
},
|
||||
legacy: {
|
||||
test: /[\\/]legacy[\\/]/,
|
||||
name: 'vendor',
|
||||
chunks: 'all'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
/* use external jQuery from server */
|
||||
externals: {
|
||||
'jquery': 'jQuery'
|
||||
},
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin('[name].css'),
|
||||
new webpack.ProvidePlugin({
|
||||
$: 'jquery',
|
||||
jQuery: 'jquery'
|
||||
})
|
||||
]
|
||||
};
|
||||
6
js/webpack.dev.config.js
Normal file
6
js/webpack.dev.config.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const merge = require('webpack-merge');
|
||||
const baseConfig = require('./webpack.config.js');
|
||||
|
||||
module.exports = merge(baseConfig, {
|
||||
mode: 'development'
|
||||
});
|
||||
15
js/webpack.prod.config.js
Normal file
15
js/webpack.prod.config.js
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
})
|
||||
]
|
||||
}});
|
||||
37
krankerl.toml
Normal file
37
krankerl.toml
Normal file
@@ -0,0 +1,37 @@
|
||||
[package]
|
||||
exclude = [
|
||||
"build/",
|
||||
".git",
|
||||
"js/node_modules",
|
||||
"js/tests",
|
||||
"js/legacy",
|
||||
"js/controller",
|
||||
"js/directive",
|
||||
"js/filters",
|
||||
"js/service",
|
||||
"js/bower.json",
|
||||
"js/.bowerrc",
|
||||
"js/.jshintrc",
|
||||
"js/Gruntfile.js",
|
||||
"js/package.json",
|
||||
"js/package-lock.json",
|
||||
"tests",
|
||||
".codecov.yml",
|
||||
"composer.json",
|
||||
"composer.lock",
|
||||
"_config.yml",
|
||||
".drone.yml",
|
||||
".travis.yml",
|
||||
".eslintignore",
|
||||
".eslintrc.yml",
|
||||
".gitignore",
|
||||
"issue_template.md",
|
||||
"krankerl.toml",
|
||||
"Makefile",
|
||||
"run-eslint.sh"
|
||||
]
|
||||
|
||||
before_cmds = [
|
||||
'make clean-build',
|
||||
'make build'
|
||||
]
|
||||
0
l10n/.gitkeep
Normal file
0
l10n/.gitkeep
Normal file
@@ -1,17 +1,20 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Delete" : "Desaniciar",
|
||||
"Hours" : "Hores",
|
||||
"Minutes" : "Minutos",
|
||||
"Finished" : "Finó",
|
||||
"Action needed" : "Precísase aición",
|
||||
"Later" : "Más sero",
|
||||
"Deck" : "Deck",
|
||||
"Submit" : "Unviar",
|
||||
"Show archived cards" : "Amosar tarxetes archivaes",
|
||||
"Delete" : "Desaniciar",
|
||||
"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",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Xestionar",
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
{ "translations": {
|
||||
"Delete" : "Desaniciar",
|
||||
"Hours" : "Hores",
|
||||
"Minutes" : "Minutos",
|
||||
"Finished" : "Finó",
|
||||
"Action needed" : "Precísase aición",
|
||||
"Later" : "Más sero",
|
||||
"Deck" : "Deck",
|
||||
"Submit" : "Unviar",
|
||||
"Show archived cards" : "Amosar tarxetes archivaes",
|
||||
"Delete" : "Desaniciar",
|
||||
"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",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Xestionar",
|
||||
|
||||
25
l10n/bg.js
25
l10n/bg.js
@@ -1,25 +0,0 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Finished" : "Завършен",
|
||||
"To review" : "За преглед",
|
||||
"Action needed" : "Необходимо е действие",
|
||||
"Later" : "По-късно",
|
||||
"Archive" : "Архивиране",
|
||||
"Unarchive" : "Разархивиране",
|
||||
"Delete" : "Изтриване",
|
||||
"Sharing" : "Споделяне",
|
||||
"Select users or groups to share with" : "Избор на потребители и групи за споделяне",
|
||||
"No matching user or group found." : "Не са намерени съвпадащи потребители или групи",
|
||||
"Share" : "Сподели",
|
||||
"Edit" : "Редакция",
|
||||
"Manage" : "Управление",
|
||||
"Discard share" : "Отхвърляне на споделяне",
|
||||
"Members" : "Членове",
|
||||
"Modified:" : "Променен на:",
|
||||
"Created:" : "Създаден на:",
|
||||
"by" : "от",
|
||||
"Saved" : "Запазено",
|
||||
"Shared with you" : "Споделено с Вас"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
23
l10n/bg.json
23
l10n/bg.json
@@ -1,23 +0,0 @@
|
||||
{ "translations": {
|
||||
"Finished" : "Завършен",
|
||||
"To review" : "За преглед",
|
||||
"Action needed" : "Необходимо е действие",
|
||||
"Later" : "По-късно",
|
||||
"Archive" : "Архивиране",
|
||||
"Unarchive" : "Разархивиране",
|
||||
"Delete" : "Изтриване",
|
||||
"Sharing" : "Споделяне",
|
||||
"Select users or groups to share with" : "Избор на потребители и групи за споделяне",
|
||||
"No matching user or group found." : "Не са намерени съвпадащи потребители или групи",
|
||||
"Share" : "Сподели",
|
||||
"Edit" : "Редакция",
|
||||
"Manage" : "Управление",
|
||||
"Discard share" : "Отхвърляне на споделяне",
|
||||
"Members" : "Членове",
|
||||
"Modified:" : "Променен на:",
|
||||
"Created:" : "Създаден на:",
|
||||
"by" : "от",
|
||||
"Saved" : "Запазено",
|
||||
"Shared with you" : "Споделено с Вас"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
}
|
||||
40
l10n/ca.js
40
l10n/ca.js
@@ -1,20 +1,54 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Delete" : "Esborra",
|
||||
"Remove user from card" : "Esborra usuari de la targeta",
|
||||
"Hours" : "Hores",
|
||||
"Minutes" : "Minuts",
|
||||
"Finished" : "Acabat",
|
||||
"To review" : "Per revisar",
|
||||
"Action needed" : "Acció necessaria",
|
||||
"Later" : "Més tard",
|
||||
"Deck" : "Coberta",
|
||||
"Add a new stack" : "Afegeix una nova pila",
|
||||
"Show archived cards" : "Mostra les targetes arxivades",
|
||||
"Hide archived cards" : "Amaga les targetes arxivades",
|
||||
"Board details" : "Detalls de la junta",
|
||||
"All Boards" : "Totes les juntes",
|
||||
"Archived boards" : "Taulers arxivats",
|
||||
"Archive" : "Arxiu",
|
||||
"Delete" : "Esborra",
|
||||
"Unarchive" : "Desbloquejar",
|
||||
"Enter a card title" : "Introduïu un títol de la targeta",
|
||||
"Sharing" : "Compartir",
|
||||
"Tags" : "Etiquetes",
|
||||
"Select users or groups to share with" : "Seleccioneu usuaris o grups per compartir",
|
||||
"No matching user or group found." : "No s'ha trobat cap usuari o grup coincident.",
|
||||
"Share" : "Comparteix",
|
||||
"Edit" : "Edita",
|
||||
"Manage" : "Gestor",
|
||||
"Discard share" : "Descarta la compartició",
|
||||
"Create a new tag" : "Crea una nova etiqueta",
|
||||
"Title" : "Title",
|
||||
"Members" : "Membres",
|
||||
"More actions" : "Més accions",
|
||||
"Edit board" : "Edita el tauler",
|
||||
"Archive board" : "Arxiu",
|
||||
"Unarchive board" : "Desbloquejar",
|
||||
"Delete board" : "Eliminat",
|
||||
"Create new board" : "Crear nova",
|
||||
"New board title" : "Nou títol",
|
||||
"by" : "per",
|
||||
"Modified:" : "Modificat:",
|
||||
"Created:" : "Creat:",
|
||||
"by" : "per",
|
||||
"Due date" : "Per la data",
|
||||
"Click to set" : "Feu clic per configurar",
|
||||
"Remove due date" : "Elimina la data de venciment",
|
||||
"Description" : "Descripció",
|
||||
"Saved" : "Desat",
|
||||
"Shared with you" : "Us han compartit"
|
||||
"Formatting help" : "Format d'ajuda",
|
||||
"Add a card description…" : "Afegeix una descripció de la targeta ...",
|
||||
"Shared boards" : "Taulers compartits",
|
||||
"Move board to archive" : "Mou la placa a l'arxiu",
|
||||
"Create a new board" : "Crear nova"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
|
||||
40
l10n/ca.json
40
l10n/ca.json
@@ -1,18 +1,52 @@
|
||||
{ "translations": {
|
||||
"Delete" : "Esborra",
|
||||
"Remove user from card" : "Esborra usuari de la targeta",
|
||||
"Hours" : "Hores",
|
||||
"Minutes" : "Minuts",
|
||||
"Finished" : "Acabat",
|
||||
"To review" : "Per revisar",
|
||||
"Action needed" : "Acció necessaria",
|
||||
"Later" : "Més tard",
|
||||
"Deck" : "Coberta",
|
||||
"Add a new stack" : "Afegeix una nova pila",
|
||||
"Show archived cards" : "Mostra les targetes arxivades",
|
||||
"Hide archived cards" : "Amaga les targetes arxivades",
|
||||
"Board details" : "Detalls de la junta",
|
||||
"All Boards" : "Totes les juntes",
|
||||
"Archived boards" : "Taulers arxivats",
|
||||
"Archive" : "Arxiu",
|
||||
"Delete" : "Esborra",
|
||||
"Unarchive" : "Desbloquejar",
|
||||
"Enter a card title" : "Introduïu un títol de la targeta",
|
||||
"Sharing" : "Compartir",
|
||||
"Tags" : "Etiquetes",
|
||||
"Select users or groups to share with" : "Seleccioneu usuaris o grups per compartir",
|
||||
"No matching user or group found." : "No s'ha trobat cap usuari o grup coincident.",
|
||||
"Share" : "Comparteix",
|
||||
"Edit" : "Edita",
|
||||
"Manage" : "Gestor",
|
||||
"Discard share" : "Descarta la compartició",
|
||||
"Create a new tag" : "Crea una nova etiqueta",
|
||||
"Title" : "Title",
|
||||
"Members" : "Membres",
|
||||
"More actions" : "Més accions",
|
||||
"Edit board" : "Edita el tauler",
|
||||
"Archive board" : "Arxiu",
|
||||
"Unarchive board" : "Desbloquejar",
|
||||
"Delete board" : "Eliminat",
|
||||
"Create new board" : "Crear nova",
|
||||
"New board title" : "Nou títol",
|
||||
"by" : "per",
|
||||
"Modified:" : "Modificat:",
|
||||
"Created:" : "Creat:",
|
||||
"by" : "per",
|
||||
"Due date" : "Per la data",
|
||||
"Click to set" : "Feu clic per configurar",
|
||||
"Remove due date" : "Elimina la data de venciment",
|
||||
"Description" : "Descripció",
|
||||
"Saved" : "Desat",
|
||||
"Shared with you" : "Us han compartit"
|
||||
"Formatting help" : "Format d'ajuda",
|
||||
"Add a card description…" : "Afegeix una descripció de la targeta ...",
|
||||
"Shared boards" : "Taulers compartits",
|
||||
"Move board to archive" : "Mou la placa a l'arxiu",
|
||||
"Create a new board" : "Crear nova"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
}
|
||||
48
l10n/cs.js
48
l10n/cs.js
@@ -1,31 +1,51 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "Opravdu chcete smazat tuto kartu a všechna její data?",
|
||||
"Delete" : "Smazat",
|
||||
"Remove user from card" : "Odebrat uživatele z karty",
|
||||
"Hours" : "Hodiny",
|
||||
"Minutes" : "Minuty",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Opravdu chcete smazat stack a všechna data v něm?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "U karty \"%s\" z tabule \"%s\" nastalo plánované datum dokončení.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Tabule \"%s\" s vámi byla nasdílena uživatelem %s.",
|
||||
"{user} has shared the board %s with you." : "{user} s vámi nasdílel tabuli %s.",
|
||||
"Finished" : "Dokončeno",
|
||||
"To review" : "K revizi",
|
||||
"Action needed" : "Nutná akce",
|
||||
"Later" : "Později",
|
||||
"The file was uploaded" : "Soubor byl nahrán",
|
||||
"No file was uploaded" : "Nebyl nahrán žádný soubor",
|
||||
"Missing a temporary folder" : "Chybí adresář pro dočasné soubory",
|
||||
"Could not write file to disk" : "Nedaří se zapsat soubor do úložiště",
|
||||
"A PHP extension stopped the file upload" : "Rozšíření PHP zastavilo nahrávání souboru.",
|
||||
"Deck" : "Balík",
|
||||
"Add a new stack" : "Přidat nový zásobník",
|
||||
"Submit" : "Odeslat",
|
||||
"Show archived cards" : "Zobrazit archivované karty",
|
||||
"Hide archived cards" : "Skrýt archivované karty",
|
||||
"Board details" : "Detaily desky",
|
||||
"All Boards" : "Všechny desky",
|
||||
"Archived boards" : "Archivované desky",
|
||||
"Archive" : "Archiv",
|
||||
"Unarchive" : "Zrušit archivování",
|
||||
"Delete" : "Smazat",
|
||||
"Enter a card title" : "Zadejte nadpis karty",
|
||||
"Add card" : "Přidat kartu",
|
||||
"Close" : "Zavřít",
|
||||
"Sharing" : "Sdílení",
|
||||
"Tags" : "Značky",
|
||||
"Select users or groups to share with" : "Vyberte uživatele nebo skupiny pro sdílení",
|
||||
"Access for" : "Přístup pro",
|
||||
"No matching user or group found." : "Nevyhovuje žádný uživatel ani skupina",
|
||||
"Loading" : "Načítání",
|
||||
"Share" : "Sdílet",
|
||||
"Edit" : "Upravit",
|
||||
"Manage" : "Spravovat",
|
||||
"Discard share" : "Zrušit sdílení",
|
||||
"Create a new tag" : "Vytvořit novou značku",
|
||||
"Update" : "Aktualizovat",
|
||||
"Create" : "Vytvořit",
|
||||
"Create a new tag" : "Vytvořit nový štítek",
|
||||
"Status" : "Stav",
|
||||
"Title" : "Název",
|
||||
"Members" : "Členové",
|
||||
"More actions" : "Více akcí",
|
||||
@@ -33,25 +53,33 @@ OC.L10N.register(
|
||||
"Archive board" : "Archivovaná deska",
|
||||
"Unarchive board" : "Odarchivovat desku",
|
||||
"Delete board" : "Smazat desku",
|
||||
"Reset" : "Obnovit",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Vrátit smazání tabule - Tabule bude jinak trvale odstraněna během příštího běhu cronjobu.",
|
||||
"Create new board" : "VYtvořit ovou desku",
|
||||
"New board title" : "Nadpis nové desky",
|
||||
"by" : "od",
|
||||
"Modified:" : "Upraveno:",
|
||||
"Created:" : "Vytvořeno:",
|
||||
"by" : "od",
|
||||
"Choose a label" : "Vybrat popisek",
|
||||
"Add a label" : "Přidat popisek",
|
||||
"Select labels…" : "Vybrat popisky...",
|
||||
"Choose a tag" : "Vyberte štítek",
|
||||
"Add a tag" : "Přidat štítek",
|
||||
"Select tags" : "Výběr štítků",
|
||||
"Assign users" : "Přiřadit uživatele",
|
||||
"Choose a user to assign" : "Zvolte uživatele kterého přiřadit",
|
||||
"Assign this card to a user" : "Přiřadit kartu uživateli",
|
||||
"Due date" : "Termín",
|
||||
"Click to set" : "Klikněte pro výběr",
|
||||
"Remove due date" : "Odstranit termín",
|
||||
"Description" : "Popis",
|
||||
"Formatting help" : "Nápověda k formátování",
|
||||
"Attachments" : "Přílohy",
|
||||
"Saved" : "Uloženo",
|
||||
"Unsaved changes" : "Neuložené změny",
|
||||
"Formatting help" : "Nápověda k formátování",
|
||||
"Upload attachment" : "Nahrát přílohu",
|
||||
"Insert attachment" : "Vložit přílohu",
|
||||
"Add a card description…" : "Přidat popis karty...",
|
||||
"Archived boards" : "Archivované desky",
|
||||
"Shared boards" : "Sdílené desky",
|
||||
"Shared with you" : "Sdíleno s vámi",
|
||||
"View more" : "Ukázat více",
|
||||
"Move board to archive" : "Přesunout desku do archivu",
|
||||
"Create a new board" : "Vytvořit novou desku"
|
||||
},
|
||||
"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;");
|
||||
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
|
||||
|
||||
48
l10n/cs.json
48
l10n/cs.json
@@ -1,29 +1,49 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "Opravdu chcete smazat tuto kartu a všechna její data?",
|
||||
"Delete" : "Smazat",
|
||||
"Remove user from card" : "Odebrat uživatele z karty",
|
||||
"Hours" : "Hodiny",
|
||||
"Minutes" : "Minuty",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Opravdu chcete smazat stack a všechna data v něm?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "U karty \"%s\" z tabule \"%s\" nastalo plánované datum dokončení.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Tabule \"%s\" s vámi byla nasdílena uživatelem %s.",
|
||||
"{user} has shared the board %s with you." : "{user} s vámi nasdílel tabuli %s.",
|
||||
"Finished" : "Dokončeno",
|
||||
"To review" : "K revizi",
|
||||
"Action needed" : "Nutná akce",
|
||||
"Later" : "Později",
|
||||
"The file was uploaded" : "Soubor byl nahrán",
|
||||
"No file was uploaded" : "Nebyl nahrán žádný soubor",
|
||||
"Missing a temporary folder" : "Chybí adresář pro dočasné soubory",
|
||||
"Could not write file to disk" : "Nedaří se zapsat soubor do úložiště",
|
||||
"A PHP extension stopped the file upload" : "Rozšíření PHP zastavilo nahrávání souboru.",
|
||||
"Deck" : "Balík",
|
||||
"Add a new stack" : "Přidat nový zásobník",
|
||||
"Submit" : "Odeslat",
|
||||
"Show archived cards" : "Zobrazit archivované karty",
|
||||
"Hide archived cards" : "Skrýt archivované karty",
|
||||
"Board details" : "Detaily desky",
|
||||
"All Boards" : "Všechny desky",
|
||||
"Archived boards" : "Archivované desky",
|
||||
"Archive" : "Archiv",
|
||||
"Unarchive" : "Zrušit archivování",
|
||||
"Delete" : "Smazat",
|
||||
"Enter a card title" : "Zadejte nadpis karty",
|
||||
"Add card" : "Přidat kartu",
|
||||
"Close" : "Zavřít",
|
||||
"Sharing" : "Sdílení",
|
||||
"Tags" : "Značky",
|
||||
"Select users or groups to share with" : "Vyberte uživatele nebo skupiny pro sdílení",
|
||||
"Access for" : "Přístup pro",
|
||||
"No matching user or group found." : "Nevyhovuje žádný uživatel ani skupina",
|
||||
"Loading" : "Načítání",
|
||||
"Share" : "Sdílet",
|
||||
"Edit" : "Upravit",
|
||||
"Manage" : "Spravovat",
|
||||
"Discard share" : "Zrušit sdílení",
|
||||
"Create a new tag" : "Vytvořit novou značku",
|
||||
"Update" : "Aktualizovat",
|
||||
"Create" : "Vytvořit",
|
||||
"Create a new tag" : "Vytvořit nový štítek",
|
||||
"Status" : "Stav",
|
||||
"Title" : "Název",
|
||||
"Members" : "Členové",
|
||||
"More actions" : "Více akcí",
|
||||
@@ -31,25 +51,33 @@
|
||||
"Archive board" : "Archivovaná deska",
|
||||
"Unarchive board" : "Odarchivovat desku",
|
||||
"Delete board" : "Smazat desku",
|
||||
"Reset" : "Obnovit",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Vrátit smazání tabule - Tabule bude jinak trvale odstraněna během příštího běhu cronjobu.",
|
||||
"Create new board" : "VYtvořit ovou desku",
|
||||
"New board title" : "Nadpis nové desky",
|
||||
"by" : "od",
|
||||
"Modified:" : "Upraveno:",
|
||||
"Created:" : "Vytvořeno:",
|
||||
"by" : "od",
|
||||
"Choose a label" : "Vybrat popisek",
|
||||
"Add a label" : "Přidat popisek",
|
||||
"Select labels…" : "Vybrat popisky...",
|
||||
"Choose a tag" : "Vyberte štítek",
|
||||
"Add a tag" : "Přidat štítek",
|
||||
"Select tags" : "Výběr štítků",
|
||||
"Assign users" : "Přiřadit uživatele",
|
||||
"Choose a user to assign" : "Zvolte uživatele kterého přiřadit",
|
||||
"Assign this card to a user" : "Přiřadit kartu uživateli",
|
||||
"Due date" : "Termín",
|
||||
"Click to set" : "Klikněte pro výběr",
|
||||
"Remove due date" : "Odstranit termín",
|
||||
"Description" : "Popis",
|
||||
"Formatting help" : "Nápověda k formátování",
|
||||
"Attachments" : "Přílohy",
|
||||
"Saved" : "Uloženo",
|
||||
"Unsaved changes" : "Neuložené změny",
|
||||
"Formatting help" : "Nápověda k formátování",
|
||||
"Upload attachment" : "Nahrát přílohu",
|
||||
"Insert attachment" : "Vložit přílohu",
|
||||
"Add a card description…" : "Přidat popis karty...",
|
||||
"Archived boards" : "Archivované desky",
|
||||
"Shared boards" : "Sdílené desky",
|
||||
"Shared with you" : "Sdíleno s vámi",
|
||||
"View more" : "Ukázat více",
|
||||
"Move board to archive" : "Přesunout desku do archivu",
|
||||
"Create a new board" : "Vytvořit novou desku"
|
||||
},"pluralForm" :"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"
|
||||
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
|
||||
}
|
||||
42
l10n/da.js
42
l10n/da.js
@@ -1,31 +1,48 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "Er du sikker på, at du vil slette dette kort med alle dets data?",
|
||||
"Delete" : "Slet",
|
||||
"Remove user from card" : "Fjern bruger fra kort",
|
||||
"Hours" : "Timer",
|
||||
"Minutes" : "Minutter",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Er du sikker på, at du ønsker at slette denne stak med alle data?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Kortet \"%s\" på \"%s\" har nået sin udløbsdato.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Brættet \"%s\" er blevet delt med dig af %s.",
|
||||
"{user} has shared the board %s with you." : "{user} har delt brættet %s med dig.",
|
||||
"Finished" : "Færdiggjort",
|
||||
"To review" : "Efterse",
|
||||
"To review" : "Gennemse",
|
||||
"Action needed" : "Handling påkrævet",
|
||||
"Later" : "Senere",
|
||||
"Deck" : "Tavle",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Et Kanban-inspireret projekt- og styringsværktøj til Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck er et Kanban-inspireret organisationsværktøj beregnet til personlig planlægning og projektstyring for teams - integreret med Nextcloud.\n\n\n- 📥 Tilføj dine opgaver til kort og organiser dem\n- 📄 Skriv yderligere noter i Markdown\n- 🔖 Marker opgaver med tags for bedre organisering\n- 👥 Del med team, venner eller familie\n- 🚀 Organiser dit projekt",
|
||||
"Add a new stack" : "Tilføj en ny stak",
|
||||
"Submit" : "Tilføj",
|
||||
"Show archived cards" : "Vis arkiverede kort",
|
||||
"Hide archived cards" : "Skjul arkiverede kort",
|
||||
"Board details" : "Liste detaljer",
|
||||
"All Boards" : "Alle lister",
|
||||
"Archived boards" : "Arkiverede lister",
|
||||
"Archive" : "Arkivér",
|
||||
"Unarchive" : "Annuller arkivering",
|
||||
"Delete" : "Slet",
|
||||
"Enter a card title" : "Angiv titel på kort",
|
||||
"Add card" : "Tilføj kort",
|
||||
"Close" : "Luk",
|
||||
"Sharing" : "Deling",
|
||||
"Tags" : "Mærkat",
|
||||
"Select users or groups to share with" : "Vælg brugere eller grupper og dele med",
|
||||
"Access for" : "Adgang for",
|
||||
"No matching user or group found." : "Ingen bruger eller gruppe fundet",
|
||||
"Loading" : "Loader",
|
||||
"Share" : "Del",
|
||||
"Edit" : "Redigér",
|
||||
"Manage" : "Administrer ",
|
||||
"Discard share" : "Kasser deling",
|
||||
"Update" : "Opdatér",
|
||||
"Create" : "Opret",
|
||||
"Create a new tag" : "Opret et nyt mærkat",
|
||||
"Status" : "Status",
|
||||
"Title" : "Titel",
|
||||
"Members" : "Medlemmer",
|
||||
"More actions" : "Flere handlinger",
|
||||
@@ -33,24 +50,29 @@ OC.L10N.register(
|
||||
"Archive board" : "Arkivér liste",
|
||||
"Unarchive board" : "Annuller arkivering af liste",
|
||||
"Delete board" : "Slet liste",
|
||||
"Reset" : "Nulstil",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Fortryd sletning af board - Ellers vil boardet blive slettet ved næste cronjob kørsel.",
|
||||
"Create new board" : "Opret ny liste",
|
||||
"New board title" : "Ny titel på liste",
|
||||
"by" : "af",
|
||||
"Modified:" : "Ændret:",
|
||||
"Created:" : "Oprettet:",
|
||||
"by" : "af",
|
||||
"Choose a label" : "Opret et label",
|
||||
"Add a label" : "Tilføj et label",
|
||||
"Select labels…" : "Vælg labeler...",
|
||||
"Choose a tag" : "Vælg et tag",
|
||||
"Add a tag" : "Tilføj et tag",
|
||||
"Select tags" : "Vælg tags",
|
||||
"Assign users" : "Tildel brugere",
|
||||
"Choose a user to assign" : "Vælg en bruger at tildele til",
|
||||
"Assign this card to a user" : "Tildel dette kort til en bruger",
|
||||
"Due date" : "Forfaldsdato",
|
||||
"Click to set" : "Klik for at sætte",
|
||||
"Remove due date" : "Fjern forfaldsdato",
|
||||
"Description" : "Beskrivelse",
|
||||
"Formatting help" : "Hjælp til formatering",
|
||||
"Saved" : "Gemt",
|
||||
"Unsaved changes" : "Ikke gemte ændringer",
|
||||
"Formatting help" : "Hjælp til formatering",
|
||||
"Add a card description…" : "Tilføj en beskrivelse...",
|
||||
"Archived boards" : "Arkiverede lister",
|
||||
"Shared boards" : "Delte lister",
|
||||
"Shared with you" : "Delt med dig",
|
||||
"View more" : "Vis mere",
|
||||
"Move board to archive" : "Flyt liste til arkiv",
|
||||
"Create a new board" : "Opret ny liste"
|
||||
},
|
||||
|
||||
42
l10n/da.json
42
l10n/da.json
@@ -1,29 +1,46 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "Er du sikker på, at du vil slette dette kort med alle dets data?",
|
||||
"Delete" : "Slet",
|
||||
"Remove user from card" : "Fjern bruger fra kort",
|
||||
"Hours" : "Timer",
|
||||
"Minutes" : "Minutter",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Er du sikker på, at du ønsker at slette denne stak med alle data?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Kortet \"%s\" på \"%s\" har nået sin udløbsdato.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Brættet \"%s\" er blevet delt med dig af %s.",
|
||||
"{user} has shared the board %s with you." : "{user} har delt brættet %s med dig.",
|
||||
"Finished" : "Færdiggjort",
|
||||
"To review" : "Efterse",
|
||||
"To review" : "Gennemse",
|
||||
"Action needed" : "Handling påkrævet",
|
||||
"Later" : "Senere",
|
||||
"Deck" : "Tavle",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Et Kanban-inspireret projekt- og styringsværktøj til Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck er et Kanban-inspireret organisationsværktøj beregnet til personlig planlægning og projektstyring for teams - integreret med Nextcloud.\n\n\n- 📥 Tilføj dine opgaver til kort og organiser dem\n- 📄 Skriv yderligere noter i Markdown\n- 🔖 Marker opgaver med tags for bedre organisering\n- 👥 Del med team, venner eller familie\n- 🚀 Organiser dit projekt",
|
||||
"Add a new stack" : "Tilføj en ny stak",
|
||||
"Submit" : "Tilføj",
|
||||
"Show archived cards" : "Vis arkiverede kort",
|
||||
"Hide archived cards" : "Skjul arkiverede kort",
|
||||
"Board details" : "Liste detaljer",
|
||||
"All Boards" : "Alle lister",
|
||||
"Archived boards" : "Arkiverede lister",
|
||||
"Archive" : "Arkivér",
|
||||
"Unarchive" : "Annuller arkivering",
|
||||
"Delete" : "Slet",
|
||||
"Enter a card title" : "Angiv titel på kort",
|
||||
"Add card" : "Tilføj kort",
|
||||
"Close" : "Luk",
|
||||
"Sharing" : "Deling",
|
||||
"Tags" : "Mærkat",
|
||||
"Select users or groups to share with" : "Vælg brugere eller grupper og dele med",
|
||||
"Access for" : "Adgang for",
|
||||
"No matching user or group found." : "Ingen bruger eller gruppe fundet",
|
||||
"Loading" : "Loader",
|
||||
"Share" : "Del",
|
||||
"Edit" : "Redigér",
|
||||
"Manage" : "Administrer ",
|
||||
"Discard share" : "Kasser deling",
|
||||
"Update" : "Opdatér",
|
||||
"Create" : "Opret",
|
||||
"Create a new tag" : "Opret et nyt mærkat",
|
||||
"Status" : "Status",
|
||||
"Title" : "Titel",
|
||||
"Members" : "Medlemmer",
|
||||
"More actions" : "Flere handlinger",
|
||||
@@ -31,24 +48,29 @@
|
||||
"Archive board" : "Arkivér liste",
|
||||
"Unarchive board" : "Annuller arkivering af liste",
|
||||
"Delete board" : "Slet liste",
|
||||
"Reset" : "Nulstil",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Fortryd sletning af board - Ellers vil boardet blive slettet ved næste cronjob kørsel.",
|
||||
"Create new board" : "Opret ny liste",
|
||||
"New board title" : "Ny titel på liste",
|
||||
"by" : "af",
|
||||
"Modified:" : "Ændret:",
|
||||
"Created:" : "Oprettet:",
|
||||
"by" : "af",
|
||||
"Choose a label" : "Opret et label",
|
||||
"Add a label" : "Tilføj et label",
|
||||
"Select labels…" : "Vælg labeler...",
|
||||
"Choose a tag" : "Vælg et tag",
|
||||
"Add a tag" : "Tilføj et tag",
|
||||
"Select tags" : "Vælg tags",
|
||||
"Assign users" : "Tildel brugere",
|
||||
"Choose a user to assign" : "Vælg en bruger at tildele til",
|
||||
"Assign this card to a user" : "Tildel dette kort til en bruger",
|
||||
"Due date" : "Forfaldsdato",
|
||||
"Click to set" : "Klik for at sætte",
|
||||
"Remove due date" : "Fjern forfaldsdato",
|
||||
"Description" : "Beskrivelse",
|
||||
"Formatting help" : "Hjælp til formatering",
|
||||
"Saved" : "Gemt",
|
||||
"Unsaved changes" : "Ikke gemte ændringer",
|
||||
"Formatting help" : "Hjælp til formatering",
|
||||
"Add a card description…" : "Tilføj en beskrivelse...",
|
||||
"Archived boards" : "Arkiverede lister",
|
||||
"Shared boards" : "Delte lister",
|
||||
"Shared with you" : "Delt med dig",
|
||||
"View more" : "Vis mere",
|
||||
"Move board to archive" : "Flyt liste til arkiv",
|
||||
"Create a new board" : "Opret ny liste"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
|
||||
60
l10n/de.js
60
l10n/de.js
@@ -1,31 +1,60 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "Möchtest Du wirklich diese Karte mit all ihren Daten löschen?",
|
||||
"Delete" : "Löschen",
|
||||
"Remove user from card" : "Benutzer von Karte entfernen",
|
||||
"Hours" : "Stunden",
|
||||
"Minutes" : "Minuten",
|
||||
"Maximum file size of {size} exceeded" : "Maximale Dateigröße von {size} überschritten",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Möchtest du diesen Stapel mit allen Daten wirklich löschen?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Die Karte \"%s\" auf \"%s\" ist überfällig.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Das Board \"%s\" wurde von %s mit Dir geteilt.",
|
||||
"{user} has shared the board %s with you." : "{user} hat das Board %s mit Dir geteilt.",
|
||||
"No data was provided to create an attachment." : "Es wurde keine Daten zum Erstellen eines Anhangs bereitgestellt.",
|
||||
"Finished" : "Abgeschlossen",
|
||||
"To review" : "Zu überprüfen",
|
||||
"Action needed" : "Handlung erforderlich",
|
||||
"Later" : "Später",
|
||||
"The file was uploaded" : "Die Datei wurde hochgeladen",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe, die im HTML-Formular angegeben ist.",
|
||||
"The file was only partially uploaded" : "Die Datei konnte nur teilweise hochgeladen werden",
|
||||
"No file was uploaded" : "Es wurde keine Datei hochgeladen",
|
||||
"Missing a temporary folder" : "Kein temporärer Ordner vorhanden",
|
||||
"Could not write file to disk" : "Die Datei konnte nicht auf die Festplatte geschrieben werden",
|
||||
"A PHP extension stopped the file upload" : "Eine PHP-Erweiterung hat das Hochladen der Datei gestoppt",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Keine Datei hochgeladen oder die Dateigröße überschreitet %s",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Ein Kanban Werkzeug für Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck ist ein Organisationstool im Kanban-Stil für die persönliche Planung und Projektorganisation von Teams, die in Nextcloud integriert sind.\n\n\n- 📥 Füge Deine Aufgaben zu den Karten hinzu und ordne diese\n- 📄 Zusätzliche Hinweise in der Abschrift notieren\n- 🔖 Vergabe von Labels für noch bessere Organisation\n- 👥 Teile mit Deinem Team, Freunden oder der Familie\n- 🚀 Organisiere Dein Projekt",
|
||||
"Add a new stack" : "Stapel hinzufügen",
|
||||
"Submit" : "Übermitteln",
|
||||
"Show archived cards" : "Archivierte Karten anzeigen",
|
||||
"Hide archived cards" : "Archivierte Karten ausblenden",
|
||||
"Board details" : "Board-Details",
|
||||
"All Boards" : "Alle Boards",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Drop your files here to upload it to the card" : "Lege Deine Dateien hier ab, um sie auf die Karte hochzuladen",
|
||||
"Archive" : "Archivieren",
|
||||
"Unarchive" : "Dearchivieren",
|
||||
"Delete" : "Löschen",
|
||||
"Enter a card title" : "Kartentitel eingeben",
|
||||
"Add card" : "Karte hinzufügen",
|
||||
"Close" : "Schließen",
|
||||
"Sharing" : "Teilen",
|
||||
"Tags" : "Etiketten",
|
||||
"Tags" : "Schlagworte",
|
||||
"Select users or groups to share with" : "Benutzer oder Gruppen auswählen, mit denen das Board geteilt werden soll",
|
||||
"Access for" : "Zugriff für",
|
||||
"No matching user or group found." : "Keine passenden Benutzer oder Gruppen gefunden.",
|
||||
"Loading" : "Lade",
|
||||
"Share" : "Teilen",
|
||||
"Edit" : "Bearbeiten",
|
||||
"Manage" : "Verwalten",
|
||||
"Discard share" : "Teilen beenden",
|
||||
"Update" : "Aktualisieren",
|
||||
"Create" : "Erstellen",
|
||||
"Create a new tag" : "Neues Etikett erstellen",
|
||||
"Status" : "Status",
|
||||
"Title" : "Titel",
|
||||
"Members" : "Mitglieder",
|
||||
"More actions" : "Weitere Aktionen",
|
||||
@@ -33,24 +62,37 @@ OC.L10N.register(
|
||||
"Archive board" : "Board archivieren",
|
||||
"Unarchive board" : "Board dearchivieren",
|
||||
"Delete board" : "Board löschen",
|
||||
"Reset" : "Zurücksetzen",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Löschen des Boards rückgängig machen - Andernfalls wird das Board beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Create new board" : "Neues Board erstellen",
|
||||
"New board title" : "Neuer Board-Titel",
|
||||
"Select an attachment" : "Anhang auswählen",
|
||||
"Cancel upload" : "Hochladen abbrechen",
|
||||
"by" : "von",
|
||||
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Dateilöschung rückgängig machen - Andernfalls wird die Datei beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Undo file deletion" : "Dateilöschung rückgängig machen",
|
||||
"Insert the file into the description" : "Füge die Datei in die Beschreibung ein",
|
||||
"Modified:" : "Geändert:",
|
||||
"Created:" : "Erstellt:",
|
||||
"by" : "von",
|
||||
"Choose a label" : "Etikett wählen",
|
||||
"Add a label" : "Etikett hinzufügen",
|
||||
"Select labels…" : "Etiketten auswählen...",
|
||||
"Choose a tag" : "Schlagwort auswählen",
|
||||
"Add a tag" : "Schlagwort hinzufügen",
|
||||
"Select tags" : "Schlagworte auswählen",
|
||||
"Assign users" : "Nutzer zuweisen",
|
||||
"Choose a user to assign" : "Wähle einen Benutzer für die Zuweisung aus",
|
||||
"Assign this card to a user" : "Diese Karte einem Benutzer zuweisen",
|
||||
"Due date" : "Fälligkeitsdatum",
|
||||
"Click to set" : "Klicken zum Übernehmen",
|
||||
"Remove due date" : "Ablaufdatum löschen",
|
||||
"Description" : "Beschreibung",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Attachments" : "Anhänge",
|
||||
"Saved" : "Gespeichert",
|
||||
"Unsaved changes" : "Ungesicherte Änderungen",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Upload attachment" : "Anhang hochladen",
|
||||
"Insert attachment" : "Anhang einfügen",
|
||||
"Add a card description…" : "Eine Kartenbeschreibung hinzufügen…",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Shared boards" : "Geteilte Boards",
|
||||
"Shared with you" : "Mit Dir geteilt",
|
||||
"View more" : "Mehr anzeigen",
|
||||
"Move board to archive" : "Board ins Archiv verschieben",
|
||||
"Create a new board" : "Neues Board erstellen"
|
||||
},
|
||||
|
||||
60
l10n/de.json
60
l10n/de.json
@@ -1,29 +1,58 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "Möchtest Du wirklich diese Karte mit all ihren Daten löschen?",
|
||||
"Delete" : "Löschen",
|
||||
"Remove user from card" : "Benutzer von Karte entfernen",
|
||||
"Hours" : "Stunden",
|
||||
"Minutes" : "Minuten",
|
||||
"Maximum file size of {size} exceeded" : "Maximale Dateigröße von {size} überschritten",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Möchtest du diesen Stapel mit allen Daten wirklich löschen?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Die Karte \"%s\" auf \"%s\" ist überfällig.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Das Board \"%s\" wurde von %s mit Dir geteilt.",
|
||||
"{user} has shared the board %s with you." : "{user} hat das Board %s mit Dir geteilt.",
|
||||
"No data was provided to create an attachment." : "Es wurde keine Daten zum Erstellen eines Anhangs bereitgestellt.",
|
||||
"Finished" : "Abgeschlossen",
|
||||
"To review" : "Zu überprüfen",
|
||||
"Action needed" : "Handlung erforderlich",
|
||||
"Later" : "Später",
|
||||
"The file was uploaded" : "Die Datei wurde hochgeladen",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe, die im HTML-Formular angegeben ist.",
|
||||
"The file was only partially uploaded" : "Die Datei konnte nur teilweise hochgeladen werden",
|
||||
"No file was uploaded" : "Es wurde keine Datei hochgeladen",
|
||||
"Missing a temporary folder" : "Kein temporärer Ordner vorhanden",
|
||||
"Could not write file to disk" : "Die Datei konnte nicht auf die Festplatte geschrieben werden",
|
||||
"A PHP extension stopped the file upload" : "Eine PHP-Erweiterung hat das Hochladen der Datei gestoppt",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Keine Datei hochgeladen oder die Dateigröße überschreitet %s",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Ein Kanban Werkzeug für Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck ist ein Organisationstool im Kanban-Stil für die persönliche Planung und Projektorganisation von Teams, die in Nextcloud integriert sind.\n\n\n- 📥 Füge Deine Aufgaben zu den Karten hinzu und ordne diese\n- 📄 Zusätzliche Hinweise in der Abschrift notieren\n- 🔖 Vergabe von Labels für noch bessere Organisation\n- 👥 Teile mit Deinem Team, Freunden oder der Familie\n- 🚀 Organisiere Dein Projekt",
|
||||
"Add a new stack" : "Stapel hinzufügen",
|
||||
"Submit" : "Übermitteln",
|
||||
"Show archived cards" : "Archivierte Karten anzeigen",
|
||||
"Hide archived cards" : "Archivierte Karten ausblenden",
|
||||
"Board details" : "Board-Details",
|
||||
"All Boards" : "Alle Boards",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Drop your files here to upload it to the card" : "Lege Deine Dateien hier ab, um sie auf die Karte hochzuladen",
|
||||
"Archive" : "Archivieren",
|
||||
"Unarchive" : "Dearchivieren",
|
||||
"Delete" : "Löschen",
|
||||
"Enter a card title" : "Kartentitel eingeben",
|
||||
"Add card" : "Karte hinzufügen",
|
||||
"Close" : "Schließen",
|
||||
"Sharing" : "Teilen",
|
||||
"Tags" : "Etiketten",
|
||||
"Tags" : "Schlagworte",
|
||||
"Select users or groups to share with" : "Benutzer oder Gruppen auswählen, mit denen das Board geteilt werden soll",
|
||||
"Access for" : "Zugriff für",
|
||||
"No matching user or group found." : "Keine passenden Benutzer oder Gruppen gefunden.",
|
||||
"Loading" : "Lade",
|
||||
"Share" : "Teilen",
|
||||
"Edit" : "Bearbeiten",
|
||||
"Manage" : "Verwalten",
|
||||
"Discard share" : "Teilen beenden",
|
||||
"Update" : "Aktualisieren",
|
||||
"Create" : "Erstellen",
|
||||
"Create a new tag" : "Neues Etikett erstellen",
|
||||
"Status" : "Status",
|
||||
"Title" : "Titel",
|
||||
"Members" : "Mitglieder",
|
||||
"More actions" : "Weitere Aktionen",
|
||||
@@ -31,24 +60,37 @@
|
||||
"Archive board" : "Board archivieren",
|
||||
"Unarchive board" : "Board dearchivieren",
|
||||
"Delete board" : "Board löschen",
|
||||
"Reset" : "Zurücksetzen",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Löschen des Boards rückgängig machen - Andernfalls wird das Board beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Create new board" : "Neues Board erstellen",
|
||||
"New board title" : "Neuer Board-Titel",
|
||||
"Select an attachment" : "Anhang auswählen",
|
||||
"Cancel upload" : "Hochladen abbrechen",
|
||||
"by" : "von",
|
||||
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Dateilöschung rückgängig machen - Andernfalls wird die Datei beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Undo file deletion" : "Dateilöschung rückgängig machen",
|
||||
"Insert the file into the description" : "Füge die Datei in die Beschreibung ein",
|
||||
"Modified:" : "Geändert:",
|
||||
"Created:" : "Erstellt:",
|
||||
"by" : "von",
|
||||
"Choose a label" : "Etikett wählen",
|
||||
"Add a label" : "Etikett hinzufügen",
|
||||
"Select labels…" : "Etiketten auswählen...",
|
||||
"Choose a tag" : "Schlagwort auswählen",
|
||||
"Add a tag" : "Schlagwort hinzufügen",
|
||||
"Select tags" : "Schlagworte auswählen",
|
||||
"Assign users" : "Nutzer zuweisen",
|
||||
"Choose a user to assign" : "Wähle einen Benutzer für die Zuweisung aus",
|
||||
"Assign this card to a user" : "Diese Karte einem Benutzer zuweisen",
|
||||
"Due date" : "Fälligkeitsdatum",
|
||||
"Click to set" : "Klicken zum Übernehmen",
|
||||
"Remove due date" : "Ablaufdatum löschen",
|
||||
"Description" : "Beschreibung",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Attachments" : "Anhänge",
|
||||
"Saved" : "Gespeichert",
|
||||
"Unsaved changes" : "Ungesicherte Änderungen",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Upload attachment" : "Anhang hochladen",
|
||||
"Insert attachment" : "Anhang einfügen",
|
||||
"Add a card description…" : "Eine Kartenbeschreibung hinzufügen…",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Shared boards" : "Geteilte Boards",
|
||||
"Shared with you" : "Mit Dir geteilt",
|
||||
"View more" : "Mehr anzeigen",
|
||||
"Move board to archive" : "Board ins Archiv verschieben",
|
||||
"Create a new board" : "Neues Board erstellen"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
|
||||
@@ -1,31 +1,60 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "Möchten Sie wirklich diese Karte mit all ihren Daten löschen?",
|
||||
"Delete" : "Löschen",
|
||||
"Remove user from card" : "Benutzer von Karte entfernen",
|
||||
"Hours" : "Stunden",
|
||||
"Minutes" : "Minuten",
|
||||
"Maximum file size of {size} exceeded" : "Maximale Dateigröße von {size} überschritten",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Möchten Sie diesen Stapel mit allen Daten wirklich löschen?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Die Karte \"%s\" auf \"%s\" ist überfällig.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Das Board \"%s\" wurde von %s mit Ihnen geteilt.",
|
||||
"{user} has shared the board %s with you." : "{user} hat das Board %s mit Ihnen geteilt.",
|
||||
"No data was provided to create an attachment." : "Es wurde keine Daten zum Erstellen eines Anhangs bereitgestellt.",
|
||||
"Finished" : "Abgeschlossen",
|
||||
"To review" : "Zu überprüfen",
|
||||
"Action needed" : "Handlung erforderlich",
|
||||
"Later" : "Später",
|
||||
"The file was uploaded" : "Die Datei wurde hochgeladen",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe, die im HTML-Formular angegeben ist.",
|
||||
"The file was only partially uploaded" : "Die Datei konnte nur teilweise hochgeladen werden",
|
||||
"No file was uploaded" : "Es wurde keine Datei hochgeladen",
|
||||
"Missing a temporary folder" : "Kein temporärer Ordner vorhanden",
|
||||
"Could not write file to disk" : "Die Datei konnte nicht auf die Festplatte geschrieben werden",
|
||||
"A PHP extension stopped the file upload" : "Eine PHP-Erweiterung hat das Hochladen der Datei gestoppt",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Keine Datei hochgeladen oder die Dateigröße überschreitet %s",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Ein Kanban Werzeug für Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck ist ein Organisationstool im Kanban-Stil für die persönliche Planung und Projektorganisation von Teams, die in Nextcloud integriert sind.\n\n\n- 📥 Fügen Sie Ihre Aufgaben zu den Karten hinzu und ordnen Sie diese\n- 📄 Zusätzliche Hinweise in der Abschrift notieren\n- 🔖 Vergabe von Labels für noch bessere Organisation\n- 👥 Teilen Sie mit Ihrem Team, Ihren Freunden oder Ihrer Familie\n- 🚀 Organisieren Sie Ihr Projekt",
|
||||
"Add a new stack" : "Neuen Stapel hinzufügen",
|
||||
"Submit" : "Übermitteln",
|
||||
"Show archived cards" : "Archivierte Karten anzeigen",
|
||||
"Hide archived cards" : "Archivierte Karten ausblenden",
|
||||
"Board details" : "Board-Details",
|
||||
"All Boards" : "Alle Boards",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Drop your files here to upload it to the card" : "Legen Sie Ihre Dateien hier ab, um sie auf die Karte hochzuladen",
|
||||
"Archive" : "Archivieren",
|
||||
"Unarchive" : "Dearchivieren",
|
||||
"Delete" : "Löschen",
|
||||
"Enter a card title" : "Kartentitel eingeben",
|
||||
"Add card" : "Karte hinzufügen",
|
||||
"Close" : "Schließen",
|
||||
"Sharing" : "Teilen",
|
||||
"Tags" : "Tags",
|
||||
"Tags" : "Schlagworte",
|
||||
"Select users or groups to share with" : "Benutzer oder Gruppen auswählen, mit denen das Board geteilt werden soll",
|
||||
"Access for" : "Zugriff für",
|
||||
"No matching user or group found." : "Keine passenden Benutzer oder Gruppen gefunden.",
|
||||
"Loading" : "Lade",
|
||||
"Share" : "Teilen",
|
||||
"Edit" : "Bearbeiten",
|
||||
"Manage" : "Verwalten",
|
||||
"Discard share" : "Teilen beenden",
|
||||
"Update" : "Aktualisieren",
|
||||
"Create" : "Erstellen",
|
||||
"Create a new tag" : "Tag erstellen",
|
||||
"Status" : "Status",
|
||||
"Title" : "Titel",
|
||||
"Members" : "Mitglieder",
|
||||
"More actions" : "Weitere Aktionen",
|
||||
@@ -33,24 +62,37 @@ OC.L10N.register(
|
||||
"Archive board" : "Board archivieren",
|
||||
"Unarchive board" : "Board dearchivieren",
|
||||
"Delete board" : "Board löschen",
|
||||
"Reset" : "Zurücksetzen",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Löschen des Boards rückgängig machen - Andernfalls wird das Board beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Create new board" : "Neues Board erstellen",
|
||||
"New board title" : "Neuer Board-Titel",
|
||||
"Select an attachment" : "Wählen Sie einen Anhang",
|
||||
"Cancel upload" : "Hochladen abbrechen",
|
||||
"by" : "von",
|
||||
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Dateilöschung rückgängig machen - Andernfalls wird die Datei beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Undo file deletion" : "Dateilöschung rückgängig machen",
|
||||
"Insert the file into the description" : "Füge die Datei in die Beschreibung ein",
|
||||
"Modified:" : "Geändert:",
|
||||
"Created:" : "Erstellt:",
|
||||
"by" : "von",
|
||||
"Choose a label" : "Tag auswählen",
|
||||
"Add a label" : "Tag hinzufügen",
|
||||
"Select labels…" : "Tags auswählen…",
|
||||
"Choose a tag" : "Schlagwort auswählen",
|
||||
"Add a tag" : "Schlagwort hinzufügen",
|
||||
"Select tags" : "Schlagworte auswählen",
|
||||
"Assign users" : "Benutzer zuordnen",
|
||||
"Choose a user to assign" : "Wähle einen Benutzer für die Zuweisung aus",
|
||||
"Assign this card to a user" : "Diese Karte einem Benutzer zuordnen",
|
||||
"Due date" : "Zieltermin",
|
||||
"Click to set" : "Setzen",
|
||||
"Remove due date" : "Zieltermin entfernen",
|
||||
"Description" : "Beschreibung",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Attachments" : "Anhänge",
|
||||
"Saved" : "Gespeichert",
|
||||
"Unsaved changes" : "Ungesicherte Änderungen",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Upload attachment" : "Anhang hochladen",
|
||||
"Insert attachment" : "Anhang einfügen",
|
||||
"Add a card description…" : "Beschreibung hinzufügen…",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Shared boards" : "Geteilte Boards",
|
||||
"Shared with you" : "Mit Ihnen geteilt",
|
||||
"View more" : "Mehr anzeigen",
|
||||
"Move board to archive" : "Board ins Archiv verschieben",
|
||||
"Create a new board" : "Neues Board erstellen"
|
||||
},
|
||||
|
||||
@@ -1,29 +1,58 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "Möchten Sie wirklich diese Karte mit all ihren Daten löschen?",
|
||||
"Delete" : "Löschen",
|
||||
"Remove user from card" : "Benutzer von Karte entfernen",
|
||||
"Hours" : "Stunden",
|
||||
"Minutes" : "Minuten",
|
||||
"Maximum file size of {size} exceeded" : "Maximale Dateigröße von {size} überschritten",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Möchten Sie diesen Stapel mit allen Daten wirklich löschen?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Die Karte \"%s\" auf \"%s\" ist überfällig.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Das Board \"%s\" wurde von %s mit Ihnen geteilt.",
|
||||
"{user} has shared the board %s with you." : "{user} hat das Board %s mit Ihnen geteilt.",
|
||||
"No data was provided to create an attachment." : "Es wurde keine Daten zum Erstellen eines Anhangs bereitgestellt.",
|
||||
"Finished" : "Abgeschlossen",
|
||||
"To review" : "Zu überprüfen",
|
||||
"Action needed" : "Handlung erforderlich",
|
||||
"Later" : "Später",
|
||||
"The file was uploaded" : "Die Datei wurde hochgeladen",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe, die im HTML-Formular angegeben ist.",
|
||||
"The file was only partially uploaded" : "Die Datei konnte nur teilweise hochgeladen werden",
|
||||
"No file was uploaded" : "Es wurde keine Datei hochgeladen",
|
||||
"Missing a temporary folder" : "Kein temporärer Ordner vorhanden",
|
||||
"Could not write file to disk" : "Die Datei konnte nicht auf die Festplatte geschrieben werden",
|
||||
"A PHP extension stopped the file upload" : "Eine PHP-Erweiterung hat das Hochladen der Datei gestoppt",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Keine Datei hochgeladen oder die Dateigröße überschreitet %s",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Ein Kanban Werzeug für Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck ist ein Organisationstool im Kanban-Stil für die persönliche Planung und Projektorganisation von Teams, die in Nextcloud integriert sind.\n\n\n- 📥 Fügen Sie Ihre Aufgaben zu den Karten hinzu und ordnen Sie diese\n- 📄 Zusätzliche Hinweise in der Abschrift notieren\n- 🔖 Vergabe von Labels für noch bessere Organisation\n- 👥 Teilen Sie mit Ihrem Team, Ihren Freunden oder Ihrer Familie\n- 🚀 Organisieren Sie Ihr Projekt",
|
||||
"Add a new stack" : "Neuen Stapel hinzufügen",
|
||||
"Submit" : "Übermitteln",
|
||||
"Show archived cards" : "Archivierte Karten anzeigen",
|
||||
"Hide archived cards" : "Archivierte Karten ausblenden",
|
||||
"Board details" : "Board-Details",
|
||||
"All Boards" : "Alle Boards",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Drop your files here to upload it to the card" : "Legen Sie Ihre Dateien hier ab, um sie auf die Karte hochzuladen",
|
||||
"Archive" : "Archivieren",
|
||||
"Unarchive" : "Dearchivieren",
|
||||
"Delete" : "Löschen",
|
||||
"Enter a card title" : "Kartentitel eingeben",
|
||||
"Add card" : "Karte hinzufügen",
|
||||
"Close" : "Schließen",
|
||||
"Sharing" : "Teilen",
|
||||
"Tags" : "Tags",
|
||||
"Tags" : "Schlagworte",
|
||||
"Select users or groups to share with" : "Benutzer oder Gruppen auswählen, mit denen das Board geteilt werden soll",
|
||||
"Access for" : "Zugriff für",
|
||||
"No matching user or group found." : "Keine passenden Benutzer oder Gruppen gefunden.",
|
||||
"Loading" : "Lade",
|
||||
"Share" : "Teilen",
|
||||
"Edit" : "Bearbeiten",
|
||||
"Manage" : "Verwalten",
|
||||
"Discard share" : "Teilen beenden",
|
||||
"Update" : "Aktualisieren",
|
||||
"Create" : "Erstellen",
|
||||
"Create a new tag" : "Tag erstellen",
|
||||
"Status" : "Status",
|
||||
"Title" : "Titel",
|
||||
"Members" : "Mitglieder",
|
||||
"More actions" : "Weitere Aktionen",
|
||||
@@ -31,24 +60,37 @@
|
||||
"Archive board" : "Board archivieren",
|
||||
"Unarchive board" : "Board dearchivieren",
|
||||
"Delete board" : "Board löschen",
|
||||
"Reset" : "Zurücksetzen",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Löschen des Boards rückgängig machen - Andernfalls wird das Board beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Create new board" : "Neues Board erstellen",
|
||||
"New board title" : "Neuer Board-Titel",
|
||||
"Select an attachment" : "Wählen Sie einen Anhang",
|
||||
"Cancel upload" : "Hochladen abbrechen",
|
||||
"by" : "von",
|
||||
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Dateilöschung rückgängig machen - Andernfalls wird die Datei beim nächsten CronJob-Lauf gelöscht.",
|
||||
"Undo file deletion" : "Dateilöschung rückgängig machen",
|
||||
"Insert the file into the description" : "Füge die Datei in die Beschreibung ein",
|
||||
"Modified:" : "Geändert:",
|
||||
"Created:" : "Erstellt:",
|
||||
"by" : "von",
|
||||
"Choose a label" : "Tag auswählen",
|
||||
"Add a label" : "Tag hinzufügen",
|
||||
"Select labels…" : "Tags auswählen…",
|
||||
"Choose a tag" : "Schlagwort auswählen",
|
||||
"Add a tag" : "Schlagwort hinzufügen",
|
||||
"Select tags" : "Schlagworte auswählen",
|
||||
"Assign users" : "Benutzer zuordnen",
|
||||
"Choose a user to assign" : "Wähle einen Benutzer für die Zuweisung aus",
|
||||
"Assign this card to a user" : "Diese Karte einem Benutzer zuordnen",
|
||||
"Due date" : "Zieltermin",
|
||||
"Click to set" : "Setzen",
|
||||
"Remove due date" : "Zieltermin entfernen",
|
||||
"Description" : "Beschreibung",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Attachments" : "Anhänge",
|
||||
"Saved" : "Gespeichert",
|
||||
"Unsaved changes" : "Ungesicherte Änderungen",
|
||||
"Formatting help" : "Formatierungshilfe",
|
||||
"Upload attachment" : "Anhang hochladen",
|
||||
"Insert attachment" : "Anhang einfügen",
|
||||
"Add a card description…" : "Beschreibung hinzufügen…",
|
||||
"Archived boards" : "Archivierte Boards",
|
||||
"Shared boards" : "Geteilte Boards",
|
||||
"Shared with you" : "Mit Ihnen geteilt",
|
||||
"View more" : "Mehr anzeigen",
|
||||
"Move board to archive" : "Board ins Archiv verschieben",
|
||||
"Create a new board" : "Neues Board erstellen"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
|
||||
22
l10n/el.js
22
l10n/el.js
@@ -1,30 +1,40 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την κάρτα με όλα τα δεδομένα της;",
|
||||
"Delete" : "Διαγραφή",
|
||||
"Remove user from card" : "Αφαίρεση χρήστη από την κάρτα",
|
||||
"Hours" : "Ώρες",
|
||||
"Minutes" : "Λεπτά",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Η κάρτα \"1%s\" στο \"1%s\" έχει λήξει.",
|
||||
"Finished" : "Ολοκληρώθηκε",
|
||||
"To review" : "Προς επισκόπηση",
|
||||
"Action needed" : "Απαιτείται ενέργεια",
|
||||
"Later" : "Αργότερα",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Πρόσθεσε νέα συστοιχία",
|
||||
"Submit" : "Υποβολή",
|
||||
"Show archived cards" : "Εμφάνιση καρτελών που αρχειοθετήθηκαν",
|
||||
"Hide archived cards" : "Απόκρυψη καρτελών που αρχειοθετήθηκαν",
|
||||
"Board details" : "Λεπτομέριες πίνακα",
|
||||
"All Boards" : "Όλοι οι πίνακες",
|
||||
"Archived boards" : "Αρχειοθέτηση πινάκων ",
|
||||
"Archive" : "Αρχειοθέτηση",
|
||||
"Unarchive" : "Αναίρεση αρχειοθέτησης",
|
||||
"Delete" : "Διαγραφή",
|
||||
"Enter a card title" : "Καταχωρίστε έναν τίτλο κάρτας",
|
||||
"Add card" : "Προσθήκη κάρτας",
|
||||
"Close" : "Κλείσιμο",
|
||||
"Sharing" : "Διαμοιρασμός",
|
||||
"Tags" : "Ετικέτες",
|
||||
"Select users or groups to share with" : "Επιλέξτε χρήστες ή ομάδες με τις οποίες θα μοιραστείτε",
|
||||
"No matching user or group found." : "Δεν βρέθηκε χρήστης ή ομάδα να ταιριάζει.",
|
||||
"Loading" : "Γίνεται φόρτωση",
|
||||
"Share" : "Διαμοιρασμός",
|
||||
"Edit" : "Επεξεργασία",
|
||||
"Manage" : "Διαχείριση",
|
||||
"Discard share" : "Απόρριψη διαμοιρασμού",
|
||||
"Update" : "Ενημέρωση",
|
||||
"Create" : "Δημιουργία",
|
||||
"Create a new tag" : "Δημιούργησε νέα ετικέτα",
|
||||
"Title" : "Τίτλος",
|
||||
"Members" : "Μέλη",
|
||||
@@ -35,22 +45,18 @@ OC.L10N.register(
|
||||
"Delete board" : "Διαγραφή πίνακα",
|
||||
"Create new board" : "Δημιουργία νέου πίνακα",
|
||||
"New board title" : "Νέος τίτλος πίνακα",
|
||||
"by" : "από",
|
||||
"Modified:" : "Τροποποιήθηκε:",
|
||||
"Created:" : "Δημιουργήθηκε:",
|
||||
"by" : "από",
|
||||
"Choose a label" : "Διάλεξε μια επιγραφή",
|
||||
"Add a label" : "Πρόσθεσε μια επιγραφή",
|
||||
"Select labels…" : "Επέλεξε επιγραφές",
|
||||
"Due date" : "Ημερομηνία λήξης",
|
||||
"Click to set" : "Κλικ για να ορίσετε",
|
||||
"Remove due date" : "Αφαίρεση ημερομηνίας λήξης",
|
||||
"Description" : "Περιγραφή",
|
||||
"Formatting help" : "Βοήθεια μορφοποίησης",
|
||||
"Saved" : "Αποθηκεύτηκε",
|
||||
"Formatting help" : "Βοήθεια μορφοποίησης",
|
||||
"Add a card description…" : "Προσθήκη περιγραφής κάρτας...",
|
||||
"Archived boards" : "Αρχειοθέτηση πινάκων ",
|
||||
"Shared boards" : "Διαμοιρασμένοι πίνακες",
|
||||
"Shared with you" : "Διαμοιρασμένα με εσάς",
|
||||
"View more" : "Προβολή περισσοτέρων",
|
||||
"Move board to archive" : "Μετακίνηση πίνακα στην αρχειοθήκη",
|
||||
"Create a new board" : "Δημιουργία νέου πίνακα"
|
||||
},
|
||||
|
||||
22
l10n/el.json
22
l10n/el.json
@@ -1,28 +1,38 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την κάρτα με όλα τα δεδομένα της;",
|
||||
"Delete" : "Διαγραφή",
|
||||
"Remove user from card" : "Αφαίρεση χρήστη από την κάρτα",
|
||||
"Hours" : "Ώρες",
|
||||
"Minutes" : "Λεπτά",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Η κάρτα \"1%s\" στο \"1%s\" έχει λήξει.",
|
||||
"Finished" : "Ολοκληρώθηκε",
|
||||
"To review" : "Προς επισκόπηση",
|
||||
"Action needed" : "Απαιτείται ενέργεια",
|
||||
"Later" : "Αργότερα",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Πρόσθεσε νέα συστοιχία",
|
||||
"Submit" : "Υποβολή",
|
||||
"Show archived cards" : "Εμφάνιση καρτελών που αρχειοθετήθηκαν",
|
||||
"Hide archived cards" : "Απόκρυψη καρτελών που αρχειοθετήθηκαν",
|
||||
"Board details" : "Λεπτομέριες πίνακα",
|
||||
"All Boards" : "Όλοι οι πίνακες",
|
||||
"Archived boards" : "Αρχειοθέτηση πινάκων ",
|
||||
"Archive" : "Αρχειοθέτηση",
|
||||
"Unarchive" : "Αναίρεση αρχειοθέτησης",
|
||||
"Delete" : "Διαγραφή",
|
||||
"Enter a card title" : "Καταχωρίστε έναν τίτλο κάρτας",
|
||||
"Add card" : "Προσθήκη κάρτας",
|
||||
"Close" : "Κλείσιμο",
|
||||
"Sharing" : "Διαμοιρασμός",
|
||||
"Tags" : "Ετικέτες",
|
||||
"Select users or groups to share with" : "Επιλέξτε χρήστες ή ομάδες με τις οποίες θα μοιραστείτε",
|
||||
"No matching user or group found." : "Δεν βρέθηκε χρήστης ή ομάδα να ταιριάζει.",
|
||||
"Loading" : "Γίνεται φόρτωση",
|
||||
"Share" : "Διαμοιρασμός",
|
||||
"Edit" : "Επεξεργασία",
|
||||
"Manage" : "Διαχείριση",
|
||||
"Discard share" : "Απόρριψη διαμοιρασμού",
|
||||
"Update" : "Ενημέρωση",
|
||||
"Create" : "Δημιουργία",
|
||||
"Create a new tag" : "Δημιούργησε νέα ετικέτα",
|
||||
"Title" : "Τίτλος",
|
||||
"Members" : "Μέλη",
|
||||
@@ -33,22 +43,18 @@
|
||||
"Delete board" : "Διαγραφή πίνακα",
|
||||
"Create new board" : "Δημιουργία νέου πίνακα",
|
||||
"New board title" : "Νέος τίτλος πίνακα",
|
||||
"by" : "από",
|
||||
"Modified:" : "Τροποποιήθηκε:",
|
||||
"Created:" : "Δημιουργήθηκε:",
|
||||
"by" : "από",
|
||||
"Choose a label" : "Διάλεξε μια επιγραφή",
|
||||
"Add a label" : "Πρόσθεσε μια επιγραφή",
|
||||
"Select labels…" : "Επέλεξε επιγραφές",
|
||||
"Due date" : "Ημερομηνία λήξης",
|
||||
"Click to set" : "Κλικ για να ορίσετε",
|
||||
"Remove due date" : "Αφαίρεση ημερομηνίας λήξης",
|
||||
"Description" : "Περιγραφή",
|
||||
"Formatting help" : "Βοήθεια μορφοποίησης",
|
||||
"Saved" : "Αποθηκεύτηκε",
|
||||
"Formatting help" : "Βοήθεια μορφοποίησης",
|
||||
"Add a card description…" : "Προσθήκη περιγραφής κάρτας...",
|
||||
"Archived boards" : "Αρχειοθέτηση πινάκων ",
|
||||
"Shared boards" : "Διαμοιρασμένοι πίνακες",
|
||||
"Shared with you" : "Διαμοιρασμένα με εσάς",
|
||||
"View more" : "Προβολή περισσοτέρων",
|
||||
"Move board to archive" : "Μετακίνηση πίνακα στην αρχειοθήκη",
|
||||
"Create a new board" : "Δημιουργία νέου πίνακα"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
|
||||
@@ -1,31 +1,48 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "Are you sure you want to delete this card with all of its data?",
|
||||
"Delete" : "Delete",
|
||||
"Remove user from card" : "Remove user from card",
|
||||
"Hours" : "Hours",
|
||||
"Minutes" : "Minutes",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Are you sure you want to delete the stack with all of its data?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "The card \"%s\" on \"%s\" has reached its due date.",
|
||||
"The board \"%s\" has been shared with you by %s." : "The board \"%s\" has been shared with you by %s.",
|
||||
"{user} has shared the board %s with you." : "{user} has shared the board %s with you.",
|
||||
"Finished" : "Finished",
|
||||
"To review" : "To review",
|
||||
"Action needed" : "Action needed",
|
||||
"Later" : "Later",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "A kanban style project and personal management tool for Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck is a kanban style organization tool aimed at personal planning and project organisation 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- 🚀 Get your project organised",
|
||||
"Add a new stack" : "Add a new stack",
|
||||
"Submit" : "Submit",
|
||||
"Show archived cards" : "Show archived cards",
|
||||
"Hide archived cards" : "Hide archived cards",
|
||||
"Board details" : "Board details",
|
||||
"All Boards" : "All Boards",
|
||||
"Archived boards" : "Archived boards",
|
||||
"Archive" : "Archive",
|
||||
"Unarchive" : "Unarchive",
|
||||
"Delete" : "Delete",
|
||||
"Enter a card title" : "Enter a card title",
|
||||
"Add card" : "Add card",
|
||||
"Close" : "Close",
|
||||
"Sharing" : "Sharing",
|
||||
"Tags" : "Tags",
|
||||
"Select users or groups to share with" : "Select users or groups to share with",
|
||||
"Access for" : "Access for",
|
||||
"No matching user or group found." : "No matching user or group found.",
|
||||
"Loading" : "Loading",
|
||||
"Share" : "Share",
|
||||
"Edit" : "Edit",
|
||||
"Manage" : "Manage",
|
||||
"Discard share" : "Discard share",
|
||||
"Update" : "Update",
|
||||
"Create" : "Create",
|
||||
"Create a new tag" : "Create a new tag",
|
||||
"Status" : "Status",
|
||||
"Title" : "Title",
|
||||
"Members" : "Members",
|
||||
"More actions" : "More actions",
|
||||
@@ -33,24 +50,29 @@ OC.L10N.register(
|
||||
"Archive board" : "Archive board",
|
||||
"Unarchive board" : "Unarchive board",
|
||||
"Delete board" : "Delete board",
|
||||
"Reset" : "Reset",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Undo board deletion - Otherwise the board will be deleted during the next cronjob run.",
|
||||
"Create new board" : "Create new board",
|
||||
"New board title" : "New board title",
|
||||
"by" : "by",
|
||||
"Modified:" : "Modified:",
|
||||
"Created:" : "Created:",
|
||||
"by" : "by",
|
||||
"Choose a label" : "Choose a label",
|
||||
"Add a label" : "Add a label",
|
||||
"Select labels…" : "Select labels…",
|
||||
"Choose a tag" : "Choose a tag",
|
||||
"Add a tag" : "Add a tag",
|
||||
"Select tags" : "Select tags",
|
||||
"Assign users" : "Assign users",
|
||||
"Choose a user to assign" : "Choose a user to assign",
|
||||
"Assign this card to a user" : "Assign this card to a user",
|
||||
"Due date" : "Due date",
|
||||
"Click to set" : "Click to set",
|
||||
"Remove due date" : "Remove due date",
|
||||
"Description" : "Description",
|
||||
"Formatting help" : "Formatting help",
|
||||
"Saved" : "Saved",
|
||||
"Unsaved changes" : "Unsaved changes",
|
||||
"Formatting help" : "Formatting help",
|
||||
"Add a card description…" : "Add a card description…",
|
||||
"Archived boards" : "Archived boards",
|
||||
"Shared boards" : "Shared boards",
|
||||
"Shared with you" : "Shared with you",
|
||||
"View more" : "View more",
|
||||
"Move board to archive" : "Move board to archive",
|
||||
"Create a new board" : "Create a new board"
|
||||
},
|
||||
|
||||
@@ -1,29 +1,46 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "Are you sure you want to delete this card with all of its data?",
|
||||
"Delete" : "Delete",
|
||||
"Remove user from card" : "Remove user from card",
|
||||
"Hours" : "Hours",
|
||||
"Minutes" : "Minutes",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "Are you sure you want to delete the stack with all of its data?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "The card \"%s\" on \"%s\" has reached its due date.",
|
||||
"The board \"%s\" has been shared with you by %s." : "The board \"%s\" has been shared with you by %s.",
|
||||
"{user} has shared the board %s with you." : "{user} has shared the board %s with you.",
|
||||
"Finished" : "Finished",
|
||||
"To review" : "To review",
|
||||
"Action needed" : "Action needed",
|
||||
"Later" : "Later",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "A kanban style project and personal management tool for Nextcloud",
|
||||
"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- 🚀 Get your project organized" : "Deck is a kanban style organization tool aimed at personal planning and project organisation 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- 🚀 Get your project organised",
|
||||
"Add a new stack" : "Add a new stack",
|
||||
"Submit" : "Submit",
|
||||
"Show archived cards" : "Show archived cards",
|
||||
"Hide archived cards" : "Hide archived cards",
|
||||
"Board details" : "Board details",
|
||||
"All Boards" : "All Boards",
|
||||
"Archived boards" : "Archived boards",
|
||||
"Archive" : "Archive",
|
||||
"Unarchive" : "Unarchive",
|
||||
"Delete" : "Delete",
|
||||
"Enter a card title" : "Enter a card title",
|
||||
"Add card" : "Add card",
|
||||
"Close" : "Close",
|
||||
"Sharing" : "Sharing",
|
||||
"Tags" : "Tags",
|
||||
"Select users or groups to share with" : "Select users or groups to share with",
|
||||
"Access for" : "Access for",
|
||||
"No matching user or group found." : "No matching user or group found.",
|
||||
"Loading" : "Loading",
|
||||
"Share" : "Share",
|
||||
"Edit" : "Edit",
|
||||
"Manage" : "Manage",
|
||||
"Discard share" : "Discard share",
|
||||
"Update" : "Update",
|
||||
"Create" : "Create",
|
||||
"Create a new tag" : "Create a new tag",
|
||||
"Status" : "Status",
|
||||
"Title" : "Title",
|
||||
"Members" : "Members",
|
||||
"More actions" : "More actions",
|
||||
@@ -31,24 +48,29 @@
|
||||
"Archive board" : "Archive board",
|
||||
"Unarchive board" : "Unarchive board",
|
||||
"Delete board" : "Delete board",
|
||||
"Reset" : "Reset",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Undo board deletion - Otherwise the board will be deleted during the next cronjob run.",
|
||||
"Create new board" : "Create new board",
|
||||
"New board title" : "New board title",
|
||||
"by" : "by",
|
||||
"Modified:" : "Modified:",
|
||||
"Created:" : "Created:",
|
||||
"by" : "by",
|
||||
"Choose a label" : "Choose a label",
|
||||
"Add a label" : "Add a label",
|
||||
"Select labels…" : "Select labels…",
|
||||
"Choose a tag" : "Choose a tag",
|
||||
"Add a tag" : "Add a tag",
|
||||
"Select tags" : "Select tags",
|
||||
"Assign users" : "Assign users",
|
||||
"Choose a user to assign" : "Choose a user to assign",
|
||||
"Assign this card to a user" : "Assign this card to a user",
|
||||
"Due date" : "Due date",
|
||||
"Click to set" : "Click to set",
|
||||
"Remove due date" : "Remove due date",
|
||||
"Description" : "Description",
|
||||
"Formatting help" : "Formatting help",
|
||||
"Saved" : "Saved",
|
||||
"Unsaved changes" : "Unsaved changes",
|
||||
"Formatting help" : "Formatting help",
|
||||
"Add a card description…" : "Add a card description…",
|
||||
"Archived boards" : "Archived boards",
|
||||
"Shared boards" : "Shared boards",
|
||||
"Shared with you" : "Shared with you",
|
||||
"View more" : "View more",
|
||||
"Move board to archive" : "Move board to archive",
|
||||
"Create a new board" : "Create a new board"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
|
||||
57
l10n/es.js
57
l10n/es.js
@@ -1,31 +1,60 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "¿Estás seguro de que quieres eliminar esta tarjeta con todos sus datos?",
|
||||
"Delete" : "Eliminar",
|
||||
"Remove user from card" : "Eliminar usuario de la tarjeta",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"Maximum file size of {size} exceeded" : "Tamaño máximo de archivo de {size} excedido",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "¿Estás seguro de que quieres eliminar el mazo con todos sus datos?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alcanzado su fecha límite.",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo.",
|
||||
"No data was provided to create an attachment." : "No se proporcionaron datos para crear un adjunto",
|
||||
"Finished" : "Finalizado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción necesaria",
|
||||
"Later" : "Después",
|
||||
"The file was uploaded" : "Se ha subido el archivo",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "El archivo subido excede la directiva upload_max_filesize en php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "El archivo subido excede la directiva MAX_FILE-SIZE directive que se especificó en el formulario web",
|
||||
"The file was only partially uploaded" : "El archivo se ha subido solo parcialmente",
|
||||
"No file was uploaded" : "No se ha subido ningún archivo",
|
||||
"Missing a temporary folder" : "Falta una carpeta temporal",
|
||||
"Could not write file to disk" : "No se ha podido escribir el archivo al disco",
|
||||
"A PHP extension stopped the file upload" : "Una extensión de PHP ha detenido la subida del archivo",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "No se ha subido ningún archivo, o el tamaño del archivo excede el máximo de %s",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Una herramienta de manejo de proyectos y personal al estilo kanban para Nextcloud.",
|
||||
"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- 🚀 Get your project organized" : "Deckes una herramienta de organización al estilo kanban enfocada en la planificación personal y en la organización de proyectos para equipos, integrada en Nextcloud.\n\n\n- 📥 Añade tus tareas a tarjetas y ordénalas\n- 📄 Escribe notas adicionales en markdown\n- 🔖 Asigna etiquetas para una organización aún mejor\n- 👥 Comparte con tu equipo, amigos o familia\n- 🚀 Organiza tu proyecto",
|
||||
"Add a new stack" : "Añadir nuevo montón",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Drop your files here to upload it to the card" : "Arrastra tus archivos aquí para subirlos a la tarjeta",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Delete" : "Eliminar",
|
||||
"Enter a card title" : "Introducir título de tarjeta",
|
||||
"Add card" : "Añadir tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartir",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Seleccionar usuarios o grupos con los que compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron usuarios o grupos coincidentes.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Organizar",
|
||||
"Discard share" : "Descartar compartición",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una etiqueta nueva",
|
||||
"Status" : "Estado",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
@@ -33,24 +62,36 @@ OC.L10N.register(
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Eliminar tablero",
|
||||
"Reset" : "Resetear",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado del tablero. Si no, el tablero será eliminado durante la próxima ejecución del cronjob.",
|
||||
"Create new board" : "Crear nuevo tablero",
|
||||
"New board title" : "Nuevo título de tablero",
|
||||
"Select an attachment" : "Selecciona un adjunto",
|
||||
"by" : "por",
|
||||
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Deshacer eliminación del archivo. De otra forma el archivo se borrará durante la próxima ejecución del trabajo cron.",
|
||||
"Undo file deletion" : "Deshacer eliminación del archivo",
|
||||
"Insert the file into the description" : "Introduce el archivo en la descripción",
|
||||
"Modified:" : "Modificado: ",
|
||||
"Created:" : "Creado: ",
|
||||
"by" : "por",
|
||||
"Choose a label" : "Escoger etiqueta",
|
||||
"Add a label" : "Añadir etiqueta",
|
||||
"Select labels…" : "Seleccionar etiquetas...",
|
||||
"Choose a tag" : "Escoge una etiqueta",
|
||||
"Add a tag" : "Añade una etiqueta",
|
||||
"Select tags" : "Selecciona etiquetas",
|
||||
"Assign users" : "Asignar usuarios",
|
||||
"Choose a user to assign" : "Escoge un usuario al que asignar",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta a un usuario",
|
||||
"Due date" : "Fecha límite",
|
||||
"Click to set" : "Pinchar para establecer",
|
||||
"Remove due date" : "Eliminar fecha límite",
|
||||
"Description" : "Descripción",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Attachments" : "Adjuntos",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Upload attachment" : "Subir adjunto",
|
||||
"Insert attachment" : "Insertar adjunto",
|
||||
"Add a card description…" : "Añadir una descripción de tarjeta...",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"Shared with you" : "Compartido contigo",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover tablero al archivo",
|
||||
"Create a new board" : "Crear un tablero nuevo"
|
||||
},
|
||||
|
||||
57
l10n/es.json
57
l10n/es.json
@@ -1,29 +1,58 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "¿Estás seguro de que quieres eliminar esta tarjeta con todos sus datos?",
|
||||
"Delete" : "Eliminar",
|
||||
"Remove user from card" : "Eliminar usuario de la tarjeta",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"Maximum file size of {size} exceeded" : "Tamaño máximo de archivo de {size} excedido",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "¿Estás seguro de que quieres eliminar el mazo con todos sus datos?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alcanzado su fecha límite.",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo.",
|
||||
"No data was provided to create an attachment." : "No se proporcionaron datos para crear un adjunto",
|
||||
"Finished" : "Finalizado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción necesaria",
|
||||
"Later" : "Después",
|
||||
"The file was uploaded" : "Se ha subido el archivo",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "El archivo subido excede la directiva upload_max_filesize en php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "El archivo subido excede la directiva MAX_FILE-SIZE directive que se especificó en el formulario web",
|
||||
"The file was only partially uploaded" : "El archivo se ha subido solo parcialmente",
|
||||
"No file was uploaded" : "No se ha subido ningún archivo",
|
||||
"Missing a temporary folder" : "Falta una carpeta temporal",
|
||||
"Could not write file to disk" : "No se ha podido escribir el archivo al disco",
|
||||
"A PHP extension stopped the file upload" : "Una extensión de PHP ha detenido la subida del archivo",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "No se ha subido ningún archivo, o el tamaño del archivo excede el máximo de %s",
|
||||
"Deck" : "Deck",
|
||||
"A kanban style project and personal management tool for Nextcloud" : "Una herramienta de manejo de proyectos y personal al estilo kanban para Nextcloud.",
|
||||
"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- 🚀 Get your project organized" : "Deckes una herramienta de organización al estilo kanban enfocada en la planificación personal y en la organización de proyectos para equipos, integrada en Nextcloud.\n\n\n- 📥 Añade tus tareas a tarjetas y ordénalas\n- 📄 Escribe notas adicionales en markdown\n- 🔖 Asigna etiquetas para una organización aún mejor\n- 👥 Comparte con tu equipo, amigos o familia\n- 🚀 Organiza tu proyecto",
|
||||
"Add a new stack" : "Añadir nuevo montón",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Drop your files here to upload it to the card" : "Arrastra tus archivos aquí para subirlos a la tarjeta",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Delete" : "Eliminar",
|
||||
"Enter a card title" : "Introducir título de tarjeta",
|
||||
"Add card" : "Añadir tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartir",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Seleccionar usuarios o grupos con los que compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron usuarios o grupos coincidentes.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Organizar",
|
||||
"Discard share" : "Descartar compartición",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una etiqueta nueva",
|
||||
"Status" : "Estado",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
@@ -31,24 +60,36 @@
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Eliminar tablero",
|
||||
"Reset" : "Resetear",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado del tablero. Si no, el tablero será eliminado durante la próxima ejecución del cronjob.",
|
||||
"Create new board" : "Crear nuevo tablero",
|
||||
"New board title" : "Nuevo título de tablero",
|
||||
"Select an attachment" : "Selecciona un adjunto",
|
||||
"by" : "por",
|
||||
"Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "Deshacer eliminación del archivo. De otra forma el archivo se borrará durante la próxima ejecución del trabajo cron.",
|
||||
"Undo file deletion" : "Deshacer eliminación del archivo",
|
||||
"Insert the file into the description" : "Introduce el archivo en la descripción",
|
||||
"Modified:" : "Modificado: ",
|
||||
"Created:" : "Creado: ",
|
||||
"by" : "por",
|
||||
"Choose a label" : "Escoger etiqueta",
|
||||
"Add a label" : "Añadir etiqueta",
|
||||
"Select labels…" : "Seleccionar etiquetas...",
|
||||
"Choose a tag" : "Escoge una etiqueta",
|
||||
"Add a tag" : "Añade una etiqueta",
|
||||
"Select tags" : "Selecciona etiquetas",
|
||||
"Assign users" : "Asignar usuarios",
|
||||
"Choose a user to assign" : "Escoge un usuario al que asignar",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta a un usuario",
|
||||
"Due date" : "Fecha límite",
|
||||
"Click to set" : "Pinchar para establecer",
|
||||
"Remove due date" : "Eliminar fecha límite",
|
||||
"Description" : "Descripción",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Attachments" : "Adjuntos",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Upload attachment" : "Subir adjunto",
|
||||
"Insert attachment" : "Insertar adjunto",
|
||||
"Add a card description…" : "Añadir una descripción de tarjeta...",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"Shared with you" : "Compartido contigo",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover tablero al archivo",
|
||||
"Create a new board" : "Crear un tablero nuevo"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
|
||||
73
l10n/es_419.js
Normal file
73
l10n/es_419.js
Normal file
@@ -0,0 +1,73 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Delete" : "Borrar",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alacanzado su fecha de entrega",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo. ",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
"Later" : "Después",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Agregar una nueva pila",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los Tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Enter a card title" : "Ingresa el título de la tarjeta",
|
||||
"Add card" : "Agregar tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartiendo",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Selecciona los usuarios o grupos con los cuales compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Administrar",
|
||||
"Discard share" : "Descartar elemento compartido",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una nueva etiqueta",
|
||||
"Status" : "Estatus",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
"Edit board" : "Editar el tablero",
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Borrar tableros",
|
||||
"Reset" : "Reiniciar",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado de tablero - De lo contrario el tablero se borrará durante la siguiente ejecución del cronjob. ",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título del tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"Choose a tag" : "Elije una etiqueta",
|
||||
"Add a tag" : "Agrega una etiqueta",
|
||||
"Select tags" : "Selecciona las etiquetas",
|
||||
"Assign users" : "Asingar usuarios",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta al usuario",
|
||||
"Due date" : "Fecha de vencimiento",
|
||||
"Click to set" : "Da click aquí para establecer",
|
||||
"Remove due date" : "Eliminar fecha de expiración",
|
||||
"Description" : "Descripción",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover el tablero al archivo",
|
||||
"Create a new board" : "Crear un nuevo tablero"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
71
l10n/es_419.json
Normal file
71
l10n/es_419.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{ "translations": {
|
||||
"Delete" : "Borrar",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alacanzado su fecha de entrega",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo. ",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
"Later" : "Después",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Agregar una nueva pila",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los Tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Enter a card title" : "Ingresa el título de la tarjeta",
|
||||
"Add card" : "Agregar tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartiendo",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Selecciona los usuarios o grupos con los cuales compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Administrar",
|
||||
"Discard share" : "Descartar elemento compartido",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una nueva etiqueta",
|
||||
"Status" : "Estatus",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
"Edit board" : "Editar el tablero",
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Borrar tableros",
|
||||
"Reset" : "Reiniciar",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado de tablero - De lo contrario el tablero se borrará durante la siguiente ejecución del cronjob. ",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título del tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"Choose a tag" : "Elije una etiqueta",
|
||||
"Add a tag" : "Agrega una etiqueta",
|
||||
"Select tags" : "Selecciona las etiquetas",
|
||||
"Assign users" : "Asingar usuarios",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta al usuario",
|
||||
"Due date" : "Fecha de vencimiento",
|
||||
"Click to set" : "Da click aquí para establecer",
|
||||
"Remove due date" : "Eliminar fecha de expiración",
|
||||
"Description" : "Descripción",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover el tablero al archivo",
|
||||
"Create a new board" : "Crear un nuevo tablero"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Delete" : "Borrar",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
@@ -12,7 +13,6 @@ OC.L10N.register(
|
||||
"All Boards" : "Todos los Tablero",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Delete" : "Borrar",
|
||||
"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",
|
||||
@@ -24,14 +24,13 @@ OC.L10N.register(
|
||||
"Members" : "Miembros",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título de tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"by" : "por",
|
||||
"Description" : "Descripción",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Saved" : "Guardado",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared with you" : "Compartido con usted",
|
||||
"Create a new board" : "Crear nuevo tablero"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ "translations": {
|
||||
"Delete" : "Borrar",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
@@ -10,7 +11,6 @@
|
||||
"All Boards" : "Todos los Tablero",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Delete" : "Borrar",
|
||||
"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",
|
||||
@@ -22,14 +22,13 @@
|
||||
"Members" : "Miembros",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título de tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"by" : "por",
|
||||
"Description" : "Descripción",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Saved" : "Guardado",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared with you" : "Compartido con usted",
|
||||
"Create a new board" : "Crear nuevo tablero"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
}
|
||||
77
l10n/es_CL.js
Normal file
77
l10n/es_CL.js
Normal file
@@ -0,0 +1,77 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "¿Estás seguro que deseas borrar esta tarjeta con todos sus datos? ",
|
||||
"Delete" : "Borrar",
|
||||
"Remove user from card" : "Eliminar usuario de la tarjeta",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "¿Estás seguro que deseas borrar la pila con todos sus datos?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alacanzado su fecha de entrega",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo. ",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
"Later" : "Después",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Agregar una nueva pila",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los Tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Enter a card title" : "Ingresa el título de la tarjeta",
|
||||
"Add card" : "Agregar tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartiendo",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Selecciona los usuarios o grupos con los cuales compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Administrar",
|
||||
"Discard share" : "Descartar elemento compartido",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una nueva etiqueta",
|
||||
"Status" : "Estatus",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
"Edit board" : "Editar el tablero",
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Borrar tableros",
|
||||
"Reset" : "Reiniciar",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado de tablero - De lo contrario el tablero se borrará durante la siguiente ejecución del cronjob. ",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título del tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"Choose a tag" : "Elije una etiqueta",
|
||||
"Add a tag" : "Agrega una etiqueta",
|
||||
"Select tags" : "Selecciona las etiquetas",
|
||||
"Assign users" : "Asingar usuarios",
|
||||
"Choose a user to assign" : "Elige un usuario a asignar",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta al usuario",
|
||||
"Due date" : "Fecha de vencimiento",
|
||||
"Click to set" : "Da click aquí para establecer",
|
||||
"Remove due date" : "Eliminar fecha de expiración",
|
||||
"Description" : "Descripción",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover el tablero al archivo",
|
||||
"Create a new board" : "Crear un nuevo tablero"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
75
l10n/es_CL.json
Normal file
75
l10n/es_CL.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "¿Estás seguro que deseas borrar esta tarjeta con todos sus datos? ",
|
||||
"Delete" : "Borrar",
|
||||
"Remove user from card" : "Eliminar usuario de la tarjeta",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "¿Estás seguro que deseas borrar la pila con todos sus datos?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alacanzado su fecha de entrega",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo. ",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
"Later" : "Después",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Agregar una nueva pila",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los Tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Enter a card title" : "Ingresa el título de la tarjeta",
|
||||
"Add card" : "Agregar tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartiendo",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Selecciona los usuarios o grupos con los cuales compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Administrar",
|
||||
"Discard share" : "Descartar elemento compartido",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una nueva etiqueta",
|
||||
"Status" : "Estatus",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
"Edit board" : "Editar el tablero",
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Borrar tableros",
|
||||
"Reset" : "Reiniciar",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado de tablero - De lo contrario el tablero se borrará durante la siguiente ejecución del cronjob. ",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título del tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"Choose a tag" : "Elije una etiqueta",
|
||||
"Add a tag" : "Agrega una etiqueta",
|
||||
"Select tags" : "Selecciona las etiquetas",
|
||||
"Assign users" : "Asingar usuarios",
|
||||
"Choose a user to assign" : "Elige un usuario a asignar",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta al usuario",
|
||||
"Due date" : "Fecha de vencimiento",
|
||||
"Click to set" : "Da click aquí para establecer",
|
||||
"Remove due date" : "Eliminar fecha de expiración",
|
||||
"Description" : "Descripción",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover el tablero al archivo",
|
||||
"Create a new board" : "Crear un nuevo tablero"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
}
|
||||
77
l10n/es_CO.js
Normal file
77
l10n/es_CO.js
Normal file
@@ -0,0 +1,77 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "¿Estás seguro que deseas borrar esta tarjeta con todos sus datos? ",
|
||||
"Delete" : "Borrar",
|
||||
"Remove user from card" : "Eliminar usuario de la tarjeta",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "¿Estás seguro que deseas borrar la pila con todos sus datos?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alacanzado su fecha de entrega",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo. ",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
"Later" : "Después",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Agregar una nueva pila",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los Tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Enter a card title" : "Ingresa el título de la tarjeta",
|
||||
"Add card" : "Agregar tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartiendo",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Selecciona los usuarios o grupos con los cuales compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Administrar",
|
||||
"Discard share" : "Descartar elemento compartido",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una nueva etiqueta",
|
||||
"Status" : "Estatus",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
"Edit board" : "Editar el tablero",
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Borrar tableros",
|
||||
"Reset" : "Reiniciar",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado de tablero - De lo contrario el tablero se borrará durante la siguiente ejecución del cronjob. ",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título del tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"Choose a tag" : "Elije una etiqueta",
|
||||
"Add a tag" : "Agrega una etiqueta",
|
||||
"Select tags" : "Selecciona las etiquetas",
|
||||
"Assign users" : "Asingar usuarios",
|
||||
"Choose a user to assign" : "Elige un usuario a asignar",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta al usuario",
|
||||
"Due date" : "Fecha de vencimiento",
|
||||
"Click to set" : "Da click aquí para establecer",
|
||||
"Remove due date" : "Eliminar fecha de expiración",
|
||||
"Description" : "Descripción",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover el tablero al archivo",
|
||||
"Create a new board" : "Crear un nuevo tablero"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
75
l10n/es_CO.json
Normal file
75
l10n/es_CO.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{ "translations": {
|
||||
"Are you sure you want to delete this card with all of its data?" : "¿Estás seguro que deseas borrar esta tarjeta con todos sus datos? ",
|
||||
"Delete" : "Borrar",
|
||||
"Remove user from card" : "Eliminar usuario de la tarjeta",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "¿Estás seguro que deseas borrar la pila con todos sus datos?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alacanzado su fecha de entrega",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo. ",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
"Later" : "Después",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Agregar una nueva pila",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los Tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Enter a card title" : "Ingresa el título de la tarjeta",
|
||||
"Add card" : "Agregar tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartiendo",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Selecciona los usuarios o grupos con los cuales compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Administrar",
|
||||
"Discard share" : "Descartar elemento compartido",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una nueva etiqueta",
|
||||
"Status" : "Estatus",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
"Edit board" : "Editar el tablero",
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Borrar tableros",
|
||||
"Reset" : "Reiniciar",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado de tablero - De lo contrario el tablero se borrará durante la siguiente ejecución del cronjob. ",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título del tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"Choose a tag" : "Elije una etiqueta",
|
||||
"Add a tag" : "Agrega una etiqueta",
|
||||
"Select tags" : "Selecciona las etiquetas",
|
||||
"Assign users" : "Asingar usuarios",
|
||||
"Choose a user to assign" : "Elige un usuario a asignar",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta al usuario",
|
||||
"Due date" : "Fecha de vencimiento",
|
||||
"Click to set" : "Da click aquí para establecer",
|
||||
"Remove due date" : "Eliminar fecha de expiración",
|
||||
"Description" : "Descripción",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover el tablero al archivo",
|
||||
"Create a new board" : "Crear un nuevo tablero"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
}
|
||||
77
l10n/es_CR.js
Normal file
77
l10n/es_CR.js
Normal file
@@ -0,0 +1,77 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"Are you sure you want to delete this card with all of its data?" : "¿Estás seguro que deseas borrar esta tarjeta con todos sus datos? ",
|
||||
"Delete" : "Borrar",
|
||||
"Remove user from card" : "Eliminar usuario de la tarjeta",
|
||||
"Hours" : "Horas",
|
||||
"Minutes" : "Minutos",
|
||||
"Are you sure you want to delete the stack with all of its data?" : "¿Estás seguro que deseas borrar la pila con todos sus datos?",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "La tarjeta \"%s\" en \"%s\" ha alacanzado su fecha de entrega",
|
||||
"The board \"%s\" has been shared with you by %s." : "El tablero \"%s\" ha sido compartido contigo por %s.",
|
||||
"{user} has shared the board %s with you." : "{user} ha compartido el tablero %s contigo. ",
|
||||
"Finished" : "Terminado",
|
||||
"To review" : "Para revisar",
|
||||
"Action needed" : "Acción requerida",
|
||||
"Later" : "Después",
|
||||
"Deck" : "Deck",
|
||||
"Add a new stack" : "Agregar una nueva pila",
|
||||
"Submit" : "Enviar",
|
||||
"Show archived cards" : "Mostrar tarjetas archivadas",
|
||||
"Hide archived cards" : "Ocultar tarjetas archivadas",
|
||||
"Board details" : "Detalles del tablero",
|
||||
"All Boards" : "Todos los Tableros",
|
||||
"Archived boards" : "Tableros archivados",
|
||||
"Archive" : "Archivar",
|
||||
"Unarchive" : "Desarchivar",
|
||||
"Enter a card title" : "Ingresa el título de la tarjeta",
|
||||
"Add card" : "Agregar tarjeta",
|
||||
"Close" : "Cerrar",
|
||||
"Sharing" : "Compartiendo",
|
||||
"Tags" : "Etiquetas",
|
||||
"Select users or groups to share with" : "Selecciona los usuarios o grupos con los cuales compartir",
|
||||
"Access for" : "Acceso para",
|
||||
"No matching user or group found." : "No se encontraron coincidencias de usuarios o grupos.",
|
||||
"Loading" : "Cargando",
|
||||
"Share" : "Compartir",
|
||||
"Edit" : "Editar",
|
||||
"Manage" : "Administrar",
|
||||
"Discard share" : "Descartar elemento compartido",
|
||||
"Update" : "Actualizar",
|
||||
"Create" : "Crear",
|
||||
"Create a new tag" : "Crear una nueva etiqueta",
|
||||
"Status" : "Estatus",
|
||||
"Title" : "Título",
|
||||
"Members" : "Miembros",
|
||||
"More actions" : "Más acciones",
|
||||
"Edit board" : "Editar el tablero",
|
||||
"Archive board" : "Archivar tablero",
|
||||
"Unarchive board" : "Desarchivar tablero",
|
||||
"Delete board" : "Borrar tableros",
|
||||
"Reset" : "Reiniciar",
|
||||
"Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "Deshacer borrado de tablero - De lo contrario el tablero se borrará durante la siguiente ejecución del cronjob. ",
|
||||
"Create new board" : "Crear un nuevo tablero",
|
||||
"New board title" : "Nuevo título del tablero",
|
||||
"by" : "por",
|
||||
"Modified:" : "Modificado:",
|
||||
"Created:" : "Creado:",
|
||||
"Choose a tag" : "Elije una etiqueta",
|
||||
"Add a tag" : "Agrega una etiqueta",
|
||||
"Select tags" : "Selecciona las etiquetas",
|
||||
"Assign users" : "Asingar usuarios",
|
||||
"Choose a user to assign" : "Elige un usuario a asignar",
|
||||
"Assign this card to a user" : "Asignar esta tarjeta al usuario",
|
||||
"Due date" : "Fecha de vencimiento",
|
||||
"Click to set" : "Da click aquí para establecer",
|
||||
"Remove due date" : "Eliminar fecha de expiración",
|
||||
"Description" : "Descripción",
|
||||
"Saved" : "Guardado",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"Formatting help" : "Ayuda de formato",
|
||||
"Add a card description…" : "Agregar una descripción de tarjeta...",
|
||||
"Shared boards" : "Tableros compartidos",
|
||||
"View more" : "Ver más",
|
||||
"Move board to archive" : "Mover el tablero al archivo",
|
||||
"Create a new board" : "Crear un nuevo tablero"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user