Compare commits
614 Commits
release/1.
...
backport/5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
017fa30a4b | ||
|
|
ddf9d554f5 | ||
|
|
9eb51b0fa8 | ||
|
|
620b61bd79 | ||
|
|
7387beee39 | ||
|
|
aeaf5d201b | ||
|
|
1021b7197a | ||
|
|
ecd063bc89 | ||
|
|
9614dc3b17 | ||
|
|
f8251e9423 | ||
|
|
d4c1f855cd | ||
|
|
8032fe6964 | ||
|
|
36533a3952 | ||
|
|
48df7928bf | ||
|
|
ae51a8bb02 | ||
|
|
3f1f834849 | ||
|
|
4390969143 | ||
|
|
f942d803d2 | ||
|
|
9e5584de89 | ||
|
|
e4b38fdc96 | ||
|
|
e0c30deb12 | ||
|
|
be224c64e9 | ||
|
|
6a3655ddfd | ||
|
|
78b55d5f5d | ||
|
|
c397d3e6ab | ||
|
|
41eed1e637 | ||
|
|
f3b9b99152 | ||
|
|
4821017b7c | ||
|
|
e24fddc61b | ||
|
|
7ec74261b4 | ||
|
|
c796f05241 | ||
|
|
92b91f6108 | ||
|
|
66cb1933e3 | ||
|
|
2ee2191430 | ||
|
|
9aa84c7e07 | ||
|
|
2ad25b034b | ||
|
|
a7e8bd9055 | ||
|
|
a0fb2f7297 | ||
|
|
30fb9ea528 | ||
|
|
b9543981a5 | ||
|
|
9b95895965 | ||
|
|
902e806a6a | ||
|
|
da7d7deb65 | ||
|
|
f94c7f01e0 | ||
|
|
1afbf3436a | ||
|
|
b81c49bd38 | ||
|
|
b67a5cb7d7 | ||
|
|
f47802b053 | ||
|
|
dbfead42cc | ||
|
|
61d236cfb4 | ||
|
|
17799a490b | ||
|
|
f7b691a8a3 | ||
|
|
d558a65383 | ||
|
|
7abbe6c0b5 | ||
|
|
3830ee6d80 | ||
|
|
4c432fea5a | ||
|
|
66d0883f0d | ||
|
|
c82eff05b5 | ||
|
|
e3c0f7da21 | ||
|
|
e38d93edf1 | ||
|
|
dbd4058a0e | ||
|
|
2ae4cef580 | ||
|
|
322676d06f | ||
|
|
fbc2e4830d | ||
|
|
d1f588c668 | ||
|
|
a78e566c8e | ||
|
|
c18d7c8486 | ||
|
|
7eceacdca8 | ||
|
|
2c94b89447 | ||
|
|
efb5f8e28d | ||
|
|
c2d014ef93 | ||
|
|
2fe2f824e0 | ||
|
|
69f7c2e623 | ||
|
|
d5eeb5cd43 | ||
|
|
507e8b027f | ||
|
|
0ba3ae663a | ||
|
|
0e991947a6 | ||
|
|
0c5e28664a | ||
|
|
69f6764d80 | ||
|
|
363b9d0a44 | ||
|
|
0429d0471c | ||
|
|
24bef69476 | ||
|
|
556e721471 | ||
|
|
86551e9c8e | ||
|
|
76f20011c1 | ||
|
|
6d50829f43 | ||
|
|
46bc0f3b94 | ||
|
|
4c558f1ae4 | ||
|
|
1c03b1529c | ||
|
|
ac6ad995cd | ||
|
|
fc96836c93 | ||
|
|
fc063a446c | ||
|
|
b0ee7ffa26 | ||
|
|
994d351ac1 | ||
|
|
c1ce0aaabe | ||
|
|
bed7f63461 | ||
|
|
1ab361d280 | ||
|
|
3323100808 | ||
|
|
6cd47a9854 | ||
|
|
0bf4905030 | ||
|
|
f955bad413 | ||
|
|
2731a044ce | ||
|
|
1189dc083f | ||
|
|
c72c6b7f29 | ||
|
|
6e5d88d2b7 | ||
|
|
e4db2c9ace | ||
|
|
6fca0cc5ff | ||
|
|
8641cfb9ea | ||
|
|
b19dddfa84 | ||
|
|
6da100f39f | ||
|
|
eb9288d2bb | ||
|
|
a54eea62de | ||
|
|
80dd40d595 | ||
|
|
6ac40933ce | ||
|
|
8f3c22f718 | ||
|
|
bf043b455a | ||
|
|
16d930df22 | ||
|
|
5074b47f7d | ||
|
|
e24eb88cc4 | ||
|
|
b70204c5b1 | ||
|
|
99d47d0ea2 | ||
|
|
1620e35f74 | ||
|
|
4600a8c122 | ||
|
|
329272d65a | ||
|
|
c4b0e08d44 | ||
|
|
75242c09d2 | ||
|
|
e2c78434e4 | ||
|
|
3749f4d9b0 | ||
|
|
7fe13533b9 | ||
|
|
0a9b64c758 | ||
|
|
460a08effa | ||
|
|
3aea97bdae | ||
|
|
a33bb9dfb2 | ||
|
|
72375fcfab | ||
|
|
e52c520550 | ||
|
|
454d87c1d0 | ||
|
|
7620ec382e | ||
|
|
1184d5c6bf | ||
|
|
8fdd2d134b | ||
|
|
395c93366b | ||
|
|
284bc6e9c5 | ||
|
|
04b769d6d6 | ||
|
|
5a1a498af9 | ||
|
|
e821ba1341 | ||
|
|
f435f66cf5 | ||
|
|
f9f45d0aec | ||
|
|
a9227ee883 | ||
|
|
fdbc6fdc0f | ||
|
|
e4e39faa58 | ||
|
|
d63ebaf351 | ||
|
|
0ae87e788d | ||
|
|
3ebed58179 | ||
|
|
8e84aa0c8e | ||
|
|
747ca07129 | ||
|
|
9d0a5783d9 | ||
|
|
6519f14761 | ||
|
|
fec79db898 | ||
|
|
ba282cd698 | ||
|
|
175db14042 | ||
|
|
89bbe502ff | ||
|
|
86279fd06a | ||
|
|
69ff3454b4 | ||
|
|
10a3060454 | ||
|
|
0542900bb3 | ||
|
|
bd2e74770e | ||
|
|
8a576880a8 | ||
|
|
e19ffd163c | ||
|
|
a3e870d54d | ||
|
|
8c2c387525 | ||
|
|
62dee21821 | ||
|
|
d16249726c | ||
|
|
ae0beda636 | ||
|
|
c4593568c8 | ||
|
|
54c8202d1f | ||
|
|
4746754c25 | ||
|
|
fe7c4430f5 | ||
|
|
db2d80a2b9 | ||
|
|
5495f35d46 | ||
|
|
b9f8c598b3 | ||
|
|
f8b5b08871 | ||
|
|
224b1033ab | ||
|
|
359d4da5e3 | ||
|
|
ad846b9d1a | ||
|
|
bc85a944b1 | ||
|
|
16286010ef | ||
|
|
517d79156a | ||
|
|
eaa639e9ba | ||
|
|
fdd86f68f0 | ||
|
|
1417051b48 | ||
|
|
0985179e58 | ||
|
|
05cd47141f | ||
|
|
e389ac4ad6 | ||
|
|
1257b7d77b | ||
|
|
f12c56ae0d | ||
|
|
6e6fc25b35 | ||
|
|
1b670aafa3 | ||
|
|
1f5071ad5f | ||
|
|
f0921676a4 | ||
|
|
e7c7219b76 | ||
|
|
c01af6b5bc | ||
|
|
6d27c56ef3 | ||
|
|
ab49524214 | ||
|
|
a50884a6b7 | ||
|
|
defb10bee0 | ||
|
|
4fc4b5b0c2 | ||
|
|
af142340f6 | ||
|
|
449b576c33 | ||
|
|
332143eff5 | ||
|
|
9cbd3f9e87 | ||
|
|
5c50bcab88 | ||
|
|
6daebf941a | ||
|
|
9ecf52952b | ||
|
|
cfff7855fc | ||
|
|
b692630900 | ||
|
|
f719264979 | ||
|
|
1bf4e4c623 | ||
|
|
3520d831e9 | ||
|
|
07b805621d | ||
|
|
4b0ceee2ac | ||
|
|
b8edc70db2 | ||
|
|
ef72c924e7 | ||
|
|
1577582def | ||
|
|
b24d512fda | ||
|
|
e1bd8b2d72 | ||
|
|
48dfe02fe4 | ||
|
|
aa5fb57cb4 | ||
|
|
818a08b6a1 | ||
|
|
0ef2041a29 | ||
|
|
b7d624c671 | ||
|
|
6b5667dd8f | ||
|
|
26a03c3b86 | ||
|
|
5569028a72 | ||
|
|
9aeec692d0 | ||
|
|
0d754c713c | ||
|
|
6c8b28f68c | ||
|
|
41743bfe65 | ||
|
|
64427acb6b | ||
|
|
58219901ad | ||
|
|
869c460e40 | ||
|
|
487941532a | ||
|
|
857a82ecff | ||
|
|
09a2f0ea5e | ||
|
|
66e33773e5 | ||
|
|
230bffc85a | ||
|
|
9f5936fe16 | ||
|
|
ce6793b486 | ||
|
|
7f553afe8c | ||
|
|
52d860f447 | ||
|
|
d07c7dd916 | ||
|
|
13ba28bc75 | ||
|
|
9867a8331e | ||
|
|
51146ea811 | ||
|
|
6b81352764 | ||
|
|
30c82eacda | ||
|
|
8c96524e1c | ||
|
|
1277fe2e35 | ||
|
|
d02d397563 | ||
|
|
2675353070 | ||
|
|
f6645753c4 | ||
|
|
eaa9bef731 | ||
|
|
be31a7017b | ||
|
|
f73497d053 | ||
|
|
e098e13cfe | ||
|
|
fbf993ee00 | ||
|
|
d4930eedd7 | ||
|
|
72c328bb9a | ||
|
|
9b8e6282b6 | ||
|
|
16459f96e2 | ||
|
|
b86e0bb0e3 | ||
|
|
c71376cb3f | ||
|
|
796ff48769 | ||
|
|
d33c12b026 | ||
|
|
55b89f66f7 | ||
|
|
3be4068c82 | ||
|
|
6a44b7c765 | ||
|
|
b2b7f2951f | ||
|
|
188eae833e | ||
|
|
a07d8bd687 | ||
|
|
cac3df45da | ||
|
|
a42e6ace9a | ||
|
|
d6a728627c | ||
|
|
b7a4dd928a | ||
|
|
746ae60fc7 | ||
|
|
ce6c480330 | ||
|
|
f6fafb6d6b | ||
|
|
8266fd3ed4 | ||
|
|
7e5dbb608d | ||
|
|
3d1e28442f | ||
|
|
e9574f3fc4 | ||
|
|
f7ba07713e | ||
|
|
c2fd39779f | ||
|
|
cc5e6c349a | ||
|
|
8855ae4d8c | ||
|
|
bcefc2a36c | ||
|
|
d0049b5257 | ||
|
|
ee673e358e | ||
|
|
6038140492 | ||
|
|
047400e05e | ||
|
|
30842fa969 | ||
|
|
f8f81af3f8 | ||
|
|
ffe8aa55d0 | ||
|
|
00d33a582f | ||
|
|
0d61202ecc | ||
|
|
d10e5582d7 | ||
|
|
b3b7d3907d | ||
|
|
4fbb75b073 | ||
|
|
9b00792827 | ||
|
|
06c1835eda | ||
|
|
cadfd3c58a | ||
|
|
755fae987f | ||
|
|
3514416aa6 | ||
|
|
2cfb85b3db | ||
|
|
ab9b24e664 | ||
|
|
d8e0d70031 | ||
|
|
a9a6a87e8a | ||
|
|
3e72c1975d | ||
|
|
48bde61347 | ||
|
|
c17b11192d | ||
|
|
69caca2871 | ||
|
|
036b67c48a | ||
|
|
da15b2f50c | ||
|
|
75688cbb5c | ||
|
|
0fa9544691 | ||
|
|
1e5c3b4fdd | ||
|
|
1843c9e712 | ||
|
|
a7bafab341 | ||
|
|
f94d62d96b | ||
|
|
baf0bba6c3 | ||
|
|
3cac7877f5 | ||
|
|
c4a06a6529 | ||
|
|
f18fc1a9df | ||
|
|
f87d53052a | ||
|
|
6ae5a8d640 | ||
|
|
5f5561f202 | ||
|
|
9e7a547764 | ||
|
|
49b5b0dafe | ||
|
|
d7c62045ba | ||
|
|
e97e4dc62f | ||
|
|
9ded432281 | ||
|
|
31fbe0346e | ||
|
|
bbba55e415 | ||
|
|
48e0b2d913 | ||
|
|
d2f9743249 | ||
|
|
978a8f3e8d | ||
|
|
e5597fb7c1 | ||
|
|
fdcbba4f53 | ||
|
|
076ff122fc | ||
|
|
4a721cf7bd | ||
|
|
618f030cef | ||
|
|
0ff409a5f4 | ||
|
|
48cc66767a | ||
|
|
d67c5a2052 | ||
|
|
be80476de7 | ||
|
|
eb2fae6d77 | ||
|
|
6e88dd4c1b | ||
|
|
09819dc3ef | ||
|
|
bf356216f6 | ||
|
|
437d0cca21 | ||
|
|
61b2117008 | ||
|
|
4f17681227 | ||
|
|
55df8704b7 | ||
|
|
f1e0a6d87d | ||
|
|
837f9e9cdc | ||
|
|
82e9471857 | ||
|
|
e2f7fafe6a | ||
|
|
a70d9df08f | ||
|
|
97493f3a9f | ||
|
|
0d91aad137 | ||
|
|
2f3889aff8 | ||
|
|
9178f6fb08 | ||
|
|
a68d505c06 | ||
|
|
1822c153ed | ||
|
|
5930f135a6 | ||
|
|
2159ce8a9c | ||
|
|
9cbcc76cd7 | ||
|
|
0643f3ae5b | ||
|
|
8c276b9c07 | ||
|
|
c62b6ab955 | ||
|
|
780169a4a8 | ||
|
|
6b2eba5e29 | ||
|
|
a6aba64d27 | ||
|
|
f7f1dfaa9e | ||
|
|
18f34b8de9 | ||
|
|
af48d11758 | ||
|
|
dbe9ba133d | ||
|
|
183113a4f1 | ||
|
|
51750a1cdf | ||
|
|
c5b11b344e | ||
|
|
55296059a9 | ||
|
|
f6805b87e1 | ||
|
|
21f32b8e62 | ||
|
|
e1413b1c1e | ||
|
|
f37258a85d | ||
|
|
9dad72f8d4 | ||
|
|
52bfeb8062 | ||
|
|
0685fc7322 | ||
|
|
9c5c46510a | ||
|
|
582d5045f9 | ||
|
|
66e3ca55a6 | ||
|
|
3f1418749b | ||
|
|
5617f0f290 | ||
|
|
87318087a6 | ||
|
|
67e839017d | ||
|
|
3de219d48c | ||
|
|
68232ec293 | ||
|
|
e402284366 | ||
|
|
1dffc29338 | ||
|
|
d8623b0aa5 | ||
|
|
9686ee8ed9 | ||
|
|
ea6182c289 | ||
|
|
69254008c6 | ||
|
|
eb17f3b466 | ||
|
|
5f4cf248ef | ||
|
|
7744fc62e6 | ||
|
|
42e7818d87 | ||
|
|
1329466173 | ||
|
|
203befc219 | ||
|
|
dd24eab75d | ||
|
|
1195acc523 | ||
|
|
ef5dcc5c52 | ||
|
|
8fe2cab239 | ||
|
|
aefeb93ee0 | ||
|
|
7dbde8e3d3 | ||
|
|
35440c41c7 | ||
|
|
c893ee6586 | ||
|
|
ba88ee898d | ||
|
|
a6526b1072 | ||
|
|
b1b3c6b779 | ||
|
|
293ad83476 | ||
|
|
ceea3ab007 | ||
|
|
5592f2557d | ||
|
|
5b22c3b841 | ||
|
|
d1b77cb541 | ||
|
|
680595e5ca | ||
|
|
ad6d3bf29c | ||
|
|
b738161b1f | ||
|
|
2ac6df3846 | ||
|
|
d195f2a12c | ||
|
|
e926a0a6d0 | ||
|
|
2336e63459 | ||
|
|
4719cea172 | ||
|
|
dc9b2b5c7f | ||
|
|
4881de7bfe | ||
|
|
84c8d70eef | ||
|
|
3da4e2498f | ||
|
|
bbb69789f2 | ||
|
|
8e21035ba2 | ||
|
|
a5a3d0aa45 | ||
|
|
e8e1630ed6 | ||
|
|
07c9c276ee | ||
|
|
2a083caa37 | ||
|
|
3a2ac7abc2 | ||
|
|
beafcfa743 | ||
|
|
1881010b7a | ||
|
|
07ba4b2e4a | ||
|
|
a8466d1426 | ||
|
|
b0af2fef2d | ||
|
|
8feeb7005d | ||
|
|
0af05d62b7 | ||
|
|
4b9bae2753 | ||
|
|
cc9750ace7 | ||
|
|
8cabd6001e | ||
|
|
73c6487798 | ||
|
|
5f4c4cdce7 | ||
|
|
e48a1c6a94 | ||
|
|
e2ac4df537 | ||
|
|
ab8d4b8432 | ||
|
|
6318a314c1 | ||
|
|
fb7f316b26 | ||
|
|
7a4ae5fa2c | ||
|
|
4c05c4039b | ||
|
|
c683044d2c | ||
|
|
b381588199 | ||
|
|
4e4da92ad6 | ||
|
|
22fb404774 | ||
|
|
2984c71d32 | ||
|
|
9824c578ad | ||
|
|
ca3c93fed8 | ||
|
|
3912b3c3ae | ||
|
|
0f8a6c0d25 | ||
|
|
2f349e0138 | ||
|
|
9aded3ccb8 | ||
|
|
a32b3cd3cf | ||
|
|
731a491bd1 | ||
|
|
9542dde184 | ||
|
|
1cd5f2f496 | ||
|
|
4d10663406 | ||
|
|
ff75b39aca | ||
|
|
62e06a0d24 | ||
|
|
54be05e448 | ||
|
|
ab6ae1df0d | ||
|
|
d3d1e0af36 | ||
|
|
59e0ffaf05 | ||
|
|
4287bde8ce | ||
|
|
70917f3f65 | ||
|
|
ade0554c70 | ||
|
|
32d4179bdc | ||
|
|
81e567b680 | ||
|
|
5819a19a88 | ||
|
|
188d722bf2 | ||
|
|
a6e09adf77 | ||
|
|
4fe38c62dd | ||
|
|
eec4e614bd | ||
|
|
6714e18889 | ||
|
|
275e8eedaf | ||
|
|
f921f5d5a6 | ||
|
|
856aeb146d | ||
|
|
0c1ef382aa | ||
|
|
36fac54f0f | ||
|
|
498ab8bd0d | ||
|
|
9947aa4288 | ||
|
|
754903ccca | ||
|
|
13d5289e73 | ||
|
|
06ccb7b7b9 | ||
|
|
91c0704186 | ||
|
|
228a2bdca9 | ||
|
|
9e23a89659 | ||
|
|
5619c683c2 | ||
|
|
ca347cbc80 | ||
|
|
19a4832caf | ||
|
|
9f0783c4c6 | ||
|
|
6e5111b266 | ||
|
|
bed3096f11 | ||
|
|
9538cccf50 | ||
|
|
6a3c242176 | ||
|
|
93959b0efc | ||
|
|
99a42e7639 | ||
|
|
ed02d93a92 | ||
|
|
1dce8b797d | ||
|
|
5d17c3167b | ||
|
|
e0d59c0653 | ||
|
|
0308599096 | ||
|
|
00e1a1da74 | ||
|
|
5783d9ec15 | ||
|
|
01b4a4d264 | ||
|
|
fbc703b033 | ||
|
|
ee7313beac | ||
|
|
3dc99f129c | ||
|
|
11a5362108 | ||
|
|
18343eea89 | ||
|
|
6ceb1b3e09 | ||
|
|
e5873c566b | ||
|
|
93f9db2549 | ||
|
|
de78de243f | ||
|
|
e82ba2aebc | ||
|
|
50298b14ff | ||
|
|
697d2ce8d5 | ||
|
|
90e986dfc1 | ||
|
|
6e844b22fd | ||
|
|
9ecafadc43 | ||
|
|
08a9714842 | ||
|
|
ed50c9413c | ||
|
|
b0c026bc83 | ||
|
|
2adec18b1d | ||
|
|
30371b0e06 | ||
|
|
afc0c662d2 | ||
|
|
146a5eb602 | ||
|
|
317ee4901b | ||
|
|
3d254f7d62 | ||
|
|
948b8f5f84 | ||
|
|
d555bf1cab | ||
|
|
0456e43378 | ||
|
|
5cf3f48de9 | ||
|
|
32b4b18868 | ||
|
|
ec937a8edf | ||
|
|
33dae40326 | ||
|
|
d032f8a820 | ||
|
|
4b20bfca74 | ||
|
|
e29eb22a49 | ||
|
|
b125e18c52 | ||
|
|
736222f975 | ||
|
|
2b33583bd7 | ||
|
|
b77cb9b270 | ||
|
|
1c116012ce | ||
|
|
d7fa2ae265 | ||
|
|
3c407c06ff | ||
|
|
3fdb70e547 | ||
|
|
febd4b1a0b | ||
|
|
12c3e476f9 | ||
|
|
ec8c782b5a | ||
|
|
0575926692 | ||
|
|
617671c004 | ||
|
|
2f9cf4df37 | ||
|
|
7e5e0e2814 | ||
|
|
dd09c2ad69 | ||
|
|
87dfdd62d4 | ||
|
|
bd77b12f9b | ||
|
|
b861f2b1cd | ||
|
|
8cf3853387 | ||
|
|
313b5b0e15 | ||
|
|
7c81c7237b | ||
|
|
82eb262433 | ||
|
|
5ba5eb89b2 | ||
|
|
b714be7829 | ||
|
|
36e66e4345 | ||
|
|
542c70eac1 | ||
|
|
f54722cd5a | ||
|
|
5c29392428 | ||
|
|
b8071def95 | ||
|
|
fba6dc0a45 | ||
|
|
536029e6c6 | ||
|
|
77b81f4686 | ||
|
|
7ba4b2617a | ||
|
|
56e9d5ceb4 | ||
|
|
bb569f7df7 | ||
|
|
4060c7a14a | ||
|
|
4cebac2306 | ||
|
|
2fd8cab627 | ||
|
|
4921f3dd62 | ||
|
|
a268d428bf | ||
|
|
ab11f47afa | ||
|
|
0751f604ec | ||
|
|
c2aec9f312 | ||
|
|
04e9373c58 |
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@@ -13,7 +13,7 @@ updates:
|
|||||||
- juliushaertl
|
- juliushaertl
|
||||||
|
|
||||||
- package-ecosystem: npm
|
- package-ecosystem: npm
|
||||||
target-branch: stable27
|
target-branch: stable25
|
||||||
versioning-strategy: lockfile-only
|
versioning-strategy: lockfile-only
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
@@ -30,7 +30,7 @@ updates:
|
|||||||
- dependencies
|
- dependencies
|
||||||
|
|
||||||
- package-ecosystem: npm
|
- package-ecosystem: npm
|
||||||
target-branch: stable26
|
target-branch: stable24
|
||||||
versioning-strategy: lockfile-only
|
versioning-strategy: lockfile-only
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
|
|||||||
6
.github/workflows/appbuild.yml
vendored
6
.github/workflows/appbuild.yml
vendored
@@ -16,15 +16,15 @@ jobs:
|
|||||||
node-version: [16.x]
|
node-version: [16.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: Set up npm7
|
- name: Set up npm7
|
||||||
run: npm i -g npm@7
|
run: npm i -g npm@7
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@2.27.1
|
uses: shivammathur/setup-php@2.25.1
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '7.4'
|
||||||
tools: composer
|
tools: composer
|
||||||
|
|||||||
27
.github/workflows/appstore-build-publish.yml
vendored
27
.github/workflows/appstore-build-publish.yml
vendored
@@ -10,7 +10,7 @@ on:
|
|||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PHP_VERSION: 8.2
|
PHP_VERSION: 8.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check actor permission
|
- name: Check actor permission
|
||||||
uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0
|
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
|
||||||
with:
|
with:
|
||||||
require: write
|
require: write
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
|
echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
with:
|
with:
|
||||||
path: ${{ env.APP_NAME }}
|
path: ${{ env.APP_NAME }}
|
||||||
|
|
||||||
@@ -44,19 +44,19 @@ jobs:
|
|||||||
expression: "//info//dependencies//nextcloud/@min-version"
|
expression: "//info//dependencies//nextcloud/@min-version"
|
||||||
|
|
||||||
- name: Read package.json node and npm engines version
|
- name: Read package.json node and npm engines version
|
||||||
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
|
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
|
||||||
id: versions
|
id: versions
|
||||||
# Continue if no package.json
|
# Continue if no package.json
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
path: ${{ env.APP_NAME }}
|
path: ${{ env.APP_NAME }}
|
||||||
fallbackNode: '^20'
|
fallbackNode: "^16"
|
||||||
fallbackNpm: '^10'
|
fallbackNpm: "^7"
|
||||||
|
|
||||||
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
||||||
# Skip if no package.json
|
# Skip if no package.json
|
||||||
if: ${{ steps.versions.outputs.nodeVersion }}
|
if: ${{ steps.versions.outputs.nodeVersion }}
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
|
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
|
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
|
||||||
|
|
||||||
- name: Set up php ${{ env.PHP_VERSION }}
|
- name: Set up php ${{ env.PHP_VERSION }}
|
||||||
uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
|
uses: shivammathur/setup-php@2.25.1 # v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ env.PHP_VERSION }}
|
php-version: ${{ env.PHP_VERSION }}
|
||||||
coverage: none
|
coverage: none
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check composer.json
|
- name: Check composer.json
|
||||||
id: check_composer
|
id: check_composer
|
||||||
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v2
|
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
|
||||||
with:
|
with:
|
||||||
files: "${{ env.APP_NAME }}/composer.json"
|
files: "${{ env.APP_NAME }}/composer.json"
|
||||||
|
|
||||||
@@ -88,8 +88,6 @@ jobs:
|
|||||||
- name: Build ${{ env.APP_NAME }}
|
- name: Build ${{ env.APP_NAME }}
|
||||||
# Skip if no package.json
|
# Skip if no package.json
|
||||||
if: ${{ steps.versions.outputs.nodeVersion }}
|
if: ${{ steps.versions.outputs.nodeVersion }}
|
||||||
env:
|
|
||||||
CYPRESS_INSTALL_BINARY: 0
|
|
||||||
run: |
|
run: |
|
||||||
cd ${{ env.APP_NAME }}
|
cd ${{ env.APP_NAME }}
|
||||||
npm ci
|
npm ci
|
||||||
@@ -97,7 +95,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check Krankerl config
|
- name: Check Krankerl config
|
||||||
id: krankerl
|
id: krankerl
|
||||||
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v2
|
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
|
||||||
with:
|
with:
|
||||||
files: ${{ env.APP_NAME }}/krankerl.toml
|
files: ${{ env.APP_NAME }}/krankerl.toml
|
||||||
|
|
||||||
@@ -128,10 +126,9 @@ jobs:
|
|||||||
unzip latest-$NCVERSION.zip
|
unzip latest-$NCVERSION.zip
|
||||||
|
|
||||||
- name: Checkout server master fallback
|
- name: Checkout server master fallback
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
if: ${{ steps.server-checkout.outcome != 'success' }}
|
if: ${{ steps.server-checkout.outcome != 'success' }}
|
||||||
with:
|
with:
|
||||||
submodules: true
|
|
||||||
repository: nextcloud/server
|
repository: nextcloud/server
|
||||||
path: nextcloud
|
path: nextcloud
|
||||||
|
|
||||||
@@ -151,7 +148,7 @@ jobs:
|
|||||||
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
|
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: Attach tarball to github release
|
- name: Attach tarball to github release
|
||||||
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # v2
|
uses: svenstaro/upload-release-action@7319e4733ec7a184d739a6f412c40ffc339b69c7 # v2
|
||||||
id: attach_to_release
|
id: attach_to_release
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
8
.github/workflows/command-rebase.yml
vendored
8
.github/workflows/command-rebase.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Add reaction on start
|
- name: Add reaction on start
|
||||||
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
|
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.COMMAND_BOT_PAT }}
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
||||||
repository: ${{ github.event.repository.full_name }}
|
repository: ${{ github.event.repository.full_name }}
|
||||||
@@ -31,18 +31,18 @@ jobs:
|
|||||||
reaction-type: "+1"
|
reaction-type: "+1"
|
||||||
|
|
||||||
- name: Checkout the latest code
|
- name: Checkout the latest code
|
||||||
uses: actions/checkout@v4 # v3.5.2
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.COMMAND_BOT_PAT }}
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
||||||
|
|
||||||
- name: Automatic Rebase
|
- name: Automatic Rebase
|
||||||
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
|
uses: cirrus-actions/rebase@6e572f08c244e2f04f9beb85a943eb618218714d # 1.7
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
|
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
|
||||||
|
|
||||||
- name: Add reaction on failure
|
- name: Add reaction on failure
|
||||||
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
|
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.COMMAND_BOT_PAT }}
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
||||||
|
|||||||
20
.github/workflows/cypress.yml
vendored
20
.github/workflows/cypress.yml
vendored
@@ -19,17 +19,19 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [20.x]
|
node-version: [14.x]
|
||||||
# containers: [1, 2, 3]
|
# containers: [1, 2, 3]
|
||||||
php-versions: [ '8.0' ]
|
php-versions: [ '8.0' ]
|
||||||
databases: [ 'sqlite' ]
|
databases: [ 'sqlite' ]
|
||||||
server-versions: [ 'stable28' ]
|
server-versions: [ 'stable27' ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- name: Set up npm7
|
||||||
|
run: npm i -g npm@7
|
||||||
|
|
||||||
- name: Register text Git reference
|
- name: Register text Git reference
|
||||||
run: |
|
run: |
|
||||||
@@ -37,7 +39,7 @@ jobs:
|
|||||||
echo "text_app_ref=$text_app_ref" >> $GITHUB_ENV
|
echo "text_app_ref=$text_app_ref" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout server
|
- name: Checkout server
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: nextcloud/server
|
repository: nextcloud/server
|
||||||
ref: ${{ matrix.server-versions }}
|
ref: ${{ matrix.server-versions }}
|
||||||
@@ -50,19 +52,19 @@ jobs:
|
|||||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
|
|
||||||
- name: Checkout ${{ env.APP_NAME }}
|
- name: Checkout ${{ env.APP_NAME }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: apps/${{ env.APP_NAME }}
|
path: apps/${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: Checkout text
|
- name: Checkout text
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: nextcloud/text
|
repository: nextcloud/text
|
||||||
ref: ${{ env.text_app_ref }}
|
ref: ${{ env.text_app_ref }}
|
||||||
path: apps/text
|
path: apps/text
|
||||||
|
|
||||||
- name: Set up php ${{ matrix.php-versions }}
|
- name: Set up php ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@2.27.1
|
uses: shivammathur/setup-php@2.25.1
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, apcu
|
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, apcu
|
||||||
@@ -94,9 +96,9 @@ jobs:
|
|||||||
curl -v http://localhost:8081/index.php/login
|
curl -v http://localhost:8081/index.php/login
|
||||||
|
|
||||||
- name: Cypress run
|
- name: Cypress run
|
||||||
uses: cypress-io/github-action@v6
|
uses: cypress-io/github-action@v5
|
||||||
with:
|
with:
|
||||||
record: false
|
record: true
|
||||||
parallel: false
|
parallel: false
|
||||||
wait-on: '${{ env.CYPRESS_baseUrl }}'
|
wait-on: '${{ env.CYPRESS_baseUrl }}'
|
||||||
working-directory: 'apps/${{ env.APP_NAME }}'
|
working-directory: 'apps/${{ env.APP_NAME }}'
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
auto-approve-merge:
|
auto-approve-merge:
|
||||||
if: github.actor == 'dependabot[bot]'
|
if: github.actor == 'dependabot[bot]'
|
||||||
runs-on: ubuntu-latest-low
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
# for hmarr/auto-approve-action to approve PRs
|
# for hmarr/auto-approve-action to approve PRs
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|||||||
6
.github/workflows/fixup.yml
vendored
6
.github/workflows/fixup.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# https://github.com/nextcloud/.github
|
# https://github.com/nextcloud/.github
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||||
|
|
||||||
name: Block fixup and squash commits
|
name: Pull request checks
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -24,10 +24,10 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
name: Block fixup and squash commits
|
name: Block fixup and squash commits
|
||||||
|
|
||||||
runs-on: ubuntu-latest-low
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Run check
|
- name: Run check
|
||||||
uses: skjnldsv/block-fixup-merge-action@42d26e1b536ce61e5cf467d65fb76caf4aa85acf # v1
|
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
10
.github/workflows/integration.yml
vendored
10
.github/workflows/integration.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
php-versions: ['8.1']
|
php-versions: ['8.1']
|
||||||
databases: ['sqlite', 'mysql', 'pgsql']
|
databases: ['sqlite', 'mysql', 'pgsql']
|
||||||
server-versions: ['stable28']
|
server-versions: ['stable27']
|
||||||
|
|
||||||
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout server
|
- name: Checkout server
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: nextcloud/server
|
repository: nextcloud/server
|
||||||
ref: ${{ matrix.server-versions }}
|
ref: ${{ matrix.server-versions }}
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
cd build/integration && composer require --dev phpunit/phpunit:~9
|
cd build/integration && composer require --dev phpunit/phpunit:~9
|
||||||
|
|
||||||
- name: Checkout app
|
- name: Checkout app
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: apps/${{ env.APP_NAME }}
|
path: apps/${{ env.APP_NAME }}
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
path: apps/activity
|
path: apps/activity
|
||||||
|
|
||||||
- name: Set up php ${{ matrix.php-versions }}
|
- name: Set up php ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@2.27.1
|
uses: shivammathur/setup-php@2.25.1
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql, apcu
|
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql, apcu
|
||||||
@@ -114,7 +114,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Query count
|
- name: Query count
|
||||||
if: ${{ matrix.databases == 'mysql' }}
|
if: ${{ matrix.databases == 'mysql' }}
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
69
.github/workflows/lint-eslint.yml
vendored
69
.github/workflows/lint-eslint.yml
vendored
@@ -6,31 +6,11 @@
|
|||||||
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
|
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
|
||||||
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
|
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
|
||||||
|
|
||||||
name: Lint eslint
|
name: Lint
|
||||||
|
|
||||||
on: pull_request
|
on:
|
||||||
|
pull_request:
|
||||||
permissions:
|
paths:
|
||||||
contents: read
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: lint-eslint-${{ github.head_ref || github.run_id }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
changes:
|
|
||||||
runs-on: ubuntu-latest-low
|
|
||||||
|
|
||||||
outputs:
|
|
||||||
src: ${{ steps.changes.outputs.src}}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
|
|
||||||
id: changes
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
|
||||||
filters: |
|
|
||||||
src:
|
|
||||||
- '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'appinfo/info.xml'
|
- 'appinfo/info.xml'
|
||||||
@@ -43,27 +23,32 @@ jobs:
|
|||||||
- '**.ts'
|
- '**.ts'
|
||||||
- '**.vue'
|
- '**.vue'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: lint-eslint-${{ github.head_ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
needs: changes
|
name: eslint
|
||||||
if: needs.changes.outputs.src != 'false'
|
|
||||||
|
|
||||||
name: NPM lint
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
|
|
||||||
- name: Read package.json node and npm engines version
|
- name: Read package.json node and npm engines version
|
||||||
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
|
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
|
||||||
id: versions
|
id: versions
|
||||||
with:
|
with:
|
||||||
fallbackNode: '^20'
|
fallbackNode: '^16'
|
||||||
fallbackNpm: '^10'
|
fallbackNpm: '^7'
|
||||||
|
|
||||||
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
|
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
||||||
|
|
||||||
@@ -71,25 +56,7 @@ jobs:
|
|||||||
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
|
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env:
|
|
||||||
CYPRESS_INSTALL_BINARY: 0
|
|
||||||
PUPPETEER_SKIP_DOWNLOAD: true
|
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
summary:
|
|
||||||
permissions:
|
|
||||||
contents: none
|
|
||||||
runs-on: ubuntu-latest-low
|
|
||||||
needs: [changes, lint]
|
|
||||||
|
|
||||||
if: always()
|
|
||||||
|
|
||||||
# This is the summary, we just avoid to rename it so that branch protection rules still match
|
|
||||||
name: eslint
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Summary status
|
|
||||||
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
|
|
||||||
|
|||||||
12
.github/workflows/lint-php-cs.yml
vendored
12
.github/workflows/lint-php-cs.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# https://github.com/nextcloud/.github
|
# https://github.com/nextcloud/.github
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||||
|
|
||||||
name: Lint php-cs
|
name: Lint
|
||||||
|
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
@@ -22,15 +22,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
|
|
||||||
- name: Set up php8.2
|
- name: Set up php
|
||||||
uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
|
uses: shivammathur/setup-php@2.25.1 # v2
|
||||||
with:
|
with:
|
||||||
php-version: 8.2
|
php-version: 8.1
|
||||||
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
|
|
||||||
coverage: none
|
coverage: none
|
||||||
ini-file: development
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
20
.github/workflows/lint-php.yml
vendored
20
.github/workflows/lint-php.yml
vendored
@@ -3,9 +3,15 @@
|
|||||||
# https://github.com/nextcloud/.github
|
# https://github.com/nextcloud/.github
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||||
|
|
||||||
name: Lint php
|
name: Lint
|
||||||
|
|
||||||
on: pull_request
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
- stable*
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -19,21 +25,19 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: [ '8.0', '8.1', '8.2', '8.3' ]
|
php-versions: [ "8.0", "8.1", "8.2" ]
|
||||||
|
|
||||||
name: php-lint
|
name: php-lint
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
|
|
||||||
- name: Set up php ${{ matrix.php-versions }}
|
- name: Set up php ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
|
uses: shivammathur/setup-php@2.25.1 # v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
|
|
||||||
coverage: none
|
coverage: none
|
||||||
ini-file: development
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@@ -43,7 +47,7 @@ jobs:
|
|||||||
summary:
|
summary:
|
||||||
permissions:
|
permissions:
|
||||||
contents: none
|
contents: none
|
||||||
runs-on: ubuntu-latest-low
|
runs-on: ubuntu-latest
|
||||||
needs: php-lint
|
needs: php-lint
|
||||||
|
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
14
.github/workflows/lint-stylelint.yml
vendored
14
.github/workflows/lint-stylelint.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# https://github.com/nextcloud/.github
|
# https://github.com/nextcloud/.github
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||||
|
|
||||||
name: Lint stylelint
|
name: Lint
|
||||||
|
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
@@ -22,17 +22,17 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
|
|
||||||
- name: Read package.json node and npm engines version
|
- name: Read package.json node and npm engines version
|
||||||
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
|
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
|
||||||
id: versions
|
id: versions
|
||||||
with:
|
with:
|
||||||
fallbackNode: '^20'
|
fallbackNode: '^16'
|
||||||
fallbackNpm: '^10'
|
fallbackNpm: '^7'
|
||||||
|
|
||||||
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
|
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
||||||
|
|
||||||
@@ -40,8 +40,6 @@ jobs:
|
|||||||
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
|
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env:
|
|
||||||
CYPRESS_INSTALL_BINARY: 0
|
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
|||||||
64
.github/workflows/nightly.yml
vendored
Normal file
64
.github/workflows/nightly.yml
vendored
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
name: Package nightly
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- nightly
|
||||||
|
schedule:
|
||||||
|
- cron: '0 1 * * *' # run at 2 AM UTC
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [14.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- name: Set up npm7
|
||||||
|
run: npm i -g npm@7
|
||||||
|
- name: Setup PHP
|
||||||
|
uses: shivammathur/setup-php@2.25.1
|
||||||
|
with:
|
||||||
|
php-version: '7.4'
|
||||||
|
tools: composer
|
||||||
|
- name: install dependencies
|
||||||
|
run: |
|
||||||
|
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.12.2/krankerl_0.12.2_amd64.deb
|
||||||
|
sudo dpkg -i krankerl_0.12.2_amd64.deb
|
||||||
|
- name: package
|
||||||
|
run: |
|
||||||
|
uname -a
|
||||||
|
RUST_BACKTRACE=1 krankerl --version
|
||||||
|
RUST_BACKTRACE=1 krankerl package
|
||||||
|
- name: Set git config
|
||||||
|
run: |
|
||||||
|
git config --local user.email "action@github.com"
|
||||||
|
git config --local user.name "GitHub Action"
|
||||||
|
git tag -f nightly
|
||||||
|
- name: Push tag
|
||||||
|
uses: juliushaertl/github-push-action@main
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
tags: true
|
||||||
|
force: true
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: juliushaertl/action-release@main
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
tag: nightly
|
||||||
|
files: ./build/artifacts/deck.tar.gz
|
||||||
|
name: Nightly build
|
||||||
|
body: |
|
||||||
|
Nightly release of deck
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
||||||
|
overwrite: true
|
||||||
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
@@ -12,9 +12,9 @@ jobs:
|
|||||||
node-version: [14.x]
|
node-version: [14.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: Set up npm7
|
- name: Set up npm7
|
||||||
|
|||||||
18
.github/workflows/npm-audit-fix.yml
vendored
18
.github/workflows/npm-audit-fix.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# https://github.com/nextcloud/.github
|
# https://github.com/nextcloud/.github
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||||
|
|
||||||
name: Npm audit fix and compile
|
name: npm audit fix and compile
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -18,25 +18,25 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
branches: ['main', 'master', 'stable28', 'stable27', 'stable26']
|
branches: ["main", "master", "stable26", "stable25", "stable24"]
|
||||||
|
|
||||||
name: npm-audit-fix-${{ matrix.branches }}
|
name: npm-audit-fix-${{ matrix.branches }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ matrix.branches }}
|
ref: ${{ matrix.branches }}
|
||||||
|
|
||||||
- name: Read package.json node and npm engines version
|
- name: Read package.json node and npm engines version
|
||||||
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
|
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
|
||||||
id: versions
|
id: versions
|
||||||
with:
|
with:
|
||||||
fallbackNode: '^20'
|
fallbackNode: '^16'
|
||||||
fallbackNpm: '^10'
|
fallbackNpm: '^7'
|
||||||
|
|
||||||
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
|
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
||||||
|
|
||||||
@@ -49,15 +49,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Run npm ci and npm run build
|
- name: Run npm ci and npm run build
|
||||||
if: always()
|
if: always()
|
||||||
env:
|
|
||||||
CYPRESS_INSTALL_BINARY: 0
|
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: always()
|
if: always()
|
||||||
uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v5
|
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.COMMAND_BOT_PAT }}
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
||||||
commit-message: "chore(deps): fix npm audit"
|
commit-message: "chore(deps): fix npm audit"
|
||||||
|
|||||||
10
.github/workflows/phpunit.yml
vendored
10
.github/workflows/phpunit.yml
vendored
@@ -26,9 +26,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['8.0', '8.1', '8.2', '8.3']
|
php-versions: ['8.0', '8.1']
|
||||||
databases: ['sqlite', 'mysql', 'pgsql']
|
databases: ['sqlite', 'mysql', 'pgsql']
|
||||||
server-versions: ['stable28']
|
server-versions: ['stable27']
|
||||||
|
|
||||||
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout server
|
- name: Checkout server
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: nextcloud/server
|
repository: nextcloud/server
|
||||||
ref: ${{ matrix.server-versions }}
|
ref: ${{ matrix.server-versions }}
|
||||||
@@ -65,12 +65,12 @@ jobs:
|
|||||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
|
|
||||||
- name: Checkout app
|
- name: Checkout app
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: apps/${{ env.APP_NAME }}
|
path: apps/${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: Set up php ${{ matrix.php-versions }}
|
- name: Set up php ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@2.27.1
|
uses: shivammathur/setup-php@2.25.1
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
tools: phpunit
|
tools: phpunit
|
||||||
|
|||||||
34
.github/workflows/pr-feedback.yml
vendored
34
.github/workflows/pr-feedback.yml
vendored
@@ -1,34 +0,0 @@
|
|||||||
# This workflow is provided via the organization template repository
|
|
||||||
#
|
|
||||||
# https://github.com/nextcloud/.github
|
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
|
||||||
|
|
||||||
name: 'Ask for feedback on PRs'
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '30 1 * * *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
pr-feedback:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: The get-github-handles-from-website action
|
|
||||||
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
|
|
||||||
id: scrape
|
|
||||||
with:
|
|
||||||
website: 'https://nextcloud.com/team/'
|
|
||||||
- uses: marcelklehr/pr-feedback-action@601109aa729eb4c8d6d0ece7567b9d4901db4aef
|
|
||||||
with:
|
|
||||||
feedback-message: |
|
|
||||||
Hello there,
|
|
||||||
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
|
|
||||||
|
|
||||||
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
|
|
||||||
|
|
||||||
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
|
|
||||||
|
|
||||||
Thank you for contributing to Nextcloud and we hope to hear from you soon!
|
|
||||||
days-before-feedback: 14
|
|
||||||
start-date: "2023-07-10"
|
|
||||||
exempt-authors: "${{ steps.scrape.outputs.users }},nextcloud-command,nextcloud-android-bot,skjnldsv,datenangebot"
|
|
||||||
exempt-bots: true
|
|
||||||
20
.github/workflows/psalm.yml
vendored
20
.github/workflows/psalm.yml
vendored
@@ -5,7 +5,13 @@
|
|||||||
|
|
||||||
name: Static analysis
|
name: Static analysis
|
||||||
|
|
||||||
on: pull_request
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- main
|
||||||
|
- stable*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: psalm-${{ github.head_ref || github.run_id }}
|
group: psalm-${{ github.head_ref || github.run_id }}
|
||||||
@@ -15,18 +21,16 @@ jobs:
|
|||||||
static-analysis:
|
static-analysis:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
name: static-psalm-analysis
|
name: Nextcloud
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
|
|
||||||
- name: Set up php8.2
|
- name: Set up php
|
||||||
uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
|
uses: shivammathur/setup-php@2.25.1 # v2
|
||||||
with:
|
with:
|
||||||
php-version: 8.2
|
php-version: 8.1
|
||||||
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
|
|
||||||
coverage: none
|
coverage: none
|
||||||
ini-file: development
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
68
.github/workflows/update-nextcloud-ocp.yml
vendored
68
.github/workflows/update-nextcloud-ocp.yml
vendored
@@ -17,90 +17,42 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
branches: ['main', 'master', 'stable28', 'stable27', 'stable26']
|
branches: ["master", "stable26", "stable25", "stable24"]
|
||||||
|
|
||||||
name: update-nextcloud-ocp-${{ matrix.branches }}
|
name: update-nextcloud-ocp-${{ matrix.branches }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- id: checkout
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
||||||
with:
|
with:
|
||||||
ref: ${{ matrix.branches }}
|
ref: ${{ matrix.branches }}
|
||||||
submodules: true
|
submodules: true
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Set up php8.2
|
- name: Set up php8.1
|
||||||
if: steps.checkout.outcome == 'success'
|
uses: shivammathur/setup-php@2.25.1 # v2
|
||||||
uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
|
|
||||||
with:
|
with:
|
||||||
php-version: 8.2
|
php-version: 8.1
|
||||||
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
|
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
|
||||||
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
|
|
||||||
coverage: none
|
coverage: none
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Read codeowners
|
|
||||||
if: steps.checkout.outcome == 'success'
|
|
||||||
id: codeowners
|
|
||||||
run: |
|
|
||||||
grep '/appinfo/info.xml' .github/CODEOWNERS | cut -f 2- -d ' ' | xargs | awk '{ print "codeowners="$0 }' >> $GITHUB_OUTPUT
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Composer install
|
- name: Composer install
|
||||||
if: steps.checkout.outcome == 'success'
|
|
||||||
run: composer install
|
run: composer install
|
||||||
|
|
||||||
- name: Composer update nextcloud/ocp
|
- name: Composer update nextcloud/ocp
|
||||||
id: update_branch
|
|
||||||
if: ${{ steps.checkout.outcome == 'success' && matrix.branches != 'main' }}
|
|
||||||
run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }}
|
run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }}
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Raise on issue on failure
|
- name: Reset checkout dirs
|
||||||
uses: dacbd/create-issue-action@ba4d1c45cccf9c483f2720cefb40e437f0ee6f7d # v1.2.1
|
|
||||||
if: ${{ steps.checkout.outcome == 'success' && failure() && steps.update_branch.conclusion == 'failure' }}
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
title: Failed to update nextcloud/ocp package on branch ${{ matrix.branches }}
|
|
||||||
body: Please check the output of the GitHub action and manually resolve the issues<br>${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}<br>${{ steps.codeowners.outputs.codeowners }}
|
|
||||||
|
|
||||||
- name: Composer update nextcloud/ocp
|
|
||||||
id: update_main
|
|
||||||
if: ${{ steps.checkout.outcome == 'success' && matrix.branches == 'main' }}
|
|
||||||
run: composer require --dev nextcloud/ocp:dev-master
|
|
||||||
|
|
||||||
- name: Raise on issue on failure
|
|
||||||
uses: dacbd/create-issue-action@ba4d1c45cccf9c483f2720cefb40e437f0ee6f7d # v1.2.1
|
|
||||||
if: ${{ steps.checkout.outcome == 'success' && failure() && steps.update_main.conclusion == 'failure' }}
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
title: Failed to update nextcloud/ocp package on branch ${{ matrix.branches }}
|
|
||||||
body: Please check the output of the GitHub action and manually resolve the issues<br>${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}<br>${{ steps.codeowners.outputs.codeowners }}
|
|
||||||
|
|
||||||
- name: Reset checkout 3rdparty
|
|
||||||
if: steps.checkout.outcome == 'success'
|
|
||||||
run: |
|
run: |
|
||||||
git clean -f 3rdparty
|
git clean -f 3rdparty
|
||||||
git checkout 3rdparty
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Reset checkout vendor
|
|
||||||
if: steps.checkout.outcome == 'success'
|
|
||||||
run: |
|
|
||||||
git clean -f vendor
|
git clean -f vendor
|
||||||
git checkout vendor
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Reset checkout vendor-bin
|
|
||||||
if: steps.checkout.outcome == 'success'
|
|
||||||
run: |
|
|
||||||
git clean -f vendor-bin
|
git clean -f vendor-bin
|
||||||
git checkout vendor-bin
|
git checkout 3rdparty vendor vendor-bin
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.checkout.outcome == 'success'
|
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v3
|
||||||
uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v3
|
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.COMMAND_BOT_PAT }}
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
||||||
commit-message: "chore(dev-deps): Bump nextcloud/ocp package"
|
commit-message: "chore(dev-deps): Bump nextcloud/ocp package"
|
||||||
|
|||||||
228
CHANGELOG.md
228
CHANGELOG.md
@@ -1,198 +1,105 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## 1.12.3
|
## 1.11.5
|
||||||
- don't reset update time when no update was written to db #6035
|
|
||||||
- Clarify config file not found exception message #5725
|
|
||||||
- fix: permission check for cloning board #5854
|
|
||||||
- fix: Avoid conflicts on deck attachments folder name #5704
|
|
||||||
- Update dependencies
|
|
||||||
|
|
||||||
## 1.12.2
|
### Fixed
|
||||||
|
- don't reset update time when no update was written to db #6036
|
||||||
|
- fix: Avoid conflicts on deck attachments folder name #5709
|
||||||
|
- fix: permission check for cloning board #5856
|
||||||
|
- fix(CardMenu): introduce cardRichObject in CardMenu #5610
|
||||||
|
- Clarify config file not found exception message #5726
|
||||||
|
|
||||||
|
## 1.11.4
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- fix(done): Mark card as undone when updating card [#5492](https://github.com/nextcloud/deck/pull/5492)
|
- fix(PermissionService#getPermissions): Catch exceptions from getBoard method @backportbot[bot] [#5547](https://github.com/nextcloud/deck/pull/5547)
|
||||||
- fix(activity): Fix permission checks when rendering activities in bac… @backportbot[bot] [#5543](https://github.com/nextcloud/deck/pull/5543)
|
- fix(activity): Fix permission checks when rendering activities in bac… @backportbot[bot] [#5544](https://github.com/nextcloud/deck/pull/5544)
|
||||||
- fix(PermissionService#getPermissions): Catch exceptions from getBoard method @backportbot[bot] [#5546](https://github.com/nextcloud/deck/pull/5546)
|
|
||||||
- fix: Safeguard sync requests to hopefully not spam then server @backportbot[bot] [#5593](https://github.com/nextcloud/deck/pull/5593)
|
## 1.11.3
|
||||||
- fix: card move dialog auto close @backportbot[bot] [#5596](https://github.com/nextcloud/deck/pull/5596)
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- fix: allow null label colors in trello json importer @juliushaertl [#5438](https://github.com/nextcloud/deck/pull/5438)
|
||||||
|
- Fix deleted card/board issues @juliushaertl [#5442](https://github.com/nextcloud/deck/pull/5442)
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
|
|
||||||
- fix(i18n): Improved wording [#5497](https://github.com/nextcloud/deck/pull/5497)
|
- Fix small issues around delete/undo @juliushaertl [#5420](https://github.com/nextcloud/deck/pull/5420)
|
||||||
|
|
||||||
## 1.12.1
|
## 1.11.2
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fix deleted card/board issues @juliushaertl [#5441](https://github.com/nextcloud/deck/pull/5441)
|
- fix: Use text content as result for comments [#5297](https://github.com/nextcloud/deck/pull/5297)
|
||||||
- Fixing #5451 [#5457](https://github.com/nextcloud/deck/pull/5457)
|
|
||||||
- fix: Add debounce to update due date [#5483](https://github.com/nextcloud/deck/pull/5483)
|
|
||||||
- fix(i18n): Fixed typo [#5424](https://github.com/nextcloud/deck/pull/5424)
|
|
||||||
|
|
||||||
## 1.12.0
|
## 1.11.1
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Added ability to mark a card as done @TehThanos [#4137](https://github.com/nextcloud/deck/pull/4137)
|
- feat: remember last board, list for new card dialog [#5049](https://github.com/nextcloud/deck/pull/5049)
|
||||||
- Card Cover Images @jszeibert [#5035](https://github.com/nextcloud/deck/pull/5035)
|
- feat: update smart picker links [#5072](https://github.com/nextcloud/deck/pull/5072)
|
||||||
- Upcoming/Today/Tomorrow dashboard widgets @BKapelari [#2658](https://github.com/nextcloud/deck/pull/2658)
|
|
||||||
- Enabled advanced fields option on tag color picker @faab007nl [#4362](https://github.com/nextcloud/deck/pull/4362)
|
|
||||||
- Remember last board, list for new card dialog @luka-nextcloud [#5046](https://github.com/nextcloud/deck/pull/5046)
|
|
||||||
- Add support for bidirectional text @jamazi [#5258](https://github.com/nextcloud/deck/pull/5258)
|
|
||||||
- Card layout polishing @juliushaertl [#5264](https://github.com/nextcloud/deck/pull/5264)
|
|
||||||
- feat: Move to contenteditable for inline title editing @juliushaertl [#5282](https://github.com/nextcloud/deck/pull/5282)
|
|
||||||
- scroll board by dragging @shoetten [#5293](https://github.com/nextcloud/deck/pull/5293)
|
|
||||||
- Keyboard shortcuts [#5358](https://github.com/nextcloud/deck/pull/5358)
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- fix: allow null label colors in trello json importer [#5355](https://github.com/nextcloud/deck/pull/5355)
|
- fix: export doesn't handle lists with no cards [#5118](https://github.com/nextcloud/deck/pull/5118)
|
||||||
- fix: Get proper rich object for card actions [#5352](https://github.com/nextcloud/deck/pull/5352)
|
- fix: Check both card reference url patterns [#5263](https://github.com/nextcloud/deck/pull/5263)
|
||||||
- fix: Use text content as result for comments @juliushaertl [#5294](https://github.com/nextcloud/deck/pull/5294)
|
- Issue triage fix collection @juliushaertl [#5286](https://github.com/nextcloud/deck/pull/5286)
|
||||||
- fix: Bring back due date indicator to compact mode @juliushaertl [#5292](https://github.com/nextcloud/deck/pull/5292)
|
- fix: open card in modal on main route [#5288](https://github.com/nextcloud/deck/pull/5288)
|
||||||
- Fix small issues around delete/undo @juliushaertl [#5296](https://github.com/nextcloud/deck/pull/5296)
|
- fix: Avoid too large index on postgres as indexing just the last_editor column is enough [#5291](https://github.com/nextcloud/deck/pull/5291)
|
||||||
- fix(controls): use primary when filter is active @fitrahfm [#5299](https://github.com/nextcloud/deck/pull/5299)
|
- fix: error msg on CreateNewCardCustomPicker & only show available bo… [#5030](https://github.com/nextcloud/deck/pull/5030)
|
||||||
- fix: Properly get done state for dav @juliushaertl [#5287](https://github.com/nextcloud/deck/pull/5287)
|
- Remove duplicate button [#5043](https://github.com/nextcloud/deck/pull/5043)
|
||||||
- Fix upcoming cards and label input @juliushaertl [#5290](https://github.com/nextcloud/deck/pull/5290)
|
|
||||||
- fix: Properly handle adding new tags through multiselect @juliushaertl [#5285](https://github.com/nextcloud/deck/pull/5285)
|
|
||||||
- fix: Avoid throwing errors if no token provided on close @juliushaertl [#5284](https://github.com/nextcloud/deck/pull/5284)
|
|
||||||
- fix: Expose card actions in the card menu (fix #3180) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Use full card menu everywhere (fix #3993) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Detect end of the activity responses (fix #3395) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Add title with absolute date time to activity (fix #4508, fix #2122) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Disable dragging archived cards (fix #3271) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Hide unavailable card menu entries for archived card view [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Use localCompare to sort labels (fix #2736) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: More fitting click target for title editing [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Always load proper dashboard js (fixes a log error) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Set fixed height for card modal (fix #4296) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Make sure to always update card description when navigating away (fix #5254 #2705) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- perf: Already pass board list as initial state @juliushaertl [#5281](https://github.com/nextcloud/deck/pull/5281)
|
|
||||||
- Deck card comment notification label improvement @Jerome-Herbinet [#4748](https://github.com/nextcloud/deck/pull/4748)
|
|
||||||
- update smart picker links @luka-nextcloud [#5047](https://github.com/nextcloud/deck/pull/5047)
|
|
||||||
- feat: Enhance dark mode @juliushaertl [#5045](https://github.com/nextcloud/deck/pull/5045)
|
|
||||||
- fix: export doesn't handle lists with no cards @magikmw [#5096](https://github.com/nextcloud/deck/pull/5096)
|
|
||||||
- add attributes aria-label= and title= to Filters & View Modes buttons @privatemaker [#5133](https://github.com/nextcloud/deck/pull/5133)
|
|
||||||
- fix: Check both card reference url patterns @juliushaertl [#5262](https://github.com/nextcloud/deck/pull/5262)
|
|
||||||
- fix: Avoid too large index on postgres as indexing just the last_editor column is enough @juliushaertl [#5260](https://github.com/nextcloud/deck/pull/5260)
|
|
||||||
- feat: error msg on CreateNewCardCustomPicker & only show available bo… @luka-nextcloud [#5029](https://github.com/nextcloud/deck/pull/5029)
|
|
||||||
- test: add cypress tests for create new deck card @luka-nextcloud [#5025](https://github.com/nextcloud/deck/pull/5025)
|
|
||||||
- Remove duplicate button @solracsf [#4850](https://github.com/nextcloud/deck/pull/4850)
|
|
||||||
- [stable27] fix cypress for new file picker [#5088](https://github.com/nextcloud/deck/pull/5088)
|
|
||||||
- Replace "Timeline" wording with "Activity" in order to be consistent with equivalent contexts throughout Nextcloud @Jerome-Herbinet [#5164](https://github.com/nextcloud/deck/pull/5164)
|
|
||||||
- Board creation limitation : More understandable wordings @Jerome-Herbinet [#5168](https://github.com/nextcloud/deck/pull/5168)
|
|
||||||
- ci(cypress): Fix file picker selector @juliushaertl [#5212](https://github.com/nextcloud/deck/pull/5212)
|
|
||||||
- Switch to native date picker @juliushaertl [#4668](https://github.com/nextcloud/deck/pull/4668)
|
|
||||||
- fixes minor spelling error @FundreasFrohsinn [#5216](https://github.com/nextcloud/deck/pull/5216)
|
|
||||||
- feat(card): tooltip for comment timestamp @fitrahfm [#5253](https://github.com/nextcloud/deck/pull/5253)
|
|
||||||
|
|
||||||
## 1.12.0-beta.5
|
### Other
|
||||||
|
|
||||||
|
- fix cypress for new file picker @juliushaertl [#5027](https://github.com/nextcloud/deck/pull/5027)
|
||||||
|
- test: add cypress tests for create new deck card [#5026](https://github.com/nextcloud/deck/pull/5026)
|
||||||
|
- Update dependencies
|
||||||
|
|
||||||
|
## 1.11.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Keyboard shortcuts [#5358](https://github.com/nextcloud/deck/pull/5358)
|
- feat: Import of deck JSON data through occ [#5003](https://github.com/nextcloud/deck/pull/5003)
|
||||||
|
- feat: create new card from smart picker [#5000](https://github.com/nextcloud/deck/pull/5000)
|
||||||
|
- feat: update smart picker links [#5072](https://github.com/nextcloud/deck/pull/5072)
|
||||||
|
- feat: remember last board, list for new card dialog [#5049](https://github.com/nextcloud/deck/pull/5049)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- fix: allow null label colors in trello json importer [#5355](https://github.com/nextcloud/deck/pull/5355)
|
- Fix(occ): set user id for permission sevice from board service [#4813](https://github.com/nextcloud/deck/pull/4813)
|
||||||
- fix: Get proper rich object for card actions [#5352](https://github.com/nextcloud/deck/pull/5352)
|
- fix: Allow dynamic autoloading for classes added during upgrade [#4804](https://github.com/nextcloud/deck/pull/4804)
|
||||||
|
- fix(notification): Prevent null in parameters [#4909](https://github.com/nextcloud/deck/pull/4909)
|
||||||
|
- fix: Split query to fetch board ids to avoid slow query join @juliushaertl [#4949](https://github.com/nextcloud/deck/pull/4949)
|
||||||
|
- fix: export doesn't handle lists with no cards [#5118](https://github.com/nextcloud/deck/pull/5118)
|
||||||
|
- fix: execute return int for export command [#4811](https://github.com/nextcloud/deck/pull/4811)
|
||||||
|
- fix: crash when leaving out system parameter [#4831](https://github.com/nextcloud/deck/pull/4831)
|
||||||
|
- test: add cypress tests for create new deck card [#5026](https://github.com/nextcloud/deck/pull/5026)
|
||||||
|
- feat: error msg on CreateNewCardCustomPicker & only show available bo… [#5030](https://github.com/nextcloud/deck/pull/5030)
|
||||||
|
- Remove duplicate button [#5043](https://github.com/nextcloud/deck/pull/5043)
|
||||||
|
|
||||||
### Dependencies
|
### Other
|
||||||
|
|
||||||
- Update nextcloud/ocp dependency @nextcloud-command [#5343](https://github.com/nextcloud/deck/pull/5343)
|
- Dependency updates
|
||||||
- Chore(deps): Bump @babel/runtime from 7.23.4 to 7.23.5 @dependabot[bot] [#5338](https://github.com/nextcloud/deck/pull/5338)
|
|
||||||
|
|
||||||
|
## 1.11.0-beta.1
|
||||||
## 1.12.0-beta.4
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- scroll board by dragging @shoetten [#5293](https://github.com/nextcloud/deck/pull/5293)
|
- Import deck json files through occ @juliushaertl [#5003](https://github.com/nextcloud/deck/pull/5003)
|
||||||
|
- Create new card via smart picker [#5000](https://github.com/nextcloud/deck/pull/5000)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- fix: Use text content as result for comments @juliushaertl [#5294](https://github.com/nextcloud/deck/pull/5294)
|
- Fix(occ): set user id for permission sevice from board service [#4813](https://github.com/nextcloud/deck/pull/4813)
|
||||||
- fix: Bring back due date indicator to compact mode @juliushaertl [#5292](https://github.com/nextcloud/deck/pull/5292)
|
- fix: Allow dynamic autoloading for classes added during upgrade [#4804](https://github.com/nextcloud/deck/pull/4804)
|
||||||
- Fix small issues around delete/undo @juliushaertl [#5296](https://github.com/nextcloud/deck/pull/5296)
|
- fix(notification): Prevent null in parameters [#4909](https://github.com/nextcloud/deck/pull/4909)
|
||||||
- fix(controls): use primary when filter is active @fitrahfm [#5299](https://github.com/nextcloud/deck/pull/5299)
|
- fix: Split query to fetch board ids to avoid slow query join @juliushaertl [#4949](https://github.com/nextcloud/deck/pull/4949)
|
||||||
|
- fix: execute return int for export command [#4811](https://github.com/nextcloud/deck/pull/4811)
|
||||||
|
- fix: crash when leaving out system parameter [#4831](https://github.com/nextcloud/deck/pull/4831)
|
||||||
|
|
||||||
## 1.12.0-beta.3
|
## 1.10.0
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- feat: Move to contenteditable for inline title editing @juliushaertl [#5282](https://github.com/nextcloud/deck/pull/5282)
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- fix: Properly get done state for dav @juliushaertl [#5287](https://github.com/nextcloud/deck/pull/5287)
|
|
||||||
- Fix upcoming cards and label input @juliushaertl [#5290](https://github.com/nextcloud/deck/pull/5290)
|
|
||||||
|
|
||||||
## 1.12.0-beta.2
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- Card layout polishing @juliushaertl [#5264](https://github.com/nextcloud/deck/pull/5264)
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- fix: Properly handle adding new tags through multiselect @juliushaertl [#5285](https://github.com/nextcloud/deck/pull/5285)
|
|
||||||
- fix: Avoid throwing errors if no token provided on close @juliushaertl [#5284](https://github.com/nextcloud/deck/pull/5284)
|
|
||||||
- fix: Expose card actions in the card menu (fix #3180) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Use full card menu everywhere (fix #3993) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Detect end of the activity responses (fix #3395) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Add title with absolute date time to activity (fix #4508, fix #2122) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Disable dragging archived cards (fix #3271) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Hide unavailable card menu entries for archived card view [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Use localCompare to sort labels (fix #2736) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: More fitting click target for title editing [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Always load proper dashboard js (fixes a log error) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Set fixed height for card modal (fix #4296) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- fix: Make sure to always update card description when navigating away (fix #5254 #2705) [#5280](https://github.com/nextcloud/deck/pull/5280)
|
|
||||||
- perf: Already pass board list as initial state @juliushaertl [#5281](https://github.com/nextcloud/deck/pull/5281)
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Fix npm audit @nextcloud-command [#5277](https://github.com/nextcloud/deck/pull/5277)
|
|
||||||
- Update nextcloud/ocp dependency @nextcloud-command [#5275](https://github.com/nextcloud/deck/pull/5275)
|
|
||||||
- Chore(deps): Bump @nextcloud/dialogs from 4.2.1 to 4.2.2 @dependabot[bot] [#5266](https://github.com/nextcloud/deck/pull/5266)
|
|
||||||
- Chore(deps-dev): Bump cypress from 13.4.0 to 13.5.0 @dependabot[bot] [#5267](https://github.com/nextcloud/deck/pull/5267)
|
|
||||||
- Chore(deps): Bump shivammathur/setup-php from 2.27.0 to 2.27.1 @dependabot[bot] [#5268](https://github.com/nextcloud/deck/pull/5268)
|
|
||||||
|
|
||||||
|
|
||||||
## 1.12.0-beta.1
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- Added ability to mark a card as done @TehThanos [#4137](https://github.com/nextcloud/deck/pull/4137)
|
|
||||||
- Card Cover Images @jszeibert [#5035](https://github.com/nextcloud/deck/pull/5035)
|
|
||||||
- Upcoming/Today/Tomorrow dashboard widgets @BKapelari [#2658](https://github.com/nextcloud/deck/pull/2658)
|
|
||||||
- Enabled advanced fields option on tag color picker @faab007nl [#4362](https://github.com/nextcloud/deck/pull/4362)
|
|
||||||
- Remember last board, list for new card dialog @luka-nextcloud [#5046](https://github.com/nextcloud/deck/pull/5046)
|
|
||||||
- Add support for bidirectional text @jamazi [#5258](https://github.com/nextcloud/deck/pull/5258)
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- Deck card comment notification label improvement @Jerome-Herbinet [#4748](https://github.com/nextcloud/deck/pull/4748)
|
|
||||||
- update smart picker links @luka-nextcloud [#5047](https://github.com/nextcloud/deck/pull/5047)
|
|
||||||
- feat: Enhance dark mode @juliushaertl [#5045](https://github.com/nextcloud/deck/pull/5045)
|
|
||||||
- fix: export doesn't handle lists with no cards @magikmw [#5096](https://github.com/nextcloud/deck/pull/5096)
|
|
||||||
- add attributes aria-label= and title= to Filters & View Modes buttons @privatemaker [#5133](https://github.com/nextcloud/deck/pull/5133)
|
|
||||||
- fix: Check both card reference url patterns @juliushaertl [#5262](https://github.com/nextcloud/deck/pull/5262)
|
|
||||||
- fix: Avoid too large index on postgres as indexing just the last_editor column is enough @juliushaertl [#5260](https://github.com/nextcloud/deck/pull/5260)
|
|
||||||
- feat: error msg on CreateNewCardCustomPicker & only show available bo… @luka-nextcloud [#5029](https://github.com/nextcloud/deck/pull/5029)
|
|
||||||
- test: add cypress tests for create new deck card @luka-nextcloud [#5025](https://github.com/nextcloud/deck/pull/5025)
|
|
||||||
- Remove duplicate button @solracsf [#4850](https://github.com/nextcloud/deck/pull/4850)
|
|
||||||
- [stable27] fix cypress for new file picker [#5088](https://github.com/nextcloud/deck/pull/5088)
|
|
||||||
- Replace "Timeline" wording with "Activity" in order to be consistent with equivalent contexts throughout Nextcloud @Jerome-Herbinet [#5164](https://github.com/nextcloud/deck/pull/5164)
|
|
||||||
- Board creation limitation : More understandable wordings @Jerome-Herbinet [#5168](https://github.com/nextcloud/deck/pull/5168)
|
|
||||||
- ci(cypress): Fix file picker selector @juliushaertl [#5212](https://github.com/nextcloud/deck/pull/5212)
|
|
||||||
- Switch to native date picker @juliushaertl [#4668](https://github.com/nextcloud/deck/pull/4668)
|
|
||||||
- fixes minor spelling error @FundreasFrohsinn [#5216](https://github.com/nextcloud/deck/pull/5216)
|
|
||||||
- feat(card): tooltip for comment timestamp @fitrahfm [#5253](https://github.com/nextcloud/deck/pull/5253)
|
|
||||||
|
|
||||||
## 1.10.0-beta.1
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
@@ -200,6 +107,8 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- fix: Properly overwrite z-index of datepicker above modal @juliushaertl [#4664](https://github.com/nextcloud/deck/pull/4664)
|
||||||
|
- Use the color-primary-element* variables @szaimen [#4673](https://github.com/nextcloud/deck/pull/4673)
|
||||||
- fix(references): Mute NoPermissionException as it is expected to happen for references @juliushaertl [#4514](https://github.com/nextcloud/deck/pull/4514)
|
- fix(references): Mute NoPermissionException as it is expected to happen for references @juliushaertl [#4514](https://github.com/nextcloud/deck/pull/4514)
|
||||||
- fix(cards): Fix card sizing by limiting too wide style rules @juliushaertl [#4512](https://github.com/nextcloud/deck/pull/4512)
|
- fix(cards): Fix card sizing by limiting too wide style rules @juliushaertl [#4512](https://github.com/nextcloud/deck/pull/4512)
|
||||||
- fix: Adapt NcEmptyContent usages to new slots @juliushaertl [#4561](https://github.com/nextcloud/deck/pull/4561)
|
- fix: Adapt NcEmptyContent usages to new slots @juliushaertl [#4561](https://github.com/nextcloud/deck/pull/4561)
|
||||||
@@ -219,7 +128,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Better display of card dates (creation and change dates) @Jerome-Herbinet [#4604](https://github.com/nextcloud/deck/pull/4604)
|
- Better display of card dates (creation and change dates) @Jerome-Herbinet [#4604](https://github.com/nextcloud/deck/pull/4604)
|
||||||
- Refactors lib\Activity\DeckProvider.php to improve code readability. @fsamapoor [#4648](https://github.com/nextcloud/deck/pull/4648)
|
- Refactors lib\Activity\DeckProvider.php to improve code readability. @fsamapoor [#4648](https://github.com/nextcloud/deck/pull/4648)
|
||||||
- Converts 'strpos()' calls to improve code readability. @fsamapoor [#4657](https://github.com/nextcloud/deck/pull/4657)
|
- Converts 'strpos()' calls to improve code readability. @fsamapoor [#4657](https://github.com/nextcloud/deck/pull/4657)
|
||||||
|
- Dependency updates
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- feat: Add devcontainer and update dev docs @juliushaertl [#4683](https://github.com/nextcloud/deck/pull/4683)
|
||||||
|
- chore(CI): Adjust testing matrix for Nextcloud 27 on stable27 @nickvergessen [#4691](https://github.com/nextcloud/deck/pull/4691)
|
||||||
|
|
||||||
## 1.9.0-beta.1
|
## 1.9.0-beta.1
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ Deck is a kanban style organization tool aimed at personal planning and project
|
|||||||
- [trello-to-deck](https://github.com/maxammann/trello-to-deck) - Migrates cards from Trello
|
- [trello-to-deck](https://github.com/maxammann/trello-to-deck) - Migrates cards from Trello
|
||||||
- [mail2deck](https://github.com/newroco/mail2deck) - Provides an "email in" solution
|
- [mail2deck](https://github.com/newroco/mail2deck) - Provides an "email in" solution
|
||||||
- [A-deck](https://github.com/leoossa/A-deck) - Chrome Extension that allows to create new card in selected stack based on current tab
|
- [A-deck](https://github.com/leoossa/A-deck) - Chrome Extension that allows to create new card in selected stack based on current tab
|
||||||
- [QOwnNotes](https://github.com/pbek/QOwnNotes) - Quickly creates cards and links to them in Markdown notes
|
|
||||||
|
|
||||||
## Installation/Update
|
## Installation/Update
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
- 🚀 Get your project organized
|
- 🚀 Get your project organized
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
<version>1.12.3</version>
|
<version>1.11.5</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author>Julius Härtl</author>
|
<author>Julius Härtl</author>
|
||||||
<documentation>
|
<documentation>
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<database min-version="9.4">pgsql</database>
|
<database min-version="9.4">pgsql</database>
|
||||||
<database>sqlite</database>
|
<database>sqlite</database>
|
||||||
<database min-version="8.0">mysql</database>
|
<database min-version="8.0">mysql</database>
|
||||||
<nextcloud min-version="28" max-version="28"/>
|
<nextcloud min-version="27" max-version="27"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<background-jobs>
|
<background-jobs>
|
||||||
<job>OCA\Deck\Cron\DeleteCron</job>
|
<job>OCA\Deck\Cron\DeleteCron</job>
|
||||||
@@ -58,9 +58,9 @@
|
|||||||
</commands>
|
</commands>
|
||||||
<activity>
|
<activity>
|
||||||
<settings>
|
<settings>
|
||||||
<setting>OCA\Deck\Activity\SettingChanges</setting>
|
<setting>OCA\Deck\Activity\Setting</setting>
|
||||||
<setting>OCA\Deck\Activity\SettingDescription</setting>
|
|
||||||
<setting>OCA\Deck\Activity\SettingComment</setting>
|
<setting>OCA\Deck\Activity\SettingComment</setting>
|
||||||
|
<setting>OCA\Deck\Activity\DescriptionSetting</setting>
|
||||||
</settings>
|
</settings>
|
||||||
<filters>
|
<filters>
|
||||||
<filter>OCA\Deck\Activity\Filter</filter>
|
<filter>OCA\Deck\Activity\Filter</filter>
|
||||||
|
|||||||
@@ -25,11 +25,6 @@
|
|||||||
return [
|
return [
|
||||||
'routes' => [
|
'routes' => [
|
||||||
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
|
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
|
||||||
['name' => 'page#indexList', 'url' => '/board', 'verb' => 'GET'],
|
|
||||||
['name' => 'page#indexBoard', 'url' => '/board/{boardId}', 'verb' => 'GET'],
|
|
||||||
['name' => 'page#indexBoardDetails', 'url' => '/board/{boardId}/details', 'verb' => 'GET'],
|
|
||||||
['name' => 'page#indexCard', 'url' => '/board/{boardId}/card/{cardId}', 'verb' => 'GET'],
|
|
||||||
|
|
||||||
['name' => 'page#redirectToCard', 'url' => '/card/{cardId}', 'verb' => 'GET'],
|
['name' => 'page#redirectToCard', 'url' => '/card/{cardId}', 'verb' => 'GET'],
|
||||||
|
|
||||||
// boards
|
// boards
|
||||||
@@ -66,8 +61,6 @@ return [
|
|||||||
['name' => 'card#reorder', 'url' => '/cards/{cardId}/reorder', 'verb' => 'PUT'],
|
['name' => 'card#reorder', 'url' => '/cards/{cardId}/reorder', 'verb' => 'PUT'],
|
||||||
['name' => 'card#archive', 'url' => '/cards/{cardId}/archive', 'verb' => 'PUT'],
|
['name' => 'card#archive', 'url' => '/cards/{cardId}/archive', 'verb' => 'PUT'],
|
||||||
['name' => 'card#unarchive', 'url' => '/cards/{cardId}/unarchive', 'verb' => 'PUT'],
|
['name' => 'card#unarchive', 'url' => '/cards/{cardId}/unarchive', 'verb' => 'PUT'],
|
||||||
['name' => 'card#done', 'url' => '/cards/{cardId}/done', 'verb' => 'PUT'],
|
|
||||||
['name' => 'card#undone', 'url' => '/cards/{cardId}/undone', 'verb' => 'PUT'],
|
|
||||||
['name' => 'card#assignLabel', 'url' => '/cards/{cardId}/label/{labelId}', 'verb' => 'POST'],
|
['name' => 'card#assignLabel', 'url' => '/cards/{cardId}/label/{labelId}', 'verb' => 'POST'],
|
||||||
['name' => 'card#removeLabel', 'url' => '/cards/{cardId}/label/{labelId}', 'verb' => 'DELETE'],
|
['name' => 'card#removeLabel', 'url' => '/cards/{cardId}/label/{labelId}', 'verb' => 'DELETE'],
|
||||||
['name' => 'card#assignUser', 'url' => '/cards/{cardId}/assign', 'verb' => 'POST'],
|
['name' => 'card#assignUser', 'url' => '/cards/{cardId}/assign', 'verb' => 'POST'],
|
||||||
|
|||||||
@@ -15,8 +15,9 @@
|
|||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"phpunit/phpunit": "^9",
|
"phpunit/phpunit": "^9",
|
||||||
"nextcloud/coding-standard": "^1.1",
|
"nextcloud/coding-standard": "^1.1",
|
||||||
"nextcloud/ocp": "dev-stable28",
|
"psalm/phar": "^5.13",
|
||||||
"psalm/phar": "^5.13"
|
"php-parallel-lint/php-parallel-lint": "^1.2",
|
||||||
|
"nextcloud/ocp": "dev-stable27"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
|
|||||||
460
composer.lock
generated
460
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "2ab83bbc55ad8f0f50c5de28c10764ba",
|
"content-hash": "25b1df7f8fcc7b43083c1d7b3178cd0f",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "justinrainbow/json-schema",
|
"name": "justinrainbow/json-schema",
|
||||||
@@ -250,20 +250,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nextcloud/ocp",
|
"name": "nextcloud/ocp",
|
||||||
"version": "dev-stable28",
|
"version": "dev-stable27",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/nextcloud-deps/ocp.git",
|
"url": "https://github.com/nextcloud-deps/ocp.git",
|
||||||
"reference": "1c0336e8d268afa7accafe096b52cc6fe2c694d1"
|
"reference": "a25af68d428145141ac85ae0746f70d9f04911e4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/1c0336e8d268afa7accafe096b52cc6fe2c694d1",
|
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/a25af68d428145141ac85ae0746f70d9f04911e4",
|
||||||
"reference": "1c0336e8d268afa7accafe096b52cc6fe2c694d1",
|
"reference": "a25af68d428145141ac85ae0746f70d9f04911e4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~8.0 || ~8.1 || ~8.2 || ~8.3",
|
"php": "^7.4 || ~8.0 || ~8.1",
|
||||||
"psr/clock": "^1.0",
|
"psr/clock": "^1.0",
|
||||||
"psr/container": "^2.0.2",
|
"psr/container": "^2.0.2",
|
||||||
"psr/event-dispatcher": "^1.0",
|
"psr/event-dispatcher": "^1.0",
|
||||||
@@ -272,7 +272,7 @@
|
|||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-stable28": "28.0.0-dev"
|
"dev-stable27": "27.0.0-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
@@ -288,22 +288,22 @@
|
|||||||
"description": "Composer package containing Nextcloud's public API (classes, interfaces)",
|
"description": "Composer package containing Nextcloud's public API (classes, interfaces)",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/nextcloud-deps/ocp/issues",
|
"issues": "https://github.com/nextcloud-deps/ocp/issues",
|
||||||
"source": "https://github.com/nextcloud-deps/ocp/tree/stable28"
|
"source": "https://github.com/nextcloud-deps/ocp/tree/stable27"
|
||||||
},
|
},
|
||||||
"time": "2024-06-14T00:35:47+00:00"
|
"time": "2024-06-05T00:35:15+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nikic/php-parser",
|
"name": "nikic/php-parser",
|
||||||
"version": "v4.17.1",
|
"version": "v4.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/nikic/PHP-Parser.git",
|
"url": "https://github.com/nikic/PHP-Parser.git",
|
||||||
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d"
|
"reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d",
|
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999",
|
||||||
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d",
|
"reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -344,9 +344,9 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/nikic/PHP-Parser/issues",
|
"issues": "https://github.com/nikic/PHP-Parser/issues",
|
||||||
"source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1"
|
"source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0"
|
||||||
},
|
},
|
||||||
"time": "2023-08-13T19:53:39+00:00"
|
"time": "2023-12-10T21:03:43+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phar-io/manifest",
|
"name": "phar-io/manifest",
|
||||||
@@ -461,16 +461,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "php-cs-fixer/shim",
|
"name": "php-cs-fixer/shim",
|
||||||
"version": "v3.22.0",
|
"version": "v3.41.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/PHP-CS-Fixer/shim.git",
|
"url": "https://github.com/PHP-CS-Fixer/shim.git",
|
||||||
"reference": "f6692934a6d1fe40fd8bc3339487490baa4a6700"
|
"reference": "01cea2dca727100537bd63e28e06e49a475b54e9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/f6692934a6d1fe40fd8bc3339487490baa4a6700",
|
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/01cea2dca727100537bd63e28e06e49a475b54e9",
|
||||||
"reference": "f6692934a6d1fe40fd8bc3339487490baa4a6700",
|
"reference": "01cea2dca727100537bd63e28e06e49a475b54e9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -507,9 +507,66 @@
|
|||||||
"description": "A tool to automatically fix PHP code style",
|
"description": "A tool to automatically fix PHP code style",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/PHP-CS-Fixer/shim/issues",
|
"issues": "https://github.com/PHP-CS-Fixer/shim/issues",
|
||||||
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.22.0"
|
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.41.1"
|
||||||
},
|
},
|
||||||
"time": "2023-07-16T23:08:49+00:00"
|
"time": "2023-12-10T19:59:57+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "php-parallel-lint/php-parallel-lint",
|
||||||
|
"version": "v1.3.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git",
|
||||||
|
"reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de",
|
||||||
|
"reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-json": "*",
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"grogy/php-parallel-lint": "*",
|
||||||
|
"jakub-onderka/php-parallel-lint": "*"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nette/tester": "^1.3 || ^2.0",
|
||||||
|
"php-parallel-lint/php-console-highlighter": "0.* || ^1.0",
|
||||||
|
"squizlabs/php_codesniffer": "^3.6"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"parallel-lint"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"./src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-2-Clause"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Jakub Onderka",
|
||||||
|
"email": "ahoj@jakubonderka.cz"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "This tool check syntax of PHP files about 20x faster than serial check.",
|
||||||
|
"homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint",
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues",
|
||||||
|
"source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2"
|
||||||
|
},
|
||||||
|
"time": "2022-02-21T12:50:22+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-code-coverage",
|
"name": "phpunit/php-code-coverage",
|
||||||
@@ -832,16 +889,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "9.6.13",
|
"version": "9.6.15",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be"
|
"reference": "05017b80304e0eb3f31d90194a563fd53a6021f1"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/05017b80304e0eb3f31d90194a563fd53a6021f1",
|
||||||
"reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be",
|
"reference": "05017b80304e0eb3f31d90194a563fd53a6021f1",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -915,7 +972,7 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13"
|
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.15"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -931,20 +988,20 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-09-19T05:39:22+00:00"
|
"time": "2023-12-01T16:55:19+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psalm/phar",
|
"name": "psalm/phar",
|
||||||
"version": "5.15.0",
|
"version": "5.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/psalm/phar.git",
|
"url": "https://github.com/psalm/phar.git",
|
||||||
"reference": "19dde3eba5901ff50ca43a5e4c43540f097e0511"
|
"reference": "a78b5c2e8860c3b4242c63bc0864621278705f9a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/psalm/phar/zipball/19dde3eba5901ff50ca43a5e4c43540f097e0511",
|
"url": "https://api.github.com/repos/psalm/phar/zipball/a78b5c2e8860c3b4242c63bc0864621278705f9a",
|
||||||
"reference": "19dde3eba5901ff50ca43a5e4c43540f097e0511",
|
"reference": "a78b5c2e8860c3b4242c63bc0864621278705f9a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -964,9 +1021,9 @@
|
|||||||
"description": "Composer-based Psalm Phar",
|
"description": "Composer-based Psalm Phar",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/psalm/phar/issues",
|
"issues": "https://github.com/psalm/phar/issues",
|
||||||
"source": "https://github.com/psalm/phar/tree/5.15.0"
|
"source": "https://github.com/psalm/phar/tree/5.18.0"
|
||||||
},
|
},
|
||||||
"time": "2023-08-21T03:20:52+00:00"
|
"time": "2023-12-16T09:41:14+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/clock",
|
"name": "psr/clock",
|
||||||
@@ -1175,20 +1232,21 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
||||||
"reference": "6488b89b30eb204b9f78b3db4c2916914afa7445"
|
"reference": "3c2385497f806decca1e5abeba3cb8fd7caba4e0"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/6488b89b30eb204b9f78b3db4c2916914afa7445",
|
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/3c2385497f806decca1e5abeba3cb8fd7caba4e0",
|
||||||
"reference": "6488b89b30eb204b9f78b3db4c2916914afa7445",
|
"reference": "3c2385497f806decca1e5abeba3cb8fd7caba4e0",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"3f/pygmentize": "<1.2",
|
"3f/pygmentize": "<1.2",
|
||||||
"admidio/admidio": "<4.2.10",
|
"admidio/admidio": "<4.2.13",
|
||||||
"adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3",
|
"adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3",
|
||||||
"aheinze/cockpit": "<=2.2.1",
|
"aheinze/cockpit": "<2.2",
|
||||||
"aimeos/aimeos-typo3": "<19.10.12|>=20,<20.10.5",
|
"aimeos/aimeos-typo3": "<19.10.12|>=20,<20.10.5",
|
||||||
|
"airesvsg/acf-to-rest-api": "<=3.1",
|
||||||
"akaunting/akaunting": "<2.1.13",
|
"akaunting/akaunting": "<2.1.13",
|
||||||
"akeneo/pim-community-dev": "<5.0.119|>=6,<6.0.53",
|
"akeneo/pim-community-dev": "<5.0.119|>=6,<6.0.53",
|
||||||
"alextselegidis/easyappointments": "<1.5",
|
"alextselegidis/easyappointments": "<1.5",
|
||||||
@@ -1200,30 +1258,34 @@
|
|||||||
"anchorcms/anchor-cms": "<=0.12.7",
|
"anchorcms/anchor-cms": "<=0.12.7",
|
||||||
"andreapollastri/cipi": "<=3.1.15",
|
"andreapollastri/cipi": "<=3.1.15",
|
||||||
"andrewhaine/silverstripe-form-capture": ">=0.2,<=0.2.3|>=1,<1.0.2|>=2,<2.2.5",
|
"andrewhaine/silverstripe-form-capture": ">=0.2,<=0.2.3|>=1,<1.0.2|>=2,<2.2.5",
|
||||||
|
"apache-solr-for-typo3/solr": "<2.8.3",
|
||||||
"apereo/phpcas": "<1.6",
|
"apereo/phpcas": "<1.6",
|
||||||
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3",
|
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3",
|
||||||
"appwrite/server-ce": "<=1.2.1",
|
"appwrite/server-ce": "<=1.2.1",
|
||||||
"arc/web": "<3",
|
"arc/web": "<3",
|
||||||
"area17/twill": "<1.2.5|>=2,<2.5.3",
|
"area17/twill": "<1.2.5|>=2,<2.5.3",
|
||||||
"artesaos/seotools": "<0.17.2",
|
"artesaos/seotools": "<0.17.2",
|
||||||
"asymmetricrypt/asymmetricrypt": ">=0,<9.9.99",
|
"asymmetricrypt/asymmetricrypt": "<9.9.99",
|
||||||
"athlon1600/php-proxy": "<=5.1",
|
"athlon1600/php-proxy": "<=5.1",
|
||||||
"athlon1600/php-proxy-app": "<=3",
|
"athlon1600/php-proxy-app": "<=3",
|
||||||
|
"austintoddj/canvas": "<=3.4.2",
|
||||||
"automad/automad": "<1.8",
|
"automad/automad": "<1.8",
|
||||||
"awesome-support/awesome-support": "<=6.0.7",
|
"awesome-support/awesome-support": "<=6.0.7",
|
||||||
"aws/aws-sdk-php": ">=3,<3.2.1",
|
"aws/aws-sdk-php": ">=3,<3.2.1",
|
||||||
"azuracast/azuracast": "<0.18.3",
|
"azuracast/azuracast": "<0.18.3",
|
||||||
"backdrop/backdrop": "<1.24.2",
|
"backdrop/backdrop": "<1.24.2",
|
||||||
|
"backpack/crud": "<3.4.9",
|
||||||
|
"bacula-web/bacula-web": "<8.0.0.0-RC2-dev",
|
||||||
"badaso/core": "<2.7",
|
"badaso/core": "<2.7",
|
||||||
"bagisto/bagisto": "<0.1.5",
|
"bagisto/bagisto": "<0.1.5",
|
||||||
"barrelstrength/sprout-base-email": "<1.2.7",
|
"barrelstrength/sprout-base-email": "<1.2.7",
|
||||||
"barrelstrength/sprout-forms": "<3.9",
|
"barrelstrength/sprout-forms": "<3.9",
|
||||||
"barryvdh/laravel-translation-manager": "<0.6.2",
|
"barryvdh/laravel-translation-manager": "<0.6.2",
|
||||||
"barzahlen/barzahlen-php": "<2.0.1",
|
"barzahlen/barzahlen-php": "<2.0.1",
|
||||||
"baserproject/basercms": "<4.7.5",
|
"baserproject/basercms": "<4.8",
|
||||||
"bassjobsen/bootstrap-3-typeahead": ">4.0.2",
|
"bassjobsen/bootstrap-3-typeahead": ">4.0.2",
|
||||||
"bigfork/silverstripe-form-capture": ">=3,<3.1.1",
|
"bigfork/silverstripe-form-capture": ">=3,<3.1.1",
|
||||||
"billz/raspap-webgui": "<2.8.9",
|
"billz/raspap-webgui": "<2.9.5",
|
||||||
"bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3",
|
"bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3",
|
||||||
"bmarshall511/wordpress_zero_spam": "<5.2.13",
|
"bmarshall511/wordpress_zero_spam": "<5.2.13",
|
||||||
"bolt/bolt": "<3.7.2",
|
"bolt/bolt": "<3.7.2",
|
||||||
@@ -1234,91 +1296,100 @@
|
|||||||
"brotkrueml/schema": "<1.13.1|>=2,<2.5.1",
|
"brotkrueml/schema": "<1.13.1|>=2,<2.5.1",
|
||||||
"brotkrueml/typo3-matomo-integration": "<1.3.2",
|
"brotkrueml/typo3-matomo-integration": "<1.3.2",
|
||||||
"buddypress/buddypress": "<7.2.1",
|
"buddypress/buddypress": "<7.2.1",
|
||||||
"bugsnag/bugsnag-laravel": ">=2,<2.0.2",
|
"bugsnag/bugsnag-laravel": "<2.0.2",
|
||||||
"bytefury/crater": "<6.0.2",
|
"bytefury/crater": "<6.0.2",
|
||||||
"cachethq/cachet": "<2.5.1",
|
"cachethq/cachet": "<2.5.1",
|
||||||
"cakephp/cakephp": "<3.10.3|>=4,<4.0.10|>=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10|= 1.3.7|>=4.1,<4.1.4",
|
"cakephp/cakephp": "<3.10.3|>=4,<4.0.10|>=4.1,<4.1.4|>=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10",
|
||||||
"cakephp/database": ">=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10",
|
"cakephp/database": ">=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10",
|
||||||
"cardgate/magento2": "<2.0.33",
|
"cardgate/magento2": "<2.0.33",
|
||||||
"cardgate/woocommerce": "<=3.1.15",
|
"cardgate/woocommerce": "<=3.1.15",
|
||||||
"cart2quote/module-quotation": ">=4.1.6,<=4.4.5|>=5,<5.4.4",
|
"cart2quote/module-quotation": ">=4.1.6,<=4.4.5|>=5,<5.4.4",
|
||||||
"cartalyst/sentry": "<=2.1.6",
|
"cartalyst/sentry": "<=2.1.6",
|
||||||
"catfan/medoo": "<1.7.5",
|
"catfan/medoo": "<1.7.5",
|
||||||
"centreon/centreon": "<22.10-beta.1",
|
"cecil/cecil": "<7.47.1",
|
||||||
|
"centreon/centreon": "<22.10.0.0-beta1",
|
||||||
"cesnet/simplesamlphp-module-proxystatistics": "<3.1",
|
"cesnet/simplesamlphp-module-proxystatistics": "<3.1",
|
||||||
"cockpit-hq/cockpit": "<2.4.1",
|
"chriskacerguis/codeigniter-restserver": "<=2.7.1",
|
||||||
|
"civicrm/civicrm-core": ">=4.2,<4.2.9|>=4.3,<4.3.3",
|
||||||
|
"cockpit-hq/cockpit": "<=2.6.3",
|
||||||
"codeception/codeception": "<3.1.3|>=4,<4.1.22",
|
"codeception/codeception": "<3.1.3|>=4,<4.1.22",
|
||||||
"codeigniter/framework": "<=3.0.6",
|
"codeigniter/framework": "<3.1.9",
|
||||||
"codeigniter4/framework": "<4.3.5",
|
"codeigniter4/framework": "<=4.4.2",
|
||||||
"codeigniter4/shield": "<1-beta.4|= 1.0.0-beta",
|
"codeigniter4/shield": "<1.0.0.0-beta8",
|
||||||
"codiad/codiad": "<=2.8.4",
|
"codiad/codiad": "<=2.8.4",
|
||||||
"composer/composer": "<1.10.26|>=2-alpha.1,<2.2.12|>=2.3,<2.3.5",
|
"composer/composer": "<1.10.27|>=2,<2.2.22|>=2.3,<2.6.4",
|
||||||
"concrete5/concrete5": "<9.2|>= 9.0.0RC1, < 9.1.3",
|
"concrete5/concrete5": "<9.2.2",
|
||||||
"concrete5/core": "<8.5.8|>=9,<9.1",
|
"concrete5/core": "<8.5.8|>=9,<9.1",
|
||||||
"contao-components/mediaelement": ">=2.14.2,<2.21.1",
|
"contao-components/mediaelement": ">=2.14.2,<2.21.1",
|
||||||
"contao/contao": ">=4,<4.4.56|>=4.5,<4.9.40|>=4.10,<4.11.7|>=4.13,<4.13.21|>=5.1,<5.1.4",
|
"contao/contao": ">=4,<4.4.56|>=4.5,<4.9.40|>=4.10,<4.11.7|>=4.13,<4.13.21|>=5.1,<5.1.4",
|
||||||
"contao/core": ">=2,<3.5.39",
|
"contao/core": ">=2,<3.5.39",
|
||||||
"contao/core-bundle": "<4.9.40|>=4.10,<4.11.7|>=4.13,<4.13.21|>=5.1,<5.1.4|= 4.10.0",
|
"contao/core-bundle": "<4.9.42|>=4.10,<4.13.28|>=5,<5.1.10",
|
||||||
"contao/listing-bundle": ">=4,<4.4.8",
|
"contao/listing-bundle": ">=4,<4.4.8",
|
||||||
"contao/managed-edition": "<=1.5",
|
"contao/managed-edition": "<=1.5",
|
||||||
"cosenary/instagram": "<=2.3",
|
"cosenary/instagram": "<=2.3",
|
||||||
"craftcms/cms": "<=4.4.9|>= 4.0.0-RC1, < 4.4.12|>= 4.0.0-RC1, <= 4.4.5|>= 4.0.0-RC1, <= 4.4.6|>= 4.0.0-RC1, < 4.4.6|>= 4.0.0-RC1, < 4.3.7|>= 4.0.0-RC1, < 4.2.1",
|
"craftcms/cms": "<=4.4.14",
|
||||||
"croogo/croogo": "<3.0.7",
|
"croogo/croogo": "<4",
|
||||||
"cuyz/valinor": "<0.12",
|
"cuyz/valinor": "<0.12",
|
||||||
"czproject/git-php": "<4.0.3",
|
"czproject/git-php": "<4.0.3",
|
||||||
"darylldoyle/safe-svg": "<1.9.10",
|
"darylldoyle/safe-svg": "<1.9.10",
|
||||||
"datadog/dd-trace": ">=0.30,<0.30.2",
|
"datadog/dd-trace": ">=0.30,<0.30.2",
|
||||||
|
"datatables/datatables": "<1.10.10",
|
||||||
"david-garcia/phpwhois": "<=4.3.1",
|
"david-garcia/phpwhois": "<=4.3.1",
|
||||||
"dbrisinajumi/d2files": "<1",
|
"dbrisinajumi/d2files": "<1",
|
||||||
"dcat/laravel-admin": "<=2.1.3-beta",
|
"dcat/laravel-admin": "<=2.1.3.0-beta",
|
||||||
"derhansen/fe_change_pwd": "<2.0.5|>=3,<3.0.3",
|
"derhansen/fe_change_pwd": "<2.0.5|>=3,<3.0.3",
|
||||||
"derhansen/sf_event_mgt": "<4.3.1|>=5,<5.1.1",
|
"derhansen/sf_event_mgt": "<4.3.1|>=5,<5.1.1",
|
||||||
"desperado/xml-bundle": "<=0.1.7",
|
"desperado/xml-bundle": "<=0.1.7",
|
||||||
"directmailteam/direct-mail": "<5.2.4",
|
"directmailteam/direct-mail": "<6.0.3|>=7,<7.0.3|>=8,<9.5.2",
|
||||||
"doctrine/annotations": ">=1,<1.2.7",
|
"doctrine/annotations": "<1.2.7",
|
||||||
"doctrine/cache": ">=1,<1.3.2|>=1.4,<1.4.2",
|
"doctrine/cache": "<1.3.2|>=1.4,<1.4.2",
|
||||||
"doctrine/common": ">=2,<2.4.3|>=2.5,<2.5.1",
|
"doctrine/common": "<2.4.3|>=2.5,<2.5.1",
|
||||||
"doctrine/dbal": ">=2,<2.0.8|>=2.1,<2.1.2|>=3,<3.1.4",
|
"doctrine/dbal": ">=2,<2.0.8|>=2.1,<2.1.2|>=3,<3.1.4",
|
||||||
"doctrine/doctrine-bundle": "<1.5.2",
|
"doctrine/doctrine-bundle": "<1.5.2",
|
||||||
"doctrine/doctrine-module": "<=0.7.1",
|
"doctrine/doctrine-module": "<=0.7.1",
|
||||||
"doctrine/mongodb-odm": ">=1,<1.0.2",
|
"doctrine/mongodb-odm": "<1.0.2",
|
||||||
"doctrine/mongodb-odm-bundle": ">=2,<3.0.1",
|
"doctrine/mongodb-odm-bundle": "<3.0.1",
|
||||||
"doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4",
|
"doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4",
|
||||||
"dolibarr/dolibarr": "<17.0.1|= 12.0.5|>= 3.3.beta1, < 13.0.2",
|
"dolibarr/dolibarr": "<18.0.2",
|
||||||
"dompdf/dompdf": "<2.0.2|= 2.0.2",
|
"dompdf/dompdf": "<2.0.4",
|
||||||
"drupal/core": ">=7,<7.96|>=8,<9.4.14|>=9.5,<9.5.8|>=10,<10.0.8",
|
"doublethreedigital/guest-entries": "<3.1.2",
|
||||||
"drupal/drupal": ">=7,<7.80|>=8,<8.9.16|>=9,<9.1.12|>=9.2,<9.2.4",
|
"drupal/core": "<9.4.14|>=9.5,<9.5.8|>=10,<10.0.8",
|
||||||
|
"drupal/drupal": ">=6,<6.38|>=7,<7.80|>=8,<8.9.16|>=9,<9.1.12|>=9.2,<9.2.4",
|
||||||
|
"duncanmcclean/guest-entries": "<3.1.2",
|
||||||
"dweeves/magmi": "<=0.7.24",
|
"dweeves/magmi": "<=0.7.24",
|
||||||
"ecodev/newsletter": "<=4",
|
"ecodev/newsletter": "<=4",
|
||||||
"ectouch/ectouch": "<=2.7.2",
|
"ectouch/ectouch": "<=2.7.2",
|
||||||
"elefant/cms": "<1.3.13",
|
"elefant/cms": "<2.0.7",
|
||||||
"elgg/elgg": "<3.3.24|>=4,<4.0.5",
|
"elgg/elgg": "<3.3.24|>=4,<4.0.5",
|
||||||
|
"elijaa/phpmemcacheadmin": "<=1.3",
|
||||||
"encore/laravel-admin": "<=1.8.19",
|
"encore/laravel-admin": "<=1.8.19",
|
||||||
"endroid/qr-code-bundle": "<3.4.2",
|
"endroid/qr-code-bundle": "<3.4.2",
|
||||||
"enshrined/svg-sanitize": "<0.15",
|
"enshrined/svg-sanitize": "<0.15",
|
||||||
"erusev/parsedown": "<1.7.2",
|
"erusev/parsedown": "<1.7.2",
|
||||||
"ether/logs": "<3.0.4",
|
"ether/logs": "<3.0.4",
|
||||||
|
"evolutioncms/evolution": "<=3.2.3",
|
||||||
"exceedone/exment": "<4.4.3|>=5,<5.0.3",
|
"exceedone/exment": "<4.4.3|>=5,<5.0.3",
|
||||||
"exceedone/laravel-admin": "= 3.0.0|<2.2.3",
|
"exceedone/laravel-admin": "<2.2.3|==3",
|
||||||
"ezsystems/demobundle": ">=5.4,<5.4.6.1",
|
"ezsystems/demobundle": ">=5.4,<5.4.6.1-dev",
|
||||||
"ezsystems/ez-support-tools": ">=2.2,<2.2.3",
|
"ezsystems/ez-support-tools": ">=2.2,<2.2.3",
|
||||||
"ezsystems/ezdemo-ls-extension": ">=5.4,<5.4.2.1",
|
"ezsystems/ezdemo-ls-extension": ">=5.4,<5.4.2.1-dev",
|
||||||
"ezsystems/ezfind-ls": ">=5.3,<5.3.6.1|>=5.4,<5.4.11.1|>=2017.12,<2017.12.0.1",
|
"ezsystems/ezfind-ls": ">=5.3,<5.3.6.1-dev|>=5.4,<5.4.11.1-dev|>=2017.12,<2017.12.0.1-dev",
|
||||||
"ezsystems/ezplatform": "<=1.13.6|>=2,<=2.5.24",
|
"ezsystems/ezplatform": "<=1.13.6|>=2,<=2.5.24",
|
||||||
"ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26",
|
"ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26",
|
||||||
"ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1",
|
"ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1",
|
||||||
"ezsystems/ezplatform-graphql": ">=1-rc.1,<1.0.13|>=2-beta.1,<2.3.12",
|
"ezsystems/ezplatform-graphql": ">=1.0.0.0-RC1-dev,<1.0.13|>=2.0.0.0-beta1,<2.3.12",
|
||||||
"ezsystems/ezplatform-kernel": "<1.2.5.1|>=1.3,<1.3.26",
|
"ezsystems/ezplatform-kernel": "<1.2.5.1-dev|>=1.3,<1.3.34",
|
||||||
"ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8",
|
"ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8",
|
||||||
"ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1",
|
"ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1-dev",
|
||||||
|
"ezsystems/ezplatform-solr-search-engine": ">=1.7,<1.7.12|>=2,<2.0.2|>=3.3,<3.3.15",
|
||||||
"ezsystems/ezplatform-user": ">=1,<1.0.1",
|
"ezsystems/ezplatform-user": ">=1,<1.0.1",
|
||||||
"ezsystems/ezpublish-kernel": "<6.13.8.2|>=7,<7.5.30",
|
"ezsystems/ezpublish-kernel": "<6.13.8.2-dev|>=7,<7.5.31",
|
||||||
"ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.6,<=2019.3.5.1",
|
"ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.06,<=2019.03.5.1",
|
||||||
"ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3",
|
"ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3",
|
||||||
"ezsystems/repository-forms": ">=2.3,<2.3.2.1|>=2.5,<2.5.15",
|
"ezsystems/repository-forms": ">=2.3,<2.3.2.1-dev|>=2.5,<2.5.15",
|
||||||
"ezyang/htmlpurifier": "<4.1.1",
|
"ezyang/htmlpurifier": "<4.1.1",
|
||||||
"facade/ignition": "<1.16.15|>=2,<2.4.2|>=2.5,<2.5.2",
|
"facade/ignition": "<1.16.15|>=2,<2.4.2|>=2.5,<2.5.2",
|
||||||
"facturascripts/facturascripts": "<=2022.8",
|
"facturascripts/facturascripts": "<=2022.08",
|
||||||
"feehi/cms": "<=2.1.1",
|
"feehi/cms": "<=2.1.1",
|
||||||
"feehi/feehicms": "<=2.1.1",
|
"feehi/feehicms": "<=2.1.1",
|
||||||
"fenom/fenom": "<=2.12.1",
|
"fenom/fenom": "<=2.12.1",
|
||||||
@@ -1326,13 +1397,16 @@
|
|||||||
"firebase/php-jwt": "<6",
|
"firebase/php-jwt": "<6",
|
||||||
"fixpunkt/fp-masterquiz": "<2.2.1|>=3,<3.5.2",
|
"fixpunkt/fp-masterquiz": "<2.2.1|>=3,<3.5.2",
|
||||||
"fixpunkt/fp-newsletter": "<1.1.1|>=2,<2.1.2|>=2.2,<3.2.6",
|
"fixpunkt/fp-newsletter": "<1.1.1|>=2,<2.1.2|>=2.2,<3.2.6",
|
||||||
"flarum/core": "<1.7",
|
"flarum/core": "<1.8",
|
||||||
|
"flarum/framework": "<1.8",
|
||||||
"flarum/mentions": "<1.6.3",
|
"flarum/mentions": "<1.6.3",
|
||||||
"flarum/sticky": ">=0.1-beta.14,<=0.1-beta.15",
|
"flarum/sticky": ">=0.1.0.0-beta14,<=0.1.0.0-beta15",
|
||||||
"flarum/tags": "<=0.1-beta.13",
|
"flarum/tags": "<=0.1.0.0-beta13",
|
||||||
|
"floriangaerber/magnesium": "<0.3.1",
|
||||||
"fluidtypo3/vhs": "<5.1.1",
|
"fluidtypo3/vhs": "<5.1.1",
|
||||||
"fof/byobu": ">=0.3-beta.2,<1.1.7",
|
"fof/byobu": ">=0.3.0.0-beta2,<1.1.7",
|
||||||
"fof/upload": "<1.2.3",
|
"fof/upload": "<1.2.3",
|
||||||
|
"foodcoopshop/foodcoopshop": ">=3.2,<3.6.1",
|
||||||
"fooman/tcpdf": "<6.2.22",
|
"fooman/tcpdf": "<6.2.22",
|
||||||
"forkcms/forkcms": "<5.11.1",
|
"forkcms/forkcms": "<5.11.1",
|
||||||
"fossar/tcpdf-parser": "<6.2.22",
|
"fossar/tcpdf-parser": "<6.2.22",
|
||||||
@@ -1342,17 +1416,20 @@
|
|||||||
"friendsofsymfony/rest-bundle": ">=1.2,<1.2.2",
|
"friendsofsymfony/rest-bundle": ">=1.2,<1.2.2",
|
||||||
"friendsofsymfony/user-bundle": ">=1.2,<1.3.5",
|
"friendsofsymfony/user-bundle": ">=1.2,<1.3.5",
|
||||||
"friendsoftypo3/mediace": ">=7.6.2,<7.6.5",
|
"friendsoftypo3/mediace": ">=7.6.2,<7.6.5",
|
||||||
"froala/wysiwyg-editor": "<3.2.7",
|
"friendsoftypo3/openid": ">=4.5,<4.5.31|>=4.7,<4.7.16|>=6,<6.0.11|>=6.1,<6.1.6",
|
||||||
"froxlor/froxlor": "<2.1",
|
"froala/wysiwyg-editor": "<3.2.7|>=4.0.1,<=4.1.1",
|
||||||
|
"froxlor/froxlor": "<2.1.0.0-beta1",
|
||||||
"fuel/core": "<1.8.1",
|
"fuel/core": "<1.8.1",
|
||||||
"funadmin/funadmin": "<=3.2|>=3.3.2,<=3.3.3",
|
"funadmin/funadmin": "<=3.2|>=3.3.2,<=3.3.3",
|
||||||
"gaoming13/wechat-php-sdk": "<=1.10.2",
|
"gaoming13/wechat-php-sdk": "<=1.10.2",
|
||||||
"genix/cms": "<=1.1.11",
|
"genix/cms": "<=1.1.11",
|
||||||
"getgrav/grav": "<1.7.42",
|
"getgrav/grav": "<=1.7.42.1",
|
||||||
"getkirby/cms": "= 3.8.0|<3.5.8.2|>=3.6,<3.6.6.2|>=3.7,<3.7.5.1",
|
"getkirby/cms": "<3.5.8.3-dev|>=3.6,<3.6.6.3-dev|>=3.7,<3.7.5.2-dev|>=3.8,<3.8.4.1-dev|>=3.9,<3.9.6",
|
||||||
|
"getkirby/kirby": "<=2.5.12",
|
||||||
"getkirby/panel": "<2.5.14",
|
"getkirby/panel": "<2.5.14",
|
||||||
"getkirby/starterkit": "<=3.7.0.2",
|
"getkirby/starterkit": "<=3.7.0.2",
|
||||||
"gilacms/gila": "<=1.11.4",
|
"gilacms/gila": "<=1.11.4",
|
||||||
|
"gleez/cms": "<=1.2|==2",
|
||||||
"globalpayments/php-sdk": "<2",
|
"globalpayments/php-sdk": "<2",
|
||||||
"gogentooss/samlbase": "<1.2.7",
|
"gogentooss/samlbase": "<1.2.7",
|
||||||
"google/protobuf": "<3.15",
|
"google/protobuf": "<3.15",
|
||||||
@@ -1360,11 +1437,12 @@
|
|||||||
"gree/jose": "<2.2.1",
|
"gree/jose": "<2.2.1",
|
||||||
"gregwar/rst": "<1.0.3",
|
"gregwar/rst": "<1.0.3",
|
||||||
"grumpydictator/firefly-iii": "<6",
|
"grumpydictator/firefly-iii": "<6",
|
||||||
|
"gugoan/economizzer": "<=0.9.0.0-beta1",
|
||||||
"guzzlehttp/guzzle": "<6.5.8|>=7,<7.4.5",
|
"guzzlehttp/guzzle": "<6.5.8|>=7,<7.4.5",
|
||||||
"guzzlehttp/psr7": "<1.9.1|>=2,<2.4.5",
|
"guzzlehttp/psr7": "<1.9.1|>=2,<2.4.5",
|
||||||
"haffner/jh_captcha": "<=2.1.3|>=3,<=3.0.2",
|
"haffner/jh_captcha": "<=2.1.3|>=3,<=3.0.2",
|
||||||
"harvesthq/chosen": "<1.8.7",
|
"harvesthq/chosen": "<1.8.7",
|
||||||
"helloxz/imgurl": "= 2.31|<=2.31",
|
"helloxz/imgurl": "<=2.31",
|
||||||
"hhxsv5/laravel-s": "<3.7.36",
|
"hhxsv5/laravel-s": "<3.7.36",
|
||||||
"hillelcoren/invoice-ninja": "<5.3.35",
|
"hillelcoren/invoice-ninja": "<5.3.35",
|
||||||
"himiklab/yii2-jqgrid-widget": "<1.0.8",
|
"himiklab/yii2-jqgrid-widget": "<1.0.8",
|
||||||
@@ -1373,9 +1451,10 @@
|
|||||||
"httpsoft/http-message": "<1.0.12",
|
"httpsoft/http-message": "<1.0.12",
|
||||||
"hyn/multi-tenant": ">=5.6,<5.7.2",
|
"hyn/multi-tenant": ">=5.6,<5.7.2",
|
||||||
"ibexa/admin-ui": ">=4.2,<4.2.3",
|
"ibexa/admin-ui": ">=4.2,<4.2.3",
|
||||||
"ibexa/core": ">=4,<4.0.7|>=4.1,<4.1.4|>=4.2,<4.2.3",
|
"ibexa/core": ">=4,<4.0.7|>=4.1,<4.1.4|>=4.2,<4.2.3|>=4.5,<4.5.4",
|
||||||
"ibexa/graphql": ">=2.5,<2.5.31|>=3.3,<3.3.28|>=4.2,<4.2.3",
|
"ibexa/graphql": ">=2.5,<2.5.31|>=3.3,<3.3.28|>=4.2,<4.2.3",
|
||||||
"ibexa/post-install": "<=1.0.4",
|
"ibexa/post-install": "<=1.0.4",
|
||||||
|
"ibexa/solr": ">=4.5,<4.5.4",
|
||||||
"ibexa/user": ">=4,<4.4.3",
|
"ibexa/user": ">=4,<4.4.3",
|
||||||
"icecoder/icecoder": "<=8.1",
|
"icecoder/icecoder": "<=8.1",
|
||||||
"idno/known": "<=1.3.1",
|
"idno/known": "<=1.3.1",
|
||||||
@@ -1385,21 +1464,25 @@
|
|||||||
"illuminate/encryption": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.40|>=5.6,<5.6.15",
|
"illuminate/encryption": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.40|>=5.6,<5.6.15",
|
||||||
"illuminate/view": "<6.20.42|>=7,<7.30.6|>=8,<8.75",
|
"illuminate/view": "<6.20.42|>=7,<7.30.6|>=8,<8.75",
|
||||||
"impresscms/impresscms": "<=1.4.5",
|
"impresscms/impresscms": "<=1.4.5",
|
||||||
"in2code/femanager": "<5.5.3|>=6,<6.3.4|>=7,<7.1",
|
"in2code/femanager": "<5.5.3|>=6,<6.3.4|>=7,<7.2.3",
|
||||||
"in2code/ipandlanguageredirect": "<5.1.2",
|
"in2code/ipandlanguageredirect": "<5.1.2",
|
||||||
"in2code/lux": "<17.6.1|>=18,<24.0.2",
|
"in2code/lux": "<17.6.1|>=18,<24.0.2",
|
||||||
"innologi/typo3-appointments": "<2.0.6",
|
"innologi/typo3-appointments": "<2.0.6",
|
||||||
"intelliants/subrion": "<=4.2.1",
|
"intelliants/subrion": "<4.2.2",
|
||||||
"islandora/islandora": ">=2,<2.4.1",
|
"islandora/islandora": ">=2,<2.4.1",
|
||||||
"ivankristianto/phpwhois": "<=4.3",
|
"ivankristianto/phpwhois": "<=4.3",
|
||||||
"jackalope/jackalope-doctrine-dbal": "<1.7.4",
|
"jackalope/jackalope-doctrine-dbal": "<1.7.4",
|
||||||
"james-heinrich/getid3": "<1.9.21",
|
"james-heinrich/getid3": "<1.9.21",
|
||||||
|
"james-heinrich/phpthumb": "<1.7.12",
|
||||||
"jasig/phpcas": "<1.3.3",
|
"jasig/phpcas": "<1.3.3",
|
||||||
|
"jcbrand/converse.js": "<3.3.3",
|
||||||
|
"joomla/application": "<1.0.13",
|
||||||
"joomla/archive": "<1.1.12|>=2,<2.0.1",
|
"joomla/archive": "<1.1.12|>=2,<2.0.1",
|
||||||
"joomla/filesystem": "<1.6.2|>=2,<2.0.1",
|
"joomla/filesystem": "<1.6.2|>=2,<2.0.1",
|
||||||
"joomla/filter": "<1.4.4|>=2,<2.0.1",
|
"joomla/filter": "<1.4.4|>=2,<2.0.1",
|
||||||
|
"joomla/framework": ">=2.5.4,<=3.8.12",
|
||||||
"joomla/input": ">=2,<2.0.2",
|
"joomla/input": ">=2,<2.0.2",
|
||||||
"joomla/joomla-cms": ">=3,<3.9.12",
|
"joomla/joomla-cms": ">=2.5,<3.9.12",
|
||||||
"joomla/session": "<1.3.1",
|
"joomla/session": "<1.3.1",
|
||||||
"joyqi/hyper-down": "<=2.4.27",
|
"joyqi/hyper-down": "<=2.4.27",
|
||||||
"jsdecena/laracom": "<2.0.9",
|
"jsdecena/laracom": "<2.0.9",
|
||||||
@@ -1408,27 +1491,28 @@
|
|||||||
"kelvinmo/simplexrd": "<3.1.1",
|
"kelvinmo/simplexrd": "<3.1.1",
|
||||||
"kevinpapst/kimai2": "<1.16.7",
|
"kevinpapst/kimai2": "<1.16.7",
|
||||||
"khodakhah/nodcms": "<=3",
|
"khodakhah/nodcms": "<=3",
|
||||||
"kimai/kimai": "<1.1",
|
"kimai/kimai": "<=2.1",
|
||||||
"kitodo/presentation": "<3.2.3|>=3.3,<3.3.4",
|
"kitodo/presentation": "<3.2.3|>=3.3,<3.3.4",
|
||||||
"klaviyo/magento2-extension": ">=1,<3",
|
"klaviyo/magento2-extension": ">=1,<3",
|
||||||
"knplabs/knp-snappy": "<1.4.2",
|
"knplabs/knp-snappy": "<=1.4.2",
|
||||||
|
"kohana/core": "<3.3.3",
|
||||||
"krayin/laravel-crm": "<1.2.2",
|
"krayin/laravel-crm": "<1.2.2",
|
||||||
"kreait/firebase-php": ">=3.2,<3.8.1",
|
"kreait/firebase-php": ">=3.2,<3.8.1",
|
||||||
"la-haute-societe/tcpdf": "<6.2.22",
|
"la-haute-societe/tcpdf": "<6.2.22",
|
||||||
"laminas/laminas-diactoros": "<2.18.1|>=2.24,<2.24.2|>=2.25,<2.25.2|= 2.23.0|= 2.22.0|= 2.21.0|= 2.20.0|= 2.19.0",
|
"laminas/laminas-diactoros": "<2.18.1|==2.19|==2.20|==2.21|==2.22|==2.23|>=2.24,<2.24.2|>=2.25,<2.25.2",
|
||||||
"laminas/laminas-form": "<2.17.1|>=3,<3.0.2|>=3.1,<3.1.1",
|
"laminas/laminas-form": "<2.17.1|>=3,<3.0.2|>=3.1,<3.1.1",
|
||||||
"laminas/laminas-http": "<2.14.2",
|
"laminas/laminas-http": "<2.14.2",
|
||||||
"laravel/fortify": "<1.11.1",
|
"laravel/fortify": "<1.11.1",
|
||||||
"laravel/framework": "<6.20.44|>=7,<7.30.6|>=8,<8.75",
|
"laravel/framework": "<6.20.44|>=7,<7.30.6|>=8,<8.75",
|
||||||
"laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10",
|
"laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10",
|
||||||
"latte/latte": "<2.10.8",
|
"latte/latte": "<2.10.8",
|
||||||
"lavalite/cms": "= 9.0.0|<=9",
|
"lavalite/cms": "<=9",
|
||||||
"lcobucci/jwt": ">=3.4,<3.4.6|>=4,<4.0.4|>=4.1,<4.1.5",
|
"lcobucci/jwt": ">=3.4,<3.4.6|>=4,<4.0.4|>=4.1,<4.1.5",
|
||||||
"league/commonmark": "<0.18.3",
|
"league/commonmark": "<0.18.3",
|
||||||
"league/flysystem": "<1.1.4|>=2,<2.1.1",
|
"league/flysystem": "<1.1.4|>=2,<2.1.1",
|
||||||
"league/oauth2-server": ">=8.3.2,<8.5.3",
|
"league/oauth2-server": ">=8.3.2,<8.4.2|>=8.5,<8.5.3",
|
||||||
"lexik/jwt-authentication-bundle": "<2.10.7|>=2.11,<2.11.3",
|
"lexik/jwt-authentication-bundle": "<2.10.7|>=2.11,<2.11.3",
|
||||||
"librenms/librenms": "<22.10",
|
"librenms/librenms": "<2017.08.18",
|
||||||
"liftkit/database": "<2.13.2",
|
"liftkit/database": "<2.13.2",
|
||||||
"limesurvey/limesurvey": "<3.27.19",
|
"limesurvey/limesurvey": "<3.27.19",
|
||||||
"livehelperchat/livehelperchat": "<=3.91",
|
"livehelperchat/livehelperchat": "<=3.91",
|
||||||
@@ -1437,68 +1521,84 @@
|
|||||||
"localizationteam/l10nmgr": "<7.4|>=8,<8.7|>=9,<9.2",
|
"localizationteam/l10nmgr": "<7.4|>=8,<8.7|>=9,<9.2",
|
||||||
"luyadev/yii-helpers": "<1.2.1",
|
"luyadev/yii-helpers": "<1.2.1",
|
||||||
"magento/community-edition": "<=2.4",
|
"magento/community-edition": "<=2.4",
|
||||||
"magento/magento1ce": "<1.9.4.3",
|
"magento/magento1ce": "<1.9.4.3-dev",
|
||||||
"magento/magento1ee": ">=1,<1.14.4.3",
|
"magento/magento1ee": ">=1,<1.14.4.3-dev",
|
||||||
"magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2-p.2",
|
"magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2.0-patch2",
|
||||||
"maikuolan/phpmussel": ">=1,<1.6",
|
"maikuolan/phpmussel": ">=1,<1.6",
|
||||||
"mantisbt/mantisbt": "<=2.25.5",
|
"mantisbt/mantisbt": "<=2.25.7",
|
||||||
"marcwillmann/turn": "<0.3.3",
|
"marcwillmann/turn": "<0.3.3",
|
||||||
"matyhtf/framework": "<3.0.6",
|
"matyhtf/framework": "<3.0.6",
|
||||||
"mautic/core": "<4.3|= 2.13.1",
|
"mautic/core": "<4.3",
|
||||||
"mediawiki/core": ">=1.27,<1.27.6|>=1.29,<1.29.3|>=1.30,<1.30.2|>=1.31,<1.31.9|>=1.32,<1.32.6|>=1.32.99,<1.33.3|>=1.33.99,<1.34.3|>=1.34.99,<1.35",
|
"mediawiki/core": ">=1.27,<1.27.6|>=1.29,<1.29.3|>=1.30,<1.30.2|>=1.31,<1.31.9|>=1.32,<1.32.6|>=1.32.99,<1.33.3|>=1.33.99,<1.34.3|>=1.34.99,<1.35",
|
||||||
"mediawiki/matomo": "<2.4.3",
|
"mediawiki/matomo": "<2.4.3",
|
||||||
|
"mediawiki/semantic-media-wiki": "<4.0.2",
|
||||||
"melisplatform/melis-asset-manager": "<5.0.1",
|
"melisplatform/melis-asset-manager": "<5.0.1",
|
||||||
"melisplatform/melis-cms": "<5.0.1",
|
"melisplatform/melis-cms": "<5.0.1",
|
||||||
"melisplatform/melis-front": "<5.0.1",
|
"melisplatform/melis-front": "<5.0.1",
|
||||||
"mezzio/mezzio-swoole": "<3.7|>=4,<4.3",
|
"mezzio/mezzio-swoole": "<3.7|>=4,<4.3",
|
||||||
"mgallegos/laravel-jqgrid": "<=1.3",
|
"mgallegos/laravel-jqgrid": "<=1.3",
|
||||||
"microweber/microweber": "= 1.1.18|<=1.3.4",
|
"microsoft/microsoft-graph": ">=1.16,<1.109.1|>=2.0.0.0-RC1-dev,<2.0.1",
|
||||||
|
"microsoft/microsoft-graph-beta": "<2.0.1",
|
||||||
|
"microsoft/microsoft-graph-core": "<2.0.2",
|
||||||
|
"microweber/microweber": "<=2.0.4",
|
||||||
"miniorange/miniorange-saml": "<1.4.3",
|
"miniorange/miniorange-saml": "<1.4.3",
|
||||||
"mittwald/typo3_forum": "<1.2.1",
|
"mittwald/typo3_forum": "<1.2.1",
|
||||||
"mobiledetect/mobiledetectlib": "<2.8.32",
|
"mobiledetect/mobiledetectlib": "<2.8.32",
|
||||||
"modx/revolution": "<= 2.8.3-pl|<2.8",
|
"modx/revolution": "<=2.8.3.0-patch",
|
||||||
"mojo42/jirafeau": "<4.4",
|
"mojo42/jirafeau": "<4.4",
|
||||||
|
"mongodb/mongodb": ">=1,<1.9.2",
|
||||||
"monolog/monolog": ">=1.8,<1.12",
|
"monolog/monolog": ">=1.8,<1.12",
|
||||||
"moodle/moodle": "<4.2-rc.2|= 3.7|= 3.9|= 3.8|= 4.2.0|= 3.11",
|
"moodle/moodle": "<4.3.0.0-RC2-dev",
|
||||||
|
"mos/cimage": "<0.7.19",
|
||||||
"movim/moxl": ">=0.8,<=0.10",
|
"movim/moxl": ">=0.8,<=0.10",
|
||||||
"mpdf/mpdf": "<=7.1.7",
|
"mpdf/mpdf": "<=7.1.7",
|
||||||
|
"munkireport/comment": "<4.1",
|
||||||
|
"munkireport/managedinstalls": "<2.6",
|
||||||
|
"munkireport/munkireport": ">=2.5.3,<5.6.3",
|
||||||
"mustache/mustache": ">=2,<2.14.1",
|
"mustache/mustache": ">=2,<2.14.1",
|
||||||
"namshi/jose": "<2.2",
|
"namshi/jose": "<2.2",
|
||||||
"neoan3-apps/template": "<1.1.1",
|
"neoan3-apps/template": "<1.1.1",
|
||||||
"neorazorx/facturascripts": "<2022.4",
|
"neorazorx/facturascripts": "<2022.04",
|
||||||
"neos/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6",
|
"neos/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6",
|
||||||
"neos/form": ">=1.2,<4.3.3|>=5,<5.0.9|>=5.1,<5.1.3",
|
"neos/form": ">=1.2,<4.3.3|>=5,<5.0.9|>=5.1,<5.1.3",
|
||||||
"neos/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.9.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<5.3.10|>=7,<7.0.9|>=7.1,<7.1.7|>=7.2,<7.2.6|>=7.3,<7.3.4|>=8,<8.0.2",
|
"neos/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.9.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<5.3.10|>=7,<7.0.9|>=7.1,<7.1.7|>=7.2,<7.2.6|>=7.3,<7.3.4|>=8,<8.0.2",
|
||||||
|
"neos/neos-ui": "<=8.3.3",
|
||||||
"neos/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5",
|
"neos/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5",
|
||||||
"netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15",
|
"netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15",
|
||||||
"nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6",
|
"nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6",
|
||||||
"nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13",
|
"nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13",
|
||||||
"nilsteampassnet/teampass": "<3.0.10",
|
"nilsteampassnet/teampass": "<3.0.10",
|
||||||
|
"nonfiction/nterchange": "<4.1.1",
|
||||||
"notrinos/notrinos-erp": "<=0.7",
|
"notrinos/notrinos-erp": "<=0.7",
|
||||||
"noumo/easyii": "<=0.9",
|
"noumo/easyii": "<=0.9",
|
||||||
"nukeviet/nukeviet": "<4.5.2",
|
"nukeviet/nukeviet": "<4.5.02",
|
||||||
"nyholm/psr7": "<1.6.1",
|
"nyholm/psr7": "<1.6.1",
|
||||||
"nystudio107/craft-seomatic": "<3.4.12",
|
"nystudio107/craft-seomatic": "<3.4.12",
|
||||||
"nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1",
|
"nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1",
|
||||||
"october/backend": "<1.1.2",
|
"october/backend": "<1.1.2",
|
||||||
"october/cms": "= 1.1.1|= 1.0.471|= 1.0.469|>=1.0.319,<1.0.469",
|
"october/cms": "<1.0.469|==1.0.469|==1.0.471|==1.1.1",
|
||||||
"october/october": ">=1.0.319,<1.0.466|>=2.1,<2.1.12",
|
"october/october": "<=3.4.4",
|
||||||
"october/rain": "<1.0.472|>=1.1,<1.1.2",
|
"october/rain": "<1.0.472|>=1.1,<1.1.2",
|
||||||
"october/system": "<1.0.476|>=1.1,<1.1.12|>=2,<2.2.34|>=3,<3.0.66",
|
"october/system": "<1.0.476|>=1.1,<1.1.12|>=2,<2.2.34|>=3,<3.5.2",
|
||||||
|
"omeka/omeka-s": "<4.0.3",
|
||||||
"onelogin/php-saml": "<2.10.4",
|
"onelogin/php-saml": "<2.10.4",
|
||||||
"oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5",
|
"oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5",
|
||||||
"open-web-analytics/open-web-analytics": "<1.7.4",
|
"open-web-analytics/open-web-analytics": "<1.7.4",
|
||||||
"opencart/opencart": "<=3.0.3.7",
|
"opencart/opencart": "<=3.0.3.7|>=4,<4.0.2.3-dev",
|
||||||
"openid/php-openid": "<2.3",
|
"openid/php-openid": "<2.3",
|
||||||
"openmage/magento-lts": "<19.4.22|>=20,<20.0.19",
|
"openmage/magento-lts": "<20.2",
|
||||||
"opensource-workshop/connect-cms": "<1.7.2|>=2,<2.3.2",
|
"opensource-workshop/connect-cms": "<1.7.2|>=2,<2.3.2",
|
||||||
"orchid/platform": ">=9,<9.4.4|>=14-alpha.4,<14.5",
|
"orchid/platform": ">=9,<9.4.4|>=14.0.0.0-alpha4,<14.5",
|
||||||
"oro/commerce": ">=4.1,<5.0.6",
|
"oro/calendar-bundle": ">=4.2,<=4.2.6|>=5,<=5.0.6|>=5.1,<5.1.1",
|
||||||
|
"oro/commerce": ">=4.1,<5.0.11|>=5.1,<5.1.1",
|
||||||
"oro/crm": ">=1.7,<1.7.4|>=3.1,<4.1.17|>=4.2,<4.2.7",
|
"oro/crm": ">=1.7,<1.7.4|>=3.1,<4.1.17|>=4.2,<4.2.7",
|
||||||
"oro/platform": ">=1.7,<1.7.4|>=3.1,<3.1.29|>=4.1,<4.1.17|>=4.2,<4.2.8",
|
"oro/crm-call-bundle": ">=4.2,<=4.2.5|>=5,<5.0.4|>=5.1,<5.1.1",
|
||||||
|
"oro/customer-portal": ">=4.2,<=4.2.8|>=5,<5.0.11|>=5.1,<5.1.1",
|
||||||
|
"oro/platform": ">=1.7,<1.7.4|>=3.1,<3.1.29|>=4.1,<4.1.17|>=4.2,<=4.2.10|>=5,<5.0.8",
|
||||||
|
"oxid-esales/oxideshop-ce": "<4.5",
|
||||||
"packbackbooks/lti-1-3-php-library": "<5",
|
"packbackbooks/lti-1-3-php-library": "<5",
|
||||||
"padraic/humbug_get_contents": "<1.1.2",
|
"padraic/humbug_get_contents": "<1.1.2",
|
||||||
"pagarme/pagarme-php": ">=0,<3",
|
"pagarme/pagarme-php": "<3",
|
||||||
"pagekit/pagekit": "<=1.0.18",
|
"pagekit/pagekit": "<=1.0.18",
|
||||||
"paragonie/random_compat": "<2",
|
"paragonie/random_compat": "<2",
|
||||||
"passbolt/passbolt_api": "<2.11",
|
"passbolt/passbolt_api": "<2.11",
|
||||||
@@ -1509,6 +1609,7 @@
|
|||||||
"pegasus/google-for-jobs": "<1.5.1|>=2,<2.1.1",
|
"pegasus/google-for-jobs": "<1.5.1|>=2,<2.1.1",
|
||||||
"personnummer/personnummer": "<3.0.2",
|
"personnummer/personnummer": "<3.0.2",
|
||||||
"phanan/koel": "<5.1.4",
|
"phanan/koel": "<5.1.4",
|
||||||
|
"phenx/php-svg-lib": "<0.5.1",
|
||||||
"php-mod/curl": "<2.3.2",
|
"php-mod/curl": "<2.3.2",
|
||||||
"phpbb/phpbb": "<3.2.10|>=3.3,<3.3.1",
|
"phpbb/phpbb": "<3.2.10|>=3.3,<3.3.1",
|
||||||
"phpfastcache/phpfastcache": "<6.1.5|>=7,<7.1.2|>=8,<8.0.7",
|
"phpfastcache/phpfastcache": "<6.1.5|>=7,<7.1.2|>=8,<8.0.7",
|
||||||
@@ -1518,7 +1619,7 @@
|
|||||||
"phpmyfaq/phpmyfaq": "<=3.1.7",
|
"phpmyfaq/phpmyfaq": "<=3.1.7",
|
||||||
"phpoffice/phpexcel": "<1.8",
|
"phpoffice/phpexcel": "<1.8",
|
||||||
"phpoffice/phpspreadsheet": "<1.16",
|
"phpoffice/phpspreadsheet": "<1.16",
|
||||||
"phpseclib/phpseclib": "<2.0.31|>=3,<3.0.19",
|
"phpseclib/phpseclib": "<2.0.31|>=3,<3.0.34",
|
||||||
"phpservermon/phpservermon": "<3.6",
|
"phpservermon/phpservermon": "<3.6",
|
||||||
"phpsysinfo/phpsysinfo": "<3.2.5",
|
"phpsysinfo/phpsysinfo": "<3.2.5",
|
||||||
"phpunit/phpunit": ">=4.8.19,<4.8.28|>=5,<5.6.3",
|
"phpunit/phpunit": ">=4.8.19,<4.8.28|>=5,<5.6.3",
|
||||||
@@ -1526,39 +1627,48 @@
|
|||||||
"phpxmlrpc/extras": "<0.6.1",
|
"phpxmlrpc/extras": "<0.6.1",
|
||||||
"phpxmlrpc/phpxmlrpc": "<4.9.2",
|
"phpxmlrpc/phpxmlrpc": "<4.9.2",
|
||||||
"pi/pi": "<=2.5",
|
"pi/pi": "<=2.5",
|
||||||
"pimcore/admin-ui-classic-bundle": "<1.0.3",
|
"pimcore/admin-ui-classic-bundle": "<1.2.2",
|
||||||
"pimcore/customer-management-framework-bundle": "<3.4.1",
|
"pimcore/customer-management-framework-bundle": "<3.4.2",
|
||||||
"pimcore/data-hub": "<1.2.4",
|
"pimcore/data-hub": "<1.2.4",
|
||||||
|
"pimcore/demo": "<10.3",
|
||||||
"pimcore/perspective-editor": "<1.5.1",
|
"pimcore/perspective-editor": "<1.5.1",
|
||||||
"pimcore/pimcore": "<10.5.24",
|
"pimcore/pimcore": "<11.1.1",
|
||||||
"pixelfed/pixelfed": "<=0.11.4",
|
"pixelfed/pixelfed": "<=0.11.4",
|
||||||
"pocketmine/bedrock-protocol": "<8.0.2",
|
"pocketmine/bedrock-protocol": "<8.0.2",
|
||||||
"pocketmine/pocketmine-mp": "<4.22.3|>=5,<5.2.1|< 4.18.0-ALPHA2|>= 4.0.0-BETA5, < 4.4.2",
|
"pocketmine/pocketmine-mp": "<=4.23|>=5,<5.3.1",
|
||||||
|
"pocketmine/raklib": ">=0.14,<0.14.6|>=0.15,<0.15.1",
|
||||||
"pressbooks/pressbooks": "<5.18",
|
"pressbooks/pressbooks": "<5.18",
|
||||||
"prestashop/autoupgrade": ">=4,<4.10.1",
|
"prestashop/autoupgrade": ">=4,<4.10.1",
|
||||||
|
"prestashop/blockreassurance": "<=5.1.3",
|
||||||
"prestashop/blockwishlist": ">=2,<2.1.1",
|
"prestashop/blockwishlist": ">=2,<2.1.1",
|
||||||
"prestashop/contactform": ">=1.0.1,<4.3",
|
"prestashop/contactform": ">=1.0.1,<4.3",
|
||||||
"prestashop/gamification": "<2.3.2",
|
"prestashop/gamification": "<2.3.2",
|
||||||
"prestashop/prestashop": "<8.0.4",
|
"prestashop/prestashop": "<8.1.2",
|
||||||
"prestashop/productcomments": "<5.0.2",
|
"prestashop/productcomments": "<5.0.2",
|
||||||
"prestashop/ps_emailsubscription": "<2.6.1",
|
"prestashop/ps_emailsubscription": "<2.6.1",
|
||||||
"prestashop/ps_facetedsearch": "<3.4.1",
|
"prestashop/ps_facetedsearch": "<3.4.1",
|
||||||
"prestashop/ps_linklist": "<3.1",
|
"prestashop/ps_linklist": "<3.1",
|
||||||
"privatebin/privatebin": "<1.4",
|
"privatebin/privatebin": "<1.4",
|
||||||
"processwire/processwire": "<=3.0.200",
|
"processwire/processwire": "<=3.0.200",
|
||||||
"propel/propel": ">=2-alpha.1,<=2-alpha.7",
|
"propel/propel": ">=2.0.0.0-alpha1,<=2.0.0.0-alpha7",
|
||||||
"propel/propel1": ">=1,<=1.7.1",
|
"propel/propel1": ">=1,<=1.7.1",
|
||||||
"pterodactyl/panel": "<1.7",
|
"pterodactyl/panel": "<1.7",
|
||||||
|
"ptheofan/yii2-statemachine": ">=2.0.0.0-RC1-dev,<=2",
|
||||||
"ptrofimov/beanstalk_console": "<1.7.14",
|
"ptrofimov/beanstalk_console": "<1.7.14",
|
||||||
|
"pubnub/pubnub": "<6.1",
|
||||||
"pusher/pusher-php-server": "<2.2.1",
|
"pusher/pusher-php-server": "<2.2.1",
|
||||||
"pwweb/laravel-core": "<=0.3.6-beta",
|
"pwweb/laravel-core": "<=0.3.6.0-beta",
|
||||||
"pyrocms/pyrocms": "<=3.9.1",
|
"pyrocms/pyrocms": "<=3.9.1",
|
||||||
|
"rainlab/blog-plugin": "<1.4.1",
|
||||||
"rainlab/debugbar-plugin": "<3.1",
|
"rainlab/debugbar-plugin": "<3.1",
|
||||||
|
"rainlab/user-plugin": "<=1.4.5",
|
||||||
"rankmath/seo-by-rank-math": "<=1.0.95",
|
"rankmath/seo-by-rank-math": "<=1.0.95",
|
||||||
"rap2hpoutre/laravel-log-viewer": "<0.13",
|
"rap2hpoutre/laravel-log-viewer": "<0.13",
|
||||||
"react/http": ">=0.7,<1.9",
|
"react/http": ">=0.7,<1.9",
|
||||||
"really-simple-plugins/complianz-gdpr": "<6.4.2",
|
"really-simple-plugins/complianz-gdpr": "<6.4.2",
|
||||||
"remdex/livehelperchat": "<3.99",
|
"remdex/livehelperchat": "<3.99",
|
||||||
|
"reportico-web/reportico": "<=7.1.21",
|
||||||
|
"rhukster/dom-sanitizer": "<1.0.7",
|
||||||
"rmccue/requests": ">=1.6,<1.8",
|
"rmccue/requests": ">=1.6,<1.8",
|
||||||
"robrichards/xmlseclibs": "<3.0.4",
|
"robrichards/xmlseclibs": "<3.0.4",
|
||||||
"roots/soil": "<4.1",
|
"roots/soil": "<4.1",
|
||||||
@@ -1567,7 +1677,7 @@
|
|||||||
"s-cart/s-cart": "<6.9",
|
"s-cart/s-cart": "<6.9",
|
||||||
"sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1",
|
"sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1",
|
||||||
"sabre/dav": "<1.7.11|>=1.8,<1.8.9",
|
"sabre/dav": "<1.7.11|>=1.8,<1.8.9",
|
||||||
"scheb/two-factor-bundle": ">=0,<3.26|>=4,<4.11",
|
"scheb/two-factor-bundle": "<3.26|>=4,<4.11",
|
||||||
"sensiolabs/connect": "<4.2.3",
|
"sensiolabs/connect": "<4.2.3",
|
||||||
"serluck/phpwhois": "<=4.2.6",
|
"serluck/phpwhois": "<=4.2.6",
|
||||||
"sfroemken/url_redirect": "<=1.2.1",
|
"sfroemken/url_redirect": "<=1.2.1",
|
||||||
@@ -1580,14 +1690,15 @@
|
|||||||
"shopxo/shopxo": "<2.2.6",
|
"shopxo/shopxo": "<2.2.6",
|
||||||
"showdoc/showdoc": "<2.10.4",
|
"showdoc/showdoc": "<2.10.4",
|
||||||
"silverstripe-australia/advancedreports": ">=1,<=2",
|
"silverstripe-australia/advancedreports": ">=1,<=2",
|
||||||
"silverstripe/admin": "<1.12.7",
|
"silverstripe/admin": "<1.13.6",
|
||||||
"silverstripe/assets": ">=1,<1.11.1",
|
"silverstripe/assets": ">=1,<1.11.1",
|
||||||
"silverstripe/cms": "<4.11.3",
|
"silverstripe/cms": "<4.11.3",
|
||||||
"silverstripe/comments": ">=1.3,<1.9.99|>=2,<2.9.99|>=3,<3.1.1",
|
"silverstripe/comments": ">=1.3,<1.9.99|>=2,<2.9.99|>=3,<3.1.1",
|
||||||
"silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3",
|
"silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3",
|
||||||
"silverstripe/framework": "<4.12.5",
|
"silverstripe/framework": "<4.13.14|>=5,<5.0.13",
|
||||||
"silverstripe/graphql": "<3.5.2|>=4-alpha.1,<4-alpha.2|>=4.1.1,<4.1.2|>=4.2.2,<4.2.3|= 4.0.0-alpha1",
|
"silverstripe/graphql": "<3.8.2|>=4,<4.1.3|>=4.2,<4.2.5|>=4.3,<4.3.4|>=5,<5.0.3",
|
||||||
"silverstripe/hybridsessions": ">=1,<2.4.1|>=2.5,<2.5.1",
|
"silverstripe/hybridsessions": ">=1,<2.4.1|>=2.5,<2.5.1",
|
||||||
|
"silverstripe/recipe-cms": ">=4.5,<4.5.3",
|
||||||
"silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1",
|
"silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1",
|
||||||
"silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4",
|
"silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4",
|
||||||
"silverstripe/silverstripe-omnipay": "<2.5.2|>=3,<3.0.2|>=3.1,<3.1.4|>=3.2,<3.2.1",
|
"silverstripe/silverstripe-omnipay": "<2.5.2|>=3,<3.0.2|>=3.1,<3.1.4|>=3.2,<3.2.1",
|
||||||
@@ -1596,36 +1707,38 @@
|
|||||||
"silverstripe/userforms": "<3",
|
"silverstripe/userforms": "<3",
|
||||||
"silverstripe/versioned-admin": ">=1,<1.11.1",
|
"silverstripe/versioned-admin": ">=1,<1.11.1",
|
||||||
"simple-updates/phpwhois": "<=1",
|
"simple-updates/phpwhois": "<=1",
|
||||||
"simplesamlphp/saml2": "<1.10.6|>=2,<2.3.8|>=3,<3.1.4",
|
"simplesamlphp/saml2": "<1.15.4|>=2,<2.3.8|>=3,<3.1.4|==5.0.0.0-alpha12",
|
||||||
"simplesamlphp/simplesamlphp": "<1.18.6",
|
"simplesamlphp/simplesamlphp": "<1.18.6",
|
||||||
"simplesamlphp/simplesamlphp-module-infocard": "<1.0.1",
|
"simplesamlphp/simplesamlphp-module-infocard": "<1.0.1",
|
||||||
"simplesamlphp/simplesamlphp-module-openid": "<1",
|
"simplesamlphp/simplesamlphp-module-openid": "<1",
|
||||||
"simplesamlphp/simplesamlphp-module-openidprovider": "<0.9",
|
"simplesamlphp/simplesamlphp-module-openidprovider": "<0.9",
|
||||||
|
"simplesamlphp/xml-security": "==1.6.11",
|
||||||
"simplito/elliptic-php": "<1.0.6",
|
"simplito/elliptic-php": "<1.0.6",
|
||||||
"sitegeist/fluid-components": "<3.5",
|
"sitegeist/fluid-components": "<3.5",
|
||||||
"sjbr/sr-freecap": "<=2.5.2",
|
"sjbr/sr-freecap": "<2.4.6|>=2.5,<2.5.3",
|
||||||
"slim/psr7": "<1.4.1|>=1.5,<1.5.1|>=1.6,<1.6.1",
|
"slim/psr7": "<1.4.1|>=1.5,<1.5.1|>=1.6,<1.6.1",
|
||||||
"slim/slim": "<2.6",
|
"slim/slim": "<2.6",
|
||||||
|
"slub/slub-events": "<3.0.3",
|
||||||
"smarty/smarty": "<3.1.48|>=4,<4.3.1",
|
"smarty/smarty": "<3.1.48|>=4,<4.3.1",
|
||||||
"snipe/snipe-it": "<=6.0.14|>= 6.0.0-RC-1, <= 6.0.0-RC-5",
|
"snipe/snipe-it": "<=6.2.2",
|
||||||
"socalnick/scn-social-auth": "<1.15.2",
|
"socalnick/scn-social-auth": "<1.15.2",
|
||||||
"socialiteproviders/steam": "<1.1",
|
"socialiteproviders/steam": "<1.1",
|
||||||
"spatie/browsershot": "<3.57.4",
|
"spatie/browsershot": "<3.57.4",
|
||||||
"spipu/html2pdf": "<5.2.4",
|
"spipu/html2pdf": "<5.2.8",
|
||||||
"spoon/library": "<1.4.1",
|
"spoon/library": "<1.4.1",
|
||||||
"spoonity/tcpdf": "<6.2.22",
|
"spoonity/tcpdf": "<6.2.22",
|
||||||
"squizlabs/php_codesniffer": ">=1,<2.8.1|>=3,<3.0.1",
|
"squizlabs/php_codesniffer": ">=1,<2.8.1|>=3,<3.0.1",
|
||||||
"ssddanbrown/bookstack": "<22.2.3",
|
"ssddanbrown/bookstack": "<22.02.3",
|
||||||
"statamic/cms": "<4.10",
|
"statamic/cms": "<4.36",
|
||||||
"stormpath/sdk": ">=0,<9.9.99",
|
"stormpath/sdk": "<9.9.99",
|
||||||
"studio-42/elfinder": "<2.1.62",
|
"studio-42/elfinder": "<2.1.62",
|
||||||
"subhh/libconnect": "<7.0.8|>=8,<8.1",
|
"subhh/libconnect": "<7.0.8|>=8,<8.1",
|
||||||
"subrion/cms": "<=4.2.1",
|
|
||||||
"sukohi/surpass": "<1",
|
"sukohi/surpass": "<1",
|
||||||
"sulu/sulu": "= 2.4.0-RC1|<1.6.44|>=2,<2.2.18|>=2.3,<2.3.8",
|
"sulu/sulu": "<1.6.44|>=2,<2.2.18|>=2.3,<2.3.8|==2.4.0.0-RC1|>=2.5,<2.5.10",
|
||||||
"sumocoders/framework-user-bundle": "<1.4",
|
"sumocoders/framework-user-bundle": "<1.4",
|
||||||
"swag/paypal": "<5.4.4",
|
"swag/paypal": "<5.4.4",
|
||||||
"swiftmailer/swiftmailer": ">=4,<5.4.5",
|
"swiftmailer/swiftmailer": ">=4,<5.4.5",
|
||||||
|
"swiftyedit/swiftyedit": "<1.2",
|
||||||
"sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2",
|
"sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2",
|
||||||
"sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1",
|
"sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1",
|
||||||
"sylius/grid-bundle": "<1.10.1",
|
"sylius/grid-bundle": "<1.10.1",
|
||||||
@@ -1641,7 +1754,7 @@
|
|||||||
"symfony/dependency-injection": ">=2,<2.0.17|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7",
|
"symfony/dependency-injection": ">=2,<2.0.17|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7",
|
||||||
"symfony/error-handler": ">=4.4,<4.4.4|>=5,<5.0.4",
|
"symfony/error-handler": ">=4.4,<4.4.4|>=5,<5.0.4",
|
||||||
"symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1",
|
"symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1",
|
||||||
"symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=5.3.14,<=5.3.14|>=5.4.3,<=5.4.3|>=6.0.3,<=6.0.3|= 6.0.3|= 5.4.3|= 5.3.14",
|
"symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=5.3.14,<=5.3.14|>=5.4.3,<=5.4.3|>=6.0.3,<=6.0.3",
|
||||||
"symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7",
|
"symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7",
|
||||||
"symfony/http-kernel": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6",
|
"symfony/http-kernel": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6",
|
||||||
"symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13",
|
"symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13",
|
||||||
@@ -1657,49 +1770,59 @@
|
|||||||
"symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.9",
|
"symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.9",
|
||||||
"symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11",
|
"symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11",
|
||||||
"symfony/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8",
|
"symfony/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8",
|
||||||
"symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.3.2",
|
"symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.3.2|>=5.4,<5.4.31|>=6,<6.3.8",
|
||||||
"symfony/serializer": ">=2,<2.0.11|>=4.1,<4.4.35|>=5,<5.3.12",
|
"symfony/serializer": ">=2,<2.0.11|>=4.1,<4.4.35|>=5,<5.3.12",
|
||||||
"symfony/symfony": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6",
|
"symfony/symfony": "<4.4.51|>=5,<5.4.31|>=6,<6.3.8",
|
||||||
"symfony/translation": ">=2,<2.0.17",
|
"symfony/translation": ">=2,<2.0.17",
|
||||||
|
"symfony/twig-bridge": ">=2,<4.4.51|>=5,<5.4.31|>=6,<6.3.8",
|
||||||
|
"symfony/ux-autocomplete": "<2.11.2",
|
||||||
"symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3",
|
"symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3",
|
||||||
"symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8",
|
"symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8",
|
||||||
"symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4",
|
"symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4",
|
||||||
|
"symfony/webhook": ">=6.3,<6.3.8",
|
||||||
"symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7",
|
"symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7",
|
||||||
"t3/dce": ">=2.2,<2.6.2",
|
"symphonycms/symphony-2": "<2.6.4",
|
||||||
|
"t3/dce": "<0.11.5|>=2.2,<2.6.2",
|
||||||
"t3g/svg-sanitizer": "<1.0.3",
|
"t3g/svg-sanitizer": "<1.0.3",
|
||||||
|
"t3s/content-consent": "<1.0.3|>=2,<2.0.2",
|
||||||
"tastyigniter/tastyigniter": "<3.3",
|
"tastyigniter/tastyigniter": "<3.3",
|
||||||
"tcg/voyager": "<=1.4",
|
"tcg/voyager": "<=1.4",
|
||||||
"tecnickcom/tcpdf": "<6.2.22",
|
"tecnickcom/tcpdf": "<6.2.22",
|
||||||
"terminal42/contao-tablelookupwizard": "<3.3.5",
|
"terminal42/contao-tablelookupwizard": "<3.3.5",
|
||||||
"thelia/backoffice-default-template": ">=2.1,<2.1.2",
|
"thelia/backoffice-default-template": ">=2.1,<2.1.2",
|
||||||
"thelia/thelia": ">=2.1-beta.1,<2.1.3",
|
"thelia/thelia": ">=2.1,<2.1.3",
|
||||||
"theonedemon/phpwhois": "<=4.2.5",
|
"theonedemon/phpwhois": "<=4.2.5",
|
||||||
"thinkcmf/thinkcmf": "<=5.1.7",
|
"thinkcmf/thinkcmf": "<=5.1.7",
|
||||||
"thorsten/phpmyfaq": "<3.2-beta.2",
|
"thorsten/phpmyfaq": "<3.2.2",
|
||||||
"tinymce/tinymce": "<5.10.7|>=6,<6.3.1",
|
"tikiwiki/tiki-manager": "<=17.1",
|
||||||
|
"tinymce/tinymce": "<5.10.9|>=6,<6.7.3",
|
||||||
"tinymighty/wiki-seo": "<1.2.2",
|
"tinymighty/wiki-seo": "<1.2.2",
|
||||||
"titon/framework": ">=0,<9.9.99",
|
"titon/framework": "<9.9.99",
|
||||||
"tobiasbg/tablepress": "<= 2.0-RC1",
|
"tobiasbg/tablepress": "<=2.0.0.0-RC1",
|
||||||
"topthink/framework": "<6.0.14",
|
"topthink/framework": "<6.0.14",
|
||||||
"topthink/think": "<=6.1.1",
|
"topthink/think": "<=6.1.1",
|
||||||
"topthink/thinkphp": "<=3.2.3",
|
"topthink/thinkphp": "<=3.2.3",
|
||||||
"tpwd/ke_search": "<4.0.3|>=4.1,<4.6.6|>=5,<5.0.2",
|
"tpwd/ke_search": "<4.0.3|>=4.1,<4.6.6|>=5,<5.0.2",
|
||||||
"tribalsystems/zenario": "<=9.3.57595",
|
"tribalsystems/zenario": "<=9.4.59197",
|
||||||
"truckersmp/phpwhois": "<=4.3.1",
|
"truckersmp/phpwhois": "<=4.3.1",
|
||||||
"ttskch/pagination-service-provider": "<1",
|
"ttskch/pagination-service-provider": "<1",
|
||||||
"twig/twig": "<1.44.7|>=2,<2.15.3|>=3,<3.4.3",
|
"twig/twig": "<1.44.7|>=2,<2.15.3|>=3,<3.4.3",
|
||||||
"typo3/cms": "<2.0.5|>=3,<3.0.3|>=6.2,<=6.2.38|>=7,<7.6.32|>=8,<8.7.38|>=9,<9.5.29|>=10,<10.4.35|>=11,<11.5.23|>=12,<12.2",
|
"typo3/cms": "<9.5.29|>=10,<10.4.35|>=11,<11.5.23|>=12,<12.2",
|
||||||
"typo3/cms-backend": ">=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1",
|
"typo3/cms-backend": ">=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1",
|
||||||
"typo3/cms-core": "<8.7.51|>=9,<9.5.40|>=10,<10.4.36|>=11,<11.5.23|>=12,<12.2",
|
"typo3/cms-core": "<8.7.55|>=9,<9.5.44|>=10,<10.4.41|>=11,<11.5.33|>=12,<12.4.8",
|
||||||
|
"typo3/cms-extbase": "<6.2.24|>=7,<7.6.8|==8.1.1",
|
||||||
"typo3/cms-form": ">=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1",
|
"typo3/cms-form": ">=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1",
|
||||||
|
"typo3/cms-install": ">=12.2,<12.4.8",
|
||||||
|
"typo3/cms-rte-ckeditor": ">=9.5,<9.5.42|>=10,<10.4.39|>=11,<11.5.30",
|
||||||
"typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6",
|
"typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6",
|
||||||
"typo3/html-sanitizer": ">=1,<1.5|>=2,<2.1.1",
|
"typo3/html-sanitizer": ">=1,<=1.5.2|>=2,<=2.1.3",
|
||||||
"typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.3.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<3.3.23|>=4,<4.0.17|>=4.1,<4.1.16|>=4.2,<4.2.12|>=4.3,<4.3.3",
|
"typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.3.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<3.3.23|>=4,<4.0.17|>=4.1,<4.1.16|>=4.2,<4.2.12|>=4.3,<4.3.3",
|
||||||
"typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1",
|
"typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1",
|
||||||
"typo3/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5",
|
"typo3/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5",
|
||||||
"typo3fluid/fluid": ">=2,<2.0.8|>=2.1,<2.1.7|>=2.2,<2.2.4|>=2.3,<2.3.7|>=2.4,<2.4.4|>=2.5,<2.5.11|>=2.6,<2.6.10",
|
"typo3fluid/fluid": ">=2,<2.0.8|>=2.1,<2.1.7|>=2.2,<2.2.4|>=2.3,<2.3.7|>=2.4,<2.4.4|>=2.5,<2.5.11|>=2.6,<2.6.10",
|
||||||
"ua-parser/uap-php": "<3.8",
|
"ua-parser/uap-php": "<3.8",
|
||||||
"unisharp/laravel-filemanager": "<=2.5.1",
|
"uasoft-indonesia/badaso": "<=2.9.7",
|
||||||
|
"unisharp/laravel-filemanager": "<2.6.4",
|
||||||
"userfrosting/userfrosting": ">=0.3.1,<4.6.3",
|
"userfrosting/userfrosting": ">=0.3.1,<4.6.3",
|
||||||
"usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2",
|
"usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2",
|
||||||
"uvdesk/community-skeleton": "<=1.1.1",
|
"uvdesk/community-skeleton": "<=1.1.1",
|
||||||
@@ -1707,8 +1830,9 @@
|
|||||||
"verot/class.upload.php": "<=1.0.3|>=2,<=2.0.4",
|
"verot/class.upload.php": "<=1.0.3|>=2,<=2.0.4",
|
||||||
"vova07/yii2-fileapi-widget": "<0.1.9",
|
"vova07/yii2-fileapi-widget": "<0.1.9",
|
||||||
"vrana/adminer": "<4.8.1",
|
"vrana/adminer": "<4.8.1",
|
||||||
|
"waldhacker/hcaptcha": "<2.1.2",
|
||||||
"wallabag/tcpdf": "<6.2.22",
|
"wallabag/tcpdf": "<6.2.22",
|
||||||
"wallabag/wallabag": "<=2.5.4",
|
"wallabag/wallabag": "<2.6.7",
|
||||||
"wanglelecc/laracms": "<=1.0.3",
|
"wanglelecc/laracms": "<=1.0.3",
|
||||||
"web-auth/webauthn-framework": ">=3.3,<3.3.4",
|
"web-auth/webauthn-framework": ">=3.3,<3.3.4",
|
||||||
"webbuilders-group/silverstripe-kapost-bridge": "<0.4",
|
"webbuilders-group/silverstripe-kapost-bridge": "<0.4",
|
||||||
@@ -1732,7 +1856,7 @@
|
|||||||
"yetiforce/yetiforce-crm": "<=6.4",
|
"yetiforce/yetiforce-crm": "<=6.4",
|
||||||
"yidashi/yii2cmf": "<=2",
|
"yidashi/yii2cmf": "<=2",
|
||||||
"yii2mod/yii2-cms": "<1.9.2",
|
"yii2mod/yii2-cms": "<1.9.2",
|
||||||
"yiisoft/yii": "<1.1.27",
|
"yiisoft/yii": "<1.1.29",
|
||||||
"yiisoft/yii2": "<2.0.38",
|
"yiisoft/yii2": "<2.0.38",
|
||||||
"yiisoft/yii2-bootstrap": "<2.0.4",
|
"yiisoft/yii2-bootstrap": "<2.0.4",
|
||||||
"yiisoft/yii2-dev": "<2.0.43",
|
"yiisoft/yii2-dev": "<2.0.43",
|
||||||
@@ -1743,9 +1867,9 @@
|
|||||||
"yikesinc/yikes-inc-easy-mailchimp-extender": "<6.8.6",
|
"yikesinc/yikes-inc-easy-mailchimp-extender": "<6.8.6",
|
||||||
"yoast-seo-for-typo3/yoast_seo": "<7.2.3",
|
"yoast-seo-for-typo3/yoast_seo": "<7.2.3",
|
||||||
"yourls/yourls": "<=1.8.2",
|
"yourls/yourls": "<=1.8.2",
|
||||||
"zencart/zencart": "<1.5.8",
|
"zencart/zencart": "<=1.5.7.0-beta",
|
||||||
"zendesk/zendesk_api_client_php": "<2.2.11",
|
"zendesk/zendesk_api_client_php": "<2.2.11",
|
||||||
"zendframework/zend-cache": ">=2.4,<2.4.8|>=2.5,<2.5.3",
|
"zendframework/zend-cache": "<2.4.8|>=2.5,<2.5.3",
|
||||||
"zendframework/zend-captcha": ">=2,<2.4.9|>=2.5,<2.5.2",
|
"zendframework/zend-captcha": ">=2,<2.4.9|>=2.5,<2.5.2",
|
||||||
"zendframework/zend-crypt": ">=2,<2.4.9|>=2.5,<2.5.2",
|
"zendframework/zend-crypt": ">=2,<2.4.9|>=2.5,<2.5.2",
|
||||||
"zendframework/zend-db": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.10|>=2.3,<2.3.5",
|
"zendframework/zend-db": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.10|>=2.3,<2.3.5",
|
||||||
@@ -1764,14 +1888,22 @@
|
|||||||
"zendframework/zend-xmlrpc": ">=2.1,<2.1.6|>=2.2,<2.2.6",
|
"zendframework/zend-xmlrpc": ">=2.1,<2.1.6|>=2.2,<2.2.6",
|
||||||
"zendframework/zendframework": "<=3",
|
"zendframework/zendframework": "<=3",
|
||||||
"zendframework/zendframework1": "<1.12.20",
|
"zendframework/zendframework1": "<1.12.20",
|
||||||
"zendframework/zendopenid": ">=2,<2.0.2",
|
"zendframework/zendopenid": "<2.0.2",
|
||||||
"zendframework/zendxml": ">=1,<1.0.1",
|
"zendframework/zendrest": "<2.0.2",
|
||||||
|
"zendframework/zendservice-amazon": "<2.0.3",
|
||||||
|
"zendframework/zendservice-api": "<1",
|
||||||
|
"zendframework/zendservice-audioscrobbler": "<2.0.2",
|
||||||
|
"zendframework/zendservice-nirvanix": "<2.0.2",
|
||||||
|
"zendframework/zendservice-slideshare": "<2.0.2",
|
||||||
|
"zendframework/zendservice-technorati": "<2.0.2",
|
||||||
|
"zendframework/zendservice-windowsazure": "<2.0.2",
|
||||||
|
"zendframework/zendxml": "<1.0.1",
|
||||||
"zenstruck/collection": "<0.2.1",
|
"zenstruck/collection": "<0.2.1",
|
||||||
"zetacomponents/mail": "<1.8.2",
|
"zetacomponents/mail": "<1.8.2",
|
||||||
"zf-commons/zfc-user": "<1.2.2",
|
"zf-commons/zfc-user": "<1.2.2",
|
||||||
"zfcampus/zf-apigility-doctrine": ">=1,<1.0.3",
|
"zfcampus/zf-apigility-doctrine": "<1.0.3",
|
||||||
"zfr/zfr-oauth2-server-module": "<0.1.2",
|
"zfr/zfr-oauth2-server-module": "<0.1.2",
|
||||||
"zoujingli/thinkadmin": "<6.0.22"
|
"zoujingli/thinkadmin": "<=6.1.53"
|
||||||
},
|
},
|
||||||
"type": "metapackage",
|
"type": "metapackage",
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
@@ -1808,7 +1940,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-07-19T22:04:22+00:00"
|
"time": "2023-12-15T16:04:17+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/cli-parser",
|
"name": "sebastian/cli-parser",
|
||||||
@@ -2776,16 +2908,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "theseer/tokenizer",
|
"name": "theseer/tokenizer",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/theseer/tokenizer.git",
|
"url": "https://github.com/theseer/tokenizer.git",
|
||||||
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
|
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
|
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
|
||||||
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
|
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -2814,7 +2946,7 @@
|
|||||||
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/theseer/tokenizer/issues",
|
"issues": "https://github.com/theseer/tokenizer/issues",
|
||||||
"source": "https://github.com/theseer/tokenizer/tree/1.2.1"
|
"source": "https://github.com/theseer/tokenizer/tree/1.2.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -2822,7 +2954,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-07-28T10:34:58+00:00"
|
"time": "2023-11-20T00:12:19+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { randUser } from '../utils/index.js'
|
import { randUser } from '../utils/index.js'
|
||||||
import { sampleBoard } from '../utils/sampleBoard'
|
import { sampleBoard } from '../utils/sampleBoard'
|
||||||
import moment from '@nextcloud/moment'
|
|
||||||
|
|
||||||
const user = randUser()
|
const user = randUser()
|
||||||
const boardData = sampleBoard()
|
const boardData = sampleBoard()
|
||||||
@@ -112,7 +111,7 @@ describe('Card', function() {
|
|||||||
cy.get('button.icon-folder').should('be.visible')
|
cy.get('button.icon-folder').should('be.visible')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.file-picker__main').should('be.visible')
|
cy.get('.file-picker__main').should('be.visible')
|
||||||
cy.get('.file-picker__main [data-filename="welcome.txt"]', { timeout: 30000 }).should('be.visible')
|
cy.get('.file-picker__main [data-filename="welcome.txt"]').should('be.visible')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.dialog__actions button.button-vue--vue-primary').click()
|
cy.get('.dialog__actions button.button-vue--vue-primary').click()
|
||||||
cy.get('.attachment-list .basename').contains('welcome.txt')
|
cy.get('.attachment-list .basename').contains('welcome.txt')
|
||||||
@@ -178,126 +177,6 @@ describe('Card', function() {
|
|||||||
cy.get('#app-sidebar-vue')
|
cy.get('#app-sidebar-vue')
|
||||||
.find('.ProseMirror h1').contains('Hello world writing more text').should('be.visible')
|
.find('.ProseMirror h1').contains('Hello world writing more text').should('be.visible')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Set a due date', function() {
|
|
||||||
const newCardTitle = 'Card with a due date'
|
|
||||||
|
|
||||||
cy.get('.button-vue[aria-label*="Add card"]')
|
|
||||||
.first().click()
|
|
||||||
cy.get('.stack__card-add form input#new-stack-input-main')
|
|
||||||
.type(newCardTitle)
|
|
||||||
cy.get('.stack__card-add form input[type=submit]')
|
|
||||||
.first().click()
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).should('be.visible')
|
|
||||||
|
|
||||||
cy.get('.card:contains("Card with a due date")').should('be.visible').click()
|
|
||||||
|
|
||||||
cy.get('#app-sidebar-vue [data-cy-due-date-actions]').should('be.visible').click()
|
|
||||||
|
|
||||||
// Set a due date through shortcut
|
|
||||||
cy.get('[data-cy-due-date-shortcut="tomorrow"] button').should('be.visible').click()
|
|
||||||
|
|
||||||
const tomorrow = moment().add(1, 'days').hour(8).minutes(0).seconds(0)
|
|
||||||
cy.get('#card-duedate-picker').should('have.value', tomorrow.format('YYYY-MM-DDTHH:mm'))
|
|
||||||
|
|
||||||
const now = moment().hour(11).minutes(0).seconds(0).toDate()
|
|
||||||
cy.clock(now)
|
|
||||||
cy.log(now)
|
|
||||||
cy.tick(60_000)
|
|
||||||
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).find('[data-due-state="Now"]').should('be.visible').should('contain', '21 hours')
|
|
||||||
|
|
||||||
|
|
||||||
// Remove the due date again
|
|
||||||
cy.get('#app-sidebar-vue [data-cy-due-date-actions]').should('be.visible').click()
|
|
||||||
// tick needed to show the popover menu
|
|
||||||
cy.tick(1_000)
|
|
||||||
cy.get('[data-cy-due-date-remove] button').should('be.visible').click()
|
|
||||||
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).find('[data-due-state]').should('not.exist')
|
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Add a label', function() {
|
|
||||||
const newCardTitle = 'Card with labels'
|
|
||||||
|
|
||||||
cy.get('.button-vue[aria-label*="Add card"]')
|
|
||||||
.first().click()
|
|
||||||
cy.get('.stack__card-add form input#new-stack-input-main')
|
|
||||||
.type(newCardTitle)
|
|
||||||
cy.get('.stack__card-add form input[type=submit]')
|
|
||||||
.first().click()
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).should('be.visible').click()
|
|
||||||
|
|
||||||
cy.get('#app-sidebar-vue [data-test="tag-selector"]').should('be.visible').click()
|
|
||||||
cy.get('.multiselect__option:contains("Action needed")').should('be.visible').click()
|
|
||||||
|
|
||||||
cy.get('[data-test="tag-selector"] .selector-wrapper--icon').click()
|
|
||||||
cy.get('.multiselect__option:contains("Action needed")').should('not.be.visible')
|
|
||||||
|
|
||||||
cy.get('[data-test="tag-selector"] .multiselect__tags .tag:contains("Action needed")')
|
|
||||||
.should('be.visible')
|
|
||||||
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).find('.labels li:contains("Action needed")')
|
|
||||||
.should('be.visible')
|
|
||||||
|
|
||||||
cy.get('#app-sidebar-vue [data-test="tag-selector"]').should('be.visible').click()
|
|
||||||
cy.get('.multiselect__option:contains("Later")').should('be.visible').click()
|
|
||||||
cy.get('.multiselect__option:contains("Action needed")').should('be.visible').click()
|
|
||||||
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).find('.labels li:contains("Later")')
|
|
||||||
.should('be.visible')
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).find('.labels li:contains("Action needed")')
|
|
||||||
.should('not.exist')
|
|
||||||
})
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
describe('Card actions', () => {
|
|
||||||
beforeEach(function() {
|
|
||||||
cy.login(user)
|
|
||||||
useModal(false).then(() => {
|
|
||||||
cy.visit(`/apps/deck/#/board/${boardId}`)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
it('Custom card actions', () => {
|
|
||||||
const myAction = {
|
|
||||||
label: 'Test action',
|
|
||||||
icon: 'icon-user',
|
|
||||||
callback(card) {
|
|
||||||
console.log('Called callback', card)
|
|
||||||
},
|
|
||||||
}
|
|
||||||
cy.spy(myAction, 'callback').as('myAction.callback')
|
|
||||||
|
|
||||||
cy.window().then(win => {
|
|
||||||
win.OCA.Deck.registerCardAction(myAction)
|
|
||||||
})
|
|
||||||
|
|
||||||
cy.get('.card:contains("Hello world")').should('be.visible').click()
|
|
||||||
cy.get('#app-sidebar-vue')
|
|
||||||
.find('.ProseMirror h1').contains('Hello world').should('be.visible')
|
|
||||||
|
|
||||||
cy.get('.app-sidebar-header .action-item__menutoggle').click()
|
|
||||||
cy.get('.v-popper__popper button:contains("Test action")').click()
|
|
||||||
|
|
||||||
cy.get('@myAction.callback')
|
|
||||||
.should('be.called')
|
|
||||||
.its('firstCall.args.0')
|
|
||||||
.as('args')
|
|
||||||
|
|
||||||
cy.url().then(url => {
|
|
||||||
const cardId = url.split('/').pop()
|
|
||||||
cy.get('@args').should('have.property', 'name', 'Hello world')
|
|
||||||
cy.get('@args').should('have.property', 'stackname', 'TestList')
|
|
||||||
cy.get('@args').should('have.property', 'boardname', 'MyTestBoard')
|
|
||||||
cy.get('@args').its('link').then((url) => {
|
|
||||||
expect(url.split('/').pop() === cardId).to.be.true
|
|
||||||
cy.visit(url)
|
|
||||||
cy.get('#app-sidebar-vue')
|
|
||||||
.find('.ProseMirror h1').contains('Hello world').should('be.visible')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
})
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import { randUser } from '../utils/index.js'
|
import { randUser } from '../utils/index.js'
|
||||||
import { sampleBoard } from '../utils/sampleBoard'
|
|
||||||
const user = randUser()
|
const user = randUser()
|
||||||
|
|
||||||
describe('Deck dashboard', function() {
|
describe('Deck dashboard', function() {
|
||||||
@@ -9,18 +8,16 @@ describe('Deck dashboard', function() {
|
|||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
cy.login(user)
|
cy.login(user)
|
||||||
|
cy.visit('/apps/deck')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Can show the right title on the dashboard', function() {
|
it('Can show the right title on the dashboard', function() {
|
||||||
cy.visit('/apps/deck')
|
|
||||||
cy.get('.board-title h2')
|
cy.get('.board-title h2')
|
||||||
.should('have.length', 1).first()
|
.should('have.length', 1).first()
|
||||||
.should($el => expect($el.text().trim()).to.equal('Upcoming cards'))
|
.should('have.text', 'Upcoming cards')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Can see the default "Personal Board" created for user by default', function() {
|
it('Can see the default "Personal Board" created for user by default', function() {
|
||||||
cy.visit('/apps/deck')
|
|
||||||
|
|
||||||
const defaultBoard = 'Personal'
|
const defaultBoard = 'Personal'
|
||||||
|
|
||||||
cy.get('.app-navigation-entry-wrapper[icon=icon-deck]')
|
cy.get('.app-navigation-entry-wrapper[icon=icon-deck]')
|
||||||
@@ -29,29 +26,4 @@ describe('Deck dashboard', function() {
|
|||||||
.contains(defaultBoard)
|
.contains(defaultBoard)
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Shows a card with due date on the overview', function() {
|
|
||||||
cy.createExampleBoard({
|
|
||||||
user,
|
|
||||||
board: sampleBoard(),
|
|
||||||
}).then((board) => {
|
|
||||||
cy.visit(`/apps/deck/#/board/${board.id}`)
|
|
||||||
|
|
||||||
cy.intercept({ method: 'PUT', url: '**/apps/deck/cards/**' }).as('updateCard')
|
|
||||||
|
|
||||||
const newCardTitle = 'Hello world'
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).should('be.visible').click()
|
|
||||||
cy.get('#app-sidebar-vue [data-cy-due-date-actions]').should('be.visible').click()
|
|
||||||
cy.get('[data-cy-due-date-shortcut="tomorrow"] button').should('be.visible').click()
|
|
||||||
|
|
||||||
cy.wait('@updateCard')
|
|
||||||
|
|
||||||
cy.get('button[title="Close sidebar"]').click()
|
|
||||||
cy.get('.app-navigation-entry:contains("Upcoming cards") a').click()
|
|
||||||
|
|
||||||
cy.get(`.card:contains("${newCardTitle}")`).should('be.visible')
|
|
||||||
cy.get('.dashboard-column:contains("Tomorrow")').should('be.visible')
|
|
||||||
cy.get('.dashboard-column:contains("Tomorrow") .card:contains("Hello world")').should('be.visible')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|||||||
10
docs/API.md
10
docs/API.md
@@ -117,7 +117,6 @@ This API version has become available with **Deck 1.3.0**.
|
|||||||
- [GET /boards/import/getSystems - Import a board](#get-boardsimportgetsystems-import-a-board)
|
- [GET /boards/import/getSystems - Import a board](#get-boardsimportgetsystems-import-a-board)
|
||||||
- [GET /boards/import/config/system/{schema} - Import a board](#get-boardsimportconfigsystemschema-import-a-board)
|
- [GET /boards/import/config/system/{schema} - Import a board](#get-boardsimportconfigsystemschema-import-a-board)
|
||||||
- [POST /boards/import - Import a board](#post-boardsimport-import-a-board)
|
- [POST /boards/import - Import a board](#post-boardsimport-import-a-board)
|
||||||
- The `done` property was added to cards
|
|
||||||
|
|
||||||
# Endpoints
|
# Endpoints
|
||||||
|
|
||||||
@@ -602,7 +601,6 @@ The board list endpoint supports setting an `If-Modified-Since` header to limit
|
|||||||
"owner":"admin",
|
"owner":"admin",
|
||||||
"order":999,
|
"order":999,
|
||||||
"archived":false,
|
"archived":false,
|
||||||
"done":null,
|
|
||||||
"duedate": "2019-12-24T19:29:30+00:00",
|
"duedate": "2019-12-24T19:29:30+00:00",
|
||||||
"deletedAt":0,
|
"deletedAt":0,
|
||||||
"commentsUnread":0,
|
"commentsUnread":0,
|
||||||
@@ -626,15 +624,12 @@ The board list endpoint supports setting an `If-Modified-Since` header to limit
|
|||||||
#### Request data
|
#### Request data
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
|-------------|-----------------|-----------------------------------------------------------------------------------------------------|
|
|-------------|-----------|------------------------------------------------------|
|
||||||
| title | String | The title of the card, maximum length is limited to 255 characters |
|
| title | String | The title of the card, maximum length is limited to 255 characters |
|
||||||
| description | String | The markdown description of the card |
|
| description | String | The markdown description of the card |
|
||||||
| type | String | Type of the card (for later use) use 'plain' for now |
|
| type | String | Type of the card (for later use) use 'plain' for now |
|
||||||
| owner | String | The user that owns the card |
|
|
||||||
| order | Integer | Order for sorting the stacks |
|
| order | Integer | Order for sorting the stacks |
|
||||||
| duedate | timestamp | The ISO-8601 formatted duedate of the card or null |
|
| duedate | timestamp | The ISO-8601 formatted duedate of the card or null |
|
||||||
| archived | bool | Whether the card is archived or not |
|
|
||||||
| done | timestamp\|null | The ISO-8601 formatted date when the card is marked as done (optional, null indicates undone state) |
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -642,11 +637,8 @@ The board list endpoint supports setting an `If-Modified-Since` header to limit
|
|||||||
"title": "Test card",
|
"title": "Test card",
|
||||||
"description": "A card description",
|
"description": "A card description",
|
||||||
"type": "plain",
|
"type": "plain",
|
||||||
"owner": "admin",
|
|
||||||
"order": 999,
|
"order": 999,
|
||||||
"duedate": "2019-12-24T19:29:30+00:00",
|
"duedate": "2019-12-24T19:29:30+00:00",
|
||||||
"archived": false,
|
|
||||||
"done": null,
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -12,12 +12,11 @@ Overall, Deck is easy to use. You can create boards, add users, share the Deck,
|
|||||||
1. [Create my first board](#1-create-my-first-board)
|
1. [Create my first board](#1-create-my-first-board)
|
||||||
2. [Create stacks and cards](#2-create-stacks-and-cards)
|
2. [Create stacks and cards](#2-create-stacks-and-cards)
|
||||||
3. [Handle cards options](#3-handle-cards-options)
|
3. [Handle cards options](#3-handle-cards-options)
|
||||||
4. [Mark task as done](#4-mark-as-done)
|
4. [Archive old tasks](#4-archive-old-tasks)
|
||||||
5. [Archive old tasks](#5-archive-old-tasks)
|
5. [Manage your board](#5-manage-your-board)
|
||||||
6. [Manage your board](#6-manage-your-board)
|
6. [Import boards](#6-import-boards)
|
||||||
7. [Import boards](#7-import-boards)
|
7. [Search](#7-search)
|
||||||
8. [Search](#8-search)
|
8. [New owner for the deck entities](#8-new-owner-for-the-deck-entities)
|
||||||
9. [New owner for the deck entities](#9-new-owner-for-the-deck-entities)
|
|
||||||
|
|
||||||
### 1. Create my first board
|
### 1. Create my first board
|
||||||
In this example, we're going to create a board and share it with an other nextcloud user.
|
In this example, we're going to create a board and share it with an other nextcloud user.
|
||||||
@@ -26,7 +25,7 @@ In this example, we're going to create a board and share it with an other nextcl
|
|||||||
|
|
||||||
|
|
||||||
### 2. Create stacks and cards
|
### 2. Create stacks and cards
|
||||||
Stacks are simply columns with list of cards. It can represent a category of tasks or any step in your projects for example.
|
Stacks are simply columns with list of cards. It can represent a category of tasks or an y step in your projects for example.
|
||||||
**Check this out :**
|
**Check this out :**
|
||||||
|
|
||||||

|

|
||||||
@@ -54,18 +53,12 @@ And even :
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
### 4. Mark as done
|
### 4. Archive old tasks
|
||||||
Once a task has been completed, you can mark it as done. This will prevent it from becoming overdue and hide it from the upcoming cards.
|
Once finished or obsolete, a task could be archived. The tasks is not deleted, it's just archived, and you can retrieve it later
|
||||||
You can mark it as not done at any time.
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### 5. Archive old tasks
|
### 5. Manage your board
|
||||||
Once obsolete, a task could be archived. The task is not deleted, it's just archived, and you can retrieve it later
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### 6. Manage your board
|
|
||||||
You can manage the settings of your Deck once you are inside it, by clicking on the small wheel at the top right.
|
You can manage the settings of your Deck once you are inside it, by clicking on the small wheel at the top right.
|
||||||
Once in this menu, you have access to several things:
|
Once in this menu, you have access to several things:
|
||||||
|
|
||||||
@@ -79,7 +72,7 @@ The **sharing tab** allows you to add users or even groups to your boards.
|
|||||||
**Deleted objects** allows you to return previously deleted stacks or cards.
|
**Deleted objects** allows you to return previously deleted stacks or cards.
|
||||||
The **Timeline** allows you to see everything that happened in your boards. Everything!
|
The **Timeline** allows you to see everything that happened in your boards. Everything!
|
||||||
|
|
||||||
### 7. Import boards
|
### 6. Import boards
|
||||||
|
|
||||||
Importing can be done using the API or the `occ` `deck:import` command.
|
Importing can be done using the API or the `occ` `deck:import` command.
|
||||||
|
|
||||||
@@ -145,7 +138,7 @@ Example configuration file:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### 8. Search
|
### 7. Search
|
||||||
|
|
||||||
Deck provides a global search either through the unified search in the Nextcloud header or with the inline search next to the board controls.
|
Deck provides a global search either through the unified search in the Nextcloud header or with the inline search next to the board controls.
|
||||||
This search allows advanced filtering of cards across all board of the logged in user.
|
This search allows advanced filtering of cards across all board of the logged in user.
|
||||||
@@ -168,7 +161,7 @@ Other text tokens will be used to perform a case-insensitive search on the card
|
|||||||
|
|
||||||
In addition, quotes can be used to pass a query with spaces, e.g. `"Exact match with spaces"` or `title:"My card"`.
|
In addition, quotes can be used to pass a query with spaces, e.g. `"Exact match with spaces"` or `title:"My card"`.
|
||||||
|
|
||||||
### 9. New owner for the deck entities
|
### 8. New owner for the deck entities
|
||||||
You can transfer ownership of boards, cards, etc to a new user, using `occ` command `deck:transfer-ownership`
|
You can transfer ownership of boards, cards, etc to a new user, using `occ` command `deck:transfer-ownership`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 88 KiB |
@@ -92,8 +92,6 @@ class ActivityManager {
|
|||||||
public const SUBJECT_CARD_UPDATE_DUEDATE = 'card_update_duedate';
|
public const SUBJECT_CARD_UPDATE_DUEDATE = 'card_update_duedate';
|
||||||
public const SUBJECT_CARD_UPDATE_ARCHIVE = 'card_update_archive';
|
public const SUBJECT_CARD_UPDATE_ARCHIVE = 'card_update_archive';
|
||||||
public const SUBJECT_CARD_UPDATE_UNARCHIVE = 'card_update_unarchive';
|
public const SUBJECT_CARD_UPDATE_UNARCHIVE = 'card_update_unarchive';
|
||||||
public const SUBJECT_CARD_UPDATE_DONE = 'card_update_done';
|
|
||||||
public const SUBJECT_CARD_UPDATE_UNDONE = 'card_update_undone';
|
|
||||||
public const SUBJECT_CARD_UPDATE_STACKID = 'card_update_stackId';
|
public const SUBJECT_CARD_UPDATE_STACKID = 'card_update_stackId';
|
||||||
public const SUBJECT_CARD_USER_ASSIGN = 'card_user_assign';
|
public const SUBJECT_CARD_USER_ASSIGN = 'card_user_assign';
|
||||||
public const SUBJECT_CARD_USER_UNASSIGN = 'card_user_unassign';
|
public const SUBJECT_CARD_USER_UNASSIGN = 'card_user_unassign';
|
||||||
@@ -201,12 +199,6 @@ class ActivityManager {
|
|||||||
case self::SUBJECT_CARD_UPDATE_UNARCHIVE:
|
case self::SUBJECT_CARD_UPDATE_UNARCHIVE:
|
||||||
$subject = $ownActivity ? $l->t('You have unarchived card {card} in list {stack} on board {board}') : $l->t('{user} has unarchived card {card} in list {stack} on board {board}');
|
$subject = $ownActivity ? $l->t('You have unarchived card {card} in list {stack} on board {board}') : $l->t('{user} has unarchived card {card} in list {stack} on board {board}');
|
||||||
break;
|
break;
|
||||||
case self::SUBJECT_CARD_UPDATE_DONE:
|
|
||||||
$subject = $ownActivity ? $l->t('You have marked the card {card} as done in list {stack} on board {board}') : $l->t('{user} has marked card {card} as done in list {stack} on board {board}');
|
|
||||||
break;
|
|
||||||
case self::SUBJECT_CARD_UPDATE_UNDONE:
|
|
||||||
$subject = $ownActivity ? $l->t('You have marked the card {card} as undone in list {stack} on board {board}') : $l->t('{user} has marked the card {card} as undone in list {stack} on board {board}');
|
|
||||||
break;
|
|
||||||
case self::SUBJECT_CARD_UPDATE_DUEDATE:
|
case self::SUBJECT_CARD_UPDATE_DUEDATE:
|
||||||
if (!isset($subjectParams['after'])) {
|
if (!isset($subjectParams['after'])) {
|
||||||
$subject = $ownActivity ? $l->t('You have removed the due date of card {card}') : $l->t('{user} has removed the due date of card {card}');
|
$subject = $ownActivity ? $l->t('You have removed the due date of card {card}') : $l->t('{user} has removed the due date of card {card}');
|
||||||
@@ -366,8 +358,6 @@ class ActivityManager {
|
|||||||
case self::SUBJECT_CARD_DELETE:
|
case self::SUBJECT_CARD_DELETE:
|
||||||
case self::SUBJECT_CARD_UPDATE_ARCHIVE:
|
case self::SUBJECT_CARD_UPDATE_ARCHIVE:
|
||||||
case self::SUBJECT_CARD_UPDATE_UNARCHIVE:
|
case self::SUBJECT_CARD_UPDATE_UNARCHIVE:
|
||||||
case self::SUBJECT_CARD_UPDATE_DONE:
|
|
||||||
case self::SUBJECT_CARD_UPDATE_UNDONE:
|
|
||||||
case self::SUBJECT_CARD_UPDATE_TITLE:
|
case self::SUBJECT_CARD_UPDATE_TITLE:
|
||||||
case self::SUBJECT_CARD_UPDATE_DESCRIPTION:
|
case self::SUBJECT_CARD_UPDATE_DESCRIPTION:
|
||||||
case self::SUBJECT_CARD_UPDATE_DUEDATE:
|
case self::SUBJECT_CARD_UPDATE_DUEDATE:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
namespace OCA\Deck\Activity;
|
namespace OCA\Deck\Activity;
|
||||||
|
|
||||||
class SettingDescription extends SettingBase {
|
class DescriptionSetting extends Setting {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string Lowercase a-z and underscore only identifier
|
* @return string Lowercase a-z and underscore only identifier
|
||||||
@@ -38,6 +38,6 @@ class SettingDescription extends SettingBase {
|
|||||||
* @since 11.0.0
|
* @since 11.0.0
|
||||||
*/
|
*/
|
||||||
public function getName(): string {
|
public function getName(): string {
|
||||||
return $this->l->t('A <strong>card description</strong> has been changed');
|
return $this->l->t('A <strong>card description</strong> inside the Deck app has been changed');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -23,10 +23,9 @@
|
|||||||
|
|
||||||
namespace OCA\Deck\Activity;
|
namespace OCA\Deck\Activity;
|
||||||
|
|
||||||
use OCP\Activity\ActivitySettings;
|
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
|
|
||||||
abstract class SettingBase extends ActivitySettings {
|
class Setting implements \OCP\Activity\ISetting {
|
||||||
|
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
protected $l;
|
protected $l;
|
||||||
@@ -38,14 +37,6 @@ abstract class SettingBase extends ActivitySettings {
|
|||||||
$this->l = $l;
|
$this->l = $l;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupIdentifier() {
|
|
||||||
return 'deck';
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getGroupName() {
|
|
||||||
return $this->l->t('Deck');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string Lowercase a-z and underscore only identifier
|
* @return string Lowercase a-z and underscore only identifier
|
||||||
* @since 11.0.0
|
* @since 11.0.0
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @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/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace OCA\Deck\Activity;
|
|
||||||
|
|
||||||
class SettingChanges extends SettingBase {
|
|
||||||
/**
|
|
||||||
* @return string Lowercase a-z and underscore only identifier
|
|
||||||
* @since 11.0.0
|
|
||||||
*/
|
|
||||||
public function getIdentifier(): string {
|
|
||||||
return 'deck';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string A translated string
|
|
||||||
* @since 11.0.0
|
|
||||||
*/
|
|
||||||
public function getName(): string {
|
|
||||||
return $this->l->t('A <strong>board, list or card</strong> was changed');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return int whether the filter should be rather on the top or bottom of
|
|
||||||
* the admin section. The filters are arranged in ascending order of the
|
|
||||||
* priority values. It is required to return a value between 0 and 100.
|
|
||||||
* @since 11.0.0
|
|
||||||
*/
|
|
||||||
public function getPriority(): int {
|
|
||||||
return 90;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return bool True when the option can be changed for the stream
|
|
||||||
* @since 11.0.0
|
|
||||||
*/
|
|
||||||
public function canChangeStream(): bool {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return bool True when the option can be changed for the stream
|
|
||||||
* @since 11.0.0
|
|
||||||
*/
|
|
||||||
public function isDefaultEnabledStream(): bool {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return bool True when the option can be changed for the mail
|
|
||||||
* @since 11.0.0
|
|
||||||
*/
|
|
||||||
public function canChangeMail(): bool {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return bool True when the option can be changed for the stream
|
|
||||||
* @since 11.0.0
|
|
||||||
*/
|
|
||||||
public function isDefaultEnabledMail(): bool {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
namespace OCA\Deck\Activity;
|
namespace OCA\Deck\Activity;
|
||||||
|
|
||||||
class SettingComment extends SettingBase {
|
class SettingComment extends Setting {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string Lowercase a-z and underscore only identifier
|
* @return string Lowercase a-z and underscore only identifier
|
||||||
|
|||||||
@@ -30,9 +30,7 @@ use OCA\Deck\Activity\CommentEventHandler;
|
|||||||
use OCA\Deck\Capabilities;
|
use OCA\Deck\Capabilities;
|
||||||
use OCA\Deck\Collaboration\Resources\ResourceProvider;
|
use OCA\Deck\Collaboration\Resources\ResourceProvider;
|
||||||
use OCA\Deck\Collaboration\Resources\ResourceProviderCard;
|
use OCA\Deck\Collaboration\Resources\ResourceProviderCard;
|
||||||
use OCA\Deck\Dashboard\DeckWidgetToday;
|
use OCA\Deck\Dashboard\DeckWidget;
|
||||||
use OCA\Deck\Dashboard\DeckWidgetTomorrow;
|
|
||||||
use OCA\Deck\Dashboard\DeckWidgetUpcoming;
|
|
||||||
use OCA\Deck\Db\Acl;
|
use OCA\Deck\Db\Acl;
|
||||||
use OCA\Deck\Db\CardMapper;
|
use OCA\Deck\Db\CardMapper;
|
||||||
use OCA\Deck\Event\AclCreatedEvent;
|
use OCA\Deck\Event\AclCreatedEvent;
|
||||||
@@ -137,9 +135,7 @@ class Application extends App implements IBootstrap {
|
|||||||
|
|
||||||
$context->registerSearchProvider(DeckProvider::class);
|
$context->registerSearchProvider(DeckProvider::class);
|
||||||
$context->registerSearchProvider(CardCommentProvider::class);
|
$context->registerSearchProvider(CardCommentProvider::class);
|
||||||
$context->registerDashboardWidget(DeckWidgetUpcoming::class);
|
$context->registerDashboardWidget(DeckWidget::class);
|
||||||
$context->registerDashboardWidget(DeckWidgetToday::class);
|
|
||||||
$context->registerDashboardWidget(DeckWidgetTomorrow::class);
|
|
||||||
|
|
||||||
$context->registerReferenceProvider(CreateCardReferenceProvider::class);
|
$context->registerReferenceProvider(CreateCardReferenceProvider::class);
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class Capabilities implements ICapability {
|
|||||||
/**
|
/**
|
||||||
* Function an app uses to return the capabilities
|
* Function an app uses to return the capabilities
|
||||||
*
|
*
|
||||||
* @return array{deck: array{version: string, canCreateBoards: bool, apiVersions: array<string>}}
|
* @return array Array containing the apps capabilities
|
||||||
* @since 8.2.0
|
* @since 8.2.0
|
||||||
*/
|
*/
|
||||||
public function getCapabilities() {
|
public function getCapabilities() {
|
||||||
|
|||||||
@@ -29,12 +29,11 @@ use OCP\AppFramework\Http\DataResponse;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class AttachmentApiController extends ApiController {
|
class AttachmentApiController extends ApiController {
|
||||||
public function __construct(
|
private $attachmentService;
|
||||||
$appName,
|
|
||||||
IRequest $request,
|
public function __construct($appName, IRequest $request, AttachmentService $attachmentService) {
|
||||||
private AttachmentService $attachmentService,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->attachmentService = $attachmentService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -28,12 +28,13 @@ use OCP\AppFramework\Controller;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class AttachmentController extends Controller {
|
class AttachmentController extends Controller {
|
||||||
public function __construct(
|
|
||||||
$appName,
|
/** @var AttachmentService */
|
||||||
IRequest $request,
|
private $attachmentService;
|
||||||
private AttachmentService $attachmentService,
|
|
||||||
) {
|
public function __construct($appName, IRequest $request, AttachmentService $attachmentService) {
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->attachmentService = $attachmentService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -40,16 +40,18 @@ use Sabre\HTTP\Util;
|
|||||||
* @package OCA\Deck\Controller
|
* @package OCA\Deck\Controller
|
||||||
*/
|
*/
|
||||||
class BoardApiController extends ApiController {
|
class BoardApiController extends ApiController {
|
||||||
|
private $boardService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $appName
|
* @param string $appName
|
||||||
|
* @param IRequest $request
|
||||||
|
* @param BoardService $service
|
||||||
|
* @param $userId
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct($appName, IRequest $request, BoardService $service, $userId) {
|
||||||
$appName,
|
|
||||||
IRequest $request,
|
|
||||||
private BoardService $boardService,
|
|
||||||
private $userId,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->boardService = $service;
|
||||||
|
$this->userId = $userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -33,14 +33,15 @@ use OCP\AppFramework\Http\DataResponse;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class BoardController extends ApiController {
|
class BoardController extends ApiController {
|
||||||
public function __construct(
|
private $userId;
|
||||||
$appName,
|
private $boardService;
|
||||||
IRequest $request,
|
private $permissionService;
|
||||||
private BoardService $boardService,
|
|
||||||
private PermissionService $permissionService,
|
public function __construct($appName, IRequest $request, BoardService $boardService, PermissionService $permissionService, $userId) {
|
||||||
private $userId,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->userId = $userId;
|
||||||
|
$this->boardService = $boardService;
|
||||||
|
$this->permissionService = $permissionService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -143,7 +144,7 @@ class BoardController extends ApiController {
|
|||||||
/**
|
/**
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
* @param $aclId
|
* @param $aclId
|
||||||
* @return \OCP\AppFramework\Db\Entity|null
|
* @return \OCP\AppFramework\Db\Entity
|
||||||
*/
|
*/
|
||||||
public function deleteAcl($aclId) {
|
public function deleteAcl($aclId) {
|
||||||
return $this->boardService->deleteAcl($aclId);
|
return $this->boardService->deleteAcl($aclId);
|
||||||
|
|||||||
@@ -30,13 +30,20 @@ use OCP\AppFramework\OCSController;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class BoardImportApiController extends OCSController {
|
class BoardImportApiController extends OCSController {
|
||||||
|
/** @var BoardImportService */
|
||||||
|
private $boardImportService;
|
||||||
|
/** @var string */
|
||||||
|
private $userId;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
string $appName,
|
string $appName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
private BoardImportService $boardImportService,
|
BoardImportService $boardImportService,
|
||||||
private string $userId,
|
string $userId
|
||||||
) {
|
) {
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->boardImportService = $boardImportService;
|
||||||
|
$this->userId = $userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
namespace OCA\Deck\Controller;
|
namespace OCA\Deck\Controller;
|
||||||
|
|
||||||
use OCA\Deck\Model\OptionalNullableValue;
|
|
||||||
use OCA\Deck\Service\AssignmentService;
|
use OCA\Deck\Service\AssignmentService;
|
||||||
use OCA\Deck\Service\CardService;
|
use OCA\Deck\Service\CardService;
|
||||||
use OCP\AppFramework\ApiController;
|
use OCP\AppFramework\ApiController;
|
||||||
@@ -39,22 +38,21 @@ use OCP\IRequest;
|
|||||||
* @package OCA\Deck\Controller
|
* @package OCA\Deck\Controller
|
||||||
*/
|
*/
|
||||||
class CardApiController extends ApiController {
|
class CardApiController extends ApiController {
|
||||||
|
private $cardService;
|
||||||
|
private $userId;
|
||||||
|
private $assignmentService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $appName
|
* @param string $appName
|
||||||
* @param IRequest $request
|
* @param IRequest $request
|
||||||
* @param CardService $cardService
|
* @param CardService $cardService
|
||||||
* @param AssignmentService $assignmentService
|
|
||||||
* @param $userId
|
* @param $userId
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct($appName, IRequest $request, CardService $cardService, AssignmentService $assignmentService, $userId) {
|
||||||
string $appName,
|
|
||||||
IRequest $request,
|
|
||||||
private CardService $cardService,
|
|
||||||
private AssignmentService $assignmentService,
|
|
||||||
private $userId,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->cardService = $cardService;
|
||||||
|
$this->userId = $userId;
|
||||||
|
$this->assignmentService = $assignmentService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -106,8 +104,7 @@ class CardApiController extends ApiController {
|
|||||||
* Update a card
|
* Update a card
|
||||||
*/
|
*/
|
||||||
public function update($title, $type, $owner, $description = '', $order = 0, $duedate = null, $archived = null) {
|
public function update($title, $type, $owner, $description = '', $order = 0, $duedate = null, $archived = null) {
|
||||||
$done = array_key_exists('done', $this->request->getParams()) ? new OptionalNullableValue($this->request->getParam('done', null)) : null;
|
$card = $this->cardService->update($this->request->getParam('cardId'), $title, $this->request->getParam('stackId'), $type, $owner, $description, $order, $duedate, 0, $archived);
|
||||||
$card = $this->cardService->update($this->request->getParam('cardId'), $title, $this->request->getParam('stackId'), $type, $owner, $description, $order, $duedate, 0, $archived, $done);
|
|
||||||
return new DataResponse($card, HTTP::STATUS_OK);
|
return new DataResponse($card, HTTP::STATUS_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,14 +29,15 @@ use OCP\AppFramework\Controller;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class CardController extends Controller {
|
class CardController extends Controller {
|
||||||
public function __construct(
|
private $userId;
|
||||||
$appName,
|
private $cardService;
|
||||||
IRequest $request,
|
private $assignmentService;
|
||||||
private CardService $cardService,
|
|
||||||
private AssignmentService $assignmentService,
|
public function __construct($appName, IRequest $request, CardService $cardService, AssignmentService $assignmentService, $userId) {
|
||||||
private $userId,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->userId = $userId;
|
||||||
|
$this->cardService = $cardService;
|
||||||
|
$this->assignmentService = $assignmentService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -143,24 +144,6 @@ class CardController extends Controller {
|
|||||||
return $this->cardService->unarchive($cardId);
|
return $this->cardService->unarchive($cardId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @NoAdminRequired
|
|
||||||
* @param $cardId
|
|
||||||
* @return \OCP\AppFramework\Db\Entity
|
|
||||||
*/
|
|
||||||
public function done(int $cardId) {
|
|
||||||
return $this->cardService->done($cardId);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @NoAdminRequired
|
|
||||||
* @param $cardId
|
|
||||||
* @return \OCP\AppFramework\Db\Entity
|
|
||||||
*/
|
|
||||||
public function undone(int $cardId) {
|
|
||||||
return $this->cardService->undone($cardId);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
* @param $cardId
|
* @param $cardId
|
||||||
|
|||||||
@@ -31,15 +31,18 @@ use OCP\AppFramework\OCSController;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class CommentsApiController extends OCSController {
|
class CommentsApiController extends OCSController {
|
||||||
|
|
||||||
|
/** @var CommentService */
|
||||||
|
private $commentService;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
string $appName,
|
string $appName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
private CommentService $commentService,
|
CommentService $commentService,
|
||||||
string $corsMethods = 'PUT, POST, GET, DELETE, PATCH',
|
string $corsMethods = 'PUT, POST, GET, DELETE, PATCH', string $corsAllowedHeaders = 'Authorization, Content-Type, Accept', int $corsMaxAge = 1728000
|
||||||
string $corsAllowedHeaders = 'Authorization, Content-Type, Accept',
|
|
||||||
int $corsMaxAge = 1728000,
|
|
||||||
) {
|
) {
|
||||||
parent::__construct($appName, $request, $corsMethods, $corsAllowedHeaders, $corsMaxAge);
|
parent::__construct($appName, $request, $corsMethods, $corsAllowedHeaders, $corsMaxAge);
|
||||||
|
$this->commentService = $commentService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -30,12 +30,16 @@ use OCP\AppFramework\OCSController;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class ConfigController extends OCSController {
|
class ConfigController extends OCSController {
|
||||||
|
private $configService;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
$AppName,
|
$AppName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
private ConfigService $configService,
|
ConfigService $configService
|
||||||
) {
|
) {
|
||||||
parent::__construct($AppName, $request);
|
parent::__construct($AppName, $request);
|
||||||
|
|
||||||
|
$this->configService = $configService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -35,16 +35,19 @@ use OCP\IRequest;
|
|||||||
* @package OCA\Deck\Controller
|
* @package OCA\Deck\Controller
|
||||||
*/
|
*/
|
||||||
class LabelApiController extends ApiController {
|
class LabelApiController extends ApiController {
|
||||||
|
private $labelService;
|
||||||
|
private $userId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $appName
|
* @param string $appName
|
||||||
|
* @param IRequest $request
|
||||||
|
* @param LabelService $labelService
|
||||||
|
* @param $userId
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct($appName, IRequest $request, LabelService $labelService, $userId) {
|
||||||
$appName,
|
|
||||||
IRequest $request,
|
|
||||||
private LabelService $labelService,
|
|
||||||
private $userId,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->labelService = $labelService;
|
||||||
|
$this->userId = $userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -28,12 +28,11 @@ use OCP\AppFramework\Controller;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class LabelController extends Controller {
|
class LabelController extends Controller {
|
||||||
public function __construct(
|
private $labelService;
|
||||||
$appName,
|
|
||||||
IRequest $request,
|
public function __construct($appName, IRequest $request, LabelService $labelService) {
|
||||||
private LabelService $labelService,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->labelService = $labelService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -32,13 +32,17 @@ use OCP\AppFramework\OCSController;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class OverviewApiController extends OCSController {
|
class OverviewApiController extends OCSController {
|
||||||
public function __construct(
|
|
||||||
$appName,
|
/** @var OverviewService */
|
||||||
IRequest $request,
|
private $dashboardService;
|
||||||
private OverviewService $dashboardService,
|
|
||||||
private $userId,
|
/** @var string */
|
||||||
) {
|
private $userId;
|
||||||
|
|
||||||
|
public function __construct($appName, IRequest $request, OverviewService $dashboardService, $userId) {
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->dashboardService = $dashboardService;
|
||||||
|
$this->userId = $userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -24,9 +24,9 @@
|
|||||||
namespace OCA\Deck\Controller;
|
namespace OCA\Deck\Controller;
|
||||||
|
|
||||||
use \OCP\AppFramework\Http\RedirectResponse;
|
use \OCP\AppFramework\Http\RedirectResponse;
|
||||||
|
use OCA\Deck\AppInfo\Application;
|
||||||
use OCA\Deck\Db\Acl;
|
use OCA\Deck\Db\Acl;
|
||||||
use OCA\Deck\Db\CardMapper;
|
use OCA\Deck\Db\CardMapper;
|
||||||
use OCA\Deck\Service\BoardService;
|
|
||||||
use OCA\Deck\Service\CardService;
|
use OCA\Deck\Service\CardService;
|
||||||
use OCA\Deck\Service\ConfigService;
|
use OCA\Deck\Service\ConfigService;
|
||||||
use OCA\Deck\Service\PermissionService;
|
use OCA\Deck\Service\PermissionService;
|
||||||
@@ -34,42 +34,60 @@ use OCA\Files\Event\LoadSidebar;
|
|||||||
use OCA\Text\Event\LoadEditor;
|
use OCA\Text\Event\LoadEditor;
|
||||||
use OCA\Viewer\Event\LoadViewer;
|
use OCA\Viewer\Event\LoadViewer;
|
||||||
use OCP\AppFramework\Controller;
|
use OCP\AppFramework\Controller;
|
||||||
use OCP\AppFramework\Http\Attribute\NoAdminRequired;
|
|
||||||
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
|
|
||||||
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||||
use OCP\AppFramework\Http\TemplateResponse;
|
use OCP\AppFramework\Http\TemplateResponse;
|
||||||
use OCP\AppFramework\Services\IInitialState;
|
|
||||||
use OCP\Collaboration\Resources\LoadAdditionalScriptsEvent as CollaborationResourcesEvent;
|
use OCP\Collaboration\Resources\LoadAdditionalScriptsEvent as CollaborationResourcesEvent;
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
use OCP\EventDispatcher\IEventDispatcher;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
|
use OCP\IInitialStateService;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use OCP\IURLGenerator;
|
use OCP\IURLGenerator;
|
||||||
|
|
||||||
class PageController extends Controller {
|
class PageController extends Controller {
|
||||||
|
private PermissionService $permissionService;
|
||||||
|
private IInitialStateService $initialState;
|
||||||
|
private ConfigService $configService;
|
||||||
|
private IEventDispatcher $eventDispatcher;
|
||||||
|
private CardMapper $cardMapper;
|
||||||
|
private IURLGenerator $urlGenerator;
|
||||||
|
private CardService $cardService;
|
||||||
|
private IConfig $config;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
string $AppName,
|
string $AppName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
private PermissionService $permissionService,
|
PermissionService $permissionService,
|
||||||
private IInitialState $initialState,
|
IInitialStateService $initialStateService,
|
||||||
private BoardService $boardService,
|
ConfigService $configService,
|
||||||
private ConfigService $configService,
|
IEventDispatcher $eventDispatcher,
|
||||||
private IEventDispatcher $eventDispatcher,
|
CardMapper $cardMapper,
|
||||||
private CardMapper $cardMapper,
|
IURLGenerator $urlGenerator,
|
||||||
private IURLGenerator $urlGenerator,
|
CardService $cardService,
|
||||||
private CardService $cardService,
|
IConfig $config
|
||||||
private IConfig $config,
|
|
||||||
) {
|
) {
|
||||||
parent::__construct($AppName, $request);
|
parent::__construct($AppName, $request);
|
||||||
|
|
||||||
|
$this->permissionService = $permissionService;
|
||||||
|
$this->initialState = $initialStateService;
|
||||||
|
$this->configService = $configService;
|
||||||
|
$this->eventDispatcher = $eventDispatcher;
|
||||||
|
$this->cardMapper = $cardMapper;
|
||||||
|
$this->urlGenerator = $urlGenerator;
|
||||||
|
$this->cardService = $cardService;
|
||||||
|
$this->config = $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[NoAdminRequired]
|
/**
|
||||||
#[NoCSRFRequired]
|
* Handle main html view from templates/main.php
|
||||||
public function index(): TemplateResponse {
|
* This will return the main angular application
|
||||||
$this->initialState->provideInitialState('maxUploadSize', (int)\OCP\Util::uploadLimit());
|
*
|
||||||
$this->initialState->provideInitialState('canCreate', $this->permissionService->canCreate());
|
* @NoAdminRequired
|
||||||
$this->initialState->provideInitialState('config', $this->configService->getAll());
|
* @NoCSRFRequired
|
||||||
|
*/
|
||||||
$this->initialState->provideInitialState('initialBoards', $this->boardService->findAll());
|
public function index() {
|
||||||
|
$this->initialState->provideInitialState(Application::APP_ID, 'maxUploadSize', (int)\OCP\Util::uploadLimit());
|
||||||
|
$this->initialState->provideInitialState(Application::APP_ID, 'canCreate', $this->permissionService->canCreate());
|
||||||
|
$this->initialState->provideInitialState(Application::APP_ID, 'config', $this->configService->getAll());
|
||||||
|
|
||||||
$this->eventDispatcher->dispatchTyped(new LoadSidebar());
|
$this->eventDispatcher->dispatchTyped(new LoadSidebar());
|
||||||
$this->eventDispatcher->dispatchTyped(new CollaborationResourcesEvent());
|
$this->eventDispatcher->dispatchTyped(new CollaborationResourcesEvent());
|
||||||
@@ -95,32 +113,10 @@ class PageController extends Controller {
|
|||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[NoAdminRequired]
|
/**
|
||||||
#[NoCSRFRequired]
|
* @NoAdminRequired
|
||||||
public function indexList(): TemplateResponse {
|
* @NoCSRFRequired
|
||||||
return $this->index();
|
*/
|
||||||
}
|
|
||||||
|
|
||||||
#[NoAdminRequired]
|
|
||||||
#[NoCSRFRequired]
|
|
||||||
public function indexBoard(int $boardId): TemplateResponse {
|
|
||||||
return $this->index();
|
|
||||||
}
|
|
||||||
|
|
||||||
#[NoAdminRequired]
|
|
||||||
#[NoCSRFRequired]
|
|
||||||
public function indexBoardDetails(int $boardId): TemplateResponse {
|
|
||||||
return $this->index();
|
|
||||||
}
|
|
||||||
|
|
||||||
#[NoAdminRequired]
|
|
||||||
#[NoCSRFRequired]
|
|
||||||
public function indexCard(int $cardId): TemplateResponse {
|
|
||||||
return $this->index();
|
|
||||||
}
|
|
||||||
|
|
||||||
#[NoAdminRequired]
|
|
||||||
#[NoCSRFRequired]
|
|
||||||
public function redirectToCard($cardId): RedirectResponse {
|
public function redirectToCard($cardId): RedirectResponse {
|
||||||
try {
|
try {
|
||||||
$this->permissionService->checkPermission($this->cardMapper, $cardId, Acl::PERMISSION_READ);
|
$this->permissionService->checkPermission($this->cardMapper, $cardId, Acl::PERMISSION_READ);
|
||||||
|
|||||||
@@ -34,12 +34,15 @@ use OCP\AppFramework\OCSController;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class SearchController extends OCSController {
|
class SearchController extends OCSController {
|
||||||
public function __construct(
|
|
||||||
string $appName,
|
/**
|
||||||
IRequest $request,
|
* @var SearchService
|
||||||
private SearchService $searchService,
|
*/
|
||||||
) {
|
private $searchService;
|
||||||
|
|
||||||
|
public function __construct(string $appName, IRequest $request, SearchService $searchService) {
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->searchService = $searchService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -29,23 +29,30 @@ use OCA\Deck\Db\BoardMapper;
|
|||||||
use OCA\Deck\Service\PermissionService;
|
use OCA\Deck\Service\PermissionService;
|
||||||
use OCA\Deck\Service\SessionService;
|
use OCA\Deck\Service\SessionService;
|
||||||
use OCP\AppFramework\Db\DoesNotExistException;
|
use OCP\AppFramework\Db\DoesNotExistException;
|
||||||
use OCP\AppFramework\Http\Attribute\NoAdminRequired;
|
|
||||||
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
|
|
||||||
use OCP\AppFramework\Http\DataResponse;
|
use OCP\AppFramework\Http\DataResponse;
|
||||||
use OCP\AppFramework\OCSController;
|
use OCP\AppFramework\OCSController;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class SessionController extends OCSController {
|
class SessionController extends OCSController {
|
||||||
|
private SessionService $sessionService;
|
||||||
|
private PermissionService $permissionService;
|
||||||
|
private BoardMapper $boardMapper;
|
||||||
|
|
||||||
public function __construct($appName,
|
public function __construct($appName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
private SessionService $sessionService,
|
SessionService $sessionService,
|
||||||
private PermissionService $permissionService,
|
PermissionService $permissionService,
|
||||||
private BoardMapper $boardMapper,
|
BoardMapper $boardMapper
|
||||||
) {
|
) {
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->sessionService = $sessionService;
|
||||||
|
$this->permissionService = $permissionService;
|
||||||
|
$this->boardMapper = $boardMapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[NoAdminRequired]
|
/**
|
||||||
|
* @NoAdminRequired
|
||||||
|
*/
|
||||||
public function create(int $boardId): DataResponse {
|
public function create(int $boardId): DataResponse {
|
||||||
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
||||||
|
|
||||||
@@ -55,7 +62,11 @@ class SessionController extends OCSController {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[NoAdminRequired]
|
/**
|
||||||
|
* notifies the server that the session is still active
|
||||||
|
* @NoAdminRequired
|
||||||
|
* @param $boardId
|
||||||
|
*/
|
||||||
public function sync(int $boardId, string $token): DataResponse {
|
public function sync(int $boardId, string $token): DataResponse {
|
||||||
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
||||||
try {
|
try {
|
||||||
@@ -66,12 +77,13 @@ class SessionController extends OCSController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[NoAdminRequired]
|
/**
|
||||||
#[NoCSRFRequired]
|
* delete a session if existing
|
||||||
public function close(int $boardId, string $token = null): DataResponse {
|
* @NoAdminRequired
|
||||||
if ($token === null) {
|
* @NoCSRFRequired
|
||||||
return new DataResponse();
|
* @param $boardId
|
||||||
}
|
*/
|
||||||
|
public function close(int $boardId, string $token) {
|
||||||
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
||||||
$this->sessionService->closeSession($boardId, $token);
|
$this->sessionService->closeSession($boardId, $token);
|
||||||
return new DataResponse();
|
return new DataResponse();
|
||||||
|
|||||||
@@ -39,16 +39,18 @@ use Sabre\HTTP\Util;
|
|||||||
* @package OCA\Deck\Controller
|
* @package OCA\Deck\Controller
|
||||||
*/
|
*/
|
||||||
class StackApiController extends ApiController {
|
class StackApiController extends ApiController {
|
||||||
|
private $boardService;
|
||||||
|
private $stackService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $appName
|
* @param string $appName
|
||||||
|
* @param IRequest $request
|
||||||
|
* @param StackService $stackService
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct($appName, IRequest $request, StackService $stackService, BoardService $boardService) {
|
||||||
$appName,
|
|
||||||
IRequest $request,
|
|
||||||
private StackService $stackService,
|
|
||||||
private BoardService $boardService,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->stackService = $stackService;
|
||||||
|
$this->boardService = $boardService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -30,13 +30,12 @@ use OCP\AppFramework\Controller;
|
|||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
class StackController extends Controller {
|
class StackController extends Controller {
|
||||||
public function __construct(
|
private $userId;
|
||||||
string $appName,
|
private $stackService;
|
||||||
IRequest $request,
|
public function __construct($appName, IRequest $request, StackService $stackService, $userId) {
|
||||||
private StackService $stackService,
|
|
||||||
private $userId,
|
|
||||||
) {
|
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
$this->userId = $userId;
|
||||||
|
$this->stackService = $stackService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ use OCP\IL10N;
|
|||||||
use OCP\IURLGenerator;
|
use OCP\IURLGenerator;
|
||||||
use OCP\Util;
|
use OCP\Util;
|
||||||
|
|
||||||
class DeckWidgetUpcoming implements IAPIWidget, IButtonWidget, IIconWidget {
|
class DeckWidget implements IAPIWidget, IButtonWidget, IIconWidget {
|
||||||
private IL10N $l10n;
|
private IL10N $l10n;
|
||||||
private OverviewService $dashboardService;
|
private OverviewService $dashboardService;
|
||||||
private IURLGenerator $urlGenerator;
|
private IURLGenerator $urlGenerator;
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @copyright Copyright (c) 2020 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/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace OCA\Deck\Dashboard;
|
|
||||||
|
|
||||||
use OCP\Dashboard\IWidget;
|
|
||||||
use OCP\IL10N;
|
|
||||||
|
|
||||||
class DeckWidgetToday implements IWidget {
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @var IL10N
|
|
||||||
*/
|
|
||||||
private $l10n;
|
|
||||||
|
|
||||||
public function __construct(IL10N $l10n) {
|
|
||||||
$this->l10n = $l10n;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getId(): string {
|
|
||||||
return 'deckToday';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getTitle(): string {
|
|
||||||
return $this->l10n->t('Cards due today');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getOrder(): int {
|
|
||||||
return 20;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getIconClass(): string {
|
|
||||||
return 'icon-deck';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getUrl(): ?string {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function load(): void {
|
|
||||||
\OCP\Util::addScript('deck', 'deck-dashboard');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @copyright Copyright (c) 2020 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/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace OCA\Deck\Dashboard;
|
|
||||||
|
|
||||||
use OCP\Dashboard\IWidget;
|
|
||||||
use OCP\IL10N;
|
|
||||||
|
|
||||||
class DeckWidgetTomorrow implements IWidget {
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @var IL10N
|
|
||||||
*/
|
|
||||||
private $l10n;
|
|
||||||
|
|
||||||
public function __construct(IL10N $l10n) {
|
|
||||||
$this->l10n = $l10n;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getId(): string {
|
|
||||||
return 'deckTomorrow';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getTitle(): string {
|
|
||||||
return $this->l10n->t('Cards due tomorrow');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getOrder(): int {
|
|
||||||
return 20;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getIconClass(): string {
|
|
||||||
return 'icon-deck';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getUrl(): ?string {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function load(): void {
|
|
||||||
\OCP\Util::addScript('deck', 'deck-dashboard');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
|
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
|
||||||
*
|
*
|
||||||
@@ -42,8 +39,6 @@ use Sabre\VObject\Component\VCalendar;
|
|||||||
* @method int getDeletedAt()
|
* @method int getDeletedAt()
|
||||||
* @method void setDeletedAt(int $deletedAt)
|
* @method void setDeletedAt(int $deletedAt)
|
||||||
* @method bool getNotified()
|
* @method bool getNotified()
|
||||||
* @method ?DateTime getDone()
|
|
||||||
* @method void setDone(?DateTime $done)
|
|
||||||
*
|
*
|
||||||
* @method void setLabels(Label[] $labels)
|
* @method void setLabels(Label[] $labels)
|
||||||
* @method null|Label[] getLabels()
|
* @method null|Label[] getLabels()
|
||||||
@@ -90,7 +85,6 @@ class Card extends RelationalEntity {
|
|||||||
protected $owner;
|
protected $owner;
|
||||||
protected $order;
|
protected $order;
|
||||||
protected $archived = false;
|
protected $archived = false;
|
||||||
protected $done = null;
|
|
||||||
protected $duedate;
|
protected $duedate;
|
||||||
protected $notified = false;
|
protected $notified = false;
|
||||||
protected $deletedAt = 0;
|
protected $deletedAt = 0;
|
||||||
@@ -114,7 +108,6 @@ class Card extends RelationalEntity {
|
|||||||
$this->addType('lastModified', 'integer');
|
$this->addType('lastModified', 'integer');
|
||||||
$this->addType('createdAt', 'integer');
|
$this->addType('createdAt', 'integer');
|
||||||
$this->addType('archived', 'boolean');
|
$this->addType('archived', 'boolean');
|
||||||
$this->addType('done', 'datetime');
|
|
||||||
$this->addType('notified', 'boolean');
|
$this->addType('notified', 'boolean');
|
||||||
$this->addType('deletedAt', 'integer');
|
$this->addType('deletedAt', 'integer');
|
||||||
$this->addType('duedate', 'datetime');
|
$this->addType('duedate', 'datetime');
|
||||||
@@ -148,21 +141,18 @@ class Card extends RelationalEntity {
|
|||||||
$event->add('RELATED-TO', 'deck-stack-' . $this->getStackId());
|
$event->add('RELATED-TO', 'deck-stack-' . $this->getStackId());
|
||||||
|
|
||||||
// FIXME: For write support: CANCELLED / IN-PROCESS handling
|
// FIXME: For write support: CANCELLED / IN-PROCESS handling
|
||||||
if ($this->getDone() || $this->getArchived()) {
|
$event->STATUS = $this->getArchived() ? "COMPLETED" : "NEEDS-ACTION";
|
||||||
|
if ($this->getArchived()) {
|
||||||
$date = new DateTime();
|
$date = new DateTime();
|
||||||
$date->setTimestamp($this->getLastModified());
|
$date->setTimestamp($this->getLastModified());
|
||||||
$event->STATUS = 'COMPLETED';
|
$event->COMPLETED = $date;
|
||||||
$event->COMPLETED = $this->getDone() ? $this->getDone() : $this->getArchived();
|
//$event->add('PERCENT-COMPLETE', 100);
|
||||||
} else {
|
|
||||||
$event->STATUS = 'NEEDS-ACTION';
|
|
||||||
}
|
}
|
||||||
|
if (count($this->getLabels()) > 0) {
|
||||||
// $event->add('PERCENT-COMPLETE', 100);
|
$event->CATEGORIES = array_map(function ($label) {
|
||||||
|
|
||||||
$labels = $this->getLabels() ?? [];
|
|
||||||
$event->CATEGORIES = array_map(function ($label): string {
|
|
||||||
return $label->getTitle();
|
return $label->getTitle();
|
||||||
}, $labels);
|
}, $this->getLabels());
|
||||||
|
}
|
||||||
|
|
||||||
$event->SUMMARY = $this->getTitle();
|
$event->SUMMARY = $this->getTitle();
|
||||||
$event->DESCRIPTION = $this->getDescription();
|
$event->DESCRIPTION = $this->getDescription();
|
||||||
@@ -189,7 +179,7 @@ class Card extends RelationalEntity {
|
|||||||
return 'card';
|
return 'card';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getETag(): string {
|
public function getETag() {
|
||||||
return md5((string)$this->getLastModified());
|
return md5((string)$this->getLastModified());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -263,7 +263,6 @@ class CardMapper extends QBMapper implements IPermissionMapper {
|
|||||||
->where($qb->expr()->in('s.board_id', $qb->createNamedParameter($boardIds, IQueryBuilder::PARAM_INT_ARRAY)))
|
->where($qb->expr()->in('s.board_id', $qb->createNamedParameter($boardIds, IQueryBuilder::PARAM_INT_ARRAY)))
|
||||||
->andWhere($qb->expr()->isNotNull('c.duedate'))
|
->andWhere($qb->expr()->isNotNull('c.duedate'))
|
||||||
->andWhere($qb->expr()->eq('c.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
->andWhere($qb->expr()->eq('c.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
||||||
->andWhere($qb->expr()->isNull('done'))
|
|
||||||
->andWhere($qb->expr()->eq('c.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
->andWhere($qb->expr()->eq('c.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
||||||
->andWhere($qb->expr()->eq('s.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
->andWhere($qb->expr()->eq('s.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
||||||
->andWhere($qb->expr()->eq('b.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
->andWhere($qb->expr()->eq('b.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
||||||
@@ -285,7 +284,6 @@ class CardMapper extends QBMapper implements IPermissionMapper {
|
|||||||
)
|
)
|
||||||
// Filter out archived/deleted cards and board
|
// Filter out archived/deleted cards and board
|
||||||
->andWhere($qb->expr()->eq('c.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
->andWhere($qb->expr()->eq('c.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
||||||
->andWhere($qb->expr()->isNull('done'))
|
|
||||||
->andWhere($qb->expr()->eq('c.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
->andWhere($qb->expr()->eq('c.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
||||||
->andWhere($qb->expr()->eq('s.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
->andWhere($qb->expr()->eq('s.deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
||||||
->andWhere($qb->expr()->eq('b.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
->andWhere($qb->expr()->eq('b.archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
||||||
@@ -300,7 +298,6 @@ class CardMapper extends QBMapper implements IPermissionMapper {
|
|||||||
->where($qb->expr()->lt('duedate', $qb->createFunction('NOW()')))
|
->where($qb->expr()->lt('duedate', $qb->createFunction('NOW()')))
|
||||||
->andWhere($qb->expr()->eq('notified', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
->andWhere($qb->expr()->eq('notified', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
||||||
->andWhere($qb->expr()->eq('archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
->andWhere($qb->expr()->eq('archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
||||||
->andWhere($qb->expr()->isNull('done'))
|
|
||||||
->andWhere($qb->expr()->eq('deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)));
|
->andWhere($qb->expr()->eq('deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)));
|
||||||
return $this->findEntities($qb);
|
return $this->findEntities($qb);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class User extends RelationalObject {
|
|||||||
public function getObjectSerialization() {
|
public function getObjectSerialization() {
|
||||||
return [
|
return [
|
||||||
'uid' => $this->getObject()->getUID(),
|
'uid' => $this->getObject()->getUID(),
|
||||||
'displayname' => $this->getDisplayName(),
|
'displayname' => $this->getObject()->getDisplayName(),
|
||||||
'type' => Acl::PERMISSION_TYPE_USER
|
'type' => Acl::PERMISSION_TYPE_USER
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,61 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @copyright Copyright (c) 2023 Thanos kamber <thanos.kamber@gmail.com>
|
|
||||||
*
|
|
||||||
* @author Thanos kamber <thanos.kamber@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/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace OCA\Deck\Migration;
|
|
||||||
|
|
||||||
use Closure;
|
|
||||||
use OCP\DB\ISchemaWrapper;
|
|
||||||
use OCP\DB\Types;
|
|
||||||
use OCP\Migration\IOutput;
|
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
|
||||||
*/
|
|
||||||
class Version1011Date20230901010840 extends SimpleMigrationStep {
|
|
||||||
/**
|
|
||||||
* @param IOutput $output
|
|
||||||
* @param Closure $schemaClosure
|
|
||||||
* @param array $options
|
|
||||||
* @return null|ISchemaWrapper
|
|
||||||
*/
|
|
||||||
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
|
|
||||||
/** @var ISchemaWrapper $schema */
|
|
||||||
$schema = $schemaClosure();
|
|
||||||
|
|
||||||
$table = $schema->getTable('deck_cards');
|
|
||||||
if (!$table->hasColumn('done')) {
|
|
||||||
$table->addColumn('done', Types::DATETIME, [
|
|
||||||
'default' => null,
|
|
||||||
'notnull' => false,
|
|
||||||
]);
|
|
||||||
|
|
||||||
return $schema;
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
|
|||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
|
|
||||||
class Version1011Date20231106160059 extends SimpleMigrationStep {
|
class Version1011Date20231106160059 extends SimpleMigrationStep {
|
||||||
|
|
||||||
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
|
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
|
||||||
$schema = $schemaClosure();
|
$schema = $schemaClosure();
|
||||||
|
|
||||||
|
|||||||
@@ -1,51 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @copyright Copyright (c) 2023 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/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace OCA\Deck\Model;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This is a helper abstraction to allow usage of optional parameters
|
|
||||||
* which hold a nullable value. The actual null value of the parameter
|
|
||||||
* is used to indicate if it has been set or not. The containing value
|
|
||||||
* will then still allow having null as a value
|
|
||||||
*
|
|
||||||
* Example use case: Have a nullable database column,
|
|
||||||
* but only update it if it is passed
|
|
||||||
*
|
|
||||||
* @template T
|
|
||||||
*/
|
|
||||||
class OptionalNullableValue {
|
|
||||||
|
|
||||||
/** @var ?T */
|
|
||||||
private mixed $value;
|
|
||||||
|
|
||||||
/** @param ?T $value */
|
|
||||||
public function __construct(mixed $value) {
|
|
||||||
$this->value = $value;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @return ?T */
|
|
||||||
public function getValue(): mixed {
|
|
||||||
return $this->value;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -55,8 +55,8 @@ class BoardReferenceProvider implements IReferenceProvider {
|
|||||||
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
||||||
|
|
||||||
// link example: https://nextcloud.local/index.php/apps/deck/#/board/2
|
// link example: https://nextcloud.local/index.php/apps/deck/#/board/2
|
||||||
$noIndexMatch = preg_match('/^' . preg_quote($start, '/') . '(?:\/#!?)?\/board\/[0-9]+$/', $referenceText) === 1;
|
$noIndexMatch = preg_match('/^' . preg_quote($start, '/') . '\/#\/board\/[0-9]+$/', $referenceText) === 1;
|
||||||
$indexMatch = preg_match('/^' . preg_quote($startIndex, '/') . '(?:\/#!?)?\/board\/[0-9]+$/', $referenceText) === 1;
|
$indexMatch = preg_match('/^' . preg_quote($startIndex, '/') . '\/#\/board\/[0-9]+$/', $referenceText) === 1;
|
||||||
|
|
||||||
return $noIndexMatch || $indexMatch;
|
return $noIndexMatch || $indexMatch;
|
||||||
}
|
}
|
||||||
@@ -108,9 +108,9 @@ class BoardReferenceProvider implements IReferenceProvider {
|
|||||||
$start = $this->urlGenerator->getAbsoluteURL('/apps/' . Application::APP_ID);
|
$start = $this->urlGenerator->getAbsoluteURL('/apps/' . Application::APP_ID);
|
||||||
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
||||||
|
|
||||||
preg_match('/^' . preg_quote($start, '/') . '(?:\/#!?)?\/board\/([0-9]+)$/', $url, $matches);
|
preg_match('/^' . preg_quote($start, '/') . '\/#\/board\/([0-9]+)$/', $url, $matches);
|
||||||
if (!$matches) {
|
if (!$matches) {
|
||||||
preg_match('/^' . preg_quote($startIndex, '/') . '(?:\/#!?)?\/board\/([0-9]+)$/', $url, $matches);
|
preg_match('/^' . preg_quote($startIndex, '/') . '\/#\/board\/([0-9]+)$/', $url, $matches);
|
||||||
}
|
}
|
||||||
if ($matches && count($matches) > 1) {
|
if ($matches && count($matches) > 1) {
|
||||||
return (int) $matches[1];
|
return (int) $matches[1];
|
||||||
|
|||||||
@@ -108,8 +108,8 @@ class CardReferenceProvider extends ADiscoverableReferenceProvider implements IS
|
|||||||
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
||||||
|
|
||||||
// link example: https://nextcloud.local/index.php/apps/deck/#/board/2/card/11
|
// link example: https://nextcloud.local/index.php/apps/deck/#/board/2/card/11
|
||||||
$noIndexMatchFull = preg_match('/^' . preg_quote($start, '/') . '(?:\/#!?)?\/board\/[0-9]+\/card\/[0-9]+$/', $referenceText) === 1;
|
$noIndexMatchFull = preg_match('/^' . preg_quote($start, '/') . '\/#\/board\/[0-9]+\/card\/[0-9]+$/', $referenceText) === 1;
|
||||||
$indexMatchFull = preg_match('/^' . preg_quote($startIndex, '/') . '(?:\/#!?)?\/board\/[0-9]+\/card\/[0-9]+$/', $referenceText) === 1;
|
$indexMatchFull = preg_match('/^' . preg_quote($startIndex, '/') . '\/#\/board\/[0-9]+\/card\/[0-9]+$/', $referenceText) === 1;
|
||||||
|
|
||||||
// link example: https://nextcloud.local/index.php/apps/deck/card/11
|
// link example: https://nextcloud.local/index.php/apps/deck/card/11
|
||||||
$noIndexMatch = preg_match('/^' . preg_quote($start, '/') . '\/card\/[0-9]+$/', $referenceText) === 1;
|
$noIndexMatch = preg_match('/^' . preg_quote($start, '/') . '\/card\/[0-9]+$/', $referenceText) === 1;
|
||||||
@@ -125,17 +125,16 @@ class CardReferenceProvider extends ADiscoverableReferenceProvider implements IS
|
|||||||
if ($this->matchReference($referenceText)) {
|
if ($this->matchReference($referenceText)) {
|
||||||
$ids = $this->getBoardCardId($referenceText);
|
$ids = $this->getBoardCardId($referenceText);
|
||||||
if ($ids !== null) {
|
if ($ids !== null) {
|
||||||
[, $cardId] = $ids;
|
[$boardId, $cardId] = $ids;
|
||||||
try {
|
try {
|
||||||
$card = $this->cardService->find((int) $cardId)->jsonSerialize();
|
$card = $this->cardService->find((int) $cardId)->jsonSerialize();
|
||||||
$stack = $this->stackService->find((int) $card['stackId'])->jsonSerialize();
|
$stack = $this->stackService->find((int) $card['stackId'])->jsonSerialize();
|
||||||
$board = $this->boardService->find((int) $stack['boardId'])->jsonSerialize();
|
$board = $this->boardService->find((int)($boardId ?? $stack['boardId']))->jsonSerialize();
|
||||||
} catch (NoPermissionException $e) {
|
} catch (NoPermissionException $e) {
|
||||||
// Skip throwing if user has no permissions
|
// Skip throwing if user has no permissions
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$boardId = $board['id'];
|
|
||||||
|
|
||||||
$card = $this->sanitizeSerializedCard($card);
|
$card = $this->sanitizeSerializedCard($card);
|
||||||
$board = $this->sanitizeSerializedBoard($board);
|
$board = $this->sanitizeSerializedBoard($board);
|
||||||
@@ -160,14 +159,14 @@ class CardReferenceProvider extends ADiscoverableReferenceProvider implements IS
|
|||||||
$result = $cardDetails->jsonSerialize();
|
$result = $cardDetails->jsonSerialize();
|
||||||
unset($result['assignedUsers']);
|
unset($result['assignedUsers']);
|
||||||
return $result;
|
return $result;
|
||||||
}, $stack['cards'] ?? []);
|
}, $stack['cards']);
|
||||||
|
|
||||||
return $stack;
|
return $stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function sanitizeSerializedBoard(array $board): array {
|
private function sanitizeSerializedBoard(array $board): array {
|
||||||
unset($board['labels']);
|
unset($board['labels']);
|
||||||
$board['owner'] = $board['owner']?->jsonSerialize();
|
$board['owner'] = $board['owner']->jsonSerialize();
|
||||||
unset($board['acl']);
|
unset($board['acl']);
|
||||||
unset($board['users']);
|
unset($board['users']);
|
||||||
|
|
||||||
@@ -177,18 +176,18 @@ class CardReferenceProvider extends ADiscoverableReferenceProvider implements IS
|
|||||||
private function sanitizeSerializedCard(array $card): array {
|
private function sanitizeSerializedCard(array $card): array {
|
||||||
$card['labels'] = array_map(function (Label $label) {
|
$card['labels'] = array_map(function (Label $label) {
|
||||||
return $label->jsonSerialize();
|
return $label->jsonSerialize();
|
||||||
}, $card['labels'] ?? []);
|
}, $card['labels']);
|
||||||
$card['assignedUsers'] = array_map(function (Assignment $assignment) {
|
$card['assignedUsers'] = array_map(function (Assignment $assignment) {
|
||||||
$result = $assignment->jsonSerialize();
|
$result = $assignment->jsonSerialize();
|
||||||
$result['participant'] = $result['participant']->jsonSerialize();
|
$result['participant'] = $result['participant']->jsonSerialize();
|
||||||
return $result;
|
return $result;
|
||||||
}, $card['assignedUsers'] ?? []);
|
}, $card['assignedUsers']);
|
||||||
$card['owner'] = $card['owner']?->jsonSerialize() ?? $card['owner'];
|
$card['owner'] = $card['owner']->jsonSerialize();
|
||||||
unset($card['relatedStack']);
|
unset($card['relatedStack']);
|
||||||
unset($card['relatedBoard']);
|
unset($card['relatedBoard']);
|
||||||
$card['attachments'] = array_map(function (Attachment $attachment) {
|
$card['attachments'] = array_map(function (Attachment $attachment) {
|
||||||
return $attachment->jsonSerialize();
|
return $attachment->jsonSerialize();
|
||||||
}, $card['attachments'] ?? []);
|
}, $card['attachments']);
|
||||||
|
|
||||||
return $card;
|
return $card;
|
||||||
}
|
}
|
||||||
@@ -197,12 +196,12 @@ class CardReferenceProvider extends ADiscoverableReferenceProvider implements IS
|
|||||||
$start = $this->urlGenerator->getAbsoluteURL('/apps/' . Application::APP_ID);
|
$start = $this->urlGenerator->getAbsoluteURL('/apps/' . Application::APP_ID);
|
||||||
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
$startIndex = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . Application::APP_ID);
|
||||||
|
|
||||||
preg_match('/^' . preg_quote($start, '/') . '(?:\/#!?)?\/board\/([0-9]+)\/card\/([0-9]+)$/', $url, $matches);
|
preg_match('/^' . preg_quote($start, '/') . '\/#\/board\/([0-9]+)\/card\/([0-9]+)$/', $url, $matches);
|
||||||
if ($matches && count($matches) > 2) {
|
if ($matches && count($matches) > 2) {
|
||||||
return [$matches[1], $matches[2]];
|
return [$matches[1], $matches[2]];
|
||||||
}
|
}
|
||||||
|
|
||||||
preg_match('/^' . preg_quote($startIndex, '/') . '(?:\/#!?)?\/board\/([0-9]+)\/card\/([0-9]+)$/', $url, $matches2);
|
preg_match('/^' . preg_quote($startIndex, '/') . '\/#\/board\/([0-9]+)\/card\/([0-9]+)$/', $url, $matches2);
|
||||||
if ($matches2 && count($matches2) > 2) {
|
if ($matches2 && count($matches2) > 2) {
|
||||||
return [$matches2[1], $matches2[2]];
|
return [$matches2[1], $matches2[2]];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ use OCP\IL10N;
|
|||||||
use OCP\IURLGenerator;
|
use OCP\IURLGenerator;
|
||||||
|
|
||||||
class CreateCardReferenceProvider extends ADiscoverableReferenceProvider {
|
class CreateCardReferenceProvider extends ADiscoverableReferenceProvider {
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private IL10N $l10n,
|
private IL10N $l10n,
|
||||||
private IURLGenerator $urlGenerator,
|
private IURLGenerator $urlGenerator,
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ use OCA\Deck\Event\CardCreatedEvent;
|
|||||||
use OCA\Deck\Event\CardDeletedEvent;
|
use OCA\Deck\Event\CardDeletedEvent;
|
||||||
use OCA\Deck\Event\CardUpdatedEvent;
|
use OCA\Deck\Event\CardUpdatedEvent;
|
||||||
use OCA\Deck\Model\CardDetails;
|
use OCA\Deck\Model\CardDetails;
|
||||||
use OCA\Deck\Model\OptionalNullableValue;
|
|
||||||
use OCA\Deck\NoPermissionException;
|
use OCA\Deck\NoPermissionException;
|
||||||
use OCA\Deck\Notification\NotificationHelper;
|
use OCA\Deck\Notification\NotificationHelper;
|
||||||
use OCA\Deck\StatusException;
|
use OCA\Deck\StatusException;
|
||||||
@@ -285,9 +284,6 @@ class CardService {
|
|||||||
* @param $description
|
* @param $description
|
||||||
* @param $order
|
* @param $order
|
||||||
* @param $duedate
|
* @param $duedate
|
||||||
* @param $deletedAt
|
|
||||||
* @param $archived
|
|
||||||
* @param $done
|
|
||||||
* @return \OCP\AppFramework\Db\Entity
|
* @return \OCP\AppFramework\Db\Entity
|
||||||
* @throws StatusException
|
* @throws StatusException
|
||||||
* @throws \OCA\Deck\NoPermissionException
|
* @throws \OCA\Deck\NoPermissionException
|
||||||
@@ -295,7 +291,7 @@ class CardService {
|
|||||||
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
|
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
|
||||||
* @throws BadRequestException
|
* @throws BadRequestException
|
||||||
*/
|
*/
|
||||||
public function update($id, $title, $stackId, $type, $owner, $description = '', $order = 0, $duedate = null, $deletedAt = null, $archived = null, ?OptionalNullableValue $done = null) {
|
public function update($id, $title, $stackId, $type, $owner, $description = '', $order = 0, $duedate = null, $deletedAt = null, $archived = null) {
|
||||||
$this->cardServiceValidator->check(compact('id', 'title', 'stackId', 'type', 'owner', 'order'));
|
$this->cardServiceValidator->check(compact('id', 'title', 'stackId', 'type', 'owner', 'order'));
|
||||||
|
|
||||||
$this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT, allowDeletedCard: true);
|
$this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT, allowDeletedCard: true);
|
||||||
@@ -353,11 +349,6 @@ class CardService {
|
|||||||
if ($archived !== null) {
|
if ($archived !== null) {
|
||||||
$card->setArchived($archived);
|
$card->setArchived($archived);
|
||||||
}
|
}
|
||||||
if ($done !== null) {
|
|
||||||
$card->setDone($done->getValue());
|
|
||||||
} else {
|
|
||||||
$card->setDone(null);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Trigger update events before setting description as it is handled separately
|
// Trigger update events before setting description as it is handled separately
|
||||||
@@ -528,57 +519,6 @@ class CardService {
|
|||||||
return $newCard;
|
return $newCard;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param $id
|
|
||||||
* @return \OCA\Deck\Db\Card
|
|
||||||
* @throws StatusException
|
|
||||||
* @throws \OCA\Deck\NoPermissionException
|
|
||||||
* @throws \OCP\AppFramework\Db\DoesNotExistException
|
|
||||||
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
|
|
||||||
* @throws BadRequestException
|
|
||||||
*/
|
|
||||||
public function done(int $id): Card {
|
|
||||||
$this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT);
|
|
||||||
if ($this->boardService->isArchived($this->cardMapper, $id)) {
|
|
||||||
throw new StatusException('Operation not allowed. This board is archived.');
|
|
||||||
}
|
|
||||||
$card = $this->cardMapper->find($id);
|
|
||||||
$card->setDone(new \DateTime());
|
|
||||||
$newCard = $this->cardMapper->update($card);
|
|
||||||
$this->notificationHelper->markDuedateAsRead($card);
|
|
||||||
$this->activityManager->triggerEvent(ActivityManager::DECK_OBJECT_CARD, $newCard, ActivityManager::SUBJECT_CARD_UPDATE_DONE);
|
|
||||||
$this->changeHelper->cardChanged($id, false);
|
|
||||||
|
|
||||||
$this->eventDispatcher->dispatchTyped(new CardUpdatedEvent($card));
|
|
||||||
|
|
||||||
return $newCard;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param $id
|
|
||||||
* @return \OCA\Deck\Db\Card
|
|
||||||
* @throws StatusException
|
|
||||||
* @throws \OCA\Deck\NoPermissionException
|
|
||||||
* @throws \OCP\AppFramework\Db\DoesNotExistException
|
|
||||||
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
|
|
||||||
* @throws BadRequestException
|
|
||||||
*/
|
|
||||||
public function undone(int $id): Card {
|
|
||||||
$this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT);
|
|
||||||
if ($this->boardService->isArchived($this->cardMapper, $id)) {
|
|
||||||
throw new StatusException('Operation not allowed. This board is archived.');
|
|
||||||
}
|
|
||||||
$card = $this->cardMapper->find($id);
|
|
||||||
$card->setDone(null);
|
|
||||||
$newCard = $this->cardMapper->update($card);
|
|
||||||
$this->activityManager->triggerEvent(ActivityManager::DECK_OBJECT_CARD, $newCard, ActivityManager::SUBJECT_CARD_UPDATE_UNDONE);
|
|
||||||
$this->changeHelper->cardChanged($id, false);
|
|
||||||
|
|
||||||
$this->eventDispatcher->dispatchTyped(new CardUpdatedEvent($card));
|
|
||||||
|
|
||||||
return $newCard;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $cardId
|
* @param $cardId
|
||||||
* @param $labelId
|
* @param $labelId
|
||||||
|
|||||||
@@ -190,7 +190,8 @@ class CommentService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function formatComment(IComment $comment, $addReplyTo = false): array {
|
private function formatComment(IComment $comment, $addReplyTo = false): array {
|
||||||
$actorDisplayName = $this->userManager->getDisplayName($comment->getActorId()) ?? $comment->getActorId();
|
$user = $this->userManager->get($comment->getActorId());
|
||||||
|
$actorDisplayName = $user !== null ? $user->getDisplayName() : $comment->getActorId();
|
||||||
|
|
||||||
$formattedComment = [
|
$formattedComment = [
|
||||||
'id' => (int)$comment->getId(),
|
'id' => (int)$comment->getId(),
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ class ConfigService {
|
|||||||
return $this->config->getUserValue($userId ?? $this->getUserId(), 'deck', 'attachment_folder', '/Deck');
|
return $this->config->getUserValue($userId ?? $this->getUserId(), 'deck', 'attachment_folder', '/Deck');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAttachmentFolder(?string $userId = null, string $path): void {
|
public function setAttachmentFolder(?string $userId, string $path): void {
|
||||||
if ($userId === null && $this->getUserId() === null) {
|
if ($userId === null && $this->getUserId() === null) {
|
||||||
throw new NoPermissionException('Must be logged in get the attachment folder');
|
throw new NoPermissionException('Must be logged in get the attachment folder');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -250,7 +250,6 @@ class BoardImportService {
|
|||||||
$this->getImportSystem()->updateAcl($code, $acl);
|
$this->getImportSystem()->updateAcl($code, $acl);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$this->addError('Failed to import acl rule for ' . $acl->getParticipant(), $e);
|
$this->addError('Failed to import acl rule for ' . $acl->getParticipant(), $e);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->getBoard()->setAcl($aclList);
|
$this->getBoard()->setAcl($aclList);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"token": {
|
"token": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^[0-9a-fA-FT]{64,76}$"
|
"pattern": "^[0-9a-fA-F]{64}$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -115,7 +115,8 @@ class SearchService {
|
|||||||
$card = Card::fromRow($cardRow);
|
$card = Card::fromRow($cardRow);
|
||||||
// TODO: Only perform one enrich call here
|
// TODO: Only perform one enrich call here
|
||||||
$self->cardService->enrichCards([$card]);
|
$self->cardService->enrichCards([$card]);
|
||||||
$displayName = $this->userManager->getDisplayName($comment->getActorId()) ?? '';
|
$user = $this->userManager->get($comment->getActorId());
|
||||||
|
$displayName = $user ? $user->getDisplayName() : '';
|
||||||
return new CommentSearchResultEntry($comment->getId(), $comment->getMessage(), $displayName, $card, $this->urlGenerator, $this->l10n);
|
return new CommentSearchResultEntry($comment->getId(), $comment->getMessage(), $displayName, $card, $this->urlGenerator, $this->l10n);
|
||||||
}, $matchedComments);
|
}, $matchedComments);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ use OC\Files\Filesystem;
|
|||||||
use OCA\Deck\Service\ConfigService;
|
use OCA\Deck\Service\ConfigService;
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
use OCP\EventDispatcher\IEventDispatcher;
|
||||||
use OCP\Server;
|
use OCP\Server;
|
||||||
use OCP\Share\Events\BeforeShareCreatedEvent;
|
|
||||||
use OCP\Share\Events\VerifyMountPointEvent;
|
use OCP\Share\Events\VerifyMountPointEvent;
|
||||||
use OCP\Share\IShare;
|
use OCP\Share\IShare;
|
||||||
|
use Symfony\Component\EventDispatcher\GenericEvent;
|
||||||
|
|
||||||
class Listener {
|
class Listener {
|
||||||
private ConfigService $configService;
|
private ConfigService $configService;
|
||||||
@@ -45,11 +45,11 @@ class Listener {
|
|||||||
/**
|
/**
|
||||||
* @psalm-suppress UndefinedClass
|
* @psalm-suppress UndefinedClass
|
||||||
*/
|
*/
|
||||||
$dispatcher->addListener(BeforeShareCreatedEvent::class, [self::class, 'listenPreShare'], 1000);
|
$dispatcher->addListener('OCP\Share::preShare', [self::class, 'listenPreShare'], 1000);
|
||||||
$dispatcher->addListener(VerifyMountPointEvent::class, [self::class, 'listenVerifyMountPointEvent'], 1000);
|
$dispatcher->addListener(VerifyMountPointEvent::class, [self::class, 'listenVerifyMountPointEvent'], 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function listenPreShare(BeforeShareCreatedEvent $event): void {
|
public static function listenPreShare(GenericEvent $event): void {
|
||||||
/** @var self $listener */
|
/** @var self $listener */
|
||||||
$listener = Server::get(self::class);
|
$listener = Server::get(self::class);
|
||||||
$listener->overwriteShareTarget($event);
|
$listener->overwriteShareTarget($event);
|
||||||
@@ -61,8 +61,9 @@ class Listener {
|
|||||||
$listener->overwriteMountPoint($event);
|
$listener->overwriteMountPoint($event);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function overwriteShareTarget(BeforeShareCreatedEvent $event): void {
|
public function overwriteShareTarget(GenericEvent $event): void {
|
||||||
$share = $event->getShare();
|
/** @var IShare $share */
|
||||||
|
$share = $event->getSubject();
|
||||||
|
|
||||||
if ($share->getShareType() !== IShare::TYPE_DECK
|
if ($share->getShareType() !== IShare::TYPE_DECK
|
||||||
&& $share->getShareType() !== DeckShareProvider::SHARE_TYPE_DECK_USER) {
|
&& $share->getShareType() !== DeckShareProvider::SHARE_TYPE_DECK_USER) {
|
||||||
|
|||||||
3594
package-lock.json
generated
3594
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
63
package.json
63
package.json
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "deck",
|
"name": "deck",
|
||||||
"description": "",
|
"description": "",
|
||||||
"version": "1.12.3",
|
"version": "1.11.5",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Julius Härtl",
|
"name": "Julius Härtl",
|
||||||
@@ -31,30 +31,29 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "^7.12.1",
|
"@babel/polyfill": "^7.12.1",
|
||||||
"@babel/runtime": "^7.23.2",
|
"@babel/runtime": "^7.21.5",
|
||||||
"@nextcloud/auth": "^2.2.1",
|
"@nextcloud/auth": "^2.0.0",
|
||||||
"@nextcloud/axios": "^2.4.0",
|
"@nextcloud/axios": "^2.3.0",
|
||||||
"@nextcloud/dialogs": "^4.2.2",
|
"@nextcloud/dialogs": "^4.0.1",
|
||||||
"@nextcloud/event-bus": "^3.1.0",
|
"@nextcloud/event-bus": "^3.0.2",
|
||||||
"@nextcloud/files": "^3.0.0",
|
"@nextcloud/files": "^2.1.0",
|
||||||
"@nextcloud/initial-state": "^2.1.0",
|
"@nextcloud/initial-state": "^2.0.0",
|
||||||
"@nextcloud/l10n": "^2.2.0",
|
"@nextcloud/l10n": "^2.1.0",
|
||||||
"@nextcloud/moment": "^1.2.2",
|
"@nextcloud/moment": "^1.2.1",
|
||||||
"@nextcloud/notify_push": "^1.1.3",
|
"@nextcloud/notify_push": "^1.1.3",
|
||||||
"@nextcloud/router": "^2.2.0",
|
"@nextcloud/router": "^2.1.1",
|
||||||
"@nextcloud/vue": "^7.12.6",
|
"@nextcloud/vue": "^7.11.4",
|
||||||
"blueimp-md5": "^2.19.0",
|
"blueimp-md5": "^2.19.0",
|
||||||
"chroma-js": "^2.4.2",
|
"dompurify": "^3.0.3",
|
||||||
"dompurify": "^3.0.6",
|
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"markdown-it": "^13.0.2",
|
"markdown-it": "^13.0.1",
|
||||||
"markdown-it-link-attributes": "^4.0.1",
|
"markdown-it-link-attributes": "^4.0.1",
|
||||||
"markdown-it-task-checkbox": "^1.0.6",
|
"markdown-it-task-checkbox": "^1.0.6",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"nextcloud-vue-collections": "^0.11.1",
|
"nextcloud-vue-collections": "^0.11.1",
|
||||||
"p-queue": "^7.4.1",
|
"p-queue": "^7.3.4",
|
||||||
"url-search-params-polyfill": "^8.2.5",
|
"url-search-params-polyfill": "^8.1.1",
|
||||||
"vue": "^2.7.15",
|
"vue": "^2.7.14",
|
||||||
"vue-at": "^2.5.1",
|
"vue-at": "^2.5.1",
|
||||||
"vue-click-outside": "^1.1.0",
|
"vue-click-outside": "^1.1.0",
|
||||||
"vue-easymde": "^2.0.0",
|
"vue-easymde": "^2.0.0",
|
||||||
@@ -69,26 +68,26 @@
|
|||||||
"extends @nextcloud/browserslist-config"
|
"extends @nextcloud/browserslist-config"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^20.0.0",
|
"node": "^16.0.0",
|
||||||
"npm": "^9.0.0"
|
"npm": "^7.0.0 || ^8.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nextcloud/babel-config": "^1.0.0",
|
"@nextcloud/babel-config": "^1.0.0",
|
||||||
"@nextcloud/browserslist-config": "^3.0.0",
|
"@nextcloud/browserslist-config": "^2.3.0",
|
||||||
"@nextcloud/cypress": "^1.0.0-beta.6",
|
"@nextcloud/cypress": "^1.0.0-beta.2",
|
||||||
"@nextcloud/eslint-config": "^8.3.0",
|
"@nextcloud/eslint-config": "^8.2.1",
|
||||||
"@nextcloud/stylelint-config": "^2.3.1",
|
"@nextcloud/stylelint-config": "^2.3.0",
|
||||||
"@nextcloud/webpack-vue-config": "^6.0.0",
|
"@nextcloud/webpack-vue-config": "^5.5.1",
|
||||||
"@relative-ci/agent": "^4.2.1",
|
"@relative-ci/agent": "^4.1.4",
|
||||||
"@vue/test-utils": "^1.3.6",
|
"@vue/test-utils": "^1.3.5",
|
||||||
"@vue/vue2-jest": "^29.2.6",
|
"@vue/vue2-jest": "^29.2.4",
|
||||||
"cypress": "^13.5.1",
|
"cypress": "^12.12.0",
|
||||||
"eslint-plugin-cypress": "^2.15.1",
|
"eslint-plugin-cypress": "^2.13.3",
|
||||||
"eslint-webpack-plugin": "^4.0.1",
|
"eslint-webpack-plugin": "^4.0.1",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.5.0",
|
||||||
"jest-serializer-vue": "^3.1.0",
|
"jest-serializer-vue": "^3.1.0",
|
||||||
"stylelint-webpack-plugin": "^4.1.1",
|
"stylelint-webpack-plugin": "^4.1.1",
|
||||||
"vue-template-compiler": "^2.7.15"
|
"vue-template-compiler": "^2.7.14"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"moduleFileExtensions": [
|
"moduleFileExtensions": [
|
||||||
|
|||||||
10
psalm.xml
10
psalm.xml
@@ -4,7 +4,7 @@
|
|||||||
resolveFromConfigFile="true"
|
resolveFromConfigFile="true"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns="https://getpsalm.org/schema/config"
|
xmlns="https://getpsalm.org/schema/config"
|
||||||
xsi:schemaLocation="https://getpsalm.org/schema/config"
|
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||||
errorBaseline="tests/psalm-baseline.xml"
|
errorBaseline="tests/psalm-baseline.xml"
|
||||||
>
|
>
|
||||||
<stubs>
|
<stubs>
|
||||||
@@ -18,6 +18,9 @@
|
|||||||
</projectFiles>
|
</projectFiles>
|
||||||
<extraFiles>
|
<extraFiles>
|
||||||
<directory name="vendor" />
|
<directory name="vendor" />
|
||||||
|
<ignoreFiles>
|
||||||
|
<directory name="vendor/phpunit/php-code-coverage" />
|
||||||
|
</ignoreFiles>
|
||||||
</extraFiles>
|
</extraFiles>
|
||||||
<issueHandlers>
|
<issueHandlers>
|
||||||
<UndefinedMagicMethod>
|
<UndefinedMagicMethod>
|
||||||
@@ -37,10 +40,6 @@
|
|||||||
<referencedClass name="OC\*" />
|
<referencedClass name="OC\*" />
|
||||||
<referencedClass name="OC" />
|
<referencedClass name="OC" />
|
||||||
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
||||||
<referencedClass name="Symfony\Component\Console\Command\Command" />
|
|
||||||
<referencedClass name="Symfony\Component\Console\Question\ChoiceQuestion" />
|
|
||||||
<referencedClass name="Symfony\Component\Console\Question\Question" />
|
|
||||||
<referencedClass name="Symfony\Component\EventDispatcher\GenericEvent" />
|
|
||||||
</errorLevel>
|
</errorLevel>
|
||||||
</UndefinedClass>
|
</UndefinedClass>
|
||||||
<UndefinedDocblockClass>
|
<UndefinedDocblockClass>
|
||||||
@@ -51,7 +50,6 @@
|
|||||||
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
||||||
<referencedClass name="Doctrine\DBAL\Schema\Table" />
|
<referencedClass name="Doctrine\DBAL\Schema\Table" />
|
||||||
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
||||||
<referencedClass name="Symfony\Component\Console\Command\Command" />
|
|
||||||
</errorLevel>
|
</errorLevel>
|
||||||
</UndefinedDocblockClass>
|
</UndefinedDocblockClass>
|
||||||
</issueHandlers>
|
</issueHandlers>
|
||||||
|
|||||||
10
src/App.vue
10
src/App.vue
@@ -40,32 +40,25 @@
|
|||||||
|
|
||||||
<router-view name="sidebar" :visible="!cardDetailsInModal || !$route.params.cardId" />
|
<router-view name="sidebar" :visible="!cardDetailsInModal || !$route.params.cardId" />
|
||||||
</div>
|
</div>
|
||||||
<KeyboardShortcuts />
|
|
||||||
<CardMoveDialog />
|
|
||||||
</NcContent>
|
</NcContent>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
import AppNavigation from './components/navigation/AppNavigation.vue'
|
import AppNavigation from './components/navigation/AppNavigation.vue'
|
||||||
import KeyboardShortcuts from './components/KeyboardShortcuts.vue'
|
|
||||||
import { NcModal, NcContent, NcAppContent } from '@nextcloud/vue'
|
import { NcModal, NcContent, NcAppContent } from '@nextcloud/vue'
|
||||||
import { BoardApi } from './services/BoardApi.js'
|
import { BoardApi } from './services/BoardApi.js'
|
||||||
import { emit, subscribe } from '@nextcloud/event-bus'
|
import { emit, subscribe } from '@nextcloud/event-bus'
|
||||||
import { loadState } from '@nextcloud/initial-state'
|
|
||||||
import CardMoveDialog from './CardMoveDialog.vue'
|
|
||||||
|
|
||||||
const boardApi = new BoardApi()
|
const boardApi = new BoardApi()
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: {
|
components: {
|
||||||
CardMoveDialog,
|
|
||||||
AppNavigation,
|
AppNavigation,
|
||||||
NcModal,
|
NcModal,
|
||||||
NcContent,
|
NcContent,
|
||||||
NcAppContent,
|
NcAppContent,
|
||||||
KeyboardShortcuts,
|
|
||||||
},
|
},
|
||||||
provide() {
|
provide() {
|
||||||
return {
|
return {
|
||||||
@@ -115,10 +108,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
const initialState = loadState('deck', 'initialBoards', null)
|
|
||||||
if (initialState !== null) {
|
|
||||||
this.$store.dispatch('loadBoards')
|
this.$store.dispatch('loadBoards')
|
||||||
}
|
|
||||||
this.$store.dispatch('loadSharees')
|
this.$store.dispatch('loadSharees')
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -1,107 +0,0 @@
|
|||||||
<template>
|
|
||||||
<NcModal v-if="modalShow" :title="t('deck', 'Move card to another board')" @close="modalShow=false">
|
|
||||||
<div class="modal__content">
|
|
||||||
<h3>{{ t('deck', 'Move card to another board') }}</h3>
|
|
||||||
<NcMultiselect v-model="selectedBoard"
|
|
||||||
:placeholder="t('deck', 'Select a board')"
|
|
||||||
:options="activeBoards"
|
|
||||||
:max-height="100"
|
|
||||||
label="title"
|
|
||||||
@select="loadStacksFromBoard" />
|
|
||||||
<NcMultiselect v-model="selectedStack"
|
|
||||||
:placeholder="t('deck', 'Select a list')"
|
|
||||||
:options="stacksFromBoard"
|
|
||||||
:max-height="100"
|
|
||||||
label="title">
|
|
||||||
<span slot="noOptions">
|
|
||||||
{{ t('deck', 'List is empty') }}
|
|
||||||
</span>
|
|
||||||
</NcMultiselect>
|
|
||||||
|
|
||||||
<button :disabled="!isBoardAndStackChoosen" class="primary" @click="moveCard">
|
|
||||||
{{ t('deck', 'Move card') }}
|
|
||||||
</button>
|
|
||||||
<button @click="modalShow=false">
|
|
||||||
{{ t('deck', 'Cancel') }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</NcModal>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import { NcModal, NcMultiselect } from '@nextcloud/vue'
|
|
||||||
import { generateUrl } from '@nextcloud/router'
|
|
||||||
import axios from '@nextcloud/axios'
|
|
||||||
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'CardMoveDialog',
|
|
||||||
components: { NcModal, NcMultiselect },
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
card: null,
|
|
||||||
modalShow: false,
|
|
||||||
selectedBoard: '',
|
|
||||||
selectedStack: '',
|
|
||||||
stacksFromBoard: [],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
activeBoards() {
|
|
||||||
return this.$store.getters.boards.filter((item) => item.deletedAt === 0 && item.archived === false)
|
|
||||||
},
|
|
||||||
isBoardAndStackChoosen() {
|
|
||||||
return !(this.selectedBoard === '' || this.selectedStack === '')
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
subscribe('deck:card:show-move-dialog', this.openModal)
|
|
||||||
},
|
|
||||||
destroyed() {
|
|
||||||
unsubscribe('deck:card:show-move-dialog', this.openModal)
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
openModal(card) {
|
|
||||||
this.card = card
|
|
||||||
this.modalShow = true
|
|
||||||
},
|
|
||||||
async loadStacksFromBoard(board) {
|
|
||||||
try {
|
|
||||||
const url = generateUrl('/apps/deck/stacks/' + board.id)
|
|
||||||
const response = await axios.get(url)
|
|
||||||
this.stacksFromBoard = response.data
|
|
||||||
} catch (err) {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
},
|
|
||||||
async moveCard() {
|
|
||||||
this.copiedCard = Object.assign({}, this.card)
|
|
||||||
this.copiedCard.stackId = this.selectedStack.id
|
|
||||||
this.$store.dispatch('moveCard', this.copiedCard)
|
|
||||||
if (parseInt(this.boardId) === parseInt(this.selectedStack.boardId)) {
|
|
||||||
await this.$store.commit('addNewCard', { ...this.copiedCard })
|
|
||||||
}
|
|
||||||
this.modalShow = false
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.modal__content {
|
|
||||||
width: 25vw;
|
|
||||||
min-width: 250px;
|
|
||||||
min-height: 120px;
|
|
||||||
text-align: center;
|
|
||||||
margin: 20px 20px 100px 20px;
|
|
||||||
|
|
||||||
.multiselect {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal__content button {
|
|
||||||
float: right;
|
|
||||||
margin-top: 50px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -22,25 +22,21 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<NcModal v-if="showAddCardModal" class="card-selector" @close="clickHideAddCardModel">
|
|
||||||
<CreateNewCardCustomPicker show-created-notice @cancel="clickHideAddCardModel" />
|
|
||||||
</NcModal>
|
|
||||||
<div v-if="overviewName" class="board-title">
|
<div v-if="overviewName" class="board-title">
|
||||||
<div class="board-bullet icon-calendar-dark" />
|
<div class="board-bullet icon-calendar-dark" />
|
||||||
<h2 dir="auto">
|
<h2>{{ overviewName }}</h2>
|
||||||
{{ overviewName }}
|
|
||||||
</h2>
|
|
||||||
<NcActions>
|
<NcActions>
|
||||||
<NcActionButton icon="icon-add" @click="clickShowAddCardModel">
|
<NcActionButton icon="icon-add" @click="clickShowAddCardModel">
|
||||||
{{ t('deck', 'Add card') }}
|
{{ t('deck', 'Add card') }}
|
||||||
</NcActionButton>
|
</NcActionButton>
|
||||||
</NcActions>
|
</NcActions>
|
||||||
|
<NcModal v-if="showAddCardModal" class="card-selector" @close="clickHideAddCardModel">
|
||||||
|
<CreateNewCardCustomPicker show-created-notice @cancel="clickHideAddCardModel" />
|
||||||
|
</NcModal>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="board" class="board-title">
|
<div v-else-if="board" class="board-title">
|
||||||
<div :style="{backgroundColor: '#' + board.color}" class="board-bullet" />
|
<div :style="{backgroundColor: '#' + board.color}" class="board-bullet" />
|
||||||
<h2 dir="auto">
|
<h2>{{ board.title }}</h2>
|
||||||
{{ board.title }}
|
|
||||||
</h2>
|
|
||||||
<p v-if="showArchived">
|
<p v-if="showArchived">
|
||||||
({{ t('deck', 'Archived cards') }})
|
({{ t('deck', 'Archived cards') }})
|
||||||
</p>
|
</p>
|
||||||
@@ -49,14 +45,9 @@
|
|||||||
<SessionList v-if="isNotifyPushEnabled && presentUsers.length"
|
<SessionList v-if="isNotifyPushEnabled && presentUsers.length"
|
||||||
:sessions="presentUsers" />
|
:sessions="presentUsers" />
|
||||||
<div v-if="searchQuery || true" class="deck-search">
|
<div v-if="searchQuery || true" class="deck-search">
|
||||||
<input id="deck-search-input"
|
<input type="search"
|
||||||
ref="search"
|
|
||||||
:tabindex="0"
|
|
||||||
type="search"
|
|
||||||
class="icon-search"
|
class="icon-search"
|
||||||
:value="searchQuery"
|
:value="searchQuery"
|
||||||
@focus="$store.dispatch('toggleShortcutLock', true)"
|
|
||||||
@blur="$store.dispatch('toggleShortcutLock', false)"
|
|
||||||
@input="$store.commit('setSearchQuery', $event.target.value)">
|
@input="$store.commit('setSearchQuery', $event.target.value)">
|
||||||
</div>
|
</div>
|
||||||
<div v-if="board && canManage && !showArchived && !board.archived"
|
<div v-if="board && canManage && !showArchived && !board.archived"
|
||||||
@@ -75,9 +66,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
class="no-close"
|
class="no-close"
|
||||||
:placeholder="t('deck', 'List name')"
|
:placeholder="t('deck', 'List name')"
|
||||||
required
|
required>
|
||||||
@focus="$store.dispatch('toggleShortcutLock', true)"
|
|
||||||
@blur="$store.dispatch('toggleShortcutLock', false)">
|
|
||||||
<input v-tooltip="t('deck', 'Add list')"
|
<input v-tooltip="t('deck', 'Add list')"
|
||||||
class="icon-confirm"
|
class="icon-confirm"
|
||||||
type="submit"
|
type="submit"
|
||||||
@@ -89,16 +78,13 @@
|
|||||||
<NcPopover container=".board-action-buttons__filter"
|
<NcPopover container=".board-action-buttons__filter"
|
||||||
:placement="'bottom-end'"
|
:placement="'bottom-end'"
|
||||||
:aria-label="t('deck', 'Active filters')"
|
:aria-label="t('deck', 'Active filters')"
|
||||||
:title="t('deck', 'Active filters')"
|
|
||||||
:tooltip="t('deck', 'Active filters')"
|
|
||||||
@show="filterVisible=true"
|
@show="filterVisible=true"
|
||||||
@hide="filterVisible=false">
|
@hide="filterVisible=false">
|
||||||
<!-- We cannot use NcActions here are the popover trigger does not update on reactive icons -->
|
<!-- We cannot use NcActions here are the popover trigger does not update on reactive icons -->
|
||||||
<NcButton slot="trigger"
|
<NcButton slot="trigger"
|
||||||
ref="filterPopover"
|
|
||||||
:title="t('deck', 'Apply filter')"
|
:title="t('deck', 'Apply filter')"
|
||||||
class="filter-button"
|
class="filter-button"
|
||||||
:type="isFilterActive ? 'primary' : 'tertiary'">
|
type="tertiary-no-background">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<FilterIcon v-if="isFilterActive" :size="20" decorative />
|
<FilterIcon v-if="isFilterActive" :size="20" decorative />
|
||||||
<FilterOffIcon v-else :size="20" decorative />
|
<FilterOffIcon v-else :size="20" decorative />
|
||||||
@@ -202,8 +188,7 @@
|
|||||||
</NcPopover>
|
</NcPopover>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<NcActions :aria-label="t('deck', 'View Modes')"
|
<NcActions>
|
||||||
:title="t('deck', 'Toggle View Modes')">
|
|
||||||
<NcActionButton @click="toggleShowArchived">
|
<NcActionButton @click="toggleShowArchived">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<ArchiveIcon :size="20" decorative />
|
<ArchiveIcon :size="20" decorative />
|
||||||
@@ -220,12 +205,6 @@
|
|||||||
<ArrowCollapseVerticalIcon slot="icon" :size="20" decorative />
|
<ArrowCollapseVerticalIcon slot="icon" :size="20" decorative />
|
||||||
{{ t('deck', 'Toggle compact mode') }}
|
{{ t('deck', 'Toggle compact mode') }}
|
||||||
</NcActionButton>
|
</NcActionButton>
|
||||||
<NcActionButton @click="toggleShowCardCover">
|
|
||||||
<template #icon>
|
|
||||||
<ImageIcon :size="20" decorative />
|
|
||||||
</template>
|
|
||||||
{{ showCardCover ? t('deck', 'Hide card cover images') : t('deck', 'Show card cover images') }}
|
|
||||||
</NcActionButton>
|
|
||||||
</NcActions>
|
</NcActions>
|
||||||
<!-- FIXME: NcActionRouter currently doesn't work as an inline action -->
|
<!-- FIXME: NcActionRouter currently doesn't work as an inline action -->
|
||||||
<NcActions>
|
<NcActions>
|
||||||
@@ -241,11 +220,9 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapGetters } from 'vuex'
|
import { mapState, mapGetters } from 'vuex'
|
||||||
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
|
|
||||||
import { NcActions, NcActionButton, NcAvatar, NcButton, NcPopover, NcModal } from '@nextcloud/vue'
|
import { NcActions, NcActionButton, NcAvatar, NcButton, NcPopover, NcModal } from '@nextcloud/vue'
|
||||||
import labelStyle from '../mixins/labelStyle.js'
|
import labelStyle from '../mixins/labelStyle.js'
|
||||||
import ArchiveIcon from 'vue-material-design-icons/Archive.vue'
|
import ArchiveIcon from 'vue-material-design-icons/Archive.vue'
|
||||||
import ImageIcon from 'vue-material-design-icons/ImageMultiple.vue'
|
|
||||||
import FilterIcon from 'vue-material-design-icons/Filter.vue'
|
import FilterIcon from 'vue-material-design-icons/Filter.vue'
|
||||||
import FilterOffIcon from 'vue-material-design-icons/FilterOff.vue'
|
import FilterOffIcon from 'vue-material-design-icons/FilterOff.vue'
|
||||||
import ArrowCollapseVerticalIcon from 'vue-material-design-icons/ArrowCollapseVertical.vue'
|
import ArrowCollapseVerticalIcon from 'vue-material-design-icons/ArrowCollapseVertical.vue'
|
||||||
@@ -253,7 +230,6 @@ import ArrowExpandVerticalIcon from 'vue-material-design-icons/ArrowExpandVertic
|
|||||||
import SessionList from './SessionList.vue'
|
import SessionList from './SessionList.vue'
|
||||||
import { isNotifyPushEnabled } from '../sessions.js'
|
import { isNotifyPushEnabled } from '../sessions.js'
|
||||||
import CreateNewCardCustomPicker from '../views/CreateNewCardCustomPicker.vue'
|
import CreateNewCardCustomPicker from '../views/CreateNewCardCustomPicker.vue'
|
||||||
import { getCurrentUser } from '@nextcloud/auth'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Controls',
|
name: 'Controls',
|
||||||
@@ -266,7 +242,6 @@ export default {
|
|||||||
NcPopover,
|
NcPopover,
|
||||||
NcAvatar,
|
NcAvatar,
|
||||||
ArchiveIcon,
|
ArchiveIcon,
|
||||||
ImageIcon,
|
|
||||||
FilterIcon,
|
FilterIcon,
|
||||||
FilterOffIcon,
|
FilterOffIcon,
|
||||||
ArrowCollapseVerticalIcon,
|
ArrowCollapseVerticalIcon,
|
||||||
@@ -307,7 +282,6 @@ export default {
|
|||||||
]),
|
]),
|
||||||
...mapState({
|
...mapState({
|
||||||
compactMode: state => state.compactMode,
|
compactMode: state => state.compactMode,
|
||||||
showCardCover: state => state.showCardCover,
|
|
||||||
searchQuery: state => state.searchQuery,
|
searchQuery: state => state.searchQuery,
|
||||||
}),
|
}),
|
||||||
detailsRoute() {
|
detailsRoute() {
|
||||||
@@ -337,18 +311,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
beforeMount() {
|
|
||||||
subscribe('deck:board:show-new-card', this.clickShowAddCardModel)
|
|
||||||
subscribe('deck:board:toggle-filter-popover', this.triggerOpenFilters)
|
|
||||||
subscribe('deck:board:clear-filter', this.triggerClearFilter)
|
|
||||||
subscribe('deck:board:toggle-filter-by-me', this.triggerFilterByMe)
|
|
||||||
|
|
||||||
},
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
unsubscribe('deck:board:show-new-card', this.clickShowAddCardModel)
|
|
||||||
unsubscribe('deck:board:toggle-filter-popover', this.triggerOpenFilters)
|
|
||||||
unsubscribe('deck:board:clear-filter', this.triggerClearFilter)
|
|
||||||
unsubscribe('deck:board:toggle-filter-by-me', this.triggerFilterByMe)
|
|
||||||
this.setPageTitle('')
|
this.setPageTitle('')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -373,9 +336,6 @@ export default {
|
|||||||
toggleCompactMode() {
|
toggleCompactMode() {
|
||||||
this.$store.dispatch('toggleCompactMode')
|
this.$store.dispatch('toggleCompactMode')
|
||||||
},
|
},
|
||||||
toggleShowCardCover() {
|
|
||||||
this.$store.dispatch('toggleShowCardCover')
|
|
||||||
},
|
|
||||||
toggleShowArchived() {
|
toggleShowArchived() {
|
||||||
this.$store.dispatch('toggleShowArchived')
|
this.$store.dispatch('toggleShowArchived')
|
||||||
this.showArchived = !this.showArchived
|
this.showArchived = !this.showArchived
|
||||||
@@ -427,23 +387,6 @@ export default {
|
|||||||
}
|
}
|
||||||
window.document.title = newTitle
|
window.document.title = newTitle
|
||||||
},
|
},
|
||||||
triggerOpenFilters() {
|
|
||||||
this.$refs.filterPopover.$el.click()
|
|
||||||
},
|
|
||||||
triggerOpenSearch() {
|
|
||||||
this.$refs.search.focus()
|
|
||||||
},
|
|
||||||
triggerClearFilter() {
|
|
||||||
this.clearFilter()
|
|
||||||
},
|
|
||||||
triggerFilterByMe() {
|
|
||||||
if (this.isFilterActive) {
|
|
||||||
this.clearFilter()
|
|
||||||
} else {
|
|
||||||
this.filter.users = [getCurrentUser().uid]
|
|
||||||
this.setFilter()
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -547,11 +490,8 @@ export default {
|
|||||||
width: 44px;
|
width: 44px;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
|
|
||||||
&[data-popper-shown] {
|
&:hover, &:focus {
|
||||||
background-color: var(--color-background-hover);
|
background-color: rgba(127,127,127,0.25) !important;
|
||||||
&.button-vue--vue-primary {
|
|
||||||
background-color: var(--color-primary-element);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,279 +0,0 @@
|
|||||||
<template>
|
|
||||||
<!-- :style="{top:cardTop, left:cardLeft}" -->
|
|
||||||
<div v-if="card && selector"
|
|
||||||
ref="shortcutModal"
|
|
||||||
v-click-outside="close"
|
|
||||||
class="keyboard-shortcuts__modal"
|
|
||||||
tabindex="0"
|
|
||||||
@keydown.esc="close">
|
|
||||||
<CardItem :card="card" />
|
|
||||||
<DueDateSelector v-if="selector === 'due-date'" :card="card" :can-edit="true" />
|
|
||||||
<TagSelector v-if="selector === 'tag'" :card="card" :can-edit="true" />
|
|
||||||
<AssignmentSelector v-if="selector === 'assignment'" :card="card" :can-edit="true" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<script>
|
|
||||||
import DueDateSelector from './card/DueDateSelector.vue'
|
|
||||||
import { emit, subscribe, unsubscribe } from '@nextcloud/event-bus'
|
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import TagSelector from './card/TagSelector.vue'
|
|
||||||
import AssignmentSelector from './card/AssignmentSelector.vue'
|
|
||||||
import CardItem from './cards/CardItem.vue'
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'KeyboardShortcuts',
|
|
||||||
components: {
|
|
||||||
DueDateSelector,
|
|
||||||
TagSelector,
|
|
||||||
AssignmentSelector,
|
|
||||||
CardItem,
|
|
||||||
},
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
card: null,
|
|
||||||
cardTop: null,
|
|
||||||
cardLeft: null,
|
|
||||||
selector: null,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
...mapState({
|
|
||||||
board: state => state.currentBoard,
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
created() {
|
|
||||||
document.addEventListener('keydown', this.onKeydown)
|
|
||||||
subscribe('deck:card:show-assignment-selector', this.handleShowAssignemnt)
|
|
||||||
subscribe('deck:card:show-due-date-selector', this.handleShowDueDate)
|
|
||||||
subscribe('deck:card:show-label-selector', this.handleShowLabel)
|
|
||||||
},
|
|
||||||
destroyed() {
|
|
||||||
document.removeEventListener('keydown', this.onKeydown)
|
|
||||||
unsubscribe('deck:card:show-assignment-selector', this.handleShowAssignemnt)
|
|
||||||
unsubscribe('deck:card:show-due-date-selector', this.handleShowDueDate)
|
|
||||||
unsubscribe('deck:card:show-label-selector', this.handleShowLabel)
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
onKeydown(key) {
|
|
||||||
if (OCP.Accessibility.disableKeyboardShortcuts()) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (['INPUT', 'TEXTAREA', 'SELECT', 'BUTTON'].includes(key.target.tagName) || key.target.isContentEditable) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Global shortcuts (not board specific)
|
|
||||||
if ((key.metaKey || key.ctrlKey) && key.code === 'KeyF') {
|
|
||||||
const searchInput = document.getElementById('deck-search-input')
|
|
||||||
if (searchInput === document.activeElement) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
document.getElementById('deck-search-input').focus()
|
|
||||||
key.preventDefault()
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
if (key.code === 'Minus') {
|
|
||||||
emit('deck:global:toggle-help-dialog')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.$store.state.shortcutLock || key.shiftKey || key.ctrlKey || key.altKey || key.metaKey) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.$route.name === 'card' && key.code === 'Escape') {
|
|
||||||
this.$router.push({ name: 'board' })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Board specific shortcuts
|
|
||||||
if (!this.board) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (key.code) {
|
|
||||||
case 'KeyN':
|
|
||||||
emit('deck:board:show-new-card', this.board.id)
|
|
||||||
break
|
|
||||||
case 'KeyF':
|
|
||||||
emit('deck:board:toggle-filter-popover', this.board.id)
|
|
||||||
break
|
|
||||||
case 'KeyX':
|
|
||||||
emit('deck:board:clear-filter', this.board.id)
|
|
||||||
break
|
|
||||||
case 'KeyQ':
|
|
||||||
emit('deck:board:toggle-filter-by-me', this.board.id)
|
|
||||||
break
|
|
||||||
case 'ArrowDown':
|
|
||||||
this.keyboardFocusDown()
|
|
||||||
break
|
|
||||||
case 'ArrowUp':
|
|
||||||
this.keyboardFocusUp()
|
|
||||||
break
|
|
||||||
case 'ArrowLeft':
|
|
||||||
this.keyboardFocusLeft()
|
|
||||||
break
|
|
||||||
case 'ArrowRight':
|
|
||||||
this.keyboardFocusRight()
|
|
||||||
break
|
|
||||||
default:
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
key.preventDefault()
|
|
||||||
},
|
|
||||||
keyboardFocusDown() {
|
|
||||||
const activeCard = document.activeElement.closest('.card')
|
|
||||||
const cards = document.querySelectorAll('.card')
|
|
||||||
const stacks = document.querySelectorAll('.stack')
|
|
||||||
const index = Array.from(cards).findIndex(card => card === activeCard)
|
|
||||||
if (index === -1) {
|
|
||||||
cards[0]?.focus()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
const currentStack = Array.from(stacks).find(stack => stack.contains(document.activeElement))
|
|
||||||
const currentStackCards = currentStack.querySelectorAll('.card')
|
|
||||||
const currentStackIndex = Array.from(currentStackCards).findIndex(card => card === document.activeElement)
|
|
||||||
|
|
||||||
if (currentStackIndex === currentStackCards.length - 1) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
cards[index + 1]?.focus()
|
|
||||||
cards[index + 1]?.scrollIntoView({ behavior: 'smooth', block: 'nearest' })
|
|
||||||
},
|
|
||||||
|
|
||||||
keyboardFocusUp() {
|
|
||||||
const activeCard = document.activeElement.closest('.card')
|
|
||||||
const cards = document.querySelectorAll('.card')
|
|
||||||
const stacks = document.querySelectorAll('.stack')
|
|
||||||
const index = Array.from(cards).findIndex(card => card === activeCard)
|
|
||||||
if (index === -1) {
|
|
||||||
cards[0]?.focus()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
const currentStack = Array.from(stacks).find(stack => stack.contains(document.activeElement))
|
|
||||||
const currentStackCards = currentStack.querySelectorAll('.card')
|
|
||||||
const currentStackIndex = Array.from(currentStackCards).findIndex(card => card === document.activeElement)
|
|
||||||
|
|
||||||
if (currentStackIndex === 0) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
cards[index - 1]?.focus()
|
|
||||||
cards[index - 1]?.scrollIntoView({ behavior: 'smooth', block: 'nearest' })
|
|
||||||
},
|
|
||||||
keyboardFocusLeft() {
|
|
||||||
const activeCard = document.activeElement.closest('.card')
|
|
||||||
const stacks = document.querySelectorAll('.stack')
|
|
||||||
const currentStackIndex = Array.from(stacks).findIndex(stack => stack.contains(activeCard))
|
|
||||||
|
|
||||||
if (!currentStackIndex === 0) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
const nextStack = stacks[currentStackIndex - 1] ?? stacks[0]
|
|
||||||
|
|
||||||
const currentCardTopOffset = document.activeElement.getBoundingClientRect().top
|
|
||||||
|
|
||||||
// iterate over all next stack cards and remember the one with the smallest offset
|
|
||||||
const nextStackCards = nextStack.querySelectorAll('.card')
|
|
||||||
let nextCard = null
|
|
||||||
for (const card of nextStackCards) {
|
|
||||||
const cardTopOffset = card.getBoundingClientRect().bottom
|
|
||||||
if (cardTopOffset < currentCardTopOffset) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
nextCard = card
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!nextCard) {
|
|
||||||
nextCard = nextStackCards[nextStackCards.length - 1]
|
|
||||||
}
|
|
||||||
|
|
||||||
nextCard?.focus()
|
|
||||||
nextCard?.scrollIntoView({ behavior: 'smooth', block: 'nearest' })
|
|
||||||
},
|
|
||||||
keyboardFocusRight() {
|
|
||||||
const activeCard = document.activeElement.closest('.card')
|
|
||||||
const stacks = document.querySelectorAll('.stack')
|
|
||||||
const currentStackIndex = Array.from(stacks).findIndex(stack => stack.contains(activeCard))
|
|
||||||
|
|
||||||
if (currentStackIndex === stacks.length - 1) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
const nextStack = stacks[currentStackIndex + 1]
|
|
||||||
|
|
||||||
const currentCardTopOffset = document.activeElement.getBoundingClientRect().top
|
|
||||||
|
|
||||||
// iterate over all next stack cards and remember the one with the smallest offset
|
|
||||||
const nextStackCards = nextStack.querySelectorAll('.card')
|
|
||||||
let nextCard = null
|
|
||||||
for (const card of nextStackCards) {
|
|
||||||
const cardTopOffset = card.getBoundingClientRect().bottom
|
|
||||||
if (cardTopOffset < currentCardTopOffset) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
nextCard = card
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!nextCard) {
|
|
||||||
nextCard = nextStackCards[nextStackCards.length - 1]
|
|
||||||
}
|
|
||||||
|
|
||||||
nextCard?.focus()
|
|
||||||
nextCard?.scrollIntoView({ behavior: 'smooth', block: 'nearest' })
|
|
||||||
},
|
|
||||||
handleShowDueDate({ card, element }) {
|
|
||||||
// this.cardTop = element.getBoundingClientRect().top + 'px'
|
|
||||||
// this.cardLeft = element.getBoundingClientRect().left + 'px'
|
|
||||||
this.card = card
|
|
||||||
this.selector = 'due-date'
|
|
||||||
this.$refs.shortcutModal?.focus()
|
|
||||||
},
|
|
||||||
handleShowAssignemnt({ card, element }) {
|
|
||||||
// this.cardTop = element.getBoundingClientRect().top + 'px'
|
|
||||||
// this.cardLeft = element.getBoundingClientRect().left + 'px'
|
|
||||||
this.card = card
|
|
||||||
this.selector = 'assignment'
|
|
||||||
this.$refs.shortcutModal?.focus()
|
|
||||||
},
|
|
||||||
handleShowLabel({ card, element }) {
|
|
||||||
// this.cardTop = element.getBoundingClientRect().top + 'px'
|
|
||||||
// this.cardLeft = element.getBoundingClientRect().left + 'px'
|
|
||||||
this.card = card
|
|
||||||
this.selector = 'tag'
|
|
||||||
this.$refs.shortcutModal?.focus()
|
|
||||||
},
|
|
||||||
close() {
|
|
||||||
this.card = null
|
|
||||||
this.selector = null
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.keyboard-shortcuts__modal {
|
|
||||||
position: fixed;
|
|
||||||
z-index: 9999;
|
|
||||||
box-shadow: 0 0 100px 30px rgba(0, 0, 0, 0.5);
|
|
||||||
max-width: 500px;
|
|
||||||
bottom: 32px;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
background-color: var(--color-background-dark);
|
|
||||||
border-radius: var(--border-radius-rounded);
|
|
||||||
padding: 24px 32px;
|
|
||||||
width: 100%;
|
|
||||||
border: 2px solid var(--color-border-maxcontrast);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="board-wrapper" :tabindex="-1">
|
<div class="board-wrapper">
|
||||||
<Controls :board="board" />
|
<Controls :board="board" />
|
||||||
|
|
||||||
<transition name="fade" mode="out-in">
|
<transition name="fade" mode="out-in">
|
||||||
@@ -59,11 +59,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
</NcEmptyContent>
|
</NcEmptyContent>
|
||||||
<div v-else-if="!isEmpty && !loading"
|
<div v-else-if="!isEmpty && !loading" key="board" class="board">
|
||||||
key="board"
|
|
||||||
ref="board"
|
|
||||||
class="board"
|
|
||||||
@mousedown="onMouseDown">
|
|
||||||
<Container lock-axix="y"
|
<Container lock-axix="y"
|
||||||
orientation="horizontal"
|
orientation="horizontal"
|
||||||
:drag-handle-selector="dragHandleSelector"
|
:drag-handle-selector="dragHandleSelector"
|
||||||
@@ -74,7 +70,6 @@
|
|||||||
<Draggable v-for="stack in stacksByBoard"
|
<Draggable v-for="stack in stacksByBoard"
|
||||||
:key="stack.id"
|
:key="stack.id"
|
||||||
data-click-closes-sidebar="true"
|
data-click-closes-sidebar="true"
|
||||||
data-dragscroll-enabled
|
|
||||||
class="stack-draggable-wrapper">
|
class="stack-draggable-wrapper">
|
||||||
<Stack :stack="stack" :dragging="draggingStack" data-click-closes-sidebar="true" />
|
<Stack :stack="stack" :dragging="draggingStack" data-click-closes-sidebar="true" />
|
||||||
</Draggable>
|
</Draggable>
|
||||||
@@ -86,6 +81,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import { Container, Draggable } from 'vue-smooth-dnd'
|
import { Container, Draggable } from 'vue-smooth-dnd'
|
||||||
import { mapState, mapGetters } from 'vuex'
|
import { mapState, mapGetters } from 'vuex'
|
||||||
import Controls from '../Controls.vue'
|
import Controls from '../Controls.vue'
|
||||||
@@ -121,8 +117,6 @@ export default {
|
|||||||
draggingStack: false,
|
draggingStack: false,
|
||||||
loading: true,
|
loading: true,
|
||||||
newStackTitle: '',
|
newStackTitle: '',
|
||||||
currentScrollPosX: null,
|
|
||||||
currentMousePosX: null,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -189,40 +183,12 @@ export default {
|
|||||||
this.$store.dispatch('createStack', newStack)
|
this.$store.dispatch('createStack', newStack)
|
||||||
this.newStackTitle = ''
|
this.newStackTitle = ''
|
||||||
},
|
},
|
||||||
|
|
||||||
onMouseDown(event) {
|
|
||||||
this.startMouseDrag(event)
|
|
||||||
},
|
|
||||||
|
|
||||||
startMouseDrag(event) {
|
|
||||||
if (!('dragscrollEnabled' in event.target.dataset)) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
event.preventDefault()
|
|
||||||
this.currentMousePosX = event.clientX
|
|
||||||
this.currentScrollPosX = this.$refs.board.scrollLeft
|
|
||||||
window.addEventListener('mousemove', this.handleMouseDrag)
|
|
||||||
window.addEventListener('mouseup', this.stopMouseDrag)
|
|
||||||
window.addEventListener('mouseleave', this.stopMouseDrag)
|
|
||||||
},
|
|
||||||
|
|
||||||
handleMouseDrag(event) {
|
|
||||||
event.preventDefault()
|
|
||||||
const deltaX = event.clientX - this.currentMousePosX
|
|
||||||
this.$refs.board.scrollLeft = this.currentScrollPosX - deltaX
|
|
||||||
},
|
|
||||||
|
|
||||||
stopMouseDrag(event) {
|
|
||||||
window.removeEventListener('mousemove', this.handleMouseDrag)
|
|
||||||
window.removeEventListener('mouseup', this.stopMouseDrag)
|
|
||||||
window.removeEventListener('mouseleave', this.stopMouseDrag)
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
@import '../../css/animations';
|
@import '../../css/animations';
|
||||||
@import '../../css/variables';
|
@import '../../css/variables';
|
||||||
|
|
||||||
@@ -282,9 +248,9 @@ export default {
|
|||||||
padding: $stack-spacing;
|
padding: $stack-spacing;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
scrollbar-gutter: stable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.smooth-dnd-container.vertical > .smooth-dnd-draggable-wrapper {
|
.smooth-dnd-container.vertical > .smooth-dnd-draggable-wrapper {
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
<NcAppSidebarTab v-if="hasActivity"
|
<NcAppSidebarTab v-if="hasActivity"
|
||||||
id="activity"
|
id="activity"
|
||||||
:order="3"
|
:order="3"
|
||||||
:name="t('deck', 'Activity')">
|
:name="t('deck', 'Timeline')">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<ActivityIcon :size="20" />
|
<ActivityIcon :size="20" />
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li v-for="deletedStack in deletedStacks" :key="deletedStack.id">
|
<li v-for="deletedStack in deletedStacks" :key="deletedStack.id">
|
||||||
<span class="icon icon-deck" />
|
<span class="icon icon-deck" />
|
||||||
<div class="title" dir="auto">
|
<div class="title">
|
||||||
<span>{{ deletedStack.title }}</span>
|
<span>{{ deletedStack.title }}</span>
|
||||||
<span class="timestamp">{{ relativeDate(deletedStack.deletedAt*1000) }}</span>
|
<span class="timestamp">{{ relativeDate(deletedStack.deletedAt*1000) }}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li v-for="deletedCard in deletedCards" :key="deletedCard.id">
|
<li v-for="deletedCard in deletedCards" :key="deletedCard.id">
|
||||||
<div class="icon icon-deck" />
|
<div class="icon icon-deck" />
|
||||||
<div class="title" dir="auto">
|
<div class="title">
|
||||||
<span>{{ deletedCard.title }}</span>
|
<span>{{ deletedCard.title }}</span>
|
||||||
<span class="timestamp">{{ relativeDate(deletedCard.deletedAt*1000) }}</span>
|
<span class="timestamp">{{ relativeDate(deletedCard.deletedAt*1000) }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -26,14 +26,14 @@
|
|||||||
<div v-click-outside="stopCardCreation"
|
<div v-click-outside="stopCardCreation"
|
||||||
class="stack__header"
|
class="stack__header"
|
||||||
:class="{'stack__header--add': showAddCard}"
|
:class="{'stack__header--add': showAddCard}"
|
||||||
|
tabindex="0"
|
||||||
:aria-label="stack.title">
|
:aria-label="stack.title">
|
||||||
<transition name="fade" mode="out-in">
|
<transition name="fade" mode="out-in">
|
||||||
<h3 v-if="!canManage || isArchived" tabindex="0">
|
<h3 v-if="!canManage || isArchived">
|
||||||
{{ stack.title }}
|
{{ stack.title }}
|
||||||
</h3>
|
</h3>
|
||||||
<h3 v-else-if="!editing"
|
<h3 v-else-if="!editing"
|
||||||
v-tooltip="stack.title"
|
v-tooltip="stack.title"
|
||||||
dir="auto"
|
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
:aria-label="stack.title"
|
:aria-label="stack.title"
|
||||||
class="stack__title"
|
class="stack__title"
|
||||||
@@ -48,7 +48,6 @@
|
|||||||
@keyup.esc="cancelEdit">
|
@keyup.esc="cancelEdit">
|
||||||
<input v-model="copiedStack.title"
|
<input v-model="copiedStack.title"
|
||||||
v-focus
|
v-focus
|
||||||
dir="auto"
|
|
||||||
type="text"
|
type="text"
|
||||||
required="required">
|
required="required">
|
||||||
<input v-tooltip="t('deck', 'Edit list title')"
|
<input v-tooltip="t('deck', 'Edit list title')"
|
||||||
@@ -132,7 +131,6 @@
|
|||||||
data-click-closes-sidebar="true"
|
data-click-closes-sidebar="true"
|
||||||
non-drag-area-selector=".dragDisabled"
|
non-drag-area-selector=".dragDisabled"
|
||||||
:drag-handle-selector="dragHandleSelector"
|
:drag-handle-selector="dragHandleSelector"
|
||||||
data-dragscroll-enabled
|
|
||||||
@should-accept-drop="canEdit"
|
@should-accept-drop="canEdit"
|
||||||
@drag-start="draggingCard = true"
|
@drag-start="draggingCard = true"
|
||||||
@drag-end="draggingCard = false"
|
@drag-end="draggingCard = false"
|
||||||
@@ -330,6 +328,8 @@ export default {
|
|||||||
|
|
||||||
.stack {
|
.stack {
|
||||||
width: $stack-width + $stack-spacing * 3;
|
width: $stack-width + $stack-spacing * 3;
|
||||||
|
margin-left: math.div($stack-spacing, 2);
|
||||||
|
margin-right: math.div($stack-spacing, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.stack__header {
|
.stack__header {
|
||||||
@@ -338,7 +338,6 @@ export default {
|
|||||||
top: 0;
|
top: 0;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding-left: $card-spacing;
|
padding-left: $card-spacing;
|
||||||
padding-right: $card-spacing;
|
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
min-height: 44px;
|
min-height: 44px;
|
||||||
|
|
||||||
@@ -347,10 +346,10 @@ export default {
|
|||||||
content: ' ';
|
content: ' ';
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: calc(100% - 16px);
|
width: 100%;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
left: 0px;
|
right: 10px;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
transition: top var(--animation-slow);
|
transition: top var(--animation-slow);
|
||||||
|
|
||||||
@@ -410,7 +409,7 @@ export default {
|
|||||||
z-index: 100;
|
z-index: 100;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 20px;
|
||||||
background-color: var(--color-main-background);
|
background-color: var(--color-main-background);
|
||||||
|
|
||||||
form {
|
form {
|
||||||
@@ -418,7 +417,7 @@ export default {
|
|||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 2px solid var(--color-border);
|
box-shadow: 0 0 3px var(--color-box-shadow);
|
||||||
border-radius: var(--border-radius-large);
|
border-radius: var(--border-radius-large);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|||||||
@@ -5,10 +5,7 @@
|
|||||||
<!-- Edit Tag -->
|
<!-- Edit Tag -->
|
||||||
<template v-if="editingLabelId === label.id">
|
<template v-if="editingLabelId === label.id">
|
||||||
<form class="label-form" @submit.prevent="updateLabel(label)">
|
<form class="label-form" @submit.prevent="updateLabel(label)">
|
||||||
<NcColorPicker class="color-picker-wrapper"
|
<NcColorPicker class="color-picker-wrapper" :value="'#' + editingLabel.color" @input="updateColor">
|
||||||
:value="'#' + editingLabel.color"
|
|
||||||
:advanced-fields="true"
|
|
||||||
@input="updateColor">
|
|
||||||
<div :style="{ backgroundColor: '#' + editingLabel.color }" class="color0 icon-colorpicker" />
|
<div :style="{ backgroundColor: '#' + editingLabel.color }" class="color0 icon-colorpicker" />
|
||||||
</NcColorPicker>
|
</NcColorPicker>
|
||||||
<input v-model="editingLabel.title" type="text">
|
<input v-model="editingLabel.title" type="text">
|
||||||
@@ -51,10 +48,7 @@
|
|||||||
<li v-if="addLabel" class="editing">
|
<li v-if="addLabel" class="editing">
|
||||||
<!-- New Tag -->
|
<!-- New Tag -->
|
||||||
<form class="label-form" @submit.prevent="clickAddLabel">
|
<form class="label-form" @submit.prevent="clickAddLabel">
|
||||||
<NcColorPicker class="color-picker-wrapper"
|
<NcColorPicker class="color-picker-wrapper" :value="'#' + addLabelObj.color" @input="updateColor">
|
||||||
:value="'#' + addLabelObj.color"
|
|
||||||
:advanced-fields="true"
|
|
||||||
@input="updateColor">
|
|
||||||
<div :style="{ backgroundColor: '#' + addLabelObj.color }" class="color0 icon-colorpicker" />
|
<div :style="{ backgroundColor: '#' + addLabelObj.color }" class="color0 icon-colorpicker" />
|
||||||
</NcColorPicker>
|
</NcColorPicker>
|
||||||
<input v-model="addLabelObj.title" type="text">
|
<input v-model="addLabelObj.title" type="text">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="selector-wrapper" :aria-label="t('deck', 'Assign to users/groups/circles')" data-test="assignment-selector">
|
<div class="selector-wrapper" :aria-label="t('deck', 'Assign to users/groups/circles')">
|
||||||
<div class="selector-wrapper--icon">
|
<div class="selector-wrapper--icon">
|
||||||
<AccountMultiple :size="20" />
|
<AccountMultiple :size="20" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -23,12 +23,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<AttachmentDragAndDrop :card-id="cardId" class="drop-upload--sidebar">
|
<AttachmentDragAndDrop :card-id="cardId" class="drop-upload--sidebar">
|
||||||
<div v-if="!isReadOnly" class="button-group">
|
<div v-if="!isReadOnly" class="button-group">
|
||||||
<NcButton class="icon-upload" @click="uploadNewFile()">
|
<button class="icon-upload" @click="uploadNewFile()">
|
||||||
{{ t('deck', 'Upload new files') }}
|
{{ t('deck', 'Upload new files') }}
|
||||||
</NcButton>
|
</button>
|
||||||
<NcButton class="icon-folder" @click="shareFromFiles()">
|
<button class="icon-folder" @click="shareFromFiles()">
|
||||||
{{ t('deck', 'Share from Files') }}
|
{{ t('deck', 'Share from Files') }}
|
||||||
</NcButton>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<input ref="filesAttachment"
|
<input ref="filesAttachment"
|
||||||
type="file"
|
type="file"
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import axios from '@nextcloud/axios'
|
import axios from '@nextcloud/axios'
|
||||||
import { NcActions, NcActionButton, NcActionLink, NcButton } from '@nextcloud/vue'
|
import { NcActions, NcActionButton, NcActionLink } from '@nextcloud/vue'
|
||||||
import AttachmentDragAndDrop from '../AttachmentDragAndDrop.vue'
|
import AttachmentDragAndDrop from '../AttachmentDragAndDrop.vue'
|
||||||
import relativeDate from '../../mixins/relativeDate.js'
|
import relativeDate from '../../mixins/relativeDate.js'
|
||||||
import { formatFileSize } from '@nextcloud/files'
|
import { formatFileSize } from '@nextcloud/files'
|
||||||
@@ -128,7 +128,6 @@ export default {
|
|||||||
NcActions,
|
NcActions,
|
||||||
NcActionButton,
|
NcActionButton,
|
||||||
NcActionLink,
|
NcActionLink,
|
||||||
NcButton,
|
|
||||||
AttachmentDragAndDrop,
|
AttachmentDragAndDrop,
|
||||||
},
|
},
|
||||||
mixins: [relativeDate, attachmentUpload],
|
mixins: [relativeDate, attachmentUpload],
|
||||||
@@ -268,7 +267,6 @@ export default {
|
|||||||
|
|
||||||
.button-group {
|
.button-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: calc(var(--default-grid-baseline) * 3);
|
|
||||||
|
|
||||||
.icon-upload, .icon-folder {
|
.icon-upload, .icon-folder {
|
||||||
padding-left: 44px;
|
padding-left: 44px;
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="selector-wrapper" :aria-label="label">
|
|
||||||
<div class="selector-wrapper--icon">
|
|
||||||
<slot name="icon" />
|
|
||||||
</div>
|
|
||||||
<div class="selector-wrapper--content">
|
|
||||||
<slot />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import { defineComponent } from 'vue'
|
|
||||||
|
|
||||||
export default defineComponent({
|
|
||||||
name: 'CardDetailEntry',
|
|
||||||
props: {
|
|
||||||
label: {
|
|
||||||
type: String,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
<style lang="scss">
|
|
||||||
@import '../../css/selector';
|
|
||||||
</style>
|
|
||||||
@@ -39,7 +39,13 @@
|
|||||||
{{ t('deck', 'Open in bigger view') }}
|
{{ t('deck', 'Open in bigger view') }}
|
||||||
</NcActionButton>
|
</NcActionButton>
|
||||||
|
|
||||||
<CardMenuEntries :card="currentCard" :hide-details-entry="true" />
|
<NcActionButton v-for="action in cardActions"
|
||||||
|
:key="action.label"
|
||||||
|
:close-after-click="true"
|
||||||
|
:icon="action.icon"
|
||||||
|
@click="action.callback(cardRichObject)">
|
||||||
|
{{ action.label }}
|
||||||
|
</NcActionButton>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<NcAppSidebarTab id="details"
|
<NcAppSidebarTab id="details"
|
||||||
@@ -72,7 +78,7 @@
|
|||||||
<NcAppSidebarTab v-if="hasActivity"
|
<NcAppSidebarTab v-if="hasActivity"
|
||||||
id="timeline"
|
id="timeline"
|
||||||
:order="3"
|
:order="3"
|
||||||
:name="t('deck', 'Activity')">
|
:name="t('deck', 'Timeline')">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<ActivityIcon :size="20" />
|
<ActivityIcon :size="20" />
|
||||||
</template>
|
</template>
|
||||||
@@ -83,6 +89,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { NcActionButton, NcAppSidebar, NcAppSidebarTab } from '@nextcloud/vue'
|
import { NcActionButton, NcAppSidebar, NcAppSidebarTab } from '@nextcloud/vue'
|
||||||
|
import { generateUrl } from '@nextcloud/router'
|
||||||
import { mapState, mapGetters } from 'vuex'
|
import { mapState, mapGetters } from 'vuex'
|
||||||
import CardSidebarTabDetails from './CardSidebarTabDetails.vue'
|
import CardSidebarTabDetails from './CardSidebarTabDetails.vue'
|
||||||
import CardSidebarTabAttachments from './CardSidebarTabAttachments.vue'
|
import CardSidebarTabAttachments from './CardSidebarTabAttachments.vue'
|
||||||
@@ -97,7 +104,6 @@ import ActivityIcon from 'vue-material-design-icons/LightningBolt.vue'
|
|||||||
|
|
||||||
import { showError } from '@nextcloud/dialogs'
|
import { showError } from '@nextcloud/dialogs'
|
||||||
import { getLocale } from '@nextcloud/l10n'
|
import { getLocale } from '@nextcloud/l10n'
|
||||||
import CardMenuEntries from '../cards/CardMenuEntries.vue'
|
|
||||||
|
|
||||||
const capabilities = window.OC.getCapabilities()
|
const capabilities = window.OC.getCapabilities()
|
||||||
|
|
||||||
@@ -115,7 +121,6 @@ export default {
|
|||||||
AttachmentIcon,
|
AttachmentIcon,
|
||||||
CommentIcon,
|
CommentIcon,
|
||||||
HomeIcon,
|
HomeIcon,
|
||||||
CardMenuEntries,
|
|
||||||
},
|
},
|
||||||
mixins: [relativeDate],
|
mixins: [relativeDate],
|
||||||
props: {
|
props: {
|
||||||
@@ -159,6 +164,15 @@ export default {
|
|||||||
subtitleTooltip() {
|
subtitleTooltip() {
|
||||||
return t('deck', 'Modified') + ': ' + this.formatDate(this.currentCard.lastModified) + '\n' + t('deck', 'Created') + ': ' + this.formatDate(this.currentCard.createdAt)
|
return t('deck', 'Modified') + ': ' + this.formatDate(this.currentCard.lastModified) + '\n' + t('deck', 'Created') + ': ' + this.formatDate(this.currentCard.createdAt)
|
||||||
},
|
},
|
||||||
|
cardRichObject() {
|
||||||
|
return {
|
||||||
|
id: '' + this.currentCard.id,
|
||||||
|
name: this.currentCard.title,
|
||||||
|
boardname: this.currentBoard.title,
|
||||||
|
stackname: this.stackById(this.currentCard.stackId)?.title,
|
||||||
|
link: window.location.protocol + '//' + window.location.host + generateUrl('/apps/deck/') + `#/board/${this.currentBoard.id}/card/${this.currentCard.id}`,
|
||||||
|
}
|
||||||
|
},
|
||||||
cardDetailsInModal: {
|
cardDetailsInModal: {
|
||||||
get() {
|
get() {
|
||||||
return this.$store.getters.config('cardDetailsInModal')
|
return this.$store.getters.config('cardDetailsInModal')
|
||||||
|
|||||||
@@ -35,10 +35,7 @@
|
|||||||
@select="assignUserToCard"
|
@select="assignUserToCard"
|
||||||
@remove="removeUserFromCard" />
|
@remove="removeUserFromCard" />
|
||||||
|
|
||||||
<DueDateSelector :card="card"
|
<DueDateSelector :card="card" :can-edit="canEdit && !saving" @change="updateCardDue" />
|
||||||
:can-edit="canEdit"
|
|
||||||
@change="updateCardDue"
|
|
||||||
@input="debouncedUpdateCardDue" />
|
|
||||||
|
|
||||||
<div v-if="projectsEnabled" class="section-wrapper">
|
<div v-if="projectsEnabled" class="section-wrapper">
|
||||||
<CollectionList v-if="card.id"
|
<CollectionList v-if="card.id"
|
||||||
@@ -69,7 +66,6 @@ import Description from './Description.vue'
|
|||||||
import TagSelector from './TagSelector.vue'
|
import TagSelector from './TagSelector.vue'
|
||||||
import AssignmentSelector from './AssignmentSelector.vue'
|
import AssignmentSelector from './AssignmentSelector.vue'
|
||||||
import DueDateSelector from './DueDateSelector.vue'
|
import DueDateSelector from './DueDateSelector.vue'
|
||||||
import { debounce } from 'lodash'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CardSidebarTabDetails',
|
name: 'CardSidebarTabDetails',
|
||||||
@@ -89,6 +85,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
saving: false,
|
||||||
addedLabelToCard: null,
|
addedLabelToCard: null,
|
||||||
copiedCard: null,
|
copiedCard: null,
|
||||||
locale: getLocale(),
|
locale: getLocale(),
|
||||||
@@ -108,6 +105,7 @@ export default {
|
|||||||
this.$store.dispatch('setConfig', { cardDetailsInModal: newValue })
|
this.$store.dispatch('setConfig', { cardDetailsInModal: newValue })
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
labelsSorted() {
|
labelsSorted() {
|
||||||
return [...this.currentBoard.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
return [...this.currentBoard.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
||||||
},
|
},
|
||||||
@@ -137,6 +135,15 @@ export default {
|
|||||||
localStorage.setItem('deck.selectedStackId', this.card.stackId)
|
localStorage.setItem('deck.selectedStackId', this.card.stackId)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
async updateCardDue(val) {
|
||||||
|
this.saving = true
|
||||||
|
await this.$store.dispatch('updateCardDue', {
|
||||||
|
...this.copiedCard,
|
||||||
|
duedate: val ? (new Date(val)).toISOString() : null,
|
||||||
|
})
|
||||||
|
this.saving = false
|
||||||
|
},
|
||||||
|
|
||||||
assignUserToCard(user) {
|
assignUserToCard(user) {
|
||||||
this.$store.dispatch('assignCardToUser', {
|
this.$store.dispatch('assignCardToUser', {
|
||||||
card: this.copiedCard,
|
card: this.copiedCard,
|
||||||
@@ -157,17 +164,6 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
updateCardDue(val) {
|
|
||||||
this.$store.dispatch('updateCardDue', {
|
|
||||||
...this.copiedCard,
|
|
||||||
duedate: val ? (new Date(val)).toISOString() : null,
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
debouncedUpdateCardDue: debounce(function(val) {
|
|
||||||
this.updateCardDue(val)
|
|
||||||
}, 500),
|
|
||||||
|
|
||||||
addLabelToCard(newLabel) {
|
addLabelToCard(newLabel) {
|
||||||
this.copiedCard.labels.push(newLabel)
|
this.copiedCard.labels.push(newLabel)
|
||||||
const data = {
|
const data = {
|
||||||
@@ -178,14 +174,13 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async addLabelToBoardAndCard(name) {
|
async addLabelToBoardAndCard(name) {
|
||||||
const newLabel = await this.$store.dispatch('addLabelToCurrentBoardAndCard', {
|
await this.$store.dispatch('addLabelToCurrentBoardAndCard', {
|
||||||
card: this.copiedCard,
|
card: this.copiedCard,
|
||||||
newLabel: {
|
newLabel: {
|
||||||
title: name,
|
title: name,
|
||||||
color: this.randomColor(),
|
color: this.randomColor(),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
this.copiedCard.labels.push(newLabel)
|
|
||||||
},
|
},
|
||||||
|
|
||||||
removeLabelFromCard(removedLabel) {
|
removeLabelFromCard(removedLabel) {
|
||||||
@@ -212,6 +207,15 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
.section-wrapper:deep(.mx-datepicker-main.mx-datepicker-popup) {
|
||||||
|
left: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-wrapper:deep(.mx-datepicker-main.mx-datepicker-popup.mx-datepicker-sidebar) {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.section-wrapper {
|
.section-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@@ -229,36 +233,12 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
.remove-due-button{
|
button.action-item--single {
|
||||||
margin-top: -2px;
|
margin-top: -3px;
|
||||||
margin-left: 6px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-group {
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
button {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.done {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag {
|
|
||||||
flex-grow: 0;
|
|
||||||
flex-shrink: 1;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 0px 5px;
|
|
||||||
border-radius: 15px;
|
|
||||||
font-size: 85%;
|
|
||||||
margin-right: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.avatarLabel {
|
.avatarLabel {
|
||||||
padding: 6px
|
padding: 6px
|
||||||
}
|
}
|
||||||
@@ -288,3 +268,9 @@ export default {
|
|||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<style>
|
||||||
|
.mx-datepicker-main.mx-datepicker-popup {
|
||||||
|
/* above the modal */
|
||||||
|
z-index: 9999 !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<div ref="contentEditable"
|
<div ref="contentEditable"
|
||||||
dir="auto"
|
|
||||||
class="comment-form__contenteditable"
|
class="comment-form__contenteditable"
|
||||||
contenteditable
|
contenteditable
|
||||||
@keydown.enter="handleKeydown"
|
@keydown.enter="handleKeydown"
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
</NcActions>
|
</NcActions>
|
||||||
</div>
|
</div>
|
||||||
<NcRichText class="comment--content"
|
<NcRichText class="comment--content"
|
||||||
dir="auto"
|
|
||||||
:text="richText(comment)"
|
:text="richText(comment)"
|
||||||
:arguments="richArgs(comment)"
|
:arguments="richArgs(comment)"
|
||||||
:autolink="true" />
|
:autolink="true" />
|
||||||
@@ -49,24 +48,18 @@
|
|||||||
<NcActionButton icon="icon-close" @click="hideUpdateForm" />
|
<NcActionButton icon="icon-close" @click="hideUpdateForm" />
|
||||||
</NcActions>
|
</NcActions>
|
||||||
<div class="spacer" />
|
<div class="spacer" />
|
||||||
<div class="timestamp"
|
<div class="timestamp">
|
||||||
:aria-label="formattedTimestamp"
|
|
||||||
:title="formattedTimestamp">
|
|
||||||
{{ relativeDate(comment.creationDateTime) }}
|
{{ relativeDate(comment.creationDateTime) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<CommentItem v-if="comment.replyTo" :reply="true" :comment="comment.replyTo" />
|
<CommentItem v-if="comment.replyTo" :reply="true" :comment="comment.replyTo" />
|
||||||
<div v-show="!edit" ref="richTextElement">
|
<div v-show="!edit" ref="richTextElement">
|
||||||
<NcRichText class="comment--content"
|
<NcRichText class="comment--content"
|
||||||
dir="auto"
|
|
||||||
:text="richText(comment)"
|
:text="richText(comment)"
|
||||||
:arguments="richArgs(comment)"
|
:arguments="richArgs(comment)"
|
||||||
:autolink="true" />
|
:autolink="true" />
|
||||||
</div>
|
</div>
|
||||||
<CommentForm v-if="edit"
|
<CommentForm v-if="edit" v-model="commentMsg" @submit="updateComment" />
|
||||||
v-model="commentMsg"
|
|
||||||
dir="auto"
|
|
||||||
@submit="updateComment" />
|
|
||||||
</li>
|
</li>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -77,7 +70,6 @@ import { getCurrentUser } from '@nextcloud/auth'
|
|||||||
import md5 from 'blueimp-md5'
|
import md5 from 'blueimp-md5'
|
||||||
import relativeDate from '../../mixins/relativeDate.js'
|
import relativeDate from '../../mixins/relativeDate.js'
|
||||||
import ReplyIcon from 'vue-material-design-icons/Reply.vue'
|
import ReplyIcon from 'vue-material-design-icons/Reply.vue'
|
||||||
import moment from 'moment'
|
|
||||||
|
|
||||||
const AtMention = {
|
const AtMention = {
|
||||||
name: 'AtMention',
|
name: 'AtMention',
|
||||||
@@ -166,9 +158,6 @@ export default {
|
|||||||
return (div.textContent || div.innerText || '')
|
return (div.textContent || div.innerText || '')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
formattedTimestamp() {
|
|
||||||
return t('deck', 'Created:') + ' ' + moment(this.comment.creationDateTime).format('LLLL')
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div data-test="description">
|
<div>
|
||||||
<h5>
|
<h5>
|
||||||
{{ t('deck', 'Description') }}
|
{{ t('deck', 'Description') }}
|
||||||
<span v-if="descriptionLastEdit && !descriptionSaving">{{ t('deck', '(Unsaved)') }}</span>
|
<span v-if="descriptionLastEdit && !descriptionSaving">{{ t('deck', '(Unsaved)') }}</span>
|
||||||
@@ -55,7 +55,6 @@
|
|||||||
<template v-else>
|
<template v-else>
|
||||||
<div v-if="!descriptionEditing && hasDescription"
|
<div v-if="!descriptionEditing && hasDescription"
|
||||||
id="description-preview"
|
id="description-preview"
|
||||||
dir="auto"
|
|
||||||
@click="clickedPreview"
|
@click="clickedPreview"
|
||||||
v-html="renderedDescription" />
|
v-html="renderedDescription" />
|
||||||
<p v-else-if="!descriptionEditing" class="placeholder" @click="showEditor()">
|
<p v-else-if="!descriptionEditing" class="placeholder" @click="showEditor()">
|
||||||
|
|||||||
@@ -1,123 +1,43 @@
|
|||||||
<template>
|
<template>
|
||||||
<CardDetailEntry :label="t('deck', 'Assign a due date to this card…')" data-test="due-date-selector">
|
<div class="selector-wrapper" :aria-label="t('deck', 'Assign a due date to this card…')">
|
||||||
<Calendar v-if="!card.done" slot="icon" :size="20" />
|
<div class="selector-wrapper--icon">
|
||||||
<CalendarCheck v-else slot="icon" :size="20" />
|
<Calendar :size="20" />
|
||||||
<template v-if="!card.done && !card.archived">
|
</div>
|
||||||
<NcDateTimePickerNative v-if="duedate"
|
<div class="duedate-selector">
|
||||||
id="card-duedate-picker"
|
<NcDatetimePicker v-model="duedate"
|
||||||
v-model="duedate"
|
|
||||||
:placeholder="t('deck', 'Set a due date')"
|
:placeholder="t('deck', 'Set a due date')"
|
||||||
:hide-label="true"
|
type="datetime"
|
||||||
type="datetime-local" />
|
:minute-step="5"
|
||||||
<NcActions v-if="canEdit"
|
:show-second="false"
|
||||||
:menu-title="!duedate ? t('deck', 'Add due date') : null"
|
:lang="lang"
|
||||||
type="tertiary"
|
:formatter="format"
|
||||||
data-cy-due-date-actions>
|
:disabled="!canEdit"
|
||||||
<template v-if="!duedate" #icon>
|
:shortcuts="shortcuts"
|
||||||
<Plus :size="20" />
|
:append-to-body="true"
|
||||||
</template>
|
confirm />
|
||||||
<NcActionButton v-for="shortcut in reminderOptions"
|
<NcActions v-if="canEdit">
|
||||||
:key="shortcut.key"
|
<NcActionButton v-if="duedate" icon="icon-delete" @click="removeDue()">
|
||||||
close-after-click
|
|
||||||
:data-cy-due-date-shortcut="shortcut.key"
|
|
||||||
@click="() => selectShortcut(shortcut)">
|
|
||||||
{{ shortcut.label }}
|
|
||||||
</NcActionButton>
|
|
||||||
<NcActionSeparator />
|
|
||||||
|
|
||||||
<NcActionButton v-if="!duedate"
|
|
||||||
close-after-click
|
|
||||||
data-cy-due-date-pick
|
|
||||||
@click="initDate">
|
|
||||||
<template #icon>
|
|
||||||
<Plus :size="20" />
|
|
||||||
</template>
|
|
||||||
{{ t('deck', 'Choose a date') }}
|
|
||||||
</NcActionButton>
|
|
||||||
<NcActionButton v-else
|
|
||||||
icon="icon-delete"
|
|
||||||
close-after-click
|
|
||||||
data-cy-due-date-remove
|
|
||||||
@click="removeDue">
|
|
||||||
{{ t('deck', 'Remove due date') }}
|
{{ t('deck', 'Remove due date') }}
|
||||||
</NcActionButton>
|
</NcActionButton>
|
||||||
</NcActions>
|
</NcActions>
|
||||||
|
|
||||||
<NcButton v-if="!card.done"
|
|
||||||
type="secondary"
|
|
||||||
class="completed-button"
|
|
||||||
@click="changeCardDoneStatus()">
|
|
||||||
<template #icon>
|
|
||||||
<CheckIcon :size="20" />
|
|
||||||
</template>
|
|
||||||
{{ t('deck', 'Completed') }}
|
|
||||||
</NcButton>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<div class="done-info">
|
|
||||||
<span v-if="card.done" class="done-info--done">
|
|
||||||
{{ formatReadableDate(card.done) }}
|
|
||||||
</span>
|
|
||||||
<span v-if="duedate" class="done-info--duedate" :class="{ 'dimmed': card.done }">
|
|
||||||
{{ t('deck', 'Due at:') }}
|
|
||||||
{{ formatReadableDate(duedate) }}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="due-actions">
|
|
||||||
<NcButton v-if="!card.archived"
|
|
||||||
type="tertiary"
|
|
||||||
:title="t('deck', 'Not completed')"
|
|
||||||
@click="changeCardDoneStatus()">
|
|
||||||
<template #icon>
|
|
||||||
<ClearIcon :size="20" />
|
|
||||||
</template>
|
|
||||||
</NcButton>
|
|
||||||
<NcButton type="secondary" @click="archiveUnarchiveCard()">
|
|
||||||
<template #icon>
|
|
||||||
<ArchiveIcon :size="20" />
|
|
||||||
</template>
|
|
||||||
{{ card.archived ? t('deck', 'Unarchive card') : t('deck', 'Archive card') }}
|
|
||||||
</NcButton>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</CardDetailEntry>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from 'vue'
|
import { defineComponent } from 'vue'
|
||||||
import {
|
import { NcActionButton, NcActions, NcDatetimePicker } from '@nextcloud/vue'
|
||||||
NcActionButton,
|
|
||||||
NcActions,
|
|
||||||
NcActionSeparator,
|
|
||||||
NcButton,
|
|
||||||
NcDateTimePickerNative,
|
|
||||||
} from '@nextcloud/vue'
|
|
||||||
import readableDate from '../../mixins/readableDate.js'
|
|
||||||
import { getDayNamesMin, getFirstDay, getMonthNamesShort } from '@nextcloud/l10n'
|
import { getDayNamesMin, getFirstDay, getMonthNamesShort } from '@nextcloud/l10n'
|
||||||
import moment from '@nextcloud/moment'
|
|
||||||
import ArchiveIcon from 'vue-material-design-icons/Archive.vue'
|
|
||||||
import Plus from 'vue-material-design-icons/Plus.vue'
|
|
||||||
import Calendar from 'vue-material-design-icons/Calendar.vue'
|
import Calendar from 'vue-material-design-icons/Calendar.vue'
|
||||||
import CalendarCheck from 'vue-material-design-icons/CalendarCheck.vue'
|
import readableDate from '../../mixins/readableDate.js'
|
||||||
import CheckIcon from 'vue-material-design-icons/Check.vue'
|
|
||||||
import ClearIcon from 'vue-material-design-icons/Close.vue'
|
|
||||||
import CardDetailEntry from './CardDetailEntry.vue'
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'DueDateSelector',
|
name: 'DueDateSelector',
|
||||||
components: {
|
components: {
|
||||||
NcButton,
|
|
||||||
ArchiveIcon,
|
|
||||||
ClearIcon,
|
|
||||||
CardDetailEntry,
|
|
||||||
Plus,
|
|
||||||
Calendar,
|
Calendar,
|
||||||
CalendarCheck,
|
|
||||||
CheckIcon,
|
|
||||||
NcActions,
|
NcActions,
|
||||||
NcActionButton,
|
NcActionButton,
|
||||||
NcActionSeparator,
|
NcDatetimePicker,
|
||||||
NcDateTimePickerNative,
|
|
||||||
},
|
},
|
||||||
mixins: [
|
mixins: [
|
||||||
readableDate,
|
readableDate,
|
||||||
@@ -148,113 +68,71 @@ export default defineComponent({
|
|||||||
stringify: this.stringify,
|
stringify: this.stringify,
|
||||||
parse: this.parse,
|
parse: this.parse,
|
||||||
},
|
},
|
||||||
|
shortcuts: [
|
||||||
|
{
|
||||||
|
text: t('deck', 'Today'),
|
||||||
|
onClick() {
|
||||||
|
const date = new Date()
|
||||||
|
date.setDate(date.getDate())
|
||||||
|
date.setHours(23)
|
||||||
|
date.setMinutes(59)
|
||||||
|
return date
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: t('deck', 'Tomorrow'),
|
||||||
|
onClick() {
|
||||||
|
const date = new Date()
|
||||||
|
date.setDate(date.getDate() + 1)
|
||||||
|
date.setHours(23)
|
||||||
|
date.setMinutes(59)
|
||||||
|
return date
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: t('deck', 'Next week'),
|
||||||
|
onClick() {
|
||||||
|
const date = new Date()
|
||||||
|
date.setDate(date.getDate() + 7)
|
||||||
|
date.setHours(23)
|
||||||
|
date.setMinutes(59)
|
||||||
|
return date
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: t('deck', 'Next month'),
|
||||||
|
onClick() {
|
||||||
|
const date = new Date()
|
||||||
|
date.setDate(date.getDate() + 30)
|
||||||
|
date.setHours(23)
|
||||||
|
date.setMinutes(59)
|
||||||
|
return date
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
duedate: {
|
duedate: {
|
||||||
get() {
|
get() {
|
||||||
return this.card?.duedate ? new Date(this.card.duedate) : null
|
return this.card.duedate ? new Date(this.card.duedate) : null
|
||||||
},
|
},
|
||||||
set(val) {
|
set(val) {
|
||||||
this.$emit('input', val ? new Date(val) : null)
|
this.$emit('change', val)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
reminderOptions() {
|
|
||||||
const currentDateTime = moment()
|
|
||||||
// Same day 18:00 PM (or hidden)
|
|
||||||
const laterTodayTime = (currentDateTime.hour() < 18)
|
|
||||||
? moment().hour(18)
|
|
||||||
: null
|
|
||||||
// Tomorrow 08:00 AM
|
|
||||||
const tomorrowTime = moment().add(1, 'days').hour(8)
|
|
||||||
// Saturday 08:00 AM (or hidden)
|
|
||||||
const thisWeekendTime = (currentDateTime.day() !== 6 && currentDateTime.day() !== 0)
|
|
||||||
? moment().day(6).hour(8)
|
|
||||||
: null
|
|
||||||
// Next Monday 08:00 AM
|
|
||||||
const nextWeekTime = moment().add(1, 'weeks').day(1).hour(8)
|
|
||||||
return [
|
|
||||||
{
|
|
||||||
key: 'laterToday',
|
|
||||||
timestamp: this.getTimestamp(laterTodayTime),
|
|
||||||
label: t('deck', 'Later today – {timeLocale}', { timeLocale: laterTodayTime?.format('LT') }),
|
|
||||||
ariaLabel: t('deck', 'Set due date for later today'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'tomorrow',
|
|
||||||
timestamp: this.getTimestamp(tomorrowTime),
|
|
||||||
label: t('deck', 'Tomorrow – {timeLocale}', { timeLocale: tomorrowTime?.format('ddd LT') }),
|
|
||||||
ariaLabel: t('deck', 'Set due date for tomorrow'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'thisWeekend',
|
|
||||||
timestamp: this.getTimestamp(thisWeekendTime),
|
|
||||||
label: t('deck', 'This weekend – {timeLocale}', { timeLocale: thisWeekendTime?.format('ddd LT') }),
|
|
||||||
ariaLabel: t('deck', 'Set due date for this weekend'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'nextWeek',
|
|
||||||
timestamp: this.getTimestamp(nextWeekTime),
|
|
||||||
label: t('deck', 'Next week – {timeLocale}', { timeLocale: nextWeekTime?.format('ddd LT') }),
|
|
||||||
ariaLabel: t('deck', 'Set due date for next week'),
|
|
||||||
},
|
|
||||||
].filter(option => option.timestamp !== null)
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initDate() {
|
|
||||||
if (this.duedate === null) {
|
|
||||||
// We initialize empty dates with a time once clicked to make picking a day easier
|
|
||||||
const now = new Date()
|
|
||||||
now.setDate(now.getDate() + 1)
|
|
||||||
now.setHours(8)
|
|
||||||
now.setMinutes(0)
|
|
||||||
now.setMilliseconds(0)
|
|
||||||
this.duedate = now
|
|
||||||
}
|
|
||||||
},
|
|
||||||
removeDue() {
|
removeDue() {
|
||||||
this.duedate = null
|
this.duedate = null
|
||||||
this.$emit('change', null)
|
|
||||||
|
|
||||||
},
|
|
||||||
selectShortcut(shortcut) {
|
|
||||||
this.duedate = shortcut.timestamp
|
|
||||||
this.$emit('change', shortcut.timestamp)
|
|
||||||
},
|
|
||||||
getTimestamp(momentObject) {
|
|
||||||
return momentObject?.minute(0).second(0).millisecond(0).toDate() || null
|
|
||||||
},
|
|
||||||
changeCardDoneStatus() {
|
|
||||||
this.$store.dispatch('changeCardDoneStatus', { ...this.card, done: !this.card.done })
|
|
||||||
},
|
|
||||||
archiveUnarchiveCard() {
|
|
||||||
this.$store.dispatch('archiveUnarchiveCard', { ...this.card, archived: !this.card.archived })
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style lang="scss">
|
||||||
.done-info {
|
@import '../../css/selector';
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.done-info--duedate,
|
.duedate-selector {
|
||||||
.done-info--done {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-top: 10px;
|
|
||||||
&.dimmed {
|
|
||||||
color: var(--color-text-maxcontrast);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.completed-button {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.due-actions {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="selector-wrapper" :aria-label="t('deck', 'Assign a tag to this card…')" data-test="tag-selector">
|
<div class="selector-wrapper" :aria-label="t('deck', 'Assign a tag to this card…')">
|
||||||
<div class="selector-wrapper--icon">
|
<div class="selector-wrapper--icon">
|
||||||
<TagMultiple :size="20" />
|
<TagMultiple :size="20" />
|
||||||
</div>
|
</div>
|
||||||
<NcMultiselect :value="assignedLabels"
|
<NcMultiselect v-model="assignedLabels"
|
||||||
class="selector-wrapper--selector"
|
class="selector-wrapper--selector"
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@@ -12,19 +12,13 @@
|
|||||||
:taggable="true"
|
:taggable="true"
|
||||||
label="title"
|
label="title"
|
||||||
track-by="id"
|
track-by="id"
|
||||||
tag-position="bottom"
|
|
||||||
@select="onSelect"
|
@select="onSelect"
|
||||||
@remove="onRemove"
|
@remove="onRemove"
|
||||||
@tag="onNewTag">
|
@tag="onNewTag">
|
||||||
<template #option="scope">
|
<template #option="scope">
|
||||||
<div v-if="!scope.option?.isTag" :style="{ backgroundColor: '#' + scope.option.color, color: textColor(scope.option.color)}" class="tag">
|
<div :style="{ backgroundColor: '#' + scope.option.color, color: textColor(scope.option.color)}" class="tag">
|
||||||
{{ scope.option.title }}
|
{{ scope.option.title }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
|
||||||
{{ t('deck', 'Create a new tag:') }} <div class="tag">
|
|
||||||
{{ scope.option.label }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<template #tag="scope">
|
<template #tag="scope">
|
||||||
<div :style="{ backgroundColor: '#' + scope.option.color, color: textColor(scope.option.color)}" class="tag">
|
<div :style="{ backgroundColor: '#' + scope.option.color, color: textColor(scope.option.color)}" class="tag">
|
||||||
@@ -58,15 +52,32 @@ export default {
|
|||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
assignedLabels: null,
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
labelsSorted() {
|
labelsSorted() {
|
||||||
return [...this.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
return [...this.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
||||||
},
|
},
|
||||||
assignedLabels() {
|
|
||||||
return [...this.card.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
card() {
|
||||||
|
this.initialize()
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.initialize()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
async initialize() {
|
||||||
|
if (!this.card) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
this.assignedLabels = [...this.card.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
||||||
|
},
|
||||||
onSelect(newLabel) {
|
onSelect(newLabel) {
|
||||||
this.$emit('select', newLabel)
|
this.$emit('select', newLabel)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<div class="avatars">
|
<div class="avatars">
|
||||||
<div class="avatar-list" @click.stop="togglePopover">
|
<div class="avatar-list" @click.stop="togglePopover">
|
||||||
<div v-if="popover.length > 0">
|
<div v-if="popover.length > 0">
|
||||||
<AccountMultiple class="avatardiv more-avatars" :size="24" />
|
<div class="avatardiv icon-more" />
|
||||||
</div>
|
</div>
|
||||||
<div v-for="user in firstUsers" :key="user.id">
|
<div v-for="user in firstUsers" :key="user.id">
|
||||||
<NcAvatar v-if="user.type === 0"
|
<NcAvatar v-if="user.type === 0"
|
||||||
@@ -72,14 +72,12 @@
|
|||||||
<script>
|
<script>
|
||||||
import { NcAvatar, NcPopoverMenu, Tooltip } from '@nextcloud/vue'
|
import { NcAvatar, NcPopoverMenu, Tooltip } from '@nextcloud/vue'
|
||||||
import { generateUrl } from '@nextcloud/router'
|
import { generateUrl } from '@nextcloud/router'
|
||||||
import AccountMultiple from 'vue-material-design-icons/AccountMultiple.vue'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AvatarList',
|
name: 'AvatarList',
|
||||||
components: {
|
components: {
|
||||||
NcAvatar,
|
NcAvatar,
|
||||||
NcPopoverMenu,
|
NcPopoverMenu,
|
||||||
AccountMultiple,
|
|
||||||
},
|
},
|
||||||
directives: {
|
directives: {
|
||||||
tooltip: Tooltip,
|
tooltip: Tooltip,
|
||||||
@@ -153,6 +151,7 @@ export default {
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.avatars {
|
.avatars {
|
||||||
|
margin-top: 5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
:deep(.popovermenu) {
|
:deep(.popovermenu) {
|
||||||
@@ -174,29 +173,25 @@ export default {
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
padding-right: $avatar-offset;
|
padding-right: $avatar-offset;
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
|
|
||||||
& > div {
|
|
||||||
height: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.avatardiv,
|
.avatardiv,
|
||||||
:deep(.avatardiv) {
|
:deep(.avatardiv) {
|
||||||
width: 32px;
|
width: 36px;
|
||||||
height: 32px;
|
height: 36px;
|
||||||
box-sizing: content-box !important;
|
box-sizing: content-box !important;
|
||||||
margin-right: -$avatar-offset;
|
margin-right: -$avatar-offset;
|
||||||
transition: margin-right 0.2s ease-in-out;
|
transition: margin-right 0.2s ease-in-out;
|
||||||
border: 2px solid var(--color-main-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.more-avatars {
|
&.icon-more {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
opacity: .5;
|
||||||
background-color: var(--color-background-dark) !important;
|
background-color: var(--color-background-dark) !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: var(--color-text-maxcontrast);
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
&:hover div:nth-child(n+2) :deep(.avatardiv) {
|
||||||
|
margin-right: 1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.popovermenu {
|
.popovermenu {
|
||||||
|
|||||||
@@ -22,12 +22,7 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="card" class="badges">
|
<div v-if="card" class="badges">
|
||||||
<div class="badge-left">
|
|
||||||
<DueDate v-if="card.duedate || card.done" :card="card" />
|
|
||||||
|
|
||||||
<div class="inline-badges">
|
|
||||||
<CardId v-if="idBadge" class="icon-badge" :card="card" />
|
<CardId v-if="idBadge" class="icon-badge" :card="card" />
|
||||||
|
|
||||||
<div v-if="card.commentsCount > 0"
|
<div v-if="card.commentsCount > 0"
|
||||||
v-tooltip="commentsHint"
|
v-tooltip="commentsHint"
|
||||||
class="icon-badge"
|
class="icon-badge"
|
||||||
@@ -42,46 +37,31 @@
|
|||||||
<span>{{ checkListCheckedCount }}/{{ checkListCount }}</span>
|
<span>{{ checkListCheckedCount }}/{{ checkListCount }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="card.description && card.description.trim() && checkListCount == 0" class="icon-badge">
|
<TextIcon v-else-if="card.description && card.description.trim() && checkListCount == 0" :size="16" decorative />
|
||||||
<TextIcon :size="16" decorative />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div v-if="card.attachmentCount > 0" class="icon-badge">
|
<div v-if="card.attachmentCount > 0" class="icon-badge">
|
||||||
<AttachmentIcon :size="16" />
|
<AttachmentIcon :size="16" />
|
||||||
<span>{{ card.attachmentCount }}</span>
|
<span>{{ card.attachmentCount }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="badge-right">
|
<NcAvatarList :users="card.assignedUsers" />
|
||||||
<NcAvatarList :users="card.assignedUsers" :size="32" />
|
|
||||||
|
|
||||||
<slot />
|
<CardMenu class="card-menu" :card="card" />
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import NcAvatarList from './AvatarList.vue'
|
import NcAvatarList from './AvatarList.vue'
|
||||||
import CardId from './badges/CardId.vue'
|
import CardId from './badges/CardId.vue'
|
||||||
|
import CardMenu from './CardMenu.vue'
|
||||||
import TextIcon from 'vue-material-design-icons/Text.vue'
|
import TextIcon from 'vue-material-design-icons/Text.vue'
|
||||||
import AttachmentIcon from 'vue-material-design-icons/Paperclip.vue'
|
import AttachmentIcon from 'vue-material-design-icons/Paperclip.vue'
|
||||||
import CheckmarkIcon from 'vue-material-design-icons/CheckboxMarked.vue'
|
import CheckmarkIcon from 'vue-material-design-icons/CheckboxMarked.vue'
|
||||||
import CommentIcon from 'vue-material-design-icons/Comment.vue'
|
import CommentIcon from 'vue-material-design-icons/Comment.vue'
|
||||||
import CommentUnreadIcon from 'vue-material-design-icons/CommentAccount.vue'
|
import CommentUnreadIcon from 'vue-material-design-icons/CommentAccount.vue'
|
||||||
import DueDate from './badges/DueDate.vue'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CardBadges',
|
name: 'CardBadges',
|
||||||
components: {
|
components: { NcAvatarList, CardMenu, TextIcon, AttachmentIcon, CheckmarkIcon, CommentIcon, CommentUnreadIcon, CardId },
|
||||||
DueDate,
|
|
||||||
NcAvatarList,
|
|
||||||
TextIcon,
|
|
||||||
AttachmentIcon,
|
|
||||||
CheckmarkIcon,
|
|
||||||
CommentIcon,
|
|
||||||
CommentUnreadIcon,
|
|
||||||
CardId,
|
|
||||||
},
|
|
||||||
props: {
|
props: {
|
||||||
card: {
|
card: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@@ -122,33 +102,26 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-direction: row;
|
|
||||||
gap: 3px;
|
|
||||||
|
|
||||||
.icon-badge {
|
.icon-badge {
|
||||||
color: var(--color-text-maxcontrast);
|
opacity: .7;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
|
|
||||||
span,
|
span,
|
||||||
&:deep(span) {
|
&:deep(span) {
|
||||||
padding: 2px;
|
padding: 10px 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inline-badges {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.badges .icon.due {
|
.badges .icon.due {
|
||||||
background-position: 4px center;
|
background-position: 4px center;
|
||||||
border-radius: var(--border-radius);
|
border-radius: 3px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
font-size: 13px;
|
font-size: 90%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
@@ -180,31 +153,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge-left, .badge-right {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.badge-left {
|
|
||||||
align-self: end;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
flex-basis: auto;
|
|
||||||
flex-grow: 1;
|
|
||||||
flex-shrink: 1;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
align-content: flex-end;
|
|
||||||
gap: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.badge-right {
|
|
||||||
align-items: center;
|
|
||||||
align-self: flex-end;
|
|
||||||
display: flex;
|
|
||||||
justify-items: center;
|
|
||||||
max-width: 165px;
|
|
||||||
flex-grow: 0;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fade-enter-active, .fade-leave-active {
|
.fade-enter-active, .fade-leave-active {
|
||||||
transition: opacity .125s;
|
transition: opacity .125s;
|
||||||
}
|
}
|
||||||
@@ -218,5 +166,9 @@ export default {
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
max-height: none !important;
|
max-height: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-menu {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,106 +0,0 @@
|
|||||||
<!--
|
|
||||||
- @copyright Copyright (c) 2023 Johannes Szeibert <johannes@szeibert.de>
|
|
||||||
-
|
|
||||||
- @author Johannes Szeibert <johannes@szeibert.de>
|
|
||||||
-
|
|
||||||
- @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/>.
|
|
||||||
-
|
|
||||||
-->
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<div v-if="cardId && ( attachments.length > 0 )" class="card-cover">
|
|
||||||
<div v-for="(attachment, index) in attachments"
|
|
||||||
:key="attachment.id"
|
|
||||||
:class="['image-wrapper', { 'rounded-left': index === 0 }, { 'rounded-right': index === attachments.length - 1 }]"
|
|
||||||
:style="{ backgroundImage: `url(${attachmentPreview(attachment)})` }" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<script>
|
|
||||||
import { mapActions } from 'vuex'
|
|
||||||
import { generateUrl } from '@nextcloud/router'
|
|
||||||
export default {
|
|
||||||
name: 'CardCover',
|
|
||||||
props: {
|
|
||||||
cardId: {
|
|
||||||
type: Number,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
attachments() {
|
|
||||||
return [...this.$store.getters.attachmentsByCard(this.cardId)]
|
|
||||||
// Filter deleted and hasPreview
|
|
||||||
.filter(attachment => attachment.deletedAt >= 0 && attachment.extendedData.hasPreview)
|
|
||||||
// sort by id (same as in AttachmentList) to get Newest
|
|
||||||
.sort((a, b) => b.id - a.id)
|
|
||||||
// limit to 3 like with android Deck app
|
|
||||||
.slice(0, 3)
|
|
||||||
},
|
|
||||||
attachmentPreview() {
|
|
||||||
// FIXME find a better way to get the stack-width
|
|
||||||
const stackWidth = getComputedStyle(document.documentElement).getPropertyValue('--stack-width').trim()
|
|
||||||
const x = Math.ceil(parseInt(stackWidth) / this.attachments.length) | 260
|
|
||||||
const y = 100
|
|
||||||
return attachment => (
|
|
||||||
// The core preview provider is a bit strange at times, providing much larger than needed images
|
|
||||||
// when cropping is enabled. Therefore use a=1 to not crop the image and let css handle the overflow
|
|
||||||
attachment.extendedData.fileid ? generateUrl(`/core/preview?fileId=${attachment.extendedData.fileid}&x=${x}&y=${y}&a=1`) : null
|
|
||||||
)
|
|
||||||
},
|
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
cardId: {
|
|
||||||
immediate: true,
|
|
||||||
handler() {
|
|
||||||
if (this.$store.getters.cardById(this.cardId)?.attachmentCount > 0) {
|
|
||||||
this.fetchAttachments(this.cardId)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
...mapActions([
|
|
||||||
'fetchAttachments',
|
|
||||||
]),
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
@import '../../css/variables';
|
|
||||||
|
|
||||||
.card-cover {
|
|
||||||
height: 100px;
|
|
||||||
display: flex;
|
|
||||||
margin-top: -8px;
|
|
||||||
margin-left: -8px;
|
|
||||||
margin-right: -8px;
|
|
||||||
|
|
||||||
.image-wrapper {
|
|
||||||
flex: 1;
|
|
||||||
position: relative;
|
|
||||||
background-size: cover;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center center;
|
|
||||||
&.rounded-left {
|
|
||||||
border-top-left-radius: 10px;
|
|
||||||
}
|
|
||||||
&.rounded-right {
|
|
||||||
border-top-right-radius: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -26,43 +26,44 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<AttachmentDragAndDrop v-if="card" :card-id="card.id" class="drop-upload--card">
|
<AttachmentDragAndDrop v-if="card" :card-id="card.id" class="drop-upload--card">
|
||||||
<div :ref="`card${card.id}`"
|
<div :class="{'compact': compactMode, 'current-card': currentCard, 'has-labels': card.labels && card.labels.length > 0, 'is-editing': editing, 'card__editable': canEdit, 'card__archived': card.archived }"
|
||||||
:class="{'compact': compactMode, 'current-card': currentCard, 'has-labels': card.labels && card.labels.length > 0, 'card__editable': canEdit, 'card__archived': card.archived }"
|
|
||||||
tag="div"
|
tag="div"
|
||||||
:tabindex="0"
|
|
||||||
class="card"
|
class="card"
|
||||||
@click="openCard"
|
@click="openCard">
|
||||||
@keyup.self="handleCardKeyboardShortcut"
|
|
||||||
@mouseenter="focus(card.id)">
|
|
||||||
<div v-if="standalone" class="card-related">
|
<div v-if="standalone" class="card-related">
|
||||||
<div :style="{backgroundColor: '#' + board.color}" class="board-bullet" dir="auto" />
|
<div :style="{backgroundColor: '#' + board.color}" class="board-bullet" />
|
||||||
{{ board.title }} » {{ stack.title }}
|
{{ board.title }} » {{ stack.title }}
|
||||||
</div>
|
</div>
|
||||||
<CardCover v-if="showCardCover" :card-id="card.id" />
|
|
||||||
<div class="card-upper">
|
<div class="card-upper">
|
||||||
<h3 v-if="inlineEditingBlocked" dir="auto">
|
<h3 v-if="inlineEditingBlocked">
|
||||||
{{ card.title }}
|
{{ card.title }}
|
||||||
</h3>
|
</h3>
|
||||||
<h3 v-else
|
<h3 v-else-if="!editing"
|
||||||
dir="auto"
|
|
||||||
class="editable"
|
|
||||||
:aria-label="t('deck', 'Edit card title')">
|
|
||||||
<span ref="titleContentEditable"
|
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
contenteditable="true"
|
class="editable"
|
||||||
role="textbox"
|
:aria-label="t('deck', 'Edit card title')"
|
||||||
@focus="onTitleFocus"
|
@keydown.enter.stop.prevent="startEditing(card)">
|
||||||
@blur="onTitleBlur"
|
<span @click.stop="startEditing(card)">{{ card.title }}</span>
|
||||||
|
</h3>
|
||||||
|
<form v-else-if="editing"
|
||||||
|
v-click-outside="cancelEdit"
|
||||||
|
class="dragDisabled"
|
||||||
@click.stop
|
@click.stop
|
||||||
@keyup.esc="cancelEdit"
|
@keyup.esc="cancelEdit"
|
||||||
@keyup.stop>{{ card.title }}</span>
|
@submit.prevent="finishedEdit(card)">
|
||||||
</h3>
|
<input v-model="copiedCard.title"
|
||||||
|
v-focus
|
||||||
|
type="text"
|
||||||
|
autocomplete="off"
|
||||||
|
required
|
||||||
|
pattern=".*\S+.*">
|
||||||
|
<input type="submit" value="" class="icon-confirm">
|
||||||
|
</form>
|
||||||
|
|
||||||
<DueDate v-if="compactMode" :card="card" />
|
<DueDate v-if="!editing" :card="card" />
|
||||||
<CardMenu v-if="showMenuAtTitle" :card="card" class="right card-menu" />
|
|
||||||
|
<CardMenu v-if="!editing && compactMode" :card="card" class="right" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="hasLabels" class="card-labels">
|
|
||||||
<transition-group v-if="card.labels && card.labels.length"
|
<transition-group v-if="card.labels && card.labels.length"
|
||||||
name="zoom"
|
name="zoom"
|
||||||
tag="ul"
|
tag="ul"
|
||||||
@@ -72,16 +73,9 @@
|
|||||||
<span @click.stop="applyLabelFilter(label)">{{ label.title }}</span>
|
<span @click.stop="applyLabelFilter(label)">{{ label.title }}</span>
|
||||||
</li>
|
</li>
|
||||||
</transition-group>
|
</transition-group>
|
||||||
<CardMenu v-if="showMenuAtLabels" :card="card" class="right" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div v-if="hasBadges"
|
<div v-show="!compactMode" class="card-controls compact-item" @click="openCard">
|
||||||
v-show="!compactMode"
|
<CardBadges :card="card" />
|
||||||
class="card-controls compact-item"
|
|
||||||
@click="openCard">
|
|
||||||
<CardBadges :card="card">
|
|
||||||
<CardMenu v-if="showMenuAtBadges" :card="card" class="right" />
|
|
||||||
</CardBadges>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</AttachmentDragAndDrop>
|
</AttachmentDragAndDrop>
|
||||||
@@ -95,13 +89,11 @@ import Color from '../../mixins/color.js'
|
|||||||
import labelStyle from '../../mixins/labelStyle.js'
|
import labelStyle from '../../mixins/labelStyle.js'
|
||||||
import AttachmentDragAndDrop from '../AttachmentDragAndDrop.vue'
|
import AttachmentDragAndDrop from '../AttachmentDragAndDrop.vue'
|
||||||
import CardMenu from './CardMenu.vue'
|
import CardMenu from './CardMenu.vue'
|
||||||
import CardCover from './CardCover.vue'
|
|
||||||
import DueDate from './badges/DueDate.vue'
|
import DueDate from './badges/DueDate.vue'
|
||||||
import { getCurrentUser } from '@nextcloud/auth'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CardItem',
|
name: 'CardItem',
|
||||||
components: { CardBadges, AttachmentDragAndDrop, CardMenu, CardCover, DueDate },
|
components: { CardBadges, AttachmentDragAndDrop, CardMenu, DueDate },
|
||||||
directives: {
|
directives: {
|
||||||
ClickOutside,
|
ClickOutside,
|
||||||
},
|
},
|
||||||
@@ -124,12 +116,17 @@ export default {
|
|||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
editing: false,
|
||||||
|
copiedCard: null,
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState({
|
...mapState({
|
||||||
compactMode: state => state.compactMode,
|
compactMode: state => state.compactMode,
|
||||||
showArchived: state => state.showArchived,
|
showArchived: state => state.showArchived,
|
||||||
currentBoard: state => state.currentBoard,
|
currentBoard: state => state.currentBoard,
|
||||||
showCardCover: state => state.showCardCover,
|
|
||||||
}),
|
}),
|
||||||
...mapGetters([
|
...mapGetters([
|
||||||
'isArchived',
|
'isArchived',
|
||||||
@@ -148,7 +145,7 @@ export default {
|
|||||||
return board ? !board.archived && board.permissions.PERMISSION_EDIT : false
|
return board ? !board.archived && board.permissions.PERMISSION_EDIT : false
|
||||||
},
|
},
|
||||||
inlineEditingBlocked() {
|
inlineEditingBlocked() {
|
||||||
return this.isArchived || this.showArchived || !this.canEdit || this.standalone
|
return this.compactMode || this.isArchived || this.showArchived || !this.canEdit || this.standalone
|
||||||
},
|
},
|
||||||
card() {
|
card() {
|
||||||
return this.item ? this.item : this.$store.getters.cardById(this.id)
|
return this.item ? this.item : this.$store.getters.cardById(this.id)
|
||||||
@@ -159,36 +156,6 @@ export default {
|
|||||||
labelsSorted() {
|
labelsSorted() {
|
||||||
return [...this.card.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
return [...this.card.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
||||||
},
|
},
|
||||||
hasLabels() {
|
|
||||||
return this.card.labels.length > 0
|
|
||||||
},
|
|
||||||
hasBadges() {
|
|
||||||
return this.card.done
|
|
||||||
|| this.card.duedate
|
|
||||||
|| this.idBadge
|
|
||||||
|| this.card.commentsCount > 0
|
|
||||||
|| this.card.description
|
|
||||||
|| this.card.attachmentCount > 0
|
|
||||||
|| this.card.assignedUsers.length > 0
|
|
||||||
},
|
|
||||||
idBadge() {
|
|
||||||
return this.$store.getters.config('cardIdBadge')
|
|
||||||
},
|
|
||||||
showMenuAtTitle() {
|
|
||||||
return this.compactMode || (!this.compactMode && !this.hasBadges && !this.hasLabels)
|
|
||||||
},
|
|
||||||
showMenuAtLabels() {
|
|
||||||
if (this.compactMode) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return !this.hasBadges && this.hasLabels
|
|
||||||
},
|
|
||||||
showMenuAtBadges() {
|
|
||||||
if (this.compactMode) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return this.hasBadges
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
currentCard(newValue) {
|
currentCard(newValue) {
|
||||||
@@ -196,18 +163,8 @@ export default {
|
|||||||
this.$nextTick(() => this.$el.scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'center' }))
|
this.$nextTick(() => this.$el.scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'center' }))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'card.title'(value) {
|
|
||||||
if (document.activeElement === this.$refs.titleContentEditable || this.$refs.titleContentEditable.textContent === value) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.$refs.titleContentEditable.textContent = value
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
focus(card) {
|
|
||||||
card = this.$refs[`card${card}`]
|
|
||||||
card.focus()
|
|
||||||
},
|
|
||||||
openCard() {
|
openCard() {
|
||||||
if (this.dragging) {
|
if (this.dragging) {
|
||||||
return
|
return
|
||||||
@@ -215,53 +172,18 @@ export default {
|
|||||||
const boardId = this.card && this.card.boardId ? this.card.boardId : this.$route.params.id
|
const boardId = this.card && this.card.boardId ? this.card.boardId : this.$route.params.id
|
||||||
this.$router.push({ name: 'card', params: { id: boardId, cardId: this.card.id } }).catch(() => {})
|
this.$router.push({ name: 'card', params: { id: boardId, cardId: this.card.id } }).catch(() => {})
|
||||||
},
|
},
|
||||||
onTitleBlur(e) {
|
startEditing(card) {
|
||||||
// TODO Handle empty title
|
this.copiedCard = Object.assign({}, card)
|
||||||
if (e.target.innerText !== this.card.title) {
|
this.editing = true
|
||||||
this.$store.dispatch('updateCardTitle', {
|
|
||||||
...this.card,
|
|
||||||
title: e.target.innerText,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
this.$store.dispatch('toggleShortcutLock', false)
|
|
||||||
},
|
},
|
||||||
onTitleFocus() {
|
finishedEdit(card) {
|
||||||
this.$store.dispatch('toggleShortcutLock', true)
|
if (this.copiedCard.title !== card.title) {
|
||||||
|
this.$store.dispatch('updateCardTitle', this.copiedCard)
|
||||||
|
}
|
||||||
|
this.editing = false
|
||||||
},
|
},
|
||||||
cancelEdit() {
|
cancelEdit() {
|
||||||
this.$refs.titleContentEditable.textContent = this.card.title
|
this.editing = false
|
||||||
this.$store.dispatch('toggleShortcutLock', false)
|
|
||||||
},
|
|
||||||
handleCardKeyboardShortcut(key) {
|
|
||||||
if (OCP.Accessibility.disableKeyboardShortcuts()) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!this.canEdit || this.$store.state.shortcutLock || key.shiftKey || key.ctrlKey || key.altKey || key.metaKey) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (key.code) {
|
|
||||||
case 'KeyE':
|
|
||||||
this.$refs.titleContentEditable?.focus()
|
|
||||||
break
|
|
||||||
case 'KeyA':
|
|
||||||
this.$store.dispatch('archiveUnarchiveCard', { ...this.card, archived: !this.card.archived })
|
|
||||||
break
|
|
||||||
case 'KeyO':
|
|
||||||
this.$store.dispatch('changeCardDoneStatus', { ...this.card, done: !this.card.done })
|
|
||||||
break
|
|
||||||
case 'KeyM':
|
|
||||||
this.$el.querySelector('button.action-item__menutoggle')?.click()
|
|
||||||
break
|
|
||||||
case 'Enter':
|
|
||||||
case 'Space':
|
|
||||||
this.openCard().then(() => document.getElementById('app-sidebar-vue')?.focus())
|
|
||||||
break
|
|
||||||
case 'KeyS':
|
|
||||||
this.toggleSelfAsignment()
|
|
||||||
break
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
applyLabelFilter(label) {
|
applyLabelFilter(label) {
|
||||||
if (this.dragging) {
|
if (this.dragging) {
|
||||||
@@ -269,18 +191,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$nextTick(() => this.$store.dispatch('toggleFilter', { tags: [label.id] }))
|
this.$nextTick(() => this.$store.dispatch('toggleFilter', { tags: [label.id] }))
|
||||||
},
|
},
|
||||||
toggleSelfAsignment() {
|
|
||||||
const isAssigned = this.card.assignedUsers.find(
|
|
||||||
(item) => item.type === 0 && item.participant.uid === getCurrentUser()?.uid,
|
|
||||||
)
|
|
||||||
this.$store.dispatch(isAssigned ? 'removeUserFromCard' : 'assignCardToUser', {
|
|
||||||
card: this.card,
|
|
||||||
assignee: {
|
|
||||||
userId: getCurrentUser()?.uid,
|
|
||||||
type: 0,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -289,72 +199,62 @@ export default {
|
|||||||
@import './../../css/animations';
|
@import './../../css/animations';
|
||||||
@import './../../css/variables';
|
@import './../../css/variables';
|
||||||
|
|
||||||
@mixin dark-card {
|
|
||||||
border: 2px solid var(--color-border-dark);
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
transition: border 0.1s ease-in-out;
|
transition: box-shadow 0.1s ease-in-out;
|
||||||
|
box-shadow: 0 0 2px 0 var(--color-box-shadow);
|
||||||
border-radius: var(--border-radius-large);
|
border-radius: var(--border-radius-large);
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
background-color: var(--color-main-background);
|
background-color: var(--color-main-background);
|
||||||
margin-bottom: $card-spacing;
|
margin-bottom: $card-spacing;
|
||||||
padding: var(--default-grid-baseline) $card-padding;
|
|
||||||
border: 2px solid var(--color-border);
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 6px;
|
|
||||||
|
|
||||||
&:deep(*) {
|
&:deep(*) {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.current-card {
|
body.dark &, body.theme--dark & {
|
||||||
border: 2px solid var(--color-primary-element);
|
border: 2px solid var(--color-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus, &:focus-visible, &:focus-within {
|
&:hover {
|
||||||
outline: none;
|
box-shadow: 0 0 5px 0 var(--color-box-shadow);
|
||||||
border: 2px solid var(--color-border-maxcontrast);
|
|
||||||
&.current-card {
|
|
||||||
border: 2px solid var(--color-primary-element);
|
|
||||||
}
|
}
|
||||||
|
&.current-card {
|
||||||
|
box-shadow: 0 0 5px 1px var(--color-box-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-upper {
|
.card-upper {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
min-height: 44px;
|
||||||
|
form {
|
||||||
|
display: flex;
|
||||||
|
padding: 3px 5px;
|
||||||
|
width: 100%;
|
||||||
|
input[type=text] {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
h3 {
|
h3 {
|
||||||
margin: 0;
|
margin: 5px $card-padding;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
align-self: center;
|
|
||||||
&.editable {
|
&.editable {
|
||||||
span {
|
span {
|
||||||
cursor: text;
|
cursor: text;
|
||||||
padding-right: 8px;
|
|
||||||
padding-top: 3px;
|
|
||||||
padding-bottom: 3px;
|
|
||||||
|
|
||||||
&:focus, &:focus-visible {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-within {
|
&:focus {
|
||||||
outline: 2px solid var(--color-border-dark);
|
outline: 2px solid var(--color-border-dark);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.card-menu {
|
input[type=text] {
|
||||||
height: 44px;
|
font-size: 100%;
|
||||||
align-self: end;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -363,6 +263,13 @@ export default {
|
|||||||
|
|
||||||
.card-controls {
|
.card-controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin-left: $card-padding;
|
||||||
|
margin-right: $card-padding;
|
||||||
|
|
||||||
|
& > div {
|
||||||
|
display: flex;
|
||||||
|
max-height: 44px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.card__editable .card-controls {
|
&.card__editable .card-controls {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
@@ -370,16 +277,10 @@ export default {
|
|||||||
&.card__archived {
|
&.card__archived {
|
||||||
background-color: var(--color-background-dark);
|
background-color: var(--color-background-dark);
|
||||||
}
|
}
|
||||||
.card-labels {
|
}
|
||||||
display: flex;
|
|
||||||
align-items: end;
|
|
||||||
margin-bottom: var(--default-grid-baseline);
|
|
||||||
|
|
||||||
.labels {
|
.duedate {
|
||||||
flex-wrap: wrap;
|
margin-right: 9px;
|
||||||
align-self: flex-start;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
@@ -410,10 +311,6 @@ export default {
|
|||||||
|
|
||||||
.duedate {
|
.duedate {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
display: flex;
|
|
||||||
height: 32px;
|
|
||||||
width: 32px;
|
|
||||||
margin-top: 6px;
|
|
||||||
}
|
}
|
||||||
&.has-labels {
|
&.has-labels {
|
||||||
padding-bottom: $card-padding;
|
padding-bottom: $card-padding;
|
||||||
@@ -429,20 +326,5 @@ export default {
|
|||||||
font-size: 0;
|
font-size: 0;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
}
|
}
|
||||||
.card-menu {
|
|
||||||
align-self: start !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
.card {
|
|
||||||
@include dark-card;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.card-menu {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -21,24 +21,222 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="card" class="card-menu" @click.stop.prevent>
|
<div v-if="card">
|
||||||
|
<div @click.stop.prevent>
|
||||||
<NcActions>
|
<NcActions>
|
||||||
<CardMenuEntries :card="card" />
|
<NcActionButton v-if="showArchived === false && !isCurrentUserAssigned"
|
||||||
|
icon="icon-user"
|
||||||
|
:close-after-click="true"
|
||||||
|
@click="assignCardToMe()">
|
||||||
|
{{ t('deck', 'Assign to me') }}
|
||||||
|
</NcActionButton>
|
||||||
|
<NcActionButton v-if="showArchived === false && isCurrentUserAssigned"
|
||||||
|
icon="icon-user"
|
||||||
|
:close-after-click="true"
|
||||||
|
@click="unassignCardFromMe()">
|
||||||
|
{{ t('deck', 'Unassign myself') }}
|
||||||
|
</NcActionButton>
|
||||||
|
<NcActionButton icon="icon-external" :close-after-click="true" @click="modalShow=true">
|
||||||
|
{{ t('deck', 'Move card') }}
|
||||||
|
</NcActionButton>
|
||||||
|
<NcActionButton v-for="action in cardActions"
|
||||||
|
:key="action.label"
|
||||||
|
:close-after-click="true"
|
||||||
|
:icon="action.icon"
|
||||||
|
@click="action.callback(cardRichObject)">
|
||||||
|
{{ action.label }}
|
||||||
|
</NcActionButton>
|
||||||
|
<NcActionButton icon="icon-settings-dark" :close-after-click="true" @click="openCard">
|
||||||
|
<CardBulletedIcon slot="icon" :size="20" decorative />
|
||||||
|
{{ t('deck', 'Card details') }}
|
||||||
|
</NcActionButton>
|
||||||
|
<NcActionButton :close-after-click="true" @click="archiveUnarchiveCard()">
|
||||||
|
<template #icon>
|
||||||
|
<ArchiveIcon :size="20" decorative />
|
||||||
|
</template>
|
||||||
|
{{ card.archived ? t('deck', 'Unarchive card') : t('deck', 'Archive card') }}
|
||||||
|
</NcActionButton>
|
||||||
|
<NcActionButton v-if="showArchived === false"
|
||||||
|
icon="icon-delete"
|
||||||
|
:close-after-click="true"
|
||||||
|
@click="deleteCard()">
|
||||||
|
{{ t('deck', 'Delete card') }}
|
||||||
|
</NcActionButton>
|
||||||
</NcActions>
|
</NcActions>
|
||||||
</div>
|
</div>
|
||||||
|
<NcModal v-if="modalShow" :title="t('deck', 'Move card to another board')" @close="modalShow=false">
|
||||||
|
<div class="modal__content">
|
||||||
|
<h3>{{ t('deck', 'Move card to another board') }}</h3>
|
||||||
|
<NcMultiselect v-model="selectedBoard"
|
||||||
|
:placeholder="t('deck', 'Select a board')"
|
||||||
|
:options="activeBoards"
|
||||||
|
:max-height="100"
|
||||||
|
label="title"
|
||||||
|
@select="loadStacksFromBoard" />
|
||||||
|
<NcMultiselect v-model="selectedStack"
|
||||||
|
:placeholder="t('deck', 'Select a list')"
|
||||||
|
:options="stacksFromBoard"
|
||||||
|
:max-height="100"
|
||||||
|
label="title">
|
||||||
|
<span slot="noOptions">
|
||||||
|
{{ t('deck', 'List is empty') }}
|
||||||
|
</span>
|
||||||
|
</NcMultiselect>
|
||||||
|
|
||||||
|
<button :disabled="!isBoardAndStackChoosen" class="primary" @click="moveCard">
|
||||||
|
{{ t('deck', 'Move card') }}
|
||||||
|
</button>
|
||||||
|
<button @click="modalShow=false">
|
||||||
|
{{ t('deck', 'Cancel') }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</NcModal>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { NcActions } from '@nextcloud/vue'
|
import { NcModal, NcActions, NcActionButton, NcMultiselect } from '@nextcloud/vue'
|
||||||
import CardMenuEntries from './CardMenuEntries.vue'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
import ArchiveIcon from 'vue-material-design-icons/Archive.vue'
|
||||||
|
import CardBulletedIcon from 'vue-material-design-icons/CardBulleted.vue'
|
||||||
|
import axios from '@nextcloud/axios'
|
||||||
|
import { generateUrl } from '@nextcloud/router'
|
||||||
|
import { getCurrentUser } from '@nextcloud/auth'
|
||||||
|
import { showUndo } from '@nextcloud/dialogs'
|
||||||
|
|
||||||
|
import '@nextcloud/dialogs/dist/index.css'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CardMenu',
|
name: 'CardMenu',
|
||||||
components: { NcActions, CardMenuEntries },
|
components: { NcActions, NcActionButton, NcModal, NcMultiselect, ArchiveIcon, CardBulletedIcon },
|
||||||
props: {
|
props: {
|
||||||
card: {
|
card: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
modalShow: false,
|
||||||
|
selectedBoard: '',
|
||||||
|
selectedStack: '',
|
||||||
|
stacksFromBoard: [],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters([
|
||||||
|
'isArchived',
|
||||||
|
'boards',
|
||||||
|
'cardActions',
|
||||||
|
'stackById',
|
||||||
|
]),
|
||||||
|
...mapState({
|
||||||
|
showArchived: state => state.showArchived,
|
||||||
|
currentBoard: state => state.currentBoard,
|
||||||
|
}),
|
||||||
|
canEdit() {
|
||||||
|
if (this.currentBoard) {
|
||||||
|
return this.$store.getters.canEdit
|
||||||
|
}
|
||||||
|
const board = this.$store.getters.boards.find((item) => item.id === this.card.boardId)
|
||||||
|
return !!board?.permissions?.PERMISSION_EDIT
|
||||||
|
},
|
||||||
|
isBoardAndStackChoosen() {
|
||||||
|
if (this.selectedBoard === '' || this.selectedStack === '') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
isCurrentUserAssigned() {
|
||||||
|
return this.card.assignedUsers.find((item) => item.type === 0 && item.participant.uid === getCurrentUser()?.uid)
|
||||||
|
},
|
||||||
|
activeBoards() {
|
||||||
|
return this.$store.getters.boards.filter((item) => item.deletedAt === 0 && item.archived === false)
|
||||||
|
},
|
||||||
|
|
||||||
|
boardId() {
|
||||||
|
return this.card?.boardId ? this.card.boardId : this.$route.params.id
|
||||||
|
},
|
||||||
|
currentCard() {
|
||||||
|
return this.$store.getters.cardById(this.card.id)
|
||||||
|
},
|
||||||
|
cardRichObject() {
|
||||||
|
return {
|
||||||
|
id: '' + this.currentCard.id,
|
||||||
|
name: this.currentCard.title,
|
||||||
|
boardname: this.currentBoard.title,
|
||||||
|
stackname: this.stackById(this.currentCard.stackId)?.title,
|
||||||
|
link: window.location.protocol + '//' + window.location.host + generateUrl('/apps/deck/') + `#/board/${this.currentBoard.id}/card/${this.currentCard.id}`,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
openCard() {
|
||||||
|
const boardId = this.card?.boardId ? this.card.boardId : this.$route.params.id
|
||||||
|
this.$router.push({ name: 'card', params: { id: boardId, cardId: this.card.id } }).catch(() => {})
|
||||||
|
},
|
||||||
|
deleteCard() {
|
||||||
|
this.$store.dispatch('deleteCard', this.card)
|
||||||
|
const undoCard = { ...this.card, deletedAt: 0 }
|
||||||
|
showUndo(t('deck', 'Card deleted'), () => this.$store.dispatch('cardUndoDelete', undoCard))
|
||||||
|
},
|
||||||
|
archiveUnarchiveCard() {
|
||||||
|
this.$store.dispatch('archiveUnarchiveCard', { ...this.card, archived: !this.card.archived })
|
||||||
|
},
|
||||||
|
assignCardToMe() {
|
||||||
|
this.$store.dispatch('assignCardToUser', {
|
||||||
|
card: this.card,
|
||||||
|
assignee: {
|
||||||
|
userId: getCurrentUser()?.uid,
|
||||||
|
type: 0,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
},
|
||||||
|
unassignCardFromMe() {
|
||||||
|
this.$store.dispatch('removeUserFromCard', {
|
||||||
|
card: this.card,
|
||||||
|
assignee: {
|
||||||
|
userId: getCurrentUser()?.uid,
|
||||||
|
type: 0,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
},
|
||||||
|
async moveCard() {
|
||||||
|
this.copiedCard = Object.assign({}, this.card)
|
||||||
|
this.copiedCard.stackId = this.selectedStack.id
|
||||||
|
this.$store.dispatch('moveCard', this.copiedCard)
|
||||||
|
if (parseInt(this.boardId) === parseInt(this.selectedStack.boardId)) {
|
||||||
|
await this.$store.commit('addNewCard', { ...this.copiedCard })
|
||||||
|
}
|
||||||
|
this.modalShow = false
|
||||||
|
},
|
||||||
|
async loadStacksFromBoard(board) {
|
||||||
|
try {
|
||||||
|
const url = generateUrl('/apps/deck/stacks/' + board.id)
|
||||||
|
const response = await axios.get(url)
|
||||||
|
this.stacksFromBoard = response.data
|
||||||
|
} catch (err) {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.modal__content {
|
||||||
|
width: 25vw;
|
||||||
|
min-width: 250px;
|
||||||
|
min-height: 120px;
|
||||||
|
text-align: center;
|
||||||
|
margin: 20px 20px 100px 20px;
|
||||||
|
|
||||||
|
.multiselect {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal__content button {
|
||||||
|
float: right;
|
||||||
|
margin-top: 50px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user