Compare commits
259
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da695de78e | ||
|
|
2783df1918 | ||
|
|
f520881538 | ||
|
|
bfb7cf9403 | ||
|
|
9c5f35a0d8 | ||
|
|
2185d36d36 | ||
|
|
4afc77488e | ||
|
|
cbee46b403 | ||
|
|
9eb5c62b01 | ||
|
|
1387f1c497 | ||
|
|
f76970b5a3 | ||
|
|
98be0d6f67 | ||
|
|
d046599192 | ||
|
|
e8ca2a9ab8 | ||
|
|
bdc3dae4f3 | ||
|
|
2412d29a40 | ||
|
|
703a88e99f | ||
|
|
336b3448cf | ||
|
|
4359819faf | ||
|
|
3f97414497 | ||
|
|
47ff7d8ad3 | ||
|
|
dc379b7a7e | ||
|
|
6a2a8c106b | ||
|
|
28a58303f0 | ||
|
|
01c84be945 | ||
|
|
b579041185 | ||
|
|
e3260772ca | ||
|
|
a65955b409 | ||
|
|
9a9abe53da | ||
|
|
b3040b8466 | ||
|
|
b3c93ae811 | ||
|
|
a1cf2b8bc7 | ||
|
|
6f9b0ddfe7 | ||
|
|
c9a68d3a63 | ||
|
|
7ac2c42e4d | ||
|
|
5abca0927b | ||
|
|
4512045cbf | ||
|
|
e56a01f42d | ||
|
|
cff602c246 | ||
|
|
13d52c721d | ||
|
|
98c10acb50 | ||
|
|
9b5ee28a69 | ||
|
|
8f5be72104 | ||
|
|
07df606c68 | ||
|
|
e8a07fc8e0 | ||
|
|
a800cbed5f | ||
|
|
2ac11b13a1 | ||
|
|
9aca4ca0f6 | ||
|
|
2c9625b26b | ||
|
|
25fd0f6108 | ||
|
|
942c2e4af6 | ||
|
|
5c93d0c57c | ||
|
|
ed5474a28a | ||
|
|
57e43a9d51 | ||
|
|
3de532ed50 | ||
|
|
84309701d3 | ||
|
|
e02ebbcba1 | ||
|
|
1f55e3f866 | ||
|
|
1563c462a2 | ||
|
|
63732a37c0 | ||
|
|
80f8570e22 | ||
|
|
a325b27051 | ||
|
|
f0ebc3542e | ||
|
|
69b619144d | ||
|
|
01f126bb43 | ||
|
|
a38fafefaa | ||
|
|
8691919d68 | ||
|
|
33f82a6d1f | ||
|
|
075ea98ccd | ||
|
|
4d0ab0ef7f | ||
|
|
5daa1c6808 | ||
|
|
522db23183 | ||
|
|
c52b7efc97 | ||
|
|
f77f03efbe | ||
|
|
f8fe3b7e87 | ||
|
|
90951d4003 | ||
|
|
03eff35245 | ||
|
|
727b69266a | ||
|
|
de1ad619cf | ||
|
|
d8ac7003c6 | ||
|
|
575df84476 | ||
|
|
de6079cc86 | ||
|
|
3dd42555b5 | ||
|
|
8d8406df05 | ||
|
|
e57f04ec23 | ||
|
|
91d603dc9e | ||
|
|
d9215b1a1b | ||
|
|
069cc5144f | ||
|
|
388abe97ce | ||
|
|
e8576577a3 | ||
|
|
f1311b74c6 | ||
|
|
5cbb06c226 | ||
|
|
affa0c465c | ||
|
|
92571d9998 | ||
|
|
a136161478 | ||
|
|
bab96a8686 | ||
|
|
43ad449ebf | ||
|
|
72d3a9ebf8 | ||
|
|
da9f36d568 | ||
|
|
2f78e0e22d | ||
|
|
8dfb34c863 | ||
|
|
ed071e504e | ||
|
|
d9c1f3d51a | ||
|
|
174522e63d | ||
|
|
e8426c0390 | ||
|
|
89f3caaa52 | ||
|
|
28b1bb824a | ||
|
|
eecb96a683 | ||
|
|
ee04423c4c | ||
|
|
5edccba028 | ||
|
|
8732837596 | ||
|
|
85823b3e97 | ||
|
|
3c13d3b635 | ||
|
|
3659b7b58d | ||
|
|
bbbd936868 | ||
|
|
80219c34b9 | ||
|
|
0124d10391 | ||
|
|
675985b26c | ||
|
|
a5cc5e3783 | ||
|
|
e124ad4df9 | ||
|
|
26f02d2e6a | ||
|
|
42e01637ef | ||
|
|
0af1accbb4 | ||
|
|
6bba2b2dc3 | ||
|
|
7a10a49c5c | ||
|
|
f2eac4623d | ||
|
|
a58c5de657 | ||
|
|
0b9fd2c485 | ||
|
|
940b450a56 | ||
|
|
d616bab76d | ||
|
|
92c58ab32f | ||
|
|
624907ad6a | ||
|
|
f9a6b4f1bb | ||
|
|
394c9432a8 | ||
|
|
3bafaa7101 | ||
|
|
b8c4e0a91e | ||
|
|
feb6b708e3 | ||
|
|
bd3eab8c34 | ||
|
|
1db1333d8a | ||
|
|
05349ddb5c | ||
|
|
3479fa1228 | ||
|
|
fef19c5c1d | ||
|
|
8ccb2cceea | ||
|
|
194a3239af | ||
|
|
8a91e30e12 | ||
|
|
0df69f6998 | ||
|
|
3f1cf817d6 | ||
|
|
d727e1ffb5 | ||
|
|
99499ad470 | ||
|
|
8c2728f62f | ||
|
|
6357d5eb02 | ||
|
|
436fcc2532 | ||
|
|
25173a57e5 | ||
|
|
1705d9de8d | ||
|
|
a22033acd3 | ||
|
|
44c659aa34 | ||
|
|
da0e110ee4 | ||
|
|
4d79bab8f1 | ||
|
|
88eef87a8c | ||
|
|
46c09d3e56 | ||
|
|
525367f2f4 | ||
|
|
bf5672bf36 | ||
|
|
9b85f3bd0c | ||
|
|
bd64778a6a | ||
|
|
bf6875533b | ||
|
|
5550b69144 | ||
|
|
5181ba587c | ||
|
|
742774dc6c | ||
|
|
6fe22aba39 | ||
|
|
cc82f3043f | ||
|
|
c3d2a92835 | ||
|
|
513f773041 | ||
|
|
8f69ce0e6b | ||
|
|
d6194b8f10 | ||
|
|
f826fb9a91 | ||
|
|
6ba55d4de0 | ||
|
|
22812199dd | ||
|
|
c7914bc245 | ||
|
|
4556cfb057 | ||
|
|
9e987a89d4 | ||
|
|
3bfde5a34d | ||
|
|
64ffba2813 | ||
|
|
2693419959 | ||
|
|
24fc7be8c4 | ||
|
|
452cc66b32 | ||
|
|
cf6836f857 | ||
|
|
de1eac5d36 | ||
|
|
3f62c013ba | ||
|
|
e8bf5e33f7 | ||
|
|
4238a5f6a3 | ||
|
|
c909bfcb8e | ||
|
|
49fa32aad6 | ||
|
|
216177d873 | ||
|
|
f3e77eb1f0 | ||
|
|
78379637d4 | ||
|
|
e393cfdfd7 | ||
|
|
1fac81c8de | ||
|
|
d03f9c7b73 | ||
|
|
d7eff8e43b | ||
|
|
f1f1f669b3 | ||
|
|
03cda24bcf | ||
|
|
004d5709d0 | ||
|
|
6794547942 | ||
|
|
32bdef841f | ||
|
|
e766b63d99 | ||
|
|
796199827e | ||
|
|
7f5f5a4b8d | ||
|
|
8522eb9b0d | ||
|
|
3c22b3cf00 | ||
|
|
d081cf80fc | ||
|
|
3ce3727a5e | ||
|
|
c36397188c | ||
|
|
564852ab12 | ||
|
|
7aed582965 | ||
|
|
70bd12badc | ||
|
|
2c486a30a0 | ||
|
|
d1df1a3174 | ||
|
|
de222f290a | ||
|
|
b9366ca9e3 | ||
|
|
57c6f2cd10 | ||
|
|
aad9d8dffc | ||
|
|
2c8e636561 | ||
|
|
d4a5d1ecdf | ||
|
|
703c641aeb | ||
|
|
b601671395 | ||
|
|
e36578bb89 | ||
|
|
cf77969550 | ||
|
|
e1718ccb35 | ||
|
|
412a8ef654 | ||
|
|
816da6bc50 | ||
|
|
21356ae08e | ||
|
|
dace07efda | ||
|
|
540c5f4225 | ||
|
|
58491ef55e | ||
|
|
8b0ab4758e | ||
|
|
fa032a889f | ||
|
|
e30374a28c | ||
|
|
b013b294e2 | ||
|
|
acdb45a92c | ||
|
|
29107e9865 | ||
|
|
a70c472aa3 | ||
|
|
e1893ff573 | ||
|
|
106a1c7864 | ||
|
|
fcd56cb7cf | ||
|
|
7055d7341c | ||
|
|
6a804e8b2d | ||
|
|
a917676e50 | ||
|
|
9c0c5fdd6c | ||
|
|
d42af853ec | ||
|
|
ca1384e3c9 | ||
|
|
28d5cd7b28 | ||
|
|
b5cbe99b0a | ||
|
|
d784e98f8c | ||
|
|
1f76a8bb64 | ||
|
|
4b464b3216 | ||
|
|
b346a96127 | ||
|
|
5f5d93dfa0 | ||
|
|
75dddc9dbe | ||
|
|
6a671a7093 |
+19
-21
@@ -363,7 +363,7 @@ steps:
|
||||
- api-build
|
||||
|
||||
- name: frontend-dependencies
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -377,7 +377,7 @@ steps:
|
||||
# - restore-cache
|
||||
|
||||
- name: frontend-lint
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -389,7 +389,7 @@ steps:
|
||||
- frontend-dependencies
|
||||
|
||||
- name: frontend-build-prod
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -401,7 +401,7 @@ steps:
|
||||
- frontend-dependencies
|
||||
|
||||
- name: frontend-test-unit
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
commands:
|
||||
- cd frontend
|
||||
@@ -412,7 +412,7 @@ steps:
|
||||
|
||||
- name: frontend-typecheck
|
||||
failure: ignore
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -543,7 +543,7 @@ steps:
|
||||
- git fetch --tags
|
||||
|
||||
- name: frontend-dependencies
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -555,7 +555,7 @@ steps:
|
||||
- pnpm install --fetch-timeout 100000
|
||||
|
||||
- name: frontend-build
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -626,7 +626,7 @@ steps:
|
||||
depends_on: [ generate-config-yaml ]
|
||||
|
||||
- name: before-static-build
|
||||
image: techknowlogick/xgo:latest
|
||||
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||
pull: always
|
||||
commands:
|
||||
- export PATH=$PATH:$GOPATH/bin
|
||||
@@ -635,7 +635,7 @@ steps:
|
||||
depends_on: [ fetch-tags, mage ]
|
||||
|
||||
- name: static-build-windows
|
||||
image: techknowlogick/xgo:latest
|
||||
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||
pull: always
|
||||
environment:
|
||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||
@@ -651,7 +651,7 @@ steps:
|
||||
- frontend-build
|
||||
|
||||
- name: static-build-linux
|
||||
image: techknowlogick/xgo:latest
|
||||
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||
pull: always
|
||||
environment:
|
||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||
@@ -667,7 +667,7 @@ steps:
|
||||
- frontend-build
|
||||
|
||||
- name: static-build-darwin
|
||||
image: techknowlogick/xgo:latest
|
||||
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||
pull: always
|
||||
environment:
|
||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||
@@ -693,7 +693,7 @@ steps:
|
||||
- ./mage-static release:compress
|
||||
|
||||
- name: after-build-static
|
||||
image: techknowlogick/xgo:latest
|
||||
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||
pull: always
|
||||
depends_on:
|
||||
- after-build-compress
|
||||
@@ -763,7 +763,7 @@ steps:
|
||||
|
||||
# Build os packages and push it to our bucket
|
||||
- name: build-os-packages-unstable
|
||||
image: goreleaser/nfpm:v2.40.0
|
||||
image: goreleaser/nfpm:v2.41.0
|
||||
pull: always
|
||||
commands:
|
||||
- apk add git go
|
||||
@@ -779,7 +779,7 @@ steps:
|
||||
depends_on: [ after-build-compress ]
|
||||
|
||||
- name: build-os-packages-version
|
||||
image: goreleaser/nfpm:v2.40.0
|
||||
image: goreleaser/nfpm:v2.41.0
|
||||
pull: always
|
||||
commands:
|
||||
- apk add git go
|
||||
@@ -884,7 +884,6 @@ steps:
|
||||
repo: vikunja/vikunja
|
||||
tags: unstable
|
||||
platforms:
|
||||
- linux/386
|
||||
- linux/amd64
|
||||
- linux/arm/v6
|
||||
- linux/arm/v7
|
||||
@@ -916,7 +915,6 @@ steps:
|
||||
from_secret: docker_password
|
||||
repo: vikunja/vikunja
|
||||
platforms:
|
||||
- linux/386
|
||||
- linux/amd64
|
||||
- linux/arm/v6
|
||||
- linux/arm/v7
|
||||
@@ -948,7 +946,7 @@ steps:
|
||||
- git fetch --tags
|
||||
|
||||
- name: build
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -1009,7 +1007,7 @@ steps:
|
||||
- git fetch --tags
|
||||
|
||||
- name: build
|
||||
image: node:20.16.0-alpine
|
||||
image: node:22.11.0-alpine
|
||||
pull: always
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -1150,7 +1148,7 @@ steps:
|
||||
# - '.cache'
|
||||
|
||||
- name: build
|
||||
image: electronuserland/builder:wine-mono
|
||||
image: electronuserland/builder:wine
|
||||
pull: true
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -1232,7 +1230,7 @@ steps:
|
||||
# - '.cache'
|
||||
|
||||
- name: build
|
||||
image: electronuserland/builder:wine-mono
|
||||
image: electronuserland/builder:wine
|
||||
pull: true
|
||||
environment:
|
||||
PNPM_CACHE_FOLDER: .cache/pnpm
|
||||
@@ -1400,6 +1398,6 @@ steps:
|
||||
- failure
|
||||
---
|
||||
kind: signature
|
||||
hmac: ba0652aeee2f07af2f861ea281d156db7ddd4803672dae0101ebb1f8111ec580
|
||||
hmac: 7fc1cb2b0cfdc84d7eda25ce75dd56446fc01060c03af89c91043f095e92a2b3
|
||||
|
||||
...
|
||||
|
||||
@@ -7,6 +7,24 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
All releases can be found on https://code.vikunja.io/vikunja/releases.
|
||||
|
||||
## [0.24.5] - 2024-11-21
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* *(attachments)* Check permissions when accessing all attachments
|
||||
* *(saved filters)* Check permissions when accessing tasks of a filter
|
||||
* Pin xgo to 1.22.x ([87b2aac](87b2aaccb8cdcbe1ecb6092951a0bfe224ad7006))
|
||||
* Upgrade xgo ([19b63c8](19b63c86c51f67614b867c75a58cda1774685edd))
|
||||
* Upgrade xgo docker image everywhere ([04b40f8](04b40f8a7dcd01a86ddb8b27596073d1e50f9e97))
|
||||
* *(ci)* Do not build linux 368 docker images
|
||||
* Disable 368 releases ([73db10f](73db10fb02268e07d29842493df55f4d645ac503))
|
||||
- **BREAKING**: disable 368 releases
|
||||
|
||||
### Miscellaneous Tasks
|
||||
|
||||
* Sign drone config ([17c4878](17c487875b5771c0971ee8bf030807171de2dddc))
|
||||
* Go mod tidy ([9639025](96390257e0911089ae33a9565e8be7fa954c772c))
|
||||
|
||||
## [0.24.4] - 2024-09-29
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM --platform=$BUILDPLATFORM node:20.16.0-alpine AS frontendbuilder
|
||||
FROM --platform=$BUILDPLATFORM node:22.11.0-alpine AS frontendbuilder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
@@ -13,7 +13,7 @@ RUN corepack enable && \
|
||||
pnpm install && \
|
||||
pnpm run build
|
||||
|
||||
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:go-1.21.x AS apibuilder
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/techknowlogick/xgo:go-1.23.x AS apibuilder
|
||||
|
||||
RUN go install github.com/magefile/mage@latest && \
|
||||
mv /go/bin/mage /usr/local/go/bin
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[](https://drone.kolaente.de/vikunja/vikunja)
|
||||
[](LICENSE)
|
||||
[](https://vikunja.io/docs/installing)
|
||||
[](https://vikunja.io/docs/installing)
|
||||
[](https://hub.docker.com/r/vikunja/vikunja/)
|
||||
[](https://try.vikunja.io/api/v1/docs)
|
||||
[](https://goreportcard.com/report/kolaente.dev/vikunja/vikunja)
|
||||
|
||||
+1
-1
@@ -17,6 +17,7 @@ body = """
|
||||
{% raw %} {% endraw %}- **BREAKING**: {{commit.breaking_description}}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{% raw %}\n{% endraw %}\
|
||||
{%- for commit in commits %}
|
||||
{%- if commit.scope -%}
|
||||
{% else -%}
|
||||
@@ -56,4 +57,3 @@ commit_parsers = [
|
||||
{ body = ".*security", group = "Security"},
|
||||
{ message = ".*", group = "Other", default_scope = "other"}, # Everything that's not a conventional commit goes into the "Other" category
|
||||
]
|
||||
|
||||
|
||||
+8
-2
@@ -132,6 +132,11 @@
|
||||
"key": "bcryptrounds",
|
||||
"default_value": "11",
|
||||
"comment": "The number of bcrypt rounds to use during registration. Each increment of this number doubles the computational cost. You probably don't need to change this value."
|
||||
},
|
||||
{
|
||||
"key": "enableopenidteamusersearch",
|
||||
"default_value": "false",
|
||||
"comment": "If enabled, users will only find other users who are part of an existing team when they are searching for a user by their partial name. The other existing team may be created from openid. It is still possible to add users to teams with their exact email address even when this is enabled."
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -246,7 +251,7 @@
|
||||
{
|
||||
"key": "url",
|
||||
"default_value": "",
|
||||
"comment": "The url to the Typesense instance you want to use. Can be hosted locally or in Typesense Cloud as long\nas Vikunja is able to reach it."
|
||||
"comment": "The url to the Typesense instance you want to use. Can be hosted locally or in Typesense Cloud as long as Vikunja is able to reach it. Must be a http(s) url."
|
||||
},
|
||||
{
|
||||
"key": "apikey",
|
||||
@@ -660,9 +665,10 @@
|
||||
},
|
||||
{
|
||||
"key": "providers",
|
||||
"comment": "A list of enabled providers. This expects an array, which means you cannot use enviroment variables.",
|
||||
"comment": "A list of enabled providers. You can freely choose the `<provider key>`. Note that you must add at least one key to a config file if you want to read values from an environment variable as the provider won't be known to Vikunja otherwise.",
|
||||
"children": [
|
||||
{
|
||||
"key": "<provider key>",
|
||||
"children": [
|
||||
{
|
||||
"key": "name",
|
||||
|
||||
@@ -51,11 +51,11 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "29.4.6",
|
||||
"electron-builder": "24.13.3"
|
||||
"electron": "33.2.1",
|
||||
"electron-builder": "25.1.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"connect-history-api-fallback": "2.0.0",
|
||||
"express": "4.21.1"
|
||||
"express": "4.21.2"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+1016
-73
File diff suppressed because it is too large
Load Diff
+8
-15
@@ -3,11 +3,10 @@
|
||||
"devenv": {
|
||||
"locked": {
|
||||
"dir": "src/modules",
|
||||
"lastModified": 1726063457,
|
||||
"lastModified": 1730028891,
|
||||
"owner": "cachix",
|
||||
"repo": "devenv",
|
||||
"rev": "39bf6ce569103c9390d37322daa59468c31b3ce7",
|
||||
"treeHash": "839747a1cb35ba6d5b36cce9a739ab2ba5e4a5d4",
|
||||
"rev": "a337f8862efa9bde348c48a48b5b943f710604dd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -24,7 +23,6 @@
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||
"treeHash": "2addb7b71a20a25ea74feeaf5c2f6a6b30898ecb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -45,7 +43,6 @@
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"treeHash": "ca14199cabdfe1a06a7b1654c76ed49100a689f9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -60,7 +57,6 @@
|
||||
"owner": "cachix",
|
||||
"repo": "devenv-nixpkgs",
|
||||
"rev": "4267e705586473d3e5c8d50299e71503f16a6fb6",
|
||||
"treeHash": "6d9f1f7ca0faf1bc2eeb397c78a49623260d3412",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -72,11 +68,10 @@
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1725930920,
|
||||
"lastModified": 1729973466,
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "44a71ff39c182edaf25a7ace5c9454e7cba2c658",
|
||||
"treeHash": "56e93544112b7bb7aa0c3093d537295683ef9148",
|
||||
"rev": "cd3e8833d70618c4eea8df06f95b364b016d4950",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -88,11 +83,10 @@
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1725983898,
|
||||
"lastModified": 1729880355,
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43",
|
||||
"treeHash": "d8ce0c1af7690da6161f0991484661331f5bc999",
|
||||
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -112,11 +106,10 @@
|
||||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725513492,
|
||||
"lastModified": 1729104314,
|
||||
"owner": "cachix",
|
||||
"repo": "pre-commit-hooks.nix",
|
||||
"rev": "7570de7b9b504cfe92025dd1be797bf546f66528",
|
||||
"treeHash": "4b46d77870afecd8f642541cb4f4927326343b59",
|
||||
"rev": "3c3e88f0f544d6bb54329832616af7eb971b6be6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
let
|
||||
pkgs-unstable = import inputs.nixpkgs-unstable { system = pkgs.stdenv.system; };
|
||||
in {
|
||||
scripts.patch-sass-embedded.exec = ''
|
||||
find node_modules/.pnpm/sass-embedded-linux-*/node_modules/sass-embedded-linux-*/dart-sass/src -name dart -print0 | xargs -I {} -0 patchelf --set-interpreter "$(<$NIX_CC/nix-support/dynamic-linker)" {}
|
||||
'';
|
||||
|
||||
packages = with pkgs-unstable; [
|
||||
# General tools
|
||||
git-cliff
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/* eslint-env node */
|
||||
require('@rushstack/eslint-patch/modern-module-resolution')
|
||||
|
||||
module.exports = {
|
||||
'root': true,
|
||||
'env': {
|
||||
'browser': true,
|
||||
'es2022': true,
|
||||
'node': true,
|
||||
},
|
||||
'extends': [
|
||||
'eslint:recommended',
|
||||
'plugin:vue/vue3-recommended',
|
||||
'@vue/eslint-config-typescript/recommended',
|
||||
],
|
||||
'rules': {
|
||||
'quotes': ['error', 'single'],
|
||||
'comma-dangle': ['error', 'always-multiline'],
|
||||
'semi': ['error', 'never'],
|
||||
|
||||
'vue/v-on-event-hyphenation': ['warn', 'never', { 'autofix': true }],
|
||||
'vue/multi-word-component-names': 'off',
|
||||
|
||||
// uncategorized rules:
|
||||
'vue/component-api-style': ['error', ['script-setup']],
|
||||
'vue/component-name-in-template-casing': ['error', 'PascalCase', {
|
||||
'globals': ['RouterView', 'RouterLink', 'Icon', 'Notifications', 'Modal', 'Card'],
|
||||
}],
|
||||
'vue/custom-event-name-casing': ['error', 'camelCase'],
|
||||
'vue/define-macros-order': 'error',
|
||||
'vue/match-component-file-name': ['error', {
|
||||
'extensions': ['.js', '.jsx', '.ts', '.tsx', '.vue'],
|
||||
'shouldMatchCase': true,
|
||||
}],
|
||||
'vue/no-boolean-default': ['warn', 'default-false'],
|
||||
'vue/match-component-import-name': 'error',
|
||||
'vue/prefer-separate-static-class': 'warn',
|
||||
|
||||
'vue/padding-line-between-blocks': 'error',
|
||||
'vue/next-tick-style': ['error', 'promise'],
|
||||
'vue/block-lang': [
|
||||
'error',
|
||||
{ 'script': { 'lang': 'ts' } },
|
||||
],
|
||||
'vue/no-duplicate-attr-inheritance': 'error',
|
||||
'vue/no-empty-component-block': 'error',
|
||||
'vue/html-indent': ['error', 'tab'],
|
||||
|
||||
// vue3
|
||||
'vue/no-ref-object-reactivity-loss': 'error',
|
||||
'vue/no-setup-props-reactivity-loss': 'warn', // TODO: switch to error after vite `propsDestructure` is removed
|
||||
},
|
||||
'parser': 'vue-eslint-parser',
|
||||
'parserOptions': {
|
||||
'parser': '@typescript-eslint/parser',
|
||||
'ecmaVersion': 'latest',
|
||||
'tsconfigRootDir': __dirname,
|
||||
},
|
||||
'ignorePatterns': [
|
||||
'*.test.*',
|
||||
'cypress/*',
|
||||
],
|
||||
}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
20.16.0
|
||||
22.11.0
|
||||
@@ -59,7 +59,7 @@ describe('Projects', () => {
|
||||
cy.get('.menu-container .menu-list li:first-child .dropdown .dropdown-content')
|
||||
.contains('Edit')
|
||||
.click()
|
||||
cy.get('#title')
|
||||
cy.get('#title:not(:disabled)')
|
||||
.type(`{selectall}${newProjectName}`)
|
||||
cy.get('footer.card-footer .button')
|
||||
.contains('Save')
|
||||
|
||||
@@ -9,7 +9,7 @@ export class LinkShareFactory extends Factory {
|
||||
|
||||
return {
|
||||
id: '{increment}',
|
||||
hash: faker.random.word(32),
|
||||
hash: faker.lorem.word(32),
|
||||
project_id: 1,
|
||||
right: 0,
|
||||
sharing_type: 0,
|
||||
|
||||
@@ -10,7 +10,7 @@ export class UserFactory extends Factory {
|
||||
|
||||
return {
|
||||
id: '{increment}',
|
||||
username: faker.lorem.word(10) + faker.datatype.uuid(),
|
||||
username: faker.lorem.word(10) + faker.string.uuid(),
|
||||
password: '$2a$14$dcadBoMBL9jQoOcZK8Fju.cy0Ptx2oZECkKLnaa8ekRoTFe1w7To.', // 1234
|
||||
status: 0,
|
||||
issuer: 'local',
|
||||
|
||||
Vendored
-5
@@ -1,8 +1,3 @@
|
||||
declare module 'postcss-easings' {
|
||||
import postcssEasings from 'postcss-easings'
|
||||
export default postcssEasings
|
||||
}
|
||||
|
||||
declare module 'postcss-easing-gradients' {
|
||||
import postcssEasingGradients from 'postcss-easing-gradients'
|
||||
export default postcssEasingGradients
|
||||
|
||||
Vendored
+2
@@ -16,6 +16,8 @@ interface ImportMetaEnv {
|
||||
readonly SENTRY_PROJECT?: string
|
||||
|
||||
readonly VITE_IS_ONLINE: boolean
|
||||
|
||||
readonly VUE_DEVTOOLS_LAUNCH_EDITOR: VitePluginVueDevToolsOptions.launchEditor
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
import pluginVue from 'eslint-plugin-vue'
|
||||
import js from '@eslint/js'
|
||||
import vueTsEslintConfig from '@vue/eslint-config-typescript'
|
||||
|
||||
export default [
|
||||
js.configs.recommended,
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
...vueTsEslintConfig(),
|
||||
{
|
||||
ignores: [
|
||||
'**/*.test.ts',
|
||||
'./cypress',
|
||||
],
|
||||
},
|
||||
{
|
||||
rules: {
|
||||
'quotes': ['error', 'single'],
|
||||
'comma-dangle': ['error', 'always-multiline'],
|
||||
'semi': ['error', 'never'],
|
||||
|
||||
'vue/v-on-event-hyphenation': ['warn', 'never', {'autofix': true}],
|
||||
'vue/multi-word-component-names': 'off',
|
||||
|
||||
// uncategorized rules:
|
||||
'vue/component-api-style': ['error', ['script-setup']],
|
||||
'vue/component-name-in-template-casing': ['error', 'PascalCase', {
|
||||
'globals': ['RouterView', 'RouterLink', 'Icon', 'Notifications', 'Modal', 'Card'],
|
||||
}],
|
||||
'vue/custom-event-name-casing': ['error', 'camelCase'],
|
||||
'vue/define-macros-order': 'error',
|
||||
'vue/match-component-file-name': ['error', {
|
||||
'extensions': ['.js', '.jsx', '.ts', '.tsx', '.vue'],
|
||||
'shouldMatchCase': true,
|
||||
}],
|
||||
'vue/no-boolean-default': ['warn', 'default-false'],
|
||||
'vue/match-component-import-name': 'error',
|
||||
'vue/prefer-separate-static-class': 'warn',
|
||||
|
||||
'vue/padding-line-between-blocks': 'error',
|
||||
'vue/next-tick-style': ['error', 'promise'],
|
||||
'vue/block-lang': [
|
||||
'error',
|
||||
{'script': {'lang': 'ts'}},
|
||||
],
|
||||
'vue/no-duplicate-attr-inheritance': 'error',
|
||||
'vue/no-empty-component-block': 'error',
|
||||
'vue/html-indent': ['error', 'tab'],
|
||||
|
||||
// vue3
|
||||
'vue/no-ref-object-reactivity-loss': 'error',
|
||||
'vue/no-setup-props-reactivity-loss': 'warn', // TODO: switch to error after vite `propsDestructure` is removed
|
||||
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
{
|
||||
// 'args': 'all',
|
||||
// 'argsIgnorePattern': '^_',
|
||||
'caughtErrors': 'all',
|
||||
'caughtErrorsIgnorePattern': '^_',
|
||||
// 'destructuredArrayIgnorePattern': '^_',
|
||||
'varsIgnorePattern': '^_',
|
||||
'ignoreRestSiblings': true,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// files: ['*.vue', '**/*.vue'],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
parser: '@typescript-eslint/parser',
|
||||
ecmaVersion: 'latest',
|
||||
tsconfigRootDir: '.',
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
// 'parser': 'vue-eslint-parser',
|
||||
// 'parserOptions': {
|
||||
// 'parser': '@typescript-eslint/parser',
|
||||
// 'ecmaVersion': 'latest',
|
||||
// 'tsconfigRootDir': __dirname,
|
||||
// },
|
||||
// 'ignorePatterns': [
|
||||
// 'cypress/*',
|
||||
// ],
|
||||
},
|
||||
|
||||
]
|
||||
+82
-87
@@ -13,7 +13,7 @@
|
||||
},
|
||||
"homepage": "https://vikunja.io/",
|
||||
"funding": "https://opencollective.com/vikunja",
|
||||
"packageManager": "pnpm@9.12.2",
|
||||
"packageManager": "pnpm@9.15.0",
|
||||
"keywords": [
|
||||
"todo",
|
||||
"productivity",
|
||||
@@ -31,7 +31,6 @@
|
||||
"preview:test": "vite preview --port 4173 --outDir dist-test",
|
||||
"build": "vite build && workbox copyLibraries dist/",
|
||||
"build:test": "vite build --outDir dist-test && workbox copyLibraries dist-dev/",
|
||||
"build:modern-only": "BUILD_MODERN_ONLY=true vite build && workbox copyLibraries dist/",
|
||||
"build:dev": "vite build --mode development --outDir dist-dev/",
|
||||
"lint": "eslint 'src/**/*.{js,ts,vue}'",
|
||||
"lint:fix": "pnpm run lint --fix",
|
||||
@@ -50,59 +49,59 @@
|
||||
"story:preview": "histoire preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "6.6.0",
|
||||
"@fortawesome/free-regular-svg-icons": "6.6.0",
|
||||
"@fortawesome/free-solid-svg-icons": "6.6.0",
|
||||
"@fortawesome/fontawesome-svg-core": "6.7.2",
|
||||
"@fortawesome/free-regular-svg-icons": "6.7.2",
|
||||
"@fortawesome/free-solid-svg-icons": "6.7.2",
|
||||
"@fortawesome/vue-fontawesome": "3.0.8",
|
||||
"@github/hotkey": "3.1.1",
|
||||
"@infectoone/vue-ganttastic": "2.3.2",
|
||||
"@intlify/unplugin-vue-i18n": "5.2.0",
|
||||
"@kyvg/vue3-notification": "3.4.0",
|
||||
"@intlify/unplugin-vue-i18n": "6.0.1",
|
||||
"@kyvg/vue3-notification": "3.4.1",
|
||||
"@sentry/tracing": "7.114.0",
|
||||
"@sentry/vue": "8.34.0",
|
||||
"@tiptap/core": "2.8.0",
|
||||
"@tiptap/extension-blockquote": "2.8.0",
|
||||
"@tiptap/extension-bold": "2.8.0",
|
||||
"@tiptap/extension-bullet-list": "2.8.0",
|
||||
"@tiptap/extension-code": "2.8.0",
|
||||
"@tiptap/extension-code-block": "2.8.0",
|
||||
"@tiptap/extension-code-block-lowlight": "2.8.0",
|
||||
"@tiptap/extension-document": "2.8.0",
|
||||
"@tiptap/extension-dropcursor": "2.8.0",
|
||||
"@tiptap/extension-gapcursor": "2.8.0",
|
||||
"@tiptap/extension-hard-break": "2.8.0",
|
||||
"@tiptap/extension-heading": "2.8.0",
|
||||
"@tiptap/extension-history": "2.8.0",
|
||||
"@tiptap/extension-horizontal-rule": "2.8.0",
|
||||
"@tiptap/extension-image": "2.8.0",
|
||||
"@tiptap/extension-italic": "2.8.0",
|
||||
"@tiptap/extension-link": "2.8.0",
|
||||
"@tiptap/extension-list-item": "2.8.0",
|
||||
"@tiptap/extension-ordered-list": "2.8.0",
|
||||
"@tiptap/extension-paragraph": "2.8.0",
|
||||
"@tiptap/extension-placeholder": "2.8.0",
|
||||
"@tiptap/extension-strike": "2.8.0",
|
||||
"@tiptap/extension-table": "2.8.0",
|
||||
"@tiptap/extension-table-cell": "2.8.0",
|
||||
"@tiptap/extension-table-header": "2.8.0",
|
||||
"@tiptap/extension-table-row": "2.8.0",
|
||||
"@tiptap/extension-task-item": "2.8.0",
|
||||
"@tiptap/extension-task-list": "2.8.0",
|
||||
"@tiptap/extension-text": "2.8.0",
|
||||
"@tiptap/extension-typography": "2.8.0",
|
||||
"@tiptap/extension-underline": "2.8.0",
|
||||
"@tiptap/pm": "2.8.0",
|
||||
"@tiptap/suggestion": "2.8.0",
|
||||
"@tiptap/vue-3": "2.8.0",
|
||||
"@vueuse/core": "11.1.0",
|
||||
"@vueuse/router": "11.1.0",
|
||||
"axios": "1.7.7",
|
||||
"@sentry/vue": "8.47.0",
|
||||
"@tiptap/core": "2.10.4",
|
||||
"@tiptap/extension-blockquote": "2.10.4",
|
||||
"@tiptap/extension-bold": "2.10.4",
|
||||
"@tiptap/extension-bullet-list": "2.10.4",
|
||||
"@tiptap/extension-code": "2.10.4",
|
||||
"@tiptap/extension-code-block": "2.10.4",
|
||||
"@tiptap/extension-code-block-lowlight": "2.10.4",
|
||||
"@tiptap/extension-document": "2.10.4",
|
||||
"@tiptap/extension-dropcursor": "2.10.4",
|
||||
"@tiptap/extension-gapcursor": "2.10.4",
|
||||
"@tiptap/extension-hard-break": "2.10.4",
|
||||
"@tiptap/extension-heading": "2.10.4",
|
||||
"@tiptap/extension-history": "2.10.4",
|
||||
"@tiptap/extension-horizontal-rule": "2.10.4",
|
||||
"@tiptap/extension-image": "2.10.4",
|
||||
"@tiptap/extension-italic": "2.10.4",
|
||||
"@tiptap/extension-link": "2.10.4",
|
||||
"@tiptap/extension-list-item": "2.10.4",
|
||||
"@tiptap/extension-ordered-list": "2.10.4",
|
||||
"@tiptap/extension-paragraph": "2.10.4",
|
||||
"@tiptap/extension-placeholder": "2.10.4",
|
||||
"@tiptap/extension-strike": "2.10.4",
|
||||
"@tiptap/extension-table": "2.10.4",
|
||||
"@tiptap/extension-table-cell": "2.10.4",
|
||||
"@tiptap/extension-table-header": "2.10.4",
|
||||
"@tiptap/extension-table-row": "2.10.4",
|
||||
"@tiptap/extension-task-item": "2.10.4",
|
||||
"@tiptap/extension-task-list": "2.10.4",
|
||||
"@tiptap/extension-text": "2.10.4",
|
||||
"@tiptap/extension-typography": "2.10.4",
|
||||
"@tiptap/extension-underline": "2.10.4",
|
||||
"@tiptap/pm": "2.10.4",
|
||||
"@tiptap/suggestion": "2.10.4",
|
||||
"@tiptap/vue-3": "2.10.4",
|
||||
"@vueuse/core": "12.0.0",
|
||||
"@vueuse/router": "12.0.0",
|
||||
"axios": "1.7.9",
|
||||
"blurhash": "2.0.5",
|
||||
"bulma-css-variables": "0.9.33",
|
||||
"change-case": "5.4.4",
|
||||
"date-fns": "4.1.0",
|
||||
"dayjs": "1.11.13",
|
||||
"dompurify": "3.1.7",
|
||||
"dompurify": "3.2.3",
|
||||
"fast-deep-equal": "3.1.3",
|
||||
"flatpickr": "4.6.13",
|
||||
"flexsearch": "0.7.43",
|
||||
@@ -110,72 +109,68 @@
|
||||
"is-touch-device": "1.0.1",
|
||||
"klona": "2.0.6",
|
||||
"lowlight": "2.9.0",
|
||||
"pinia": "2.2.4",
|
||||
"pinia": "2.3.0",
|
||||
"register-service-worker": "1.7.2",
|
||||
"sortablejs": "1.15.3",
|
||||
"tailwindcss": "3.4.14",
|
||||
"sortablejs": "1.15.6",
|
||||
"tailwindcss": "3.4.17",
|
||||
"tippy.js": "6.3.7",
|
||||
"ufo": "1.5.4",
|
||||
"vue": "3.5.12",
|
||||
"vue": "3.5.13",
|
||||
"vue-advanced-cropper": "2.8.9",
|
||||
"vue-flatpickr-component": "11.0.5",
|
||||
"vue-i18n": "10.0.4",
|
||||
"vue-router": "4.4.5",
|
||||
"vuemoji-picker": "0.3.1",
|
||||
"workbox-precaching": "7.1.0",
|
||||
"vue-i18n": "10.0.5",
|
||||
"vue-router": "4.5.0",
|
||||
"vuemoji-picker": "0.3.2",
|
||||
"workbox-precaching": "7.3.0",
|
||||
"zhyswan-vuedraggable": "4.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@4tw/cypress-drag-drop": "2.2.5",
|
||||
"@cypress/vite-dev-server": "5.2.0",
|
||||
"@cypress/vite-dev-server": "5.2.1",
|
||||
"@cypress/vue": "6.0.1",
|
||||
"@faker-js/faker": "8.4.1",
|
||||
"@faker-js/faker": "9.3.0",
|
||||
"@histoire/plugin-screenshot": "0.17.17",
|
||||
"@histoire/plugin-vue": "0.17.17",
|
||||
"@rushstack/eslint-patch": "1.10.4",
|
||||
"@tsconfig/node20": "20.1.4",
|
||||
"@tsconfig/node22": "22.0.0",
|
||||
"@types/codemirror": "5.60.15",
|
||||
"@types/dompurify": "3.0.5",
|
||||
"@types/flexsearch": "0.7.6",
|
||||
"@types/is-touch-device": "1.0.3",
|
||||
"@types/lodash.clonedeep": "4.5.9",
|
||||
"@types/node": "20.16.11",
|
||||
"@types/node": "22.10.2",
|
||||
"@types/sortablejs": "1.15.8",
|
||||
"@typescript-eslint/eslint-plugin": "7.18.0",
|
||||
"@typescript-eslint/parser": "7.18.0",
|
||||
"@vitejs/plugin-legacy": "5.4.2",
|
||||
"@vitejs/plugin-vue": "5.1.4",
|
||||
"@vue/eslint-config-typescript": "13.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "8.18.1",
|
||||
"@typescript-eslint/parser": "8.18.1",
|
||||
"@vitejs/plugin-vue": "5.2.1",
|
||||
"@vue/eslint-config-typescript": "14.1.4",
|
||||
"@vue/test-utils": "2.4.6",
|
||||
"@vue/tsconfig": "0.5.1",
|
||||
"@vue/tsconfig": "0.7.0",
|
||||
"autoprefixer": "10.4.20",
|
||||
"browserslist": "4.24.0",
|
||||
"caniuse-lite": "1.0.30001667",
|
||||
"browserslist": "4.24.3",
|
||||
"caniuse-lite": "1.0.30001689",
|
||||
"csstype": "3.1.3",
|
||||
"cypress": "13.15.0",
|
||||
"cypress": "13.17.0",
|
||||
"esbuild": "0.24.0",
|
||||
"eslint": "8.57.1",
|
||||
"eslint-plugin-vue": "9.28.0",
|
||||
"happy-dom": "14.12.3",
|
||||
"eslint": "9.17.0",
|
||||
"eslint-plugin-vue": "9.32.0",
|
||||
"happy-dom": "15.11.7",
|
||||
"histoire": "0.17.17",
|
||||
"postcss": "8.4.47",
|
||||
"postcss": "8.4.49",
|
||||
"postcss-easing-gradients": "3.0.1",
|
||||
"postcss-easings": "4.0.0",
|
||||
"postcss-preset-env": "9.6.0",
|
||||
"rollup": "4.24.0",
|
||||
"postcss-preset-env": "10.1.2",
|
||||
"rollup": "4.28.1",
|
||||
"rollup-plugin-visualizer": "5.12.0",
|
||||
"sass": "1.79.4",
|
||||
"start-server-and-test": "2.0.8",
|
||||
"typescript": "5.6.3",
|
||||
"unplugin-inject-preload": "2.0.5",
|
||||
"vite": "5.4.8",
|
||||
"vite-plugin-pwa": "0.20.5",
|
||||
"sass-embedded": "1.83.0",
|
||||
"start-server-and-test": "2.0.9",
|
||||
"typescript": "5.7.2",
|
||||
"unplugin-inject-preload": "3.0.0",
|
||||
"vite": "6.0.3",
|
||||
"vite-plugin-pwa": "0.21.1",
|
||||
"vite-plugin-sentry": "1.4.0",
|
||||
"vite-plugin-vue-devtools": "7.6.8",
|
||||
"vite-svg-loader": "5.1.0",
|
||||
"vitest": "1.6.0",
|
||||
"vue-tsc": "2.1.6",
|
||||
"wait-on": "7.2.0",
|
||||
"workbox-cli": "7.1.0"
|
||||
"vitest": "2.1.8",
|
||||
"vue-tsc": "2.1.10",
|
||||
"wait-on": "8.0.1",
|
||||
"workbox-cli": "7.3.0"
|
||||
},
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
|
||||
Generated
+3936
-3122
File diff suppressed because it is too large
Load Diff
@@ -102,6 +102,4 @@ setLanguage(authStore.settings.language)
|
||||
useColorScheme()
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import '@/styles/global.scss';
|
||||
</style>
|
||||
<style lang="scss" src="@/styles/global.scss" />
|
||||
|
||||
@@ -73,6 +73,7 @@ function getHeight(el: HTMLElement) {
|
||||
* https://gist.github.com/paulirish/5d52fb081b3570c81e3a
|
||||
*/
|
||||
function forceLayout(el: HTMLElement) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
||||
el.offsetTop
|
||||
}
|
||||
|
||||
@@ -133,11 +134,16 @@ function removeHeight(el: HTMLElement) {
|
||||
<style lang="scss" scoped>
|
||||
$transition-time: 300ms;
|
||||
|
||||
// https://easings.net/#easeInQuint
|
||||
$ease-in-quint: cubic-bezier(0.64, 0, 0.78, 0);
|
||||
// https://easings.net/#easeInOutQuint
|
||||
$ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
|
||||
|
||||
.expandable-slide-enter-active,
|
||||
.expandable-slide-leave-active {
|
||||
transition:
|
||||
opacity $transition-time ease-in-quint,
|
||||
height $transition-time ease-in-out-quint;
|
||||
opacity $transition-time $ease-in-quint,
|
||||
height $transition-time $ease-in-out-quint;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,9 +36,9 @@
|
||||
</p>
|
||||
<p>{{ $t('misc.forExample') }}</p>
|
||||
<ul>
|
||||
<li><code>+1d</code> {{ $t('input.datemathHelp.add1Day') }}</li>
|
||||
<li><code>-1d</code> {{ $t('input.datemathHelp.minus1Day') }}</li>
|
||||
<li><code>/d</code> {{ $t('input.datemathHelp.roundDay') }}</li>
|
||||
<li><code>+1d</code>: {{ $t('input.datemathHelp.add1Day') }}</li>
|
||||
<li><code>-1d</code>: {{ $t('input.datemathHelp.minus1Day') }}</li>
|
||||
<li><code>/d</code>: {{ $t('input.datemathHelp.roundDay') }}</li>
|
||||
</ul>
|
||||
<h3>{{ $t('input.datemathHelp.supportedUnits') }}</h3>
|
||||
<table class="table">
|
||||
|
||||
@@ -30,8 +30,7 @@ const enabled = computed(() => configStore.demoModeEnabled && !hide.value)
|
||||
.demo-mode-banner {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset-inline: 0;
|
||||
background: var(--danger);
|
||||
z-index: 100;
|
||||
padding: .5rem;
|
||||
|
||||
@@ -76,38 +76,32 @@
|
||||
v-if="projectStore.isLoading"
|
||||
variant="small"
|
||||
/>
|
||||
<template v-else>
|
||||
<nav
|
||||
v-if="favoriteProjects"
|
||||
class="menu"
|
||||
>
|
||||
<ProjectsNavigation
|
||||
:model-value="favoriteProjects"
|
||||
:can-edit-order="false"
|
||||
:can-collapse="false"
|
||||
/>
|
||||
</nav>
|
||||
|
||||
<nav
|
||||
v-if="savedFilterProjects"
|
||||
class="menu"
|
||||
>
|
||||
<ProjectsNavigation
|
||||
:model-value="savedFilterProjects"
|
||||
:can-edit-order="false"
|
||||
:can-collapse="false"
|
||||
/>
|
||||
</nav>
|
||||
<nav
|
||||
v-else
|
||||
class="menu"
|
||||
>
|
||||
<ProjectsNavigation
|
||||
v-if="favoriteProjects?.length"
|
||||
:model-value="favoriteProjects"
|
||||
:can-edit-order="false"
|
||||
:can-collapse="false"
|
||||
/>
|
||||
|
||||
<nav class="menu">
|
||||
<ProjectsNavigation
|
||||
:model-value="projects"
|
||||
:can-edit-order="true"
|
||||
:can-collapse="true"
|
||||
:level="1"
|
||||
/>
|
||||
</nav>
|
||||
</template>
|
||||
<ProjectsNavigation
|
||||
v-if="savedFilterProjects?.length"
|
||||
:model-value="savedFilterProjects"
|
||||
:can-edit-order="false"
|
||||
:can-collapse="false"
|
||||
/>
|
||||
|
||||
<ProjectsNavigation
|
||||
v-if="projects?.length"
|
||||
:model-value="projects"
|
||||
:can-edit-order="true"
|
||||
:can-collapse="true"
|
||||
:level="1"
|
||||
/>
|
||||
</nav>
|
||||
|
||||
<PoweredByLink
|
||||
class="mt-auto"
|
||||
@@ -117,7 +111,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {computed} from 'vue'
|
||||
import { storeToRefs } from 'pinia'
|
||||
|
||||
import PoweredByLink from '@/components/home/PoweredByLink.vue'
|
||||
import Logo from '@/components/home/Logo.vue'
|
||||
@@ -129,16 +123,15 @@ import ProjectsNavigation from '@/components/home/ProjectsNavigation.vue'
|
||||
|
||||
const baseStore = useBaseStore()
|
||||
const projectStore = useProjectStore()
|
||||
|
||||
const projects = computed(() => projectStore.notArchivedRootProjects)
|
||||
const favoriteProjects = computed(() => projectStore.favoriteProjects)
|
||||
const savedFilterProjects = computed(() => projectStore.savedFilterProjects)
|
||||
const {
|
||||
notArchivedRootProjects: projects,
|
||||
favoriteProjects,
|
||||
savedFilterProjects,
|
||||
} = storeToRefs(projectStore)
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.logo {
|
||||
display: block;
|
||||
|
||||
padding-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
@@ -192,7 +185,7 @@ const savedFilterProjects = computed(() => projectStore.savedFilterProjects)
|
||||
}
|
||||
}
|
||||
|
||||
.menu + .menu {
|
||||
.menu-list + .menu-list {
|
||||
padding-top: math.div($navbar-padding, 2);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {computed, defineProps} from 'vue'
|
||||
import {computed} from 'vue'
|
||||
import BaseButton from '@/components/base/BaseButton.vue'
|
||||
import {POWERED_BY as poweredByUrl} from '@/urls'
|
||||
|
||||
|
||||
@@ -84,12 +84,14 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import {computed} from 'vue'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
import {useBaseStore} from '@/stores/base'
|
||||
import {storeToRefs} from 'pinia'
|
||||
import {useStorage} from '@vueuse/core'
|
||||
|
||||
import type {IProject} from '@/modelTypes/IProject'
|
||||
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
import {useBaseStore} from '@/stores/base'
|
||||
|
||||
import BaseButton from '@/components/base/BaseButton.vue'
|
||||
import ProjectSettingsDropdown from '@/components/project/ProjectSettingsDropdown.vue'
|
||||
import {getProjectTitle} from '@/helpers/getProjectTitle'
|
||||
@@ -105,18 +107,17 @@ const props = defineProps<{
|
||||
|
||||
const projectStore = useProjectStore()
|
||||
const baseStore = useBaseStore()
|
||||
const currentProject = computed(() => baseStore.currentProject)
|
||||
const {currentProject} = storeToRefs(baseStore)
|
||||
|
||||
// Persist open state across browser reloads. Using a separate ref for the state
|
||||
// allows us to use only one entry in local storage instead of one for every project id.
|
||||
type OpenState = { [key: number]: boolean }
|
||||
const childProjectsOpenState = useStorage<OpenState>('navigation-child-projects-open', {})
|
||||
const childProjectsCollapsed = useStorage<{ [key: number]: boolean }>('navigation-child-projects-collapsed', {})
|
||||
const childProjectsOpen = computed({
|
||||
get() {
|
||||
return childProjectsOpenState.value[props.project.id] ?? true
|
||||
return childProjectsCollapsed.value[props.project.id] ?? true
|
||||
},
|
||||
set(open) {
|
||||
childProjectsOpenState.value[props.project.id] = open
|
||||
childProjectsCollapsed.value[props.project.id] = open
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -198,13 +198,13 @@ import {setLinkInEditor} from '@/components/input/editor/setLinkInEditor'
|
||||
const {
|
||||
modelValue,
|
||||
uploadCallback,
|
||||
isEditEnabled = true,
|
||||
bottomActions = [],
|
||||
showSave = false,
|
||||
placeholder = '',
|
||||
editShortcut = '',
|
||||
enableDiscardShortcut = false,
|
||||
} = defineProps<{
|
||||
isEditEnabled,
|
||||
bottomActions,
|
||||
showSave,
|
||||
placeholder,
|
||||
editShortcut,
|
||||
enableDiscardShortcut,
|
||||
} = withDefaults(defineProps<{
|
||||
modelValue: string,
|
||||
uploadCallback?: UploadCallback,
|
||||
isEditEnabled?: boolean,
|
||||
@@ -213,7 +213,14 @@ const {
|
||||
placeholder?: string,
|
||||
editShortcut?: string,
|
||||
enableDiscardShortcut?: boolean,
|
||||
}>()
|
||||
}>(), {
|
||||
isEditEnabled: true,
|
||||
bottomActions: () => [],
|
||||
showSave: false,
|
||||
placeholder: '',
|
||||
editShortcut: '',
|
||||
enableDiscardShortcut: false,
|
||||
})
|
||||
|
||||
const emit = defineEmits(['update:modelValue', 'save'])
|
||||
|
||||
|
||||
@@ -117,6 +117,7 @@ async function setApiUrl() {
|
||||
success({message: t('apiConfig.success', {domain: apiDomain.value})})
|
||||
configureApi.value = false
|
||||
emit('foundApi', apiUrl.value)
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (e) {
|
||||
// Still not found, url is still invalid
|
||||
errorMsg.value = t('apiConfig.error', {domain: apiDomain.value})
|
||||
|
||||
@@ -159,6 +159,7 @@ function to(n, index) {
|
||||
case names.TASK_COMMENT:
|
||||
case names.TASK_ASSIGNED:
|
||||
case names.TASK_REMINDER:
|
||||
case names.TASK_MENTIONED:
|
||||
to.name = 'task.detail'
|
||||
to.params.id = n.notification.task.id
|
||||
break
|
||||
|
||||
@@ -133,7 +133,7 @@ const highlightedFilterQuery = computed(() => {
|
||||
}
|
||||
|
||||
let labelTitles = [value.trim()]
|
||||
if (operator === 'in' || operator === '?=') {
|
||||
if (operator === 'in' || operator === '?=' || operator === 'not in' || operator === '?!=') {
|
||||
labelTitles = value.split(',').map(v => v.trim())
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@ const showDocs = ref(false)
|
||||
<li><code><=</code>: {{ $t('filters.query.help.operators.lessThanOrEqual') }}</li>
|
||||
<li><code>like</code>: {{ $t('filters.query.help.operators.like') }}</li>
|
||||
<li><code>in</code>: {{ $t('filters.query.help.operators.in') }}</li>
|
||||
<li><code>not in</code>: {{ $t('filters.query.help.operators.notIn') }}</li>
|
||||
</ul>
|
||||
<p>{{ $t('filters.query.help.logicalOperators.intro') }}</p>
|
||||
<ul>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
:has-title="true"
|
||||
class="filter-popup"
|
||||
:change-immediately="false"
|
||||
:filter-from-view="filterFromView"
|
||||
@showResults="showResults"
|
||||
/>
|
||||
</Modal>
|
||||
@@ -31,14 +32,22 @@ import {computed, ref, watch} from 'vue'
|
||||
import Filters from '@/components/project/partials/Filters.vue'
|
||||
|
||||
import {type TaskFilterParams} from '@/services/taskCollection'
|
||||
import {type IProjectView} from '@/modelTypes/IProjectView'
|
||||
import {type IProject} from '@/modelTypes/IProject'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
|
||||
const props = defineProps<{
|
||||
modelValue: TaskFilterParams,
|
||||
projectId?: IProject['id'],
|
||||
viewId?: IProjectView['id'],
|
||||
}>()
|
||||
|
||||
const emit = defineEmits<{
|
||||
'update:modelValue': [value: TaskFilterParams]
|
||||
}>()
|
||||
|
||||
const projectStore = useProjectStore()
|
||||
|
||||
const value = ref<TaskFilterParams>({})
|
||||
|
||||
watch(
|
||||
@@ -67,6 +76,19 @@ function showResults() {
|
||||
})
|
||||
modalOpen.value = false
|
||||
}
|
||||
|
||||
const filterFromView = computed(() => {
|
||||
if (!props.projectId || !props.viewId) {
|
||||
return
|
||||
}
|
||||
|
||||
const project = projectStore.projects[props.projectId]
|
||||
if (!project) {
|
||||
return
|
||||
}
|
||||
const view = project.views.find(v => v.id === props.viewId)
|
||||
return view?.filter?.filter
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
@@ -10,6 +10,15 @@
|
||||
@update:modelValue="() => change('modelValue')"
|
||||
@blur="() => change('blur')"
|
||||
/>
|
||||
|
||||
<div
|
||||
v-if="filterFromView"
|
||||
class="tw-text-sm tw-mb-2"
|
||||
>
|
||||
{{ $t('filters.fromView') }}
|
||||
<code>{{ filterFromView }}</code><br>
|
||||
{{ $t('filters.fromViewBoth') }}
|
||||
</div>
|
||||
|
||||
<div class="field is-flex is-flex-direction-column">
|
||||
<FancyCheckbox
|
||||
@@ -56,7 +65,11 @@ import {useRoute} from 'vue-router'
|
||||
import type {TaskFilterParams} from '@/services/taskCollection'
|
||||
import {useLabelStore} from '@/stores/labels'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
import {FILTER_OPERATORS, transformFilterStringForApi, transformFilterStringFromApi} from '@/helpers/filters'
|
||||
import {
|
||||
hasFilterQuery,
|
||||
transformFilterStringForApi,
|
||||
transformFilterStringFromApi,
|
||||
} from '@/helpers/filters'
|
||||
import FilterInputDocs from '@/components/project/partials/FilterInputDocs.vue'
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
@@ -64,6 +77,7 @@ const props = withDefaults(defineProps<{
|
||||
hasTitle?: boolean,
|
||||
hasFooter?: boolean,
|
||||
changeImmediately?: boolean,
|
||||
filterFromView?: string,
|
||||
}>(), {
|
||||
hasTitle: false,
|
||||
hasFooter: true,
|
||||
@@ -151,8 +165,7 @@ function change(event: 'blur' | 'modelValue' | 'always') {
|
||||
let s = ''
|
||||
|
||||
// When the filter does not contain any filter tokens, assume a simple search and redirect the input
|
||||
const hasFilterQueries = FILTER_OPERATORS.find(o => filter.includes(o)) || false
|
||||
if (!hasFilterQueries) {
|
||||
if (!hasFilterQuery(filter)) {
|
||||
s = filter
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ import type {IProject} from '@/modelTypes/IProject'
|
||||
|
||||
import BaseButton from '@/components/base/BaseButton.vue'
|
||||
|
||||
import {useProjectBackground} from './useProjectBackground'
|
||||
import {useProjectBackground} from '@/composables/useProjectBackground'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
import {getProjectTitle} from '@/helpers/getProjectTitle'
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
<FilterPopup
|
||||
v-if="!isSavedFilter(project)"
|
||||
v-model="params"
|
||||
:view-id="viewId"
|
||||
:project-id="projectId"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -189,10 +191,12 @@
|
||||
</div>
|
||||
<x-button
|
||||
v-else
|
||||
v-tooltip="bucket.limit > 0 && bucket.count >= bucket.limit ? $t('project.kanban.bucketLimitReached') : ''"
|
||||
class="is-fullwidth has-text-centered"
|
||||
:shadow="false"
|
||||
icon="plus"
|
||||
variant="secondary"
|
||||
:disabled="bucket.limit > 0 && bucket.count >= bucket.limit"
|
||||
@click="toggleShowNewTaskInput(bucket.id)"
|
||||
>
|
||||
{{
|
||||
@@ -208,6 +212,7 @@
|
||||
class="kanban-card"
|
||||
:task="task"
|
||||
:loading="taskUpdating[task.id] ?? false"
|
||||
:project-id="projectId"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -411,10 +416,7 @@ watch(
|
||||
collapsedBuckets.value = getCollapsedBucketState(projectId)
|
||||
kanbanStore.loadBucketsForProject(projectId, viewId, params)
|
||||
},
|
||||
{
|
||||
immediate: true,
|
||||
deep: true,
|
||||
},
|
||||
{ immediate: true },
|
||||
)
|
||||
|
||||
function setTaskContainerRef(id: IBucket['id'], el: HTMLElement) {
|
||||
@@ -566,7 +568,6 @@ async function addTaskToBucket(bucketId: IBucket['id']) {
|
||||
bucketId,
|
||||
projectId: project.value.id,
|
||||
})
|
||||
toggleShowNewTaskInput(bucketId)
|
||||
newTaskText.value = ''
|
||||
kanbanStore.addTaskToBucket(task)
|
||||
scrollTaskContainerToTop(bucketId)
|
||||
@@ -972,4 +973,4 @@ $filter-container-height: '1rem - #{$switch-view-height}';
|
||||
.move-card-leave-active {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
<FilterPopup
|
||||
v-if="!isSavedFilter(project)"
|
||||
v-model="params"
|
||||
:view-id="viewId"
|
||||
:project-id="projectId"
|
||||
@update:modelValue="prepareFiltersAndLoadTasks()"
|
||||
/>
|
||||
</div>
|
||||
@@ -35,14 +37,13 @@
|
||||
<Nothing v-if="ctaVisible && tasks.length === 0 && !loading">
|
||||
{{ $t('project.list.empty') }}
|
||||
<ButtonLink
|
||||
v-if="project.id > 0"
|
||||
v-if="project.id > 0 && canWrite"
|
||||
@click="focusNewTaskInput()"
|
||||
>
|
||||
{{ $t('project.list.newTaskCta') }}
|
||||
</ButtonLink>
|
||||
</Nothing>
|
||||
|
||||
|
||||
<draggable
|
||||
v-if="tasks && tasks.length > 0"
|
||||
v-model="tasks"
|
||||
@@ -138,7 +139,14 @@ const {
|
||||
loadTasks,
|
||||
params,
|
||||
sortByParam,
|
||||
} = useTaskList(() => props.projectId, () => props.viewId, {position: 'asc'})
|
||||
} = useTaskList(
|
||||
() => props.projectId,
|
||||
() => props.viewId,
|
||||
{position: 'asc'},
|
||||
() => props.projectId === -1
|
||||
? null
|
||||
: 'subtasks',
|
||||
)
|
||||
|
||||
const taskPositionService = ref(new TaskPositionService())
|
||||
|
||||
|
||||
@@ -67,7 +67,12 @@
|
||||
</Card>
|
||||
</template>
|
||||
</Popup>
|
||||
<FilterPopup v-model="params" />
|
||||
<FilterPopup
|
||||
v-if="!isSavedFilter({id: projectId})"
|
||||
v-model="params"
|
||||
:view-id="viewId"
|
||||
:project-id="projectId"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -290,6 +295,7 @@ import type {IProject} from '@/modelTypes/IProject'
|
||||
import AssigneeList from '@/components/tasks/partials/AssigneeList.vue'
|
||||
import type {IProjectView} from '@/modelTypes/IProjectView'
|
||||
import { camelCase } from 'change-case'
|
||||
import {isSavedFilter} from '@/services/savedFilter'
|
||||
|
||||
const props = defineProps<{
|
||||
projectId: IProject['id'],
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import type {IProjectView} from '@/modelTypes/IProjectView'
|
||||
import type {IFilter} from '@/modelTypes/ISavedFilter'
|
||||
import XButton from '@/components/input/Button.vue'
|
||||
import FilterInput from '@/components/project/partials/FilterInput.vue'
|
||||
import {ref, onBeforeMount} from 'vue'
|
||||
import {transformFilterStringForApi, transformFilterStringFromApi} from '@/helpers/filters'
|
||||
import {onBeforeMount, ref} from 'vue'
|
||||
import {hasFilterQuery, transformFilterStringForApi, transformFilterStringFromApi} from '@/helpers/filters'
|
||||
import {useLabelStore} from '@/stores/labels'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
import FilterInputDocs from '@/components/project/partials/FilterInputDocs.vue'
|
||||
@@ -28,18 +29,24 @@ const labelStore = useLabelStore()
|
||||
const projectStore = useProjectStore()
|
||||
|
||||
onBeforeMount(() => {
|
||||
const transform = (filterString: string) => transformFilterStringFromApi(
|
||||
filterString,
|
||||
labelId => labelStore.getLabelById(labelId)?.title || null,
|
||||
projectId => projectStore.projects[projectId]?.title || null,
|
||||
)
|
||||
const transformFilterToString = (filter: IFilter): string => {
|
||||
if (filter.s !== '') {
|
||||
return filter.s
|
||||
}
|
||||
|
||||
return transformFilterStringFromApi(
|
||||
filter.filter,
|
||||
labelId => labelStore.getLabelById(labelId)?.title || null,
|
||||
projectId => projectStore.projects[projectId]?.title || null,
|
||||
)
|
||||
}
|
||||
|
||||
const transformed = {
|
||||
...props.modelValue,
|
||||
filter: transform(props.modelValue.filter),
|
||||
filter: transformFilterToString(props.modelValue.filter),
|
||||
bucketConfiguration: props.modelValue.bucketConfiguration.map(bc => ({
|
||||
title: bc.title,
|
||||
filter: transform(bc.filter),
|
||||
filter: transformFilterToString(bc.filter),
|
||||
})),
|
||||
}
|
||||
|
||||
@@ -49,21 +56,31 @@ onBeforeMount(() => {
|
||||
})
|
||||
|
||||
function save() {
|
||||
const transformFilter = (filterQuery: string) => transformFilterStringForApi(
|
||||
filterQuery,
|
||||
labelTitle => labelStore.getLabelByExactTitle(labelTitle)?.id || null,
|
||||
projectTitle => {
|
||||
const found = projectStore.findProjectByExactname(projectTitle)
|
||||
return found?.id || null
|
||||
},
|
||||
)
|
||||
const transformFilterForApi = (filterQuery: string): IFilter => {
|
||||
const filterString = transformFilterStringForApi(
|
||||
filterQuery,
|
||||
labelTitle => labelStore.getLabelByExactTitle(labelTitle)?.id || null,
|
||||
projectTitle => {
|
||||
const found = projectStore.findProjectByExactname(projectTitle)
|
||||
return found?.id || null
|
||||
},
|
||||
)
|
||||
const filter: IFilter = {}
|
||||
if (hasFilterQuery(filterString)) {
|
||||
filter.filter = filterString
|
||||
} else {
|
||||
filter.s = filterString
|
||||
}
|
||||
|
||||
return filter
|
||||
}
|
||||
|
||||
emit('update:modelValue', {
|
||||
...view.value,
|
||||
filter: transformFilter(view.value?.filter),
|
||||
filter: transformFilterForApi(view.value?.filter || ''),
|
||||
bucketConfiguration: view.value?.bucketConfiguration.map(bc => ({
|
||||
title: bc.title,
|
||||
filter: transformFilter(bc.filter),
|
||||
filter: transformFilterForApi(bc.filter || ''),
|
||||
})),
|
||||
})
|
||||
}
|
||||
@@ -231,7 +248,7 @@ function handleBubbleSave() {
|
||||
<XButton
|
||||
variant="secondary"
|
||||
icon="plus"
|
||||
@click="() => view.bucketConfiguration.push({title: '', filter: ''})"
|
||||
@click="() => view.bucketConfiguration.push({title: '', filter: {filter: ''}})"
|
||||
>
|
||||
{{ $t('project.kanban.addBucket') }}
|
||||
</XButton>
|
||||
|
||||
@@ -100,7 +100,9 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th />
|
||||
<th>{{ $t('project.share.links.view') }}</th>
|
||||
<th v-if="availableViews.length > 0">
|
||||
{{ $t('project.share.links.view') }}
|
||||
</th>
|
||||
<th>{{ $t('project.share.attributes.delete') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -150,7 +152,7 @@
|
||||
<div class="field has-addons no-input-mobile">
|
||||
<div class="control">
|
||||
<input
|
||||
:value="getShareLink(s.hash, selectedView[s.id])"
|
||||
:value="shareLinks[s.id]"
|
||||
class="input"
|
||||
readonly
|
||||
type="text"
|
||||
@@ -160,7 +162,7 @@
|
||||
<x-button
|
||||
v-tooltip="$t('misc.copy')"
|
||||
:shadow="false"
|
||||
@click="copy(getShareLink(s.hash, selectedView[s.id]))"
|
||||
@click="copy(shareLinks[s.id])"
|
||||
>
|
||||
<span class="icon">
|
||||
<Icon icon="paste" />
|
||||
@@ -169,9 +171,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<td v-if="availableViews.length > 0">
|
||||
<div class="select">
|
||||
<select v-model="selectedView[s.id]">
|
||||
<select v-model="selectedViews[s.id]">
|
||||
<option
|
||||
v-for="(view) in availableViews"
|
||||
:key="view.id"
|
||||
@@ -251,10 +253,6 @@ const showDeleteModal = ref(false)
|
||||
const linkIdToDelete = ref(0)
|
||||
const showNewForm = ref(false)
|
||||
|
||||
type SelectedViewMapper = Record<IProject['id'], IProjectView['id']>
|
||||
|
||||
const selectedView = ref<SelectedViewMapper>({})
|
||||
|
||||
const projectStore = useProjectStore()
|
||||
|
||||
const availableViews = computed<IProjectView[]>(() => projectStore.projects[props.projectId]?.views || [])
|
||||
@@ -274,13 +272,28 @@ async function load(projectId: IProject['id']) {
|
||||
return
|
||||
}
|
||||
|
||||
const links = await linkShareService.getAll({projectId})
|
||||
links.forEach((l: ILinkShare) => {
|
||||
selectedView.value[l.id] = availableViews.value[0].id
|
||||
})
|
||||
linkShares.value = links
|
||||
linkShares.value = await linkShareService.getAll({projectId})
|
||||
}
|
||||
|
||||
type SelectedViewMapper = Record<IProject['id'], IProjectView['id']>
|
||||
|
||||
const selectedViews = ref<SelectedViewMapper>({})
|
||||
|
||||
watch(() => ([linkShares.value, availableViews.value]), ([newLinkShares, newProjectViews]) => {
|
||||
if (!newLinkShares?.length || !newProjectViews?.length) {
|
||||
selectedViews.value = {}
|
||||
return
|
||||
}
|
||||
|
||||
newLinkShares.forEach((linkShare) => {
|
||||
selectedViews.value[linkShare.id] = newProjectViews.length > 0 ? newProjectViews[0].id : null
|
||||
})
|
||||
}, {
|
||||
immediate:true,
|
||||
deep: true,
|
||||
})
|
||||
|
||||
|
||||
async function add(projectId: IProject['id']) {
|
||||
const newLinkShare = new LinkShareModel({
|
||||
right: selectedRight.value,
|
||||
@@ -310,9 +323,17 @@ async function remove(projectId: IProject['id']) {
|
||||
}
|
||||
}
|
||||
|
||||
function getShareLink(hash: string, viewId: IProjectView['id']) {
|
||||
return frontendUrl.value + 'share/' + hash + '/auth?view=' + viewId
|
||||
function getShareLink(hash: string, viewId: IProjectView['id']|null) {
|
||||
return frontendUrl.value + 'share/' + hash + '/auth' + (viewId ? '?view=' + viewId : '')
|
||||
}
|
||||
|
||||
const shareLinks = computed(() => {
|
||||
return linkShares.value.reduce((links, linkShare) => {
|
||||
links[linkShare.id] = getShareLink(linkShare.hash, selectedViews.value[linkShare.id] ?? null)
|
||||
return links
|
||||
}, {} as {[id: string]: string },
|
||||
)
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@@ -320,4 +341,4 @@ function getShareLink(hash: string, viewId: IProjectView['id']) {
|
||||
.sharables-project:not(.card-content) {
|
||||
overflow-y: auto
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -250,7 +250,6 @@ const sharableName = computed(() => {
|
||||
|
||||
if (props.shareType === 'user') {
|
||||
searchService = shallowReactive(new UserService())
|
||||
// eslint-disable-next-line vue/no-ref-as-operand
|
||||
sharable = ref(new UserModel())
|
||||
searchLabel.value = 'username'
|
||||
|
||||
@@ -262,7 +261,6 @@ if (props.shareType === 'user') {
|
||||
}
|
||||
} else if (props.shareType === 'team') {
|
||||
searchService = new TeamService()
|
||||
// eslint-disable-next-line vue/no-ref-as-operand
|
||||
sharable = ref(new TeamModel())
|
||||
searchLabel.value = 'name'
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
:class="{'textarea-empty': newTaskTitle === ''}"
|
||||
:placeholder="$t('project.list.addPlaceholder')"
|
||||
rows="1"
|
||||
@keyup="resetEmptyTitleError"
|
||||
@keydown="resetEmptyTitleError"
|
||||
@keydown.enter="handleEnter"
|
||||
/>
|
||||
<span class="icon is-small is-left">
|
||||
@@ -99,13 +99,10 @@ const taskAddHovered = useElementHover(taskAdd)
|
||||
|
||||
const errorMessage = ref('')
|
||||
|
||||
function resetEmptyTitleError(e: KeyboardEvent) {
|
||||
if (
|
||||
(e.which <= 90 && e.which >= 48 || e.which >= 96 && e.which <= 105)
|
||||
&& newTaskTitle.value !== ''
|
||||
) {
|
||||
errorMessage.value = ''
|
||||
}
|
||||
function resetEmptyTitleError() {
|
||||
if (!newTaskTitle.value) {
|
||||
errorMessage.value = ''
|
||||
}
|
||||
}
|
||||
|
||||
const loading = computed(() => taskStore.isLoading)
|
||||
@@ -135,7 +132,7 @@ async function addTask() {
|
||||
|
||||
const taskCollectionService = new TaskService()
|
||||
const projectIndices = new Map<number, number>()
|
||||
|
||||
|
||||
let currentProjectId = authStore.settings.defaultProjectId
|
||||
if (typeof router.currentRoute.value.params.projectId !== 'undefined') {
|
||||
currentProjectId = Number(router.currentRoute.value.params.projectId)
|
||||
@@ -143,22 +140,22 @@ async function addTask() {
|
||||
|
||||
// Create a map of project indices before creating tasks
|
||||
if (tasksToCreate.length > 1) {
|
||||
for (const {project} of tasksToCreate) {
|
||||
const projectId = project !== null
|
||||
? await taskStore.findProjectId({project, projectId: 0})
|
||||
: currentProjectId
|
||||
for (const {project} of tasksToCreate) {
|
||||
const projectId = project !== null
|
||||
? await taskStore.findProjectId({project, projectId: 0})
|
||||
: currentProjectId
|
||||
|
||||
if (!projectIndices.has(projectId)) {
|
||||
const newestTask = await taskCollectionService.getAll(new TaskModel({}), {
|
||||
sort_by: ['id'],
|
||||
order_by: ['desc'],
|
||||
per_page: 1,
|
||||
filter: `project_id = ${projectId}`,
|
||||
})
|
||||
projectIndices.set(projectId, newestTask[0]?.index || 0)
|
||||
if (!projectIndices.has(projectId)) {
|
||||
const newestTask = await taskCollectionService.getAll(new TaskModel({}), {
|
||||
sort_by: ['id'],
|
||||
order_by: ['desc'],
|
||||
per_page: 1,
|
||||
filter: `project_id = ${projectId}`,
|
||||
})
|
||||
projectIndices.set(projectId, newestTask[0]?.index || 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const newTasks = tasksToCreate.map(async ({title, project}, index) => {
|
||||
if (title === '') {
|
||||
@@ -169,7 +166,7 @@ async function addTask() {
|
||||
const projectId = project !== null
|
||||
? await taskStore.findProjectId({project, projectId: 0})
|
||||
: currentProjectId
|
||||
|
||||
|
||||
// Calculate new index for this task per project
|
||||
let taskIndex: number | undefined
|
||||
if (tasksToCreate.length > 1) {
|
||||
@@ -201,7 +198,6 @@ async function addTask() {
|
||||
|
||||
const isParent = allParentTasks.includes(t.title)
|
||||
if (t.parent === null && !isParent) {
|
||||
emit('taskAdded', createdTask)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -215,23 +211,37 @@ async function addTask() {
|
||||
otherTaskId: createdParentTask.id,
|
||||
relationKind: RELATION_KIND.PARENTTASK,
|
||||
}))
|
||||
|
||||
createdTask.relatedTasks[RELATION_KIND.PARENTTASK] = [{
|
||||
|
||||
if (typeof createdTask.relatedTasks === 'undefined') {
|
||||
createdTask.relatedTasks = {}
|
||||
}
|
||||
if (typeof createdTask.relatedTasks[RELATION_KIND.PARENTTASK] === 'undefined') {
|
||||
createdTask.relatedTasks[RELATION_KIND.PARENTTASK] = []
|
||||
}
|
||||
createdTask.relatedTasks[RELATION_KIND.PARENTTASK].push({
|
||||
...createdParentTask,
|
||||
relatedTasks: {}, // To avoid endless references
|
||||
}]
|
||||
// we're only emitting here so that the relation shows up in the project
|
||||
emit('taskAdded', createdTask)
|
||||
})
|
||||
|
||||
createdParentTask.relatedTasks[RELATION_KIND.SUBTASK] = [{
|
||||
if (typeof createdParentTask.relatedTasks === 'undefined') {
|
||||
createdParentTask.relatedTasks = {}
|
||||
}
|
||||
if (typeof createdParentTask.relatedTasks[RELATION_KIND.SUBTASK] === 'undefined') {
|
||||
createdParentTask.relatedTasks[RELATION_KIND.SUBTASK] = []
|
||||
}
|
||||
createdParentTask.relatedTasks[RELATION_KIND.SUBTASK].push({
|
||||
...createdTask,
|
||||
relatedTasks: {}, // To avoid endless references
|
||||
}]
|
||||
emit('taskAdded', createdParentTask)
|
||||
})
|
||||
|
||||
return rel
|
||||
})
|
||||
await Promise.all(relations)
|
||||
|
||||
// We're emitting all tasks at once at the end to avoid the same task showing up multiple times
|
||||
Object.values(createdTasks).forEach(task => {
|
||||
emit('taskAdded', task)
|
||||
})
|
||||
} catch (e) {
|
||||
newTaskTitle.value = taskTitleBackup
|
||||
if (e?.message === 'NO_PROJECT') {
|
||||
@@ -264,7 +274,7 @@ defineExpose({
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.task-add,
|
||||
// overwrite bulma styles
|
||||
// overwrite bulma styles
|
||||
.task-add .add-task__field {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -19,19 +19,30 @@
|
||||
class="tw-w-full"
|
||||
>
|
||||
<div class="p-2">
|
||||
<span class="task-id">
|
||||
<Done
|
||||
class="kanban-card__done"
|
||||
:is-done="task.done"
|
||||
variant="small"
|
||||
/>
|
||||
<template v-if="task.identifier === ''">
|
||||
#{{ task.index }}
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ task.identifier }}
|
||||
</template>
|
||||
</span>
|
||||
<div class="task-id tw-flex tw-justify-between">
|
||||
<div>
|
||||
<Done
|
||||
class="kanban-card__done"
|
||||
:is-done="task.done"
|
||||
variant="small"
|
||||
/>
|
||||
<template v-if="task.identifier === ''">
|
||||
#{{ task.index }}
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ task.identifier }}
|
||||
</template>
|
||||
<span
|
||||
v-if="showTaskPosition"
|
||||
class="tw-text-red-600 tw-pl-2"
|
||||
>
|
||||
{{ task.position }}
|
||||
</span>
|
||||
</div>
|
||||
<div v-if="projectTitle">
|
||||
{{ projectTitle }}
|
||||
</div>
|
||||
</div>
|
||||
<span
|
||||
v-if="task.dueDate > 0"
|
||||
v-tooltip="formatDateLong(task.dueDate)"
|
||||
@@ -104,6 +115,7 @@ import ChecklistSummary from './ChecklistSummary.vue'
|
||||
|
||||
import {getHexColor} from '@/models/task'
|
||||
import type {ITask} from '@/modelTypes/ITask'
|
||||
import type {IProject} from '@/modelTypes/IProject'
|
||||
import {SUPPORTED_IMAGE_SUFFIX} from '@/models/attachment'
|
||||
import AttachmentService, {PREVIEW_SIZE} from '@/services/attachment'
|
||||
|
||||
@@ -113,9 +125,11 @@ import {useTaskStore} from '@/stores/tasks'
|
||||
import AssigneeList from '@/components/tasks/partials/AssigneeList.vue'
|
||||
import {playPopSound} from '@/helpers/playPop'
|
||||
import {isEditorContentEmpty} from '@/helpers/editorContentEmpty'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
task: ITask,
|
||||
projectId: IProject['id'],
|
||||
loading: boolean,
|
||||
}>(), {
|
||||
loading: false,
|
||||
@@ -127,6 +141,19 @@ const loadingInternal = ref(false)
|
||||
|
||||
const color = computed(() => getHexColor(props.task.hexColor))
|
||||
|
||||
const projectStore = useProjectStore()
|
||||
|
||||
const projectTitle = computed(() => {
|
||||
if (props.projectId === props.task.projectId) {
|
||||
return false
|
||||
}
|
||||
|
||||
const project = projectStore.projects[props.task.projectId]
|
||||
return project?.title
|
||||
})
|
||||
|
||||
const showTaskPosition = computed(() => window.DEBUG_TASK_POSITION)
|
||||
|
||||
async function toggleTaskDone(task: ITask) {
|
||||
loadingInternal.value = true
|
||||
try {
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
<ul>
|
||||
<!-- Not localized because these only work in english -->
|
||||
<li>Today</li>
|
||||
<li>Tonight</li>
|
||||
<li>Tomorrow</li>
|
||||
<li>Next monday</li>
|
||||
<li>This weekend</li>
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
@update:modelValue="toggleTaskDone(task)"
|
||||
/>
|
||||
<RouterLink
|
||||
:to="{ name: route.name as string, params: { id: task.id } }"
|
||||
:to="{ name: route.name as string, params: { id: task.id }, state: { backdropView: route.fullPath } }"
|
||||
:class="{ 'is-strikethrough': task.done}"
|
||||
>
|
||||
<span
|
||||
|
||||
@@ -144,7 +144,7 @@ watch(
|
||||
if (newReminder) {
|
||||
reminder.value = newReminder
|
||||
|
||||
if (newReminder.relativeTo === null) {
|
||||
if (newReminder.relativeTo === null && newReminder.reminder !== null) {
|
||||
reminderDate.value = new Date(newReminder.reminder)
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ function updateData() {
|
||||
})
|
||||
}
|
||||
|
||||
function addNewReminder(newReminder: ITaskReminder) {
|
||||
function addNewReminder(newReminder: ITaskReminder|null) {
|
||||
if (newReminder === null) {
|
||||
return
|
||||
}
|
||||
|
||||
@@ -5,9 +5,12 @@ export function useBodyClass(className: string, defaultValue = false) {
|
||||
const isActive = ref(defaultValue)
|
||||
|
||||
watchEffect(() => {
|
||||
isActive.value
|
||||
? document.body.classList.add(className)
|
||||
: document.body.classList.remove(className)
|
||||
if(isActive.value) {
|
||||
document.body.classList.add(className)
|
||||
return
|
||||
}
|
||||
|
||||
document.body.classList.remove(className)
|
||||
})
|
||||
|
||||
tryOnBeforeUnmount(() => isActive.value && document.body.classList.remove(className))
|
||||
|
||||
@@ -24,7 +24,8 @@ export function useCopyToClipboard() {
|
||||
if (!successful) {
|
||||
throw new Error()
|
||||
}
|
||||
} catch (err) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (e) {
|
||||
error(t('misc.copyError'))
|
||||
}
|
||||
|
||||
@@ -38,6 +39,7 @@ export function useCopyToClipboard() {
|
||||
}
|
||||
try {
|
||||
await navigator.clipboard.writeText(text)
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch(e) {
|
||||
error(t('misc.copyError'))
|
||||
}
|
||||
|
||||
@@ -0,0 +1,223 @@
|
||||
import { ref, reactive, computed, type MaybeRefOrGetter, toValue, watch } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { klona } from 'klona/lite'
|
||||
|
||||
import type { ITask } from '@/modelTypes/ITask'
|
||||
import type { IProject } from '@/modelTypes/IProject'
|
||||
import type { Priority } from '@/constants/priorities'
|
||||
import type {Action as MessageAction} from '@/message'
|
||||
|
||||
import TaskModel from '@/models/task'
|
||||
|
||||
import { useTaskStore } from '@/stores/tasks'
|
||||
import { useProjectStore } from '@/stores/projects'
|
||||
import { useKanbanStore } from '@/stores/kanban'
|
||||
import { useBaseStore } from '@/stores/base'
|
||||
|
||||
import { RIGHTS } from '@/constants/rights'
|
||||
import { success } from '@/message'
|
||||
import { playPopSound } from '@/helpers/playPop'
|
||||
import { TASK_REPEAT_MODES } from '@/types/IRepeatMode'
|
||||
import { shallowReactive } from 'vue'
|
||||
import TaskService from '@/services/task'
|
||||
import { useAttachmentStore } from '@/stores/attachments'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { getProjectTitle } from '@/helpers/getProjectTitle'
|
||||
import { uploadFile } from '@/helpers/attachments'
|
||||
|
||||
export function useTask(taskId: MaybeRefOrGetter<ITask['id']>) {
|
||||
const {t} = useI18n()
|
||||
const router = useRouter()
|
||||
const taskStore = useTaskStore()
|
||||
|
||||
const taskTitle = ref('')
|
||||
|
||||
// We doubled the task color property here because verte does not have a real change property, leading
|
||||
// to the color property change being triggered when the # is removed from it, leading to an update,
|
||||
// which leads in turn to a change... This creates an infinite loop in which the task is updated, changed,
|
||||
// updated, changed, updated and so on.
|
||||
// To prevent this, we put the task color property in a seperate value which is set to the task color
|
||||
// when it is saved and loaded.
|
||||
const taskColor = ref<ITask['hexColor']>('')
|
||||
|
||||
const task = reactive({
|
||||
...new TaskModel(),
|
||||
title: taskTitle,
|
||||
}) as ITask
|
||||
|
||||
const taskService = shallowReactive(new TaskService())
|
||||
|
||||
/** Avoid flashing of empty elements if the task content is not yet loaded. */
|
||||
const isReady = ref(false)
|
||||
|
||||
const isLoading = computed(() => taskService.loading)
|
||||
|
||||
// load task
|
||||
watch(
|
||||
() => toValue(taskId),
|
||||
async (newTaskId) => {
|
||||
if (newTaskId === undefined) {
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
const loaded = await taskService.get({ id: newTaskId })
|
||||
Object.assign(task, loaded)
|
||||
attachmentStore.set(task.attachments)
|
||||
taskColor.value = task.hexColor
|
||||
setActiveFields()
|
||||
} finally {
|
||||
isReady.value = true
|
||||
}
|
||||
},
|
||||
{immediate: true},
|
||||
)
|
||||
|
||||
const canWrite = computed(() => (
|
||||
task.maxRight !== null &&
|
||||
task.maxRight > RIGHTS.READ
|
||||
))
|
||||
|
||||
const projectStore = useProjectStore()
|
||||
|
||||
const project = computed(() => projectStore.projects[task.projectId])
|
||||
|
||||
const ancestorProjects = computed(() => projectStore.getAncestors(project.value))
|
||||
|
||||
const ancestorProjectTitles = computed(() => ancestorProjects.value.map(project => getProjectTitle(project)))
|
||||
|
||||
const attachmentStore = useAttachmentStore()
|
||||
const {hasAttachments} = storeToRefs(attachmentStore)
|
||||
|
||||
async function saveTask(
|
||||
currentTask: ITask | null = null,
|
||||
undoCallback?: () => void,
|
||||
) {
|
||||
if (currentTask === null) {
|
||||
currentTask = klona(task)
|
||||
}
|
||||
|
||||
if (!canWrite.value) {
|
||||
return
|
||||
}
|
||||
|
||||
currentTask.hexColor = taskColor.value
|
||||
|
||||
// If no end date is being set, but a start date and due date,
|
||||
// use the due date as the end date
|
||||
if (
|
||||
currentTask.endDate === null &&
|
||||
currentTask.startDate !== null &&
|
||||
currentTask.dueDate !== null
|
||||
) {
|
||||
currentTask.endDate = currentTask.dueDate
|
||||
}
|
||||
|
||||
const updatedTask = await taskStore.update(currentTask) // TODO: markraw ?
|
||||
Object.assign(task, updatedTask)
|
||||
setActiveFields()
|
||||
|
||||
let actions: MessageAction[] = []
|
||||
if (undoCallback) {
|
||||
actions = [{
|
||||
title: t('task.undo'),
|
||||
callback: undoCallback,
|
||||
}]
|
||||
}
|
||||
success({message: t('task.detail.updateSuccess')}, actions)
|
||||
}
|
||||
|
||||
async function deleteTask() {
|
||||
await taskStore.delete(task)
|
||||
success({message: t('task.detail.deleteSuccess')})
|
||||
return router.push({name: 'project.index', params: {projectId: task.projectId}})
|
||||
}
|
||||
|
||||
function uploadAttachment(file: File, onSuccess?: (url: string) => void) {
|
||||
return uploadFile(toValue(taskId), file, onSuccess)
|
||||
}
|
||||
|
||||
async function toggleTaskDone() {
|
||||
const newTask = {
|
||||
...klona(task),
|
||||
done: !task.done,
|
||||
}
|
||||
|
||||
if (newTask.done) {
|
||||
playPopSound()
|
||||
}
|
||||
|
||||
await saveTask(
|
||||
newTask,
|
||||
toggleTaskDone,
|
||||
)
|
||||
}
|
||||
|
||||
async function changeProject(project: IProject) {
|
||||
const kanbanStore = useKanbanStore()
|
||||
const baseStore = useBaseStore()
|
||||
kanbanStore.removeTaskInBucket(task)
|
||||
await saveTask({
|
||||
...task,
|
||||
projectId: project.id,
|
||||
})
|
||||
baseStore.setCurrentProject(project)
|
||||
}
|
||||
|
||||
async function toggleFavorite() {
|
||||
const newTask = await taskStore.toggleFavorite(task)
|
||||
Object.assign(task, newTask)
|
||||
}
|
||||
|
||||
async function setPriority(priority: Priority) {
|
||||
const newTask: ITask = {
|
||||
...task,
|
||||
priority,
|
||||
}
|
||||
|
||||
return saveTask(newTask)
|
||||
}
|
||||
|
||||
async function setPercentDone(percentDone: number) {
|
||||
const newTask: ITask = {
|
||||
...task,
|
||||
percentDone,
|
||||
}
|
||||
|
||||
return saveTask(newTask)
|
||||
}
|
||||
|
||||
async function removeRepeatAfter() {
|
||||
task.repeatAfter.amount = 0
|
||||
task.repeatMode = TASK_REPEAT_MODES.REPEAT_MODE_DEFAULT
|
||||
await saveTask()
|
||||
}
|
||||
|
||||
return {
|
||||
project,
|
||||
ancestorProjects,
|
||||
ancestorProjectTitles,
|
||||
|
||||
isReady,
|
||||
isLoading,
|
||||
|
||||
task,
|
||||
taskTitle,
|
||||
taskColor,
|
||||
|
||||
canWrite,
|
||||
hasAttachments,
|
||||
|
||||
saveTask,
|
||||
deleteTask,
|
||||
uploadAttachment,
|
||||
|
||||
toggleTaskDone,
|
||||
changeProject,
|
||||
toggleFavorite,
|
||||
setPriority,
|
||||
setPercentDone,
|
||||
removeRepeatAfter,
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,11 @@ import {ref, shallowReactive, watch, computed, type ComputedGetter} from 'vue'
|
||||
import {useRoute, useRouter} from 'vue-router'
|
||||
import {useRouteQuery} from '@vueuse/router'
|
||||
|
||||
import TaskCollectionService, {getDefaultTaskFilterParams, type TaskFilterParams} from '@/services/taskCollection'
|
||||
import TaskCollectionService, {
|
||||
type ExpandTaskFilterParam,
|
||||
getDefaultTaskFilterParams,
|
||||
type TaskFilterParams,
|
||||
} from '@/services/taskCollection'
|
||||
import type {ITask} from '@/modelTypes/ITask'
|
||||
import {error} from '@/message'
|
||||
import type {IProject} from '@/modelTypes/IProject'
|
||||
@@ -59,6 +63,7 @@ export function useTaskList(
|
||||
projectIdGetter: ComputedGetter<IProject['id']>,
|
||||
projectViewIdGetter: ComputedGetter<IProjectView['id']>,
|
||||
sortByDefault: SortBy = SORT_BY_DEFAULT,
|
||||
expandGetter: ComputedGetter<ExpandTaskFilterParam> = () => 'subtasks',
|
||||
) {
|
||||
|
||||
const projectId = computed(() => projectIdGetter())
|
||||
@@ -95,6 +100,7 @@ export function useTaskList(
|
||||
{
|
||||
...allParams.value,
|
||||
filter_timezone: authStore.settings.timezone,
|
||||
expand: expandGetter(),
|
||||
},
|
||||
page.value,
|
||||
]
|
||||
|
||||
@@ -40,6 +40,7 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise<strin
|
||||
let urlToCheck: URL
|
||||
try {
|
||||
urlToCheck = new URL(url)
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (e) {
|
||||
throw new InvalidApiUrlProvidedError()
|
||||
}
|
||||
@@ -50,10 +51,9 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise<strin
|
||||
window.API_URL = urlToCheck.toString()
|
||||
|
||||
const configStore = useConfigStore()
|
||||
const updateConfig = () => configStore.update()
|
||||
|
||||
// Check if the api is reachable at the provided url
|
||||
return updateConfig()
|
||||
return configStore.update()
|
||||
.catch(e => {
|
||||
// Check if it is reachable at /api/v1 and http
|
||||
if (
|
||||
@@ -62,7 +62,7 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise<strin
|
||||
) {
|
||||
urlToCheck.pathname = `${urlToCheck.pathname}api/v1`
|
||||
window.API_URL = urlToCheck.toString()
|
||||
return updateConfig()
|
||||
return configStore.update()
|
||||
}
|
||||
throw e
|
||||
})
|
||||
@@ -75,7 +75,7 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise<strin
|
||||
) {
|
||||
urlToCheck.pathname = `${urlToCheck.pathname}api/v1`
|
||||
window.API_URL = urlToCheck.toString()
|
||||
return updateConfig()
|
||||
return configStore.update()
|
||||
}
|
||||
throw e
|
||||
})
|
||||
@@ -84,7 +84,7 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise<strin
|
||||
if (urlToCheck.port !== API_DEFAULT_PORT) {
|
||||
urlToCheck.port = API_DEFAULT_PORT
|
||||
window.API_URL = urlToCheck.toString()
|
||||
return updateConfig()
|
||||
return configStore.update()
|
||||
}
|
||||
throw e
|
||||
})
|
||||
@@ -97,7 +97,7 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise<strin
|
||||
) {
|
||||
urlToCheck.pathname = `${urlToCheck.pathname}api/v1`
|
||||
window.API_URL = urlToCheck.toString()
|
||||
return updateConfig()
|
||||
return configStore.update()
|
||||
}
|
||||
throw e
|
||||
})
|
||||
|
||||
@@ -67,6 +67,16 @@ describe('Filter Transformation', () => {
|
||||
|
||||
expect(transformed).toBe('labels in 1, 2 && due_date = now')
|
||||
})
|
||||
|
||||
it('should correctly resolve multiple labels with a not in clause', () => {
|
||||
const transformed = transformFilterStringForApi(
|
||||
'labels not in lorem, ipsum && dueDate = now',
|
||||
multipleDummyResolver,
|
||||
nullTitleToIdResolver,
|
||||
)
|
||||
|
||||
expect(transformed).toBe('labels not in 1, 2 && due_date = now')
|
||||
})
|
||||
|
||||
it('should correctly resolve projects', () => {
|
||||
const transformed = transformFilterStringForApi(
|
||||
@@ -218,7 +228,17 @@ describe('Filter Transformation', () => {
|
||||
|
||||
expect(transformed).toBe('labels in lorem, ipsum')
|
||||
})
|
||||
|
||||
it('should correctly resolve multiple labels not in', () => {
|
||||
const transformed = transformFilterStringFromApi(
|
||||
'labels not in 1, 2',
|
||||
multipleIdToTitleResolver,
|
||||
nullIdToTitleResolver,
|
||||
)
|
||||
|
||||
expect(transformed).toBe('labels not in lorem, ipsum')
|
||||
})
|
||||
|
||||
it('should not touch the label value when it is undefined', () => {
|
||||
const transformed = transformFilterStringFromApi(
|
||||
'labels = one',
|
||||
|
||||
@@ -46,6 +46,7 @@ export const FILTER_OPERATORS = [
|
||||
'<',
|
||||
'<=',
|
||||
'like',
|
||||
'not in',
|
||||
'in',
|
||||
'?=',
|
||||
]
|
||||
@@ -57,7 +58,11 @@ export const FILTER_JOIN_OPERATOR = [
|
||||
')',
|
||||
]
|
||||
|
||||
export const FILTER_OPERATORS_REGEX = '(<|>|<=|>=|=|!=|in)'
|
||||
export const FILTER_OPERATORS_REGEX = '(<|>|<=|>=|=|!=|not in|in)'
|
||||
|
||||
export function hasFilterQuery(filter: string): boolean {
|
||||
return FILTER_OPERATORS.find(o => filter.includes(o)) || false
|
||||
}
|
||||
|
||||
export function getFilterFieldRegexPattern(field: string): RegExp {
|
||||
return new RegExp('(' + field + '\\s*' + FILTER_OPERATORS_REGEX + '\\s*)([\'"]?)([^\'"&|()<]+\\1?)?', 'ig')
|
||||
@@ -68,13 +73,13 @@ export function transformFilterStringForApi(
|
||||
labelResolver: (title: string) => number | null,
|
||||
projectResolver: (title: string) => number | null,
|
||||
): string {
|
||||
|
||||
|
||||
filter = filter.trim()
|
||||
|
||||
if (filter === '') {
|
||||
return ''
|
||||
}
|
||||
|
||||
|
||||
AVAILABLE_FILTER_FIELDS.forEach(f => {
|
||||
filter = filter.replace(new RegExp(f, 'ig'), f)
|
||||
})
|
||||
@@ -97,10 +102,10 @@ export function transformFilterStringForApi(
|
||||
}
|
||||
|
||||
let keywords = [keyword.trim()]
|
||||
if (operator === 'in' || operator === '?=') {
|
||||
if (operator === 'in' || operator === '?=' || operator === 'not in' || operator === '?!=') {
|
||||
keywords = keyword.trim().split(',').map(k => k.trim())
|
||||
}
|
||||
|
||||
|
||||
let replaced = keyword
|
||||
|
||||
keywords.forEach(k => {
|
||||
@@ -162,7 +167,7 @@ export function transformFilterStringFromApi(
|
||||
const [matched, prefix, operator, space, keyword] = match
|
||||
if (keyword) {
|
||||
let keywords = [keyword.trim()]
|
||||
if (operator === 'in' || operator === '?=') {
|
||||
if (operator === 'in' || operator === '?=' || operator === 'not in' || operator === '?!=') {
|
||||
keywords = keyword.trim().split(',').map(k => k.trim())
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {describe, it, expect} from 'vitest'
|
||||
import {hourToDaytime} from "./hourToDaytime"
|
||||
import {hourToDaytime} from './hourToDaytime'
|
||||
|
||||
function dateWithHour(hours: number): Date {
|
||||
const newDate = new Date()
|
||||
|
||||
@@ -22,6 +22,11 @@ export const parseDate = (text: string, now: Date = new Date()): dateParseResult
|
||||
if (matchesDateExpr(text, 'today')) {
|
||||
return addTimeToDate(text, getDateFromInterval(calculateDayInterval('today')), 'today')
|
||||
}
|
||||
if (matchesDateExpr(text, 'tonight')) {
|
||||
const taskDate = getDateFromInterval(calculateDayInterval('today'))
|
||||
taskDate.setHours(21)
|
||||
return addTimeToDate(text, taskDate, 'tonight')
|
||||
}
|
||||
if (matchesDateExpr(text, 'tomorrow')) {
|
||||
return addTimeToDate(text, getDateFromInterval(calculateDayInterval('tomorrow')), 'tomorrow')
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ export function parseDateProp(kebabDate: DateKebab | undefined): string | undefi
|
||||
throw new Error('Invalid date values')
|
||||
}
|
||||
return new Date(year, month - 1, date).toISOString() as DateISO
|
||||
} catch(e) {
|
||||
} catch(_) {
|
||||
// ignore nonsense route queries
|
||||
return
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ export const SUPPORTED_LOCALES = {
|
||||
'hr-HR': 'Hrvatski',
|
||||
'uk-UA': 'Українська',
|
||||
'lt-LT': 'Lietuvių Kalba',
|
||||
'bg-BG': 'Български',
|
||||
// IMPORTANT: Also add new languages to useDayjsLanguageSync
|
||||
} as const
|
||||
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "الفلاتر",
|
||||
"clear": "مسح الفلاتر",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "العنوان",
|
||||
"titlePlaceholder": "عنوان الفلتر المحفوظ هنا…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtry",
|
||||
"clear": "Vymazat filtry",
|
||||
"showResults": "Zobrazit výsledky",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Název",
|
||||
"titlePlaceholder": "Název uloženého filtru přijde sem…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "K filtrování úkolů můžete použít syntaxi dotazů podobnou SQL. Dostupná pole pro filtrování zahrnují:",
|
||||
"link": "Jak to funguje?",
|
||||
"canUseDatemath": "Můžete použít matematiku a nastavit relativní data. Pro více informací klikněte na datum v dotazu.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Zda je úkol dokončen nebo ne",
|
||||
"priority": "Úroveň priority úkolu (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Menší než",
|
||||
"lessThanOrEqual": "Menší nebo rovno než",
|
||||
"like": "Odpovídá vzoru (s použitím zástupného znaku %)",
|
||||
"in": "Odpovídá libovolné hodnotě v seznamu hodnot oddělených čárkou"
|
||||
"in": "Odpovídá libovolné hodnotě v seznamu hodnot oddělených čárkou",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Pro kombinování více podmínek můžete použít tyto logické operátory:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtre",
|
||||
"clear": "Ryd Filtre",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Titel",
|
||||
"titlePlaceholder": "Det gemte filters titel skrives her…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filter",
|
||||
"clear": "Filter zurücksetzen",
|
||||
"showResults": "Ergebnisse anzeigen",
|
||||
"fromView": "Die aktuelle Ansicht hat bereits einen Filter gesetzt:",
|
||||
"fromViewBoth": "Er wird in Kombination mit dem, was du hier setzt, verwendet.",
|
||||
"attributes": {
|
||||
"title": "Titel",
|
||||
"titlePlaceholder": "Einen gespeicherten Filternamen eingeben …",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Kleiner als",
|
||||
"lessThanOrEqual": "Kleiner als oder gleich",
|
||||
"like": "Vergleicht zu einem Muster (mit Platzhalter %)",
|
||||
"in": "Filtert einen beliebigen Wert in einer kommaseparierten Liste"
|
||||
"in": "Filtert einen beliebigen Wert in einer kommaseparierten Liste",
|
||||
"notIn": "Filtert einen beliebigen Wert, der nicht in einer kommaseparierten vorkommt"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Um mehrere Bedingungen zu kombinieren, kannst du folgende logische Operatoren verwenden:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filter",
|
||||
"clear": "Filter zurücksetzen",
|
||||
"showResults": "Ergebnisse anzeigen",
|
||||
"fromView": "Die aktuelle Ansicht hat bereits einen Filter gesetzt:",
|
||||
"fromViewBoth": "Er wird in Kombination mit dem, was du hier setzt, verwendet.",
|
||||
"attributes": {
|
||||
"title": "Titl",
|
||||
"titlePlaceholder": "De Name für de g'speicheret Filter chunt da ahne…",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Kleiner als",
|
||||
"lessThanOrEqual": "Kleiner als oder gleich",
|
||||
"like": "Vergleicht zu einem Muster (mit Platzhalter %)",
|
||||
"in": "Filtert einen beliebigen Wert in einer kommaseparierten Liste"
|
||||
"in": "Filtert einen beliebigen Wert in einer kommaseparierten Liste",
|
||||
"notIn": "Filtert einen beliebigen Wert, der nicht in einer kommaseparierten vorkommt"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Um mehrere Bedingungen zu kombinieren, kannst du folgende logische Operatoren verwenden:",
|
||||
|
||||
@@ -365,7 +365,8 @@
|
||||
"deleteBucketSuccess": "The bucket has been deleted successfully.",
|
||||
"bucketTitleSavedSuccess": "The bucket title has been saved successfully.",
|
||||
"bucketLimitSavedSuccess": "The bucket limit been saved successfully.",
|
||||
"collapse": "Collapse this bucket"
|
||||
"collapse": "Collapse this bucket",
|
||||
"bucketLimitReached": "You have reached the bucket limit. Remove tasks or increase the limit to add new tasks."
|
||||
},
|
||||
"pseudo": {
|
||||
"favorites": {
|
||||
@@ -410,6 +411,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +450,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +475,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
@@ -1216,4 +1220,4 @@
|
||||
"years": "year|years"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtros",
|
||||
"clear": "Limpiar Filtros",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Título",
|
||||
"titlePlaceholder": "El título del filtro guardado va aquí…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtres",
|
||||
"clear": "Effacer les filtres",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Nom",
|
||||
"titlePlaceholder": "Entre un nom de filtre enregistré…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filteri",
|
||||
"clear": "Poništi Filtere",
|
||||
"showResults": "Prikaži rezultate",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Naslov",
|
||||
"titlePlaceholder": "Naslov spremljenog filtra ide ovdje…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "Za filtriranje zadataka možete koristiti sintaksu upita sličnu SQL-u. Dostupna polja za filtriranje uključuju:",
|
||||
"link": "Kako ovo radi?",
|
||||
"canUseDatemath": "Možete datirati matematiku da postavite relativne datume. Kliknite vrijednost datuma u upitu kako biste saznali više.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Szűrők",
|
||||
"clear": "Szűrők törlése",
|
||||
"showResults": "Eredmények megjelenítése",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Cím",
|
||||
"titlePlaceholder": "A mentett szűrő címe ide kerül…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "A feladatok szűréséhez az SQL-hez hasonló lekérdezési szintaxist használhat. A szűréshez rendelkezésre álló mezők a következők:",
|
||||
"link": "Hogyan működik?",
|
||||
"canUseDatemath": "A relatív dátumok beállításához a matematikai dátumokat is használhat. További információért kattintson a dátum értékére a lekérdezésben.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Akár befejeződött a feladat, akár nem",
|
||||
"priority": "A feladat prioritási szintje (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Kevesebb, mint",
|
||||
"lessThanOrEqual": "Kevesebb, vagy egyenlő mint",
|
||||
"like": "Megfelel egy mintának (helyettesítő karakterrel %)",
|
||||
"in": "A vesszővel elválasztott értéklistában szereplő bármely értéknek megfelel"
|
||||
"in": "A vesszővel elválasztott értéklistában szereplő bármely értéknek megfelel",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Több feltétel kombinálásához a következő logikai operátorokat használhatja:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtri",
|
||||
"clear": "Pulisci Filtri",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Titolo",
|
||||
"titlePlaceholder": "Il titolo del filtro salvato va qui…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "絞り込み",
|
||||
"clear": "絞り込みの解除",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "絞り込み条件名",
|
||||
"titlePlaceholder": "絞り込み条件名を入力…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "필터",
|
||||
"clear": "필터 초기화",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "제목",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtrai",
|
||||
"clear": "Anuliuoti filtrus",
|
||||
"showResults": "Rodyti rezultatus",
|
||||
"fromView": "Dabartinis vaizdas turi nustatytą filtrą taip pat:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Pavadinimas",
|
||||
"titlePlaceholder": "Išsaugoto filtro pavadinimas rašomas čia…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "Norėdami filtruoti užduotis, galite naudoti sintaksę panašią į SQL. Galimi filtravimo laukai įtraukia:",
|
||||
"link": "Kaip tai veikia?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Ar užduotis atlikta ar ne",
|
||||
"priority": "Užduoties prioriteto lygis (1-5)",
|
||||
@@ -461,7 +463,7 @@
|
||||
"project": "The project the task belongs to (only available for saved filters, not on a project level)",
|
||||
"reminders": "The reminders of the task as a date field, will return all tasks with at least one reminder matching the query",
|
||||
"created": "The time and date when the task was created",
|
||||
"updated": "The time and date when the task was last changed"
|
||||
"updated": "Data ir laikas, kada užduotis buvo pakeista"
|
||||
},
|
||||
"operators": {
|
||||
"intro": "The available operators for filtering include:",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Mažiau nei",
|
||||
"lessThanOrEqual": "Mažiau negu ar lygu",
|
||||
"like": "Atitinka šabloną (nadojama wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
@@ -483,7 +486,7 @@
|
||||
"examples": {
|
||||
"intro": "Čia pateikiami keli filtravimo užklausos pavyzdžiai:",
|
||||
"priorityEqual": "Atitinka užduotis su 4 lygio prioritetu",
|
||||
"dueDatePast": "Matches tasks with a due date in the past",
|
||||
"dueDatePast": "Sutampa su užduotimis su praeities data",
|
||||
"undoneHighPriority": "Matches undone tasks with priority level 3 or higher",
|
||||
"assigneesIn": "Matches tasks assigned to either \"user1\" or \"user2\"",
|
||||
"priorityOneOrTwoPastDue": "Matches tasks with priority level 1 or 2 and a due date in the past"
|
||||
@@ -535,7 +538,7 @@
|
||||
}
|
||||
},
|
||||
"sharing": {
|
||||
"authenticating": "Authenticating…",
|
||||
"authenticating": "Identifikuojama…",
|
||||
"passwordRequired": "Šis pasidalintas projektas reikalauja slaptažodžio. Įveskite jį žemiau:",
|
||||
"error": "Įvyko klaida.",
|
||||
"invalidPassword": "Slaptažodis neteisingas."
|
||||
@@ -545,7 +548,7 @@
|
||||
"upcoming": "Būsimos",
|
||||
"settings": "Nustatymai",
|
||||
"imprint": "Įspaudas",
|
||||
"privacy": "Privacy Policy"
|
||||
"privacy": "Privatumo politika"
|
||||
},
|
||||
"misc": {
|
||||
"loading": "Kraunama…",
|
||||
@@ -556,18 +559,18 @@
|
||||
"refresh": "Atnaujinti",
|
||||
"disable": "Išjungti",
|
||||
"copy": "Kopijuoti į iškarpinę",
|
||||
"copyError": "Copy to clipboard failed",
|
||||
"copyError": "Kopijavimas į iškarpinę nepavyko",
|
||||
"search": "Paieška",
|
||||
"searchPlaceholder": "Rašykite čia norėdami ieškoti…",
|
||||
"previous": "Ankstesnis",
|
||||
"next": "Toliau",
|
||||
"poweredBy": "Sukurta Vikunja",
|
||||
"info": "Info",
|
||||
"info": "Informacija",
|
||||
"create": "Sukurti",
|
||||
"doit": "Atlikt!",
|
||||
"saving": "Išsaugoma…",
|
||||
"saved": "Išsaugota!",
|
||||
"default": "Default",
|
||||
"default": "Numatytasis",
|
||||
"close": "Uždaryti",
|
||||
"download": "Atsisiųsti",
|
||||
"showMenu": "Rodyti meniu",
|
||||
@@ -590,10 +593,10 @@
|
||||
"thisWeekend": "Šį savaitgalį",
|
||||
"laterThisWeek": "Vėliau šią savaitę",
|
||||
"nextWeek": "Kitą savaitę",
|
||||
"chooseDate": "Choose a date"
|
||||
"chooseDate": "Pasirinkite datą"
|
||||
},
|
||||
"editor": {
|
||||
"edit": "Edit",
|
||||
"edit": "Keisti",
|
||||
"done": "Atlikta",
|
||||
"heading1": "Heading 1",
|
||||
"heading1Tooltip": "Big section heading.",
|
||||
@@ -602,18 +605,18 @@
|
||||
"heading3": "Heading 3",
|
||||
"heading3Tooltip": "Smaller section header.",
|
||||
"headingSmaller": "Heading Smaller",
|
||||
"headingBigger": "Heading Bigger",
|
||||
"bold": "Bold",
|
||||
"italic": "Italic",
|
||||
"strikethrough": "Strikethrough",
|
||||
"headingBigger": "Antraštė Didesnė",
|
||||
"bold": "Paryškintas",
|
||||
"italic": "Pasviręs",
|
||||
"strikethrough": "Perbrauktas",
|
||||
"underline": "Underline",
|
||||
"code": "Code",
|
||||
"codeTooltip": "Capture a code snippet.",
|
||||
"codeTooltip": "Atvaizduoti kodo ištrauką.",
|
||||
"quote": "Quote",
|
||||
"quoteTooltip": "Capture a quote.",
|
||||
"bulletList": "Bullet list",
|
||||
"bulletListTooltip": "Create a simple bullet list.",
|
||||
"unorderedList": "Unordered list",
|
||||
"bulletListTooltip": "Sukurti paprastą sąrašą.",
|
||||
"unorderedList": "Nerikiuojamas sąrašas",
|
||||
"orderedList": "Ordered list",
|
||||
"orderedListTooltip": "Create a list with numbering.",
|
||||
"cleanBlock": "Clean Block",
|
||||
@@ -623,31 +626,31 @@
|
||||
"horizontalRule": "Horizontal Rule",
|
||||
"horizontalRuleTooltip": "Divide a section.",
|
||||
"sideBySide": "Vienas šalia kito",
|
||||
"guide": "Guide",
|
||||
"guide": "Vadovas",
|
||||
"text": "Text",
|
||||
"textTooltip": "Just start typing with plain text.",
|
||||
"taskList": "Task list",
|
||||
"taskListTooltip": "Track tasks with a to-do list.",
|
||||
"textTooltip": "Pradėkite rašyti paprastą tekstą.",
|
||||
"taskList": "Užduočių sąrašas",
|
||||
"taskListTooltip": "Sekti užduotis su veiklų sąrašu.",
|
||||
"undo": "Undo",
|
||||
"redo": "Redo",
|
||||
"placeholder": "Type some text or hit '/' to see more options…",
|
||||
"redo": "Grąžinti",
|
||||
"placeholder": "Rašykite tekstą arba spauskite '/' norėdami matyti daugiau pasirinkčių…",
|
||||
"table": {
|
||||
"title": "Table",
|
||||
"insert": "Insert table",
|
||||
"addColumnBefore": "Add column before",
|
||||
"addColumnAfter": "Add column after",
|
||||
"deleteColumn": "Delete column",
|
||||
"addRowBefore": "Add row before",
|
||||
"addRowAfter": "Add row after",
|
||||
"addRowBefore": "Pridėti eilutę prieš tai",
|
||||
"addRowAfter": "Pridėti eilutę po",
|
||||
"deleteRow": "Ištrinti eilutę",
|
||||
"deleteTable": "Delete table",
|
||||
"mergeCells": "Merge cells",
|
||||
"splitCell": "Split cell",
|
||||
"deleteTable": "Ištrinti lentelę",
|
||||
"mergeCells": "Sujungti langelius",
|
||||
"splitCell": "Skelti langelį",
|
||||
"toggleHeaderColumn": "Toggle header column",
|
||||
"toggleHeaderRow": "Toggle header row",
|
||||
"toggleHeaderCell": "Toggle header cell",
|
||||
"mergeOrSplit": "Merge or split",
|
||||
"fixTables": "Fix tables"
|
||||
"mergeOrSplit": "Sujungti arba padalinti",
|
||||
"fixTables": "Pataisyti lenteles"
|
||||
}
|
||||
},
|
||||
"multiselect": {
|
||||
@@ -655,16 +658,16 @@
|
||||
"selectPlaceholder": "Click or press enter to select"
|
||||
},
|
||||
"datepickerRange": {
|
||||
"to": "To",
|
||||
"to": "Į",
|
||||
"from": "From",
|
||||
"fromto": "{from} to {to}",
|
||||
"date": "Date",
|
||||
"fromto": "{from}{to}",
|
||||
"date": "Data",
|
||||
"ranges": {
|
||||
"today": "Today",
|
||||
"thisWeek": "This Week",
|
||||
"thisWeek": "Šią savaitę",
|
||||
"restOfThisWeek": "The Rest of This Week",
|
||||
"nextWeek": "Next Week",
|
||||
"next7Days": "Next 7 Days",
|
||||
"nextWeek": "Kitą savaitę",
|
||||
"next7Days": "Artimiausios 7 dienos",
|
||||
"lastWeek": "Praeitą savaitę",
|
||||
"thisMonth": "Šį mėnesį",
|
||||
"restOfThisMonth": "Šį mėnesį",
|
||||
@@ -679,9 +682,9 @@
|
||||
"startOfToday": "Pradedant šiandien",
|
||||
"endOfToday": "Iki dienos pabaigos",
|
||||
"beginningOflastWeek": "Praeitos savaitės pradžios",
|
||||
"endOfLastWeek": "End of last week",
|
||||
"endOfLastWeek": "Praeitos savaitės pabaiga",
|
||||
"beginningOfThisWeek": "Beginning of this week",
|
||||
"endOfThisWeek": "End of this week",
|
||||
"endOfThisWeek": "Šios savaaitės pabaaiga",
|
||||
"startOfNextWeek": "Start of next week",
|
||||
"endOfNextWeek": "Iki kitos savaitės pabaigos",
|
||||
"in7Days": "Už 7 dienų",
|
||||
@@ -690,10 +693,10 @@
|
||||
"startOfThisMonth": "Start of this month",
|
||||
"endOfThisMonth": "End of this month",
|
||||
"startOfNextMonth": "Start of next month",
|
||||
"endOfNextMonth": "End of next month",
|
||||
"endOfNextMonth": "Kito mėnesio pabaiga",
|
||||
"in30Days": "In 30 days",
|
||||
"startOfThisYear": "Beginning of this year",
|
||||
"endOfThisYear": "End of this year"
|
||||
"endOfThisYear": "Šių metų pabaiga"
|
||||
}
|
||||
},
|
||||
"datemathHelp": {
|
||||
@@ -703,7 +706,7 @@
|
||||
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
|
||||
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
|
||||
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
|
||||
"add1Day": "Add one day",
|
||||
"add1Day": "Pridėti vieną dieną",
|
||||
"minus1Day": "Subtract one day",
|
||||
"roundDay": "Round down to the nearest day",
|
||||
"supportedUnits": "Supported time units",
|
||||
@@ -713,41 +716,41 @@
|
||||
"minutes": "Minutes",
|
||||
"hours": "Hours",
|
||||
"days": "Days",
|
||||
"weeks": "Weeks",
|
||||
"months": "Months",
|
||||
"years": "Years"
|
||||
"weeks": "Savaitės",
|
||||
"months": "Mėnesiai",
|
||||
"years": "Metai"
|
||||
},
|
||||
"examples": {
|
||||
"now": "Right now",
|
||||
"in24h": "In 24h",
|
||||
"today": "Today at 00:00",
|
||||
"now": "Dabar",
|
||||
"in24h": "24-ių valandų bėgyje",
|
||||
"today": "Šiandien 00:00",
|
||||
"beginningOfThisWeek": "The beginning of this week at 00:00",
|
||||
"endOfThisWeek": "The end of this week",
|
||||
"in30Days": "In 30 days",
|
||||
"in30Days": "Už 30 dienų",
|
||||
"datePlusMonth": "{0} plus one month at 00:00 of that day"
|
||||
}
|
||||
}
|
||||
},
|
||||
"task": {
|
||||
"task": "Task",
|
||||
"new": "Create a task",
|
||||
"delete": "Delete this task",
|
||||
"task": "Užduotis",
|
||||
"new": "Sukurti užduotį",
|
||||
"delete": "Ištrinti šią užduotį",
|
||||
"createSuccess": "The task was successfully created.",
|
||||
"addReminder": "Add a reminder…",
|
||||
"doneSuccess": "The task was successfully marked as done.",
|
||||
"undoneSuccess": "The task was successfully un-marked as done.",
|
||||
"revertSuccess": "The task change was successfully undone.",
|
||||
"undo": "Undo",
|
||||
"openDetail": "Open task detail view",
|
||||
"openDetail": "Atidaryti užduoties duomenų vaizdą",
|
||||
"checklistTotal": "{checked} of {total} tasks",
|
||||
"checklistAllDone": "{total} tasks",
|
||||
"checklistAllDone": "{total} užduotys",
|
||||
"show": {
|
||||
"titleCurrent": "Current Tasks",
|
||||
"titleDates": "Tasks from {from} until {to}",
|
||||
"noDates": "Show tasks without dates",
|
||||
"overdue": "Show overdue tasks",
|
||||
"fromuntil": "Tasks from {from} until {until}",
|
||||
"select": "Select a date range",
|
||||
"titleCurrent": "Dabartinės Užduotys",
|
||||
"titleDates": "Užduotys nuo {from} iki {to}",
|
||||
"noDates": "Rodyti užduotis be datų",
|
||||
"overdue": "Rodyti neišpildytas užduotis",
|
||||
"fromuntil": "Užduotys nuo {from} iki {until}",
|
||||
"select": "Pasirinkti datos rėžį",
|
||||
"noTasks": "Nothing to do — Have a nice day!"
|
||||
},
|
||||
"detail": {
|
||||
@@ -820,55 +823,55 @@
|
||||
"notSubscribedTask": "You are not subscribed to this task and won't receive notifications for changes.",
|
||||
"subscribe": "Subscribe",
|
||||
"unsubscribe": "Unsubscribe",
|
||||
"subscribeSuccessProject": "You are now subscribed to this project",
|
||||
"unsubscribeSuccessProject": "You are now unsubscribed to this project",
|
||||
"subscribeSuccessTask": "You are now subscribed to this task",
|
||||
"subscribeSuccessProject": "Užsiprenumeravai projekto naujienas",
|
||||
"unsubscribeSuccessProject": "Projekto naujienų atsisakyta",
|
||||
"subscribeSuccessTask": "Užsiprenumeravai užduoties naujienas",
|
||||
"unsubscribeSuccessTask": "Užsiprenumeravai užduoties naujienas"
|
||||
},
|
||||
"attachment": {
|
||||
"title": "Attachments",
|
||||
"createdBy": "created {0} by {1}",
|
||||
"downloadTooltip": "Download this attachment",
|
||||
"createdBy": "sukurta {0} {1}",
|
||||
"downloadTooltip": "Atsiųsti šį prisegtuką",
|
||||
"upload": "Upload attachment",
|
||||
"drop": "Drop files here to upload",
|
||||
"delete": "Delete attachment",
|
||||
"deleteTooltip": "Delete this attachment",
|
||||
"deleteTooltip": "Pašalinti šį priedą",
|
||||
"deleteText1": "Ar esi tikra -s, kad nori ištrinti šį prisegtuką {filename}?",
|
||||
"copyUrl": "Copy URL",
|
||||
"copyUrlTooltip": "Copy the url of this attachment for usage in text",
|
||||
"copyUrlTooltip": "Nukopijuoti nuorodą šio prisegtuko, kaip paprastą tekstą",
|
||||
"setAsCover": "Make cover",
|
||||
"unsetAsCover": "Remove cover",
|
||||
"successfullyChangedCoverImage": "The cover image was successfully changed.",
|
||||
"usedAsCover": "Cover image"
|
||||
"unsetAsCover": "Pašalinti viršelį",
|
||||
"successfullyChangedCoverImage": "Viršelio paveikslėlis buvo sėkmingai pakeistas.",
|
||||
"usedAsCover": "Viršelio nuotrauka"
|
||||
},
|
||||
"comment": {
|
||||
"title": "Comments",
|
||||
"loading": "Loading comments…",
|
||||
"edited": "edited {date}",
|
||||
"creating": "Creating comment…",
|
||||
"placeholder": "Add your comment, hit '/' for more options…",
|
||||
"edited": "pataisyta {date}",
|
||||
"creating": "Kraunami komentarai…",
|
||||
"placeholder": "Pridėk komentarą, spausk '/' dėl daugiau pasirinkčių…",
|
||||
"comment": "Comment",
|
||||
"delete": "Delete this comment",
|
||||
"deleteText1": "Are you sure you want to delete this comment?",
|
||||
"deleteSuccess": "The comment was deleted successfully.",
|
||||
"addedSuccess": "The comment was added successfully.",
|
||||
"permalink": "Copy permalink to this comment"
|
||||
"deleteText1": "Ar tikrai nori ištrinti šį komentarą?",
|
||||
"deleteSuccess": "Komentaras panaikintas sėkmingai.",
|
||||
"addedSuccess": "Komentaras sėkmigai pridėtas.",
|
||||
"permalink": "Nukopijuoti komentaro nuorodą"
|
||||
},
|
||||
"deferDueDate": {
|
||||
"title": "Defer due date",
|
||||
"1day": "1 day",
|
||||
"3days": "3 days",
|
||||
"1week": "1 week"
|
||||
"1day": "1 diena",
|
||||
"3days": "3 dienos",
|
||||
"1week": "1 savaitė"
|
||||
},
|
||||
"description": {
|
||||
"placeholder": "Įvesti aprašą, spausti '/' norint gauti daugiau pasirinkčių…",
|
||||
"empty": "Aprašo kol kas nėra."
|
||||
},
|
||||
"assignee": {
|
||||
"placeholder": "Type to assign a user…",
|
||||
"selectPlaceholder": "Assign this user",
|
||||
"assignSuccess": "The user has been assigned successfully.",
|
||||
"unassignSuccess": "The user has been unassigned successfully."
|
||||
"placeholder": "Rašykite norėdami priskirti naudotoją…",
|
||||
"selectPlaceholder": "Priskirti šį naudotoją",
|
||||
"assignSuccess": "Naudotojas buvo sėmingai priskirtas.",
|
||||
"unassignSuccess": "Naudotojas buvo sėkmingai atšauktas."
|
||||
},
|
||||
"label": {
|
||||
"placeholder": "Rašykite noredami pridėti etiketę…",
|
||||
@@ -895,15 +898,15 @@
|
||||
"add": "Add a New Task Relation",
|
||||
"new": "New Task Relation",
|
||||
"searchPlaceholder": "Type search for a task to add as related…",
|
||||
"createPlaceholder": "Add this as related task",
|
||||
"createPlaceholder": "Pridėti kaip susijusią užduotį",
|
||||
"differentProject": "This task belongs to a different project.",
|
||||
"noneYet": "No task relations yet.",
|
||||
"noneYet": "Kol kas užduoties ryšio nėra.",
|
||||
"delete": "Delete Task Relation",
|
||||
"deleteText1": "Are you sure you want to delete this task relation?",
|
||||
"select": "Select a relation kind",
|
||||
"select": "Pasirinkite ryšio tipą",
|
||||
"taskRequired": "Please select a task or enter a new task title.",
|
||||
"kinds": {
|
||||
"subtask": "Subtask | Subtasks",
|
||||
"subtask": "Sub užduotis | Sub užduotys",
|
||||
"parenttask": "Parent Task | Parent Tasks",
|
||||
"related": "Related Task | Related Tasks",
|
||||
"duplicateof": "Duplicate Of | Duplicates Of",
|
||||
@@ -941,7 +944,7 @@
|
||||
"weeks": "Weeks",
|
||||
"months": "Months",
|
||||
"years": "Years",
|
||||
"invalidAmount": "Please enter more than 0."
|
||||
"invalidAmount": "Prašome įvesti daugiau nei 0."
|
||||
},
|
||||
"quickAddMagic": {
|
||||
"hint": "Use magic prefixes to define due dates, assignees and other task properties.",
|
||||
@@ -962,7 +965,7 @@
|
||||
"dateAndTime": "Date and time",
|
||||
"date": "Any date will be used as the due date of the new task. You can use dates in any of these formats:",
|
||||
"dateWeekday": "any weekday, will use the next date with that date",
|
||||
"dateCurrentYear": "will use the current year",
|
||||
"dateCurrentYear": "naudoti šiuos metus",
|
||||
"dateNth": "will use the {day}th of the current month",
|
||||
"dateTime": "Combine any of the date formats with \"{time}\" (or {timePM}) to set a time.",
|
||||
"repeats": "Repeating tasks",
|
||||
@@ -979,7 +982,7 @@
|
||||
"edit": {
|
||||
"title": "Edit Team \"{team}\"",
|
||||
"members": "Team Members",
|
||||
"search": "Type to search a user…",
|
||||
"search": "Rašykite čia norėdami ieškoti naudotojo…",
|
||||
"addUser": "Add to team",
|
||||
"makeMember": "Make Member",
|
||||
"makeAdmin": "Make Admin",
|
||||
@@ -987,7 +990,7 @@
|
||||
"userAddedSuccess": "The team member was successfully added.",
|
||||
"madeMember": "The team member was successfully made member.",
|
||||
"madeAdmin": "The team member was successfully made admin.",
|
||||
"mustSelectUser": "Please select a user.",
|
||||
"mustSelectUser": "Prašome pasirinkti vartotoją.",
|
||||
"delete": {
|
||||
"header": "Delete the team",
|
||||
"text1": "Are you sure you want to delete this team and all of its members?",
|
||||
@@ -998,13 +1001,13 @@
|
||||
"header": "Remove a user from the team",
|
||||
"text1": "Are you sure you want to remove this user from the team?",
|
||||
"text2": "They will lose access to all projects this team has access to. This CANNOT BE UNDONE!",
|
||||
"success": "The user was successfully deleted from the team."
|
||||
"success": "Naudotojas buvo sėkmingai ištrintas iš komandos."
|
||||
},
|
||||
"leave": {
|
||||
"title": "Leave team",
|
||||
"text1": "Are you sure you want to leave this team?",
|
||||
"text2": "You will lose access to all projects this team has access to. If you change your mind you'll need a team admin to add you again.",
|
||||
"success": "You have successfully left the team."
|
||||
"success": "Jūs sėkmingai palikote komandą."
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
@@ -1013,7 +1016,7 @@
|
||||
"nameRequired": "Prašome nurodyti vardą.",
|
||||
"description": "Aprašymas",
|
||||
"descriptionPlaceholder": "Aprašykite komandą čia, spauskite '/' dėl daugiau opcijų…",
|
||||
"admin": "Admin",
|
||||
"admin": "Administravimas",
|
||||
"member": "Member",
|
||||
"isPublic": "Public Team",
|
||||
"isPublicDescription": "Padaryk komandą viešai randamą. Kai įgalinta, bet kas gali pasidalinti projektu su komanda, net nebūdama -s tiesioginiu komandos nariu."
|
||||
@@ -1038,7 +1041,7 @@
|
||||
"related": "Modify related tasks of this task",
|
||||
"color": "Change the color of this task",
|
||||
"move": "Move this task to another project",
|
||||
"reminder": "Manage reminders of this task",
|
||||
"reminder": "Valdyti šios užduoties priminimus",
|
||||
"description": "Praskleisti redagavimą užduoties apraše",
|
||||
"delete": "Delete this task",
|
||||
"priority": "Change the priority of this task",
|
||||
@@ -1102,7 +1105,7 @@
|
||||
},
|
||||
"quickActions": {
|
||||
"commands": "Commands",
|
||||
"placeholder": "Type a command or search…",
|
||||
"placeholder": "Rašykite komandą arba ieškokite…",
|
||||
"hint": "Gai naudoti {project} sutrumpinti projektų paiešką. Sujungti {project} ar {label} (etiketes) paieškos užklausoje norint ieškoti užduoties su tomis etiketėmis ar tame projekte. Naudok {assignee} norėdama(-s) ieškoti komandu.",
|
||||
"tasks": "Tasks",
|
||||
"projects": "Projects",
|
||||
@@ -1162,7 +1165,7 @@
|
||||
"4002": "The task does not exist.",
|
||||
"4003": "All bulk editing tasks must belong to the same project.",
|
||||
"4004": "Need at least one task when bulk editing tasks.",
|
||||
"4005": "You do not have the right to see the task.",
|
||||
"4005": "Neturi prieigos prie šios užduoties.",
|
||||
"4006": "You can't set a parent task as the task itself.",
|
||||
"4007": "You can't create a task relation with an invalid kind of relation.",
|
||||
"4008": "You can't create a task relation which already exists.",
|
||||
@@ -1183,7 +1186,7 @@
|
||||
"6005": "The user is already a member of that team.",
|
||||
"6006": "Cannot delete the last team member.",
|
||||
"6007": "The team does not have access to the project to perform that action.",
|
||||
"7002": "The user already has access to that project.",
|
||||
"7002": "Naudotojas jau turi prieigą prie šio projekto.",
|
||||
"7003": "You do not have access to that project.",
|
||||
"8001": "Ši etiketė jau yra prie šios užduoties.",
|
||||
"8002": "Etiketė neegzistuoja.",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Titel",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"usernameEmail": "Brukernavn / e-postadresse",
|
||||
"usernamePlaceholder": "e.g. frederick",
|
||||
"email": "E-postadresse",
|
||||
"emailPlaceholder": "e.g. frederic{'@'}vikunja.io",
|
||||
"emailPlaceholder": "f.eks. frederic{'@'}vikunja.io",
|
||||
"password": "Passord",
|
||||
"passwordPlaceholder": "f.eks. ••••••••••• •",
|
||||
"forgotPassword": "Glemt ditt passord?",
|
||||
@@ -73,8 +73,8 @@
|
||||
"title": "Innstillinger",
|
||||
"newPasswordTitle": "Oppdater passord",
|
||||
"newPassword": "New password",
|
||||
"newPasswordConfirm": "New password confirmation",
|
||||
"currentPassword": "Current password",
|
||||
"newPasswordConfirm": "Bekreft nytt passord",
|
||||
"currentPassword": "Gjeldende passord",
|
||||
"currentPasswordPlaceholder": "Ditt nåværende passord",
|
||||
"passwordsDontMatch": "Det nye passordet og bekreftelse samsvarer ikke.",
|
||||
"passwordUpdateSuccess": "Passordet ditt ble vellykket oppdatert.",
|
||||
@@ -83,13 +83,13 @@
|
||||
"updateEmailSuccess": "E-postadressen din ble oppdatert. Vi har sendt deg en lenke for å bekrefte den.",
|
||||
"general": {
|
||||
"title": "Generelle innstillinger",
|
||||
"name": "My Name",
|
||||
"name": "Mitt Navn",
|
||||
"newName": "The new name",
|
||||
"savedSuccess": "Innstillingene ble lagret.",
|
||||
"emailReminders": "Send me reminders for tasks via email",
|
||||
"emailReminders": "Send påminnelser om oppgaver på e-post",
|
||||
"overdueReminders": "Send meg et sammendrag av mine uferdige oppdager over dato hver dag",
|
||||
"discoverableByName": "Allow other users to add me as a member to teams or projects when they search for my name",
|
||||
"discoverableByEmail": "Allow other users to add me as a member to teams or projects when they search for my full email",
|
||||
"discoverableByEmail": "Tillat andre brukere å legge meg til som medlem i grupper eller prosjekter når det søkes etter min e-postadresse",
|
||||
"playSoundWhenDone": "Spill av en lyd når merking av oppgaver som ferdig",
|
||||
"weekStart": "Uken starter på",
|
||||
"weekStartSunday": "Søndag",
|
||||
@@ -121,7 +121,7 @@
|
||||
"more": "Mer informasjon om CalDAV i Vikunja",
|
||||
"tokens": "CalDAV Tokens",
|
||||
"tokensHowTo": "Du kan bruke et CalDAV token til å bruke istedet for passord for å logge på det ovennevnte endepunktet.",
|
||||
"createToken": "Opprett Token",
|
||||
"createToken": "Opprett token",
|
||||
"tokenCreated": "Her er din token: {token}",
|
||||
"wontSeeItAgain": "Skriv den ned, du vil ikke kunne se den igjen.",
|
||||
"mustUseToken": "Du må opprette et CalDAV-token hvis du ønsker å bruke CalDAS med en tredjeparts klient. Bruk token som passord.",
|
||||
@@ -158,7 +158,7 @@
|
||||
"apiDocs": "Check out the api docs",
|
||||
"createAToken": "Create a token",
|
||||
"createToken": "Create token",
|
||||
"30d": "30 Days",
|
||||
"30d": "30 dager",
|
||||
"60d": "60 Days",
|
||||
"90d": "90 Days",
|
||||
"permissionExplanation": "Permissions allow you to scope what an api token is allowed to do.",
|
||||
@@ -231,7 +231,7 @@
|
||||
"archive": "Arkiver dette prosjektet",
|
||||
"unarchive": "Av-arkivere dette prosjektet",
|
||||
"unarchiveText": "You will be able to create tasks or edit it.",
|
||||
"archiveText": "You won't be able to edit this project or create tasks until you un-archive it.",
|
||||
"archiveText": "Du kan ikke redigere dette prosjektet før du tar det ut av arkivet.",
|
||||
"success": "Prosjektet ble vellykket arkivert."
|
||||
},
|
||||
"background": {
|
||||
@@ -268,7 +268,7 @@
|
||||
"identifier": "Prosjekt identifikator",
|
||||
"identifierPlaceholder": "Prosjektidentifikatoren kommer her…",
|
||||
"description": "Beskrivelse",
|
||||
"descriptionPlaceholder": "Enter a description for this project, hit '/' for more options…",
|
||||
"descriptionPlaceholder": "Angi en beskrivelse til dette prosjektet. Trykk '/' for flere valg…",
|
||||
"color": "Farger",
|
||||
"success": "Prosjektet ble opprettet."
|
||||
},
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtre",
|
||||
"clear": "Fjern filtre",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Tittel",
|
||||
"titlePlaceholder": "Den lagrede filtertittelen kommer hit…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
@@ -606,7 +609,7 @@
|
||||
"bold": "Fet",
|
||||
"italic": "Kursiv",
|
||||
"strikethrough": "Gjennomstrekning",
|
||||
"underline": "Underline",
|
||||
"underline": "Understrek",
|
||||
"code": "Kode",
|
||||
"codeTooltip": "Capture a code snippet.",
|
||||
"quote": "Sitat",
|
||||
@@ -765,8 +768,8 @@
|
||||
"belongsToProject": "Denne oppgaven tilhører listen '{project}'",
|
||||
"due": "Forfallsdato {at}",
|
||||
"closePopup": "Lukk popup",
|
||||
"organization": "Organization",
|
||||
"management": "Management",
|
||||
"organization": "Organisering",
|
||||
"management": "Behandling",
|
||||
"dateAndTime": "Date and time",
|
||||
"delete": {
|
||||
"header": "Slette denne oppgaven",
|
||||
@@ -901,7 +904,7 @@
|
||||
"delete": "Slett relasjon",
|
||||
"deleteText1": "Er du sikker på at du vil slette denne relasjonen?",
|
||||
"select": "Velg en relasjonstype",
|
||||
"taskRequired": "Velg en oppgave eller angi en ny oppgavetitle.",
|
||||
"taskRequired": "Velg en oppgave eller angi en ny oppgavetittel.",
|
||||
"kinds": {
|
||||
"subtask": "Underoppgave | Underoppgaver",
|
||||
"parenttask": "Foreldreoppgaven + Overordnede oppgaver",
|
||||
@@ -1058,7 +1061,7 @@
|
||||
"upcoming": "Gå til kommende oppgaver",
|
||||
"labels": "Naviger til etiketter",
|
||||
"teams": "Naviger til gruppe",
|
||||
"projects": "Navigate to projects"
|
||||
"projects": "Gå til prosjekter"
|
||||
}
|
||||
},
|
||||
"update": {
|
||||
@@ -1097,7 +1100,7 @@
|
||||
"title": "Varsler",
|
||||
"none": "Du har ingen varsler på dette tidspunktet!",
|
||||
"explainer": "Notifications will appear here when actions projects or tasks you subscribed to happen.",
|
||||
"markAllRead": "Mark all notifications as read",
|
||||
"markAllRead": "Marker alle varslinger som lest",
|
||||
"markAllReadSuccess": "Successfully marked all notifications as read."
|
||||
},
|
||||
"quickActions": {
|
||||
@@ -1208,7 +1211,7 @@
|
||||
"time": {
|
||||
"units": {
|
||||
"seconds": "second|seconds",
|
||||
"minutes": "minute|minutes",
|
||||
"minutes": "minutt|minutter",
|
||||
"hours": "hour|hours",
|
||||
"days": "day|days",
|
||||
"weeks": "week|weeks",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtry",
|
||||
"clear": "Wyczyść filtry",
|
||||
"showResults": "Wyświetl wyniki",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Tytuł",
|
||||
"titlePlaceholder": "Tu wpisz tytuł filtra stałego…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "Aby filtrować zadania, możesz użyć składni zapytań podobnej do SQL. Pola dostępne do filtrowania to:",
|
||||
"link": "Jak to działa?",
|
||||
"canUseDatemath": "Możesz użyć matematyki dat, aby ustawić daty względne. Kliknij wartość daty w zapytaniu, aby dowiedzieć się więcej.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Czy zadanie zostało zakończone, czy nie",
|
||||
"priority": "Priorytet zadania (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Mniejsze niż",
|
||||
"lessThanOrEqual": "Mniejsze niż lub równe",
|
||||
"like": "Pasuje do wzorca (używając symbolu %)",
|
||||
"in": "Dopasuje dowolną wartość z listy wartości oddzielonych przecinkami"
|
||||
"in": "Dopasuje dowolną wartość z listy wartości oddzielonych przecinkami",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Aby połączyć wiele warunków, możesz użyć następujących operatorów logicznych:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtros",
|
||||
"clear": "Limpar Filtros",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Título",
|
||||
"titlePlaceholder": "O título do filtro salvo fica aqui…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtros",
|
||||
"clear": "Limpar Filtros",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Título",
|
||||
"titlePlaceholder": "O título do filtro memorizado será aqui…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"forgotPassword": "Забыли пароль?",
|
||||
"resetPassword": "Сбросить пароль",
|
||||
"resetPasswordAction": "Отправить ссылку на сброс пароля",
|
||||
"resetPasswordSuccess": "Check your inbox! You should have an email with instructions on how to reset your password.",
|
||||
"resetPasswordSuccess": "Проверь свою почту! Там должно быть письмо с инструкциями, как сбросить пароль.",
|
||||
"passwordsDontMatch": "Пароли не совпадают",
|
||||
"confirmEmailSuccess": "Теперь вы можете войти, используя свой e-mail.",
|
||||
"totpTitle": "Код двухфакторной аутентификации",
|
||||
@@ -61,7 +61,7 @@
|
||||
"usernameMustNotLookLikeUrl": "Имя пользователя не должно быть похожим на URL.",
|
||||
"passwordRequired": "Введите пароль.",
|
||||
"passwordNotMin": "Пароль должен содержать не меньше 8 символов.",
|
||||
"passwordNotMax": "Password must have at most 72 characters.",
|
||||
"passwordNotMax": "Пароль должен содержать не больше 72 символов.",
|
||||
"showPassword": "Показать пароль",
|
||||
"hidePassword": "Скрыть пароль",
|
||||
"noAccountYet": "Ещё нет аккаунта?",
|
||||
@@ -72,21 +72,21 @@
|
||||
"settings": {
|
||||
"title": "Настройки",
|
||||
"newPasswordTitle": "Изменить пароль",
|
||||
"newPassword": "New password",
|
||||
"newPasswordConfirm": "New password confirmation",
|
||||
"currentPassword": "Current password",
|
||||
"newPassword": "Новый пароль",
|
||||
"newPasswordConfirm": "Новый пароль ещё раз",
|
||||
"currentPassword": "Текущий пароль",
|
||||
"currentPasswordPlaceholder": "Текущий пароль",
|
||||
"passwordsDontMatch": "Новые пароли не совпадают.",
|
||||
"passwordUpdateSuccess": "Пароль изменён.",
|
||||
"updateEmailTitle": "Изменить Email",
|
||||
"updateEmailNew": "New email address",
|
||||
"updateEmailNew": "Новый email адрес",
|
||||
"updateEmailSuccess": "E-mail успешно изменён. Для подтверждения нажмите на ссылку в письме, отправленном на новый адрес.",
|
||||
"general": {
|
||||
"title": "Основные настройки",
|
||||
"name": "My Name",
|
||||
"newName": "The new name",
|
||||
"name": "Моё имя",
|
||||
"newName": "Новое имя",
|
||||
"savedSuccess": "Настройки обновлены.",
|
||||
"emailReminders": "Send me reminders for tasks via email",
|
||||
"emailReminders": "Присылать мне напоминания о задачах на email",
|
||||
"overdueReminders": "Присылать сводку о просроченных задачах каждый день",
|
||||
"discoverableByName": "Разрешить другим пользователям добавлять меня в состав команд или проектов при поиске моего имени",
|
||||
"discoverableByEmail": "Разрешить другим пользователям добавлять меня в состав команд или проектов при поиске моего полного email",
|
||||
@@ -95,24 +95,24 @@
|
||||
"weekStartSunday": "Воскресенье",
|
||||
"weekStartMonday": "Понедельник",
|
||||
"language": "Язык",
|
||||
"defaultProject": "Default project",
|
||||
"defaultView": "Default view",
|
||||
"timezone": "Time zone",
|
||||
"defaultProject": "Проект по умолчанию",
|
||||
"defaultView": "Представление по умолчанию",
|
||||
"timezone": "Часовой пояс",
|
||||
"overdueTasksRemindersTime": "Время напоминания о невыполненных задачах",
|
||||
"filterUsedOnOverview": "Сохранённый фильтр, используемый на странице обзора"
|
||||
},
|
||||
"totp": {
|
||||
"title": "Двухфакторная аутентификация",
|
||||
"enroll": "Подключить",
|
||||
"finishSetupPart1": "To finish your setup, use this secret in your TOTP app (Google Authenticator or similar):",
|
||||
"finishSetupPart1": "Для завершения подключения используйте этот секрет в своём приложении TOTP (Google Authenticator или подобное):",
|
||||
"finishSetupPart2": "Потом введите сюда код из приложения.",
|
||||
"scanQR": "Или вы можете отсканировать этот QR-код:",
|
||||
"passcode": "Код",
|
||||
"passcodePlaceholder": "A code generated by your TOTP application",
|
||||
"passcodePlaceholder": "Код, который сгенерировало приложение TOTP",
|
||||
"setupSuccess": "Двухфакторная аутентификация успешно подключена!",
|
||||
"enterPassword": "Введите свой пароль",
|
||||
"disable": "Отключить двухфакторную аутентификацию",
|
||||
"confirmSuccess": "You've successfully confirmed your TOTP setup and can use it from now on!",
|
||||
"confirmSuccess": "TOTP настроен и готов к использованию!",
|
||||
"disableSuccess": "Двухфакторная аутентификация отключена."
|
||||
},
|
||||
"caldav": {
|
||||
@@ -163,7 +163,7 @@
|
||||
"90d": "90 дней",
|
||||
"permissionExplanation": "Разрешения позволяют выбрать, какие действия можно выполнять с использованием этого токена.",
|
||||
"titleRequired": "Название обязательно",
|
||||
"permissionRequired": "Please select at least one permission from the list.",
|
||||
"permissionRequired": "Выберите хотя бы одно разрешение из списка.",
|
||||
"expired": "Срок действия этого токена истёк {ago}.",
|
||||
"tokenCreatedSuccess": "Ваш новый токен: {token}",
|
||||
"tokenCreatedNotSeeAgain": "Сохраните его в безопасном месте, вы не увидите его снова!",
|
||||
@@ -401,15 +401,17 @@
|
||||
"titleRequired": "Пожалуйста, укажите название.",
|
||||
"delete": "Удалить представление",
|
||||
"deleteText": "Удалить это представление? После удаления его не получится использовать для просмотра задач в этом проекте. Сами задачи останутся. Это действие отменить нельзя!",
|
||||
"deleteSuccess": "The view was deleted successfully.",
|
||||
"deleteSuccess": "Представление удалено.",
|
||||
"onlyAdminsCanEdit": "Только администраторы проекта могут изменять представления.",
|
||||
"updateSuccess": "The view was updated successfully."
|
||||
"updateSuccess": "Представление обновлено."
|
||||
}
|
||||
},
|
||||
"filters": {
|
||||
"title": "Фильтры",
|
||||
"clear": "Сбросить фильтры",
|
||||
"showResults": "Применить",
|
||||
"fromView": "В текущем представлении тоже указан фильтр:",
|
||||
"fromViewBoth": "Он будет использоваться вместе с фильтром, который вы введёте здесь.",
|
||||
"attributes": {
|
||||
"title": "Название",
|
||||
"titlePlaceholder": "Введите название сохранённого фильтра…",
|
||||
@@ -459,9 +461,9 @@
|
||||
"assignees": "Пользователи, которым назначена задача",
|
||||
"labels": "Метки, связанные с задачей",
|
||||
"project": "Проект, в котором находится задача (только для сохранённых фильтров, не на уровне проекта)",
|
||||
"reminders": "The reminders of the task as a date field, will return all tasks with at least one reminder matching the query",
|
||||
"created": "The time and date when the task was created",
|
||||
"updated": "The time and date when the task was last changed"
|
||||
"reminders": "Напоминания задачи в виде даты, выведет все задачи, в которых найдётся хотя бы одно напоминание, соответствующее запросу",
|
||||
"created": "Время и дата создания задачи",
|
||||
"updated": "Время и дата последнего изменения задачи"
|
||||
},
|
||||
"operators": {
|
||||
"intro": "Доступны следующие операторы:",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Меньше",
|
||||
"lessThanOrEqual": "Меньше или равно",
|
||||
"like": "Соответствует шаблону (знак подстановки %)",
|
||||
"in": "Соответствует любому из перечисленных значений, разделённых запятой"
|
||||
"in": "Соответствует любому из перечисленных значений, разделённых запятой",
|
||||
"notIn": "Соответствует чему угодно, кроме перечисленных значений, разделённых запятой"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Для объединения нескольких условий можно использовать логические операторы:",
|
||||
@@ -736,7 +739,7 @@
|
||||
"addReminder": "Добавить напоминание…",
|
||||
"doneSuccess": "Задача отмечена как завершённая.",
|
||||
"undoneSuccess": "Задача отмечена как незавершённая.",
|
||||
"revertSuccess": "The task change was successfully undone.",
|
||||
"revertSuccess": "Изменение задачи отменено.",
|
||||
"undo": "Отменить",
|
||||
"openDetail": "Открыть подробный просмотр задачи",
|
||||
"checklistTotal": "{checked} из {total} задач",
|
||||
@@ -852,7 +855,7 @@
|
||||
"deleteText1": "Удалить этот комментарий?",
|
||||
"deleteSuccess": "Комментарий удалён.",
|
||||
"addedSuccess": "Комментарий добавлен.",
|
||||
"permalink": "Copy permalink to this comment"
|
||||
"permalink": "Скопировать постоянную ссылку на комментарий"
|
||||
},
|
||||
"deferDueDate": {
|
||||
"title": "Отложить срок",
|
||||
@@ -1146,9 +1149,9 @@
|
||||
"1012": "E-mail пользователя не подтверждён.",
|
||||
"1013": "Новый пароль пустой.",
|
||||
"1014": "Старый пароль пустой.",
|
||||
"1015": "TOTP is already enabled for this user.",
|
||||
"1016": "TOTP is not enabled for this user.",
|
||||
"1017": "The TOTP passcode is invalid.",
|
||||
"1015": "Этот пользователь уже использует TOTP.",
|
||||
"1016": "Этот пользователь не использует TOTP.",
|
||||
"1017": "Неверный TOTP-код.",
|
||||
"1018": "Тип аватара пользователя неверный.",
|
||||
"2001": "ID не может быть пустой или 0.",
|
||||
"2002": "Некоторые данные запроса неверны.",
|
||||
@@ -1158,8 +1161,8 @@
|
||||
"3006": "The project share does not exist.",
|
||||
"3007": "Проект с таким идентификатором уже существует.",
|
||||
"3008": "Этот проект архивирован и поэтому доступен только для чтения. Это также касается всех задач в этом проекте.",
|
||||
"4001": "The task title cannot be empty.",
|
||||
"4002": "The task does not exist.",
|
||||
"4001": "Нужно ввести название задачи.",
|
||||
"4002": "Задача не существует.",
|
||||
"4003": "Все задачи для массового редактирования должны принадлежать одному проекту.",
|
||||
"4004": "Необходима хотя бы одна задача для массового редактирования.",
|
||||
"4005": "У вас нет прав для просмотра задачи.",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filtri",
|
||||
"clear": "Počisti filtre",
|
||||
"showResults": "Prikaži rezultate",
|
||||
"fromView": "Trenutni pogled ima tudi nastavljen filter:",
|
||||
"fromViewBoth": "Uporabljeno bo v kombinaciji s tem, kar ste vnesli tukaj.",
|
||||
"attributes": {
|
||||
"title": "Naslov",
|
||||
"titlePlaceholder": "Tu je naslov shranjenega filtra…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "Za filtriranje nalog lahko uporabite sintakso poizvedbe, podobno SQL. Razpoložljiva polja za filtriranje vključujejo:",
|
||||
"link": "Kako to deluje?",
|
||||
"canUseDatemath": "Za nastavitev relativnih datumov lahko določite datume. Če želite izvedeti več, kliknite vrednost datuma v poizvedbi.",
|
||||
"canUseDatemath": "Za nastavitev relativnih datumov lahko uporabite datumsko matematiko. Če želite izvedeti več, kliknite vrednost datuma v poizvedbi.",
|
||||
"fields": {
|
||||
"done": "Ali je naloga opravljena ali ne",
|
||||
"priority": "Stopnja prioritete naloge (1-5)",
|
||||
@@ -459,9 +461,9 @@
|
||||
"assignees": "Dodeljeni k nalogi",
|
||||
"labels": "Oznake, povezane z opravilom",
|
||||
"project": "Projekt, ki mu naloga pripada (na voljo samo za shranjene filtre, ne na ravni projekta)",
|
||||
"reminders": "The reminders of the task as a date field, will return all tasks with at least one reminder matching the query",
|
||||
"created": "The time and date when the task was created",
|
||||
"updated": "The time and date when the task was last changed"
|
||||
"reminders": "Opomniki za opravilo kot datumsko polje bodo vrnili vsa opravila z vsaj enim opomnikom, ki se ujema s poizvedbo",
|
||||
"created": "Čas in datum, ko je bilo opravilo ustvarjeno",
|
||||
"updated": "Čas in datum zadnje spremembe opravila"
|
||||
},
|
||||
"operators": {
|
||||
"intro": "Razpoložljivi operaterji za filtriranje vključujejo:",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Manj kot",
|
||||
"lessThanOrEqual": "Manjše ali enako kot",
|
||||
"like": "Ujema se z vzorcem (z nadomestnimi znaki %)",
|
||||
"in": "Ujema se s katero koli vrednostjo na seznamu vrednosti, ločenih z vejico"
|
||||
"in": "Ujema se s katero koli vrednostjo na seznamu vrednosti, ločenih z vejico",
|
||||
"notIn": "Ujema se s katero koli vrednostjo na seznamu vrednosti, ločenih z vejico"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Če želite združiti več pogojev, lahko uporabite naslednje logične operatorje:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filter",
|
||||
"clear": "Rensa filter",
|
||||
"showResults": "Visa resultat",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Titel",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Mindre än",
|
||||
"lessThanOrEqual": "Mindre än eller lika med",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Вибірки",
|
||||
"clear": "Очистити",
|
||||
"showResults": "Показати",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Заголовок",
|
||||
"titlePlaceholder": "Заголовок введіть тут…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "Для вибірки завдань вживається синтаксис запитів подібний до SQL. Доступні такі поля:",
|
||||
"link": "Як це діє?",
|
||||
"canUseDatemath": "Можна вжити математичні вирази для обчислення приблизних днів. Клацніть на значення дати для подробиць.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Стан: закінчене або ні",
|
||||
"priority": "Рівень першості (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Менше ніж",
|
||||
"lessThanOrEqual": "Менше ніж або дорівнює",
|
||||
"like": "Збігається зі зразком (вживаючи знак %)",
|
||||
"in": "Збігається з будь-яким значеннями, розділеними комою"
|
||||
"in": "Збігається з будь-яким значеннями, розділеними комою",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "Щоб поєднати декілька умов, можна вжити такі закономірні оператори:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Bộ lọc",
|
||||
"clear": "Xoá các bộ lọc",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Tiêu đề",
|
||||
"titlePlaceholder": "Tiêu đề bộ lọc đã lưu ở đây…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "筛选器",
|
||||
"clear": "清除筛选条件",
|
||||
"showResults": "显示结果",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "标题",
|
||||
"titlePlaceholder": "填写筛选器标题",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "要过滤任务,您可以使用类似于SQL的查询语法。可用的过滤字段包括:",
|
||||
"link": "这是如何运作的?",
|
||||
"canUseDatemath": "您可以将数学日期设定为相对日期。点击查询中的日期值来查找更多信息。",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "任务是否完成",
|
||||
"priority": "任务的优先级(1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "小于",
|
||||
"lessThanOrEqual": "小于或等于",
|
||||
"like": "匹配模式 (使用通配符%)",
|
||||
"in": "匹配任意一个逗号分隔的值列表"
|
||||
"in": "匹配任意一个逗号分隔的值列表",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "若要合并多个条件,您可以使用以下逻辑运算符:",
|
||||
|
||||
@@ -410,6 +410,8 @@
|
||||
"title": "Filters",
|
||||
"clear": "Clear Filters",
|
||||
"showResults": "Show results",
|
||||
"fromView": "The current view has a filter set as well:",
|
||||
"fromViewBoth": "It will be used in combination with what you enter here.",
|
||||
"attributes": {
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "The saved filter title goes here…",
|
||||
@@ -447,7 +449,7 @@
|
||||
"help": {
|
||||
"intro": "To filter tasks, you can use a query syntax similar to SQL. The available fields for filtering include:",
|
||||
"link": "How does this work?",
|
||||
"canUseDatemath": "You can date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"canUseDatemath": "You can use date math to set relative dates. Click on the date value in a query to find out more.",
|
||||
"fields": {
|
||||
"done": "Whether the task is completed or not",
|
||||
"priority": "The priority level of the task (1-5)",
|
||||
@@ -472,7 +474,8 @@
|
||||
"lessThan": "Less than",
|
||||
"lessThanOrEqual": "Less than or equal to",
|
||||
"like": "Matches a pattern (using wildcard %)",
|
||||
"in": "Matches any value in a comma-seperated list of values"
|
||||
"in": "Matches any value in a comma-seperated list of values",
|
||||
"notIn": "Matches any value not present in a comma-seperated list of values"
|
||||
},
|
||||
"logicalOperators": {
|
||||
"intro": "To combine multiple conditions, you can use the following logical operators:",
|
||||
|
||||
@@ -26,6 +26,7 @@ export const DAYJS_LOCALE_MAPPING = {
|
||||
'hr-HR': 'hr',
|
||||
'uk-UA': 'uk',
|
||||
'lt-LT': 'lt',
|
||||
'bg-BG': 'bg',
|
||||
} as Record<SupportedLocale, ISOLanguage>
|
||||
|
||||
export const DAYJS_LANGUAGE_IMPORTS = {
|
||||
@@ -50,6 +51,7 @@ export const DAYJS_LANGUAGE_IMPORTS = {
|
||||
'pt-br': () => import('dayjs/locale/pt-br'),
|
||||
'uk-ua': () => import('dayjs/locale/uk'),
|
||||
'lt-lt': () => import('dayjs/locale/lt'),
|
||||
'bg-bg': () => import('dayjs/locale/bg'),
|
||||
} as Record<SupportedLocale, () => Promise<ILocale>>
|
||||
|
||||
export function useDayjsLanguageSync(dayjsGlobal: typeof dayjs) {
|
||||
|
||||
@@ -12,25 +12,27 @@ export const NOTIFICATION_NAMES = {
|
||||
'TASK_REMINDER': 'task.reminder',
|
||||
'PROJECT_CREATED': 'project.created',
|
||||
'TEAM_MEMBER_ADDED': 'team.member.added',
|
||||
'TASK_MENTIONED': 'task.mentioned',
|
||||
} as const
|
||||
|
||||
interface Notification {
|
||||
doer: IUser
|
||||
}
|
||||
interface NotificationTask extends Notification {
|
||||
|
||||
interface NotificationTaskComment extends Notification {
|
||||
task: ITask
|
||||
comment: ITaskComment
|
||||
}
|
||||
|
||||
interface NotificationTask extends Notification {
|
||||
task: ITask
|
||||
}
|
||||
|
||||
interface NotificationAssigned extends Notification {
|
||||
task: ITask
|
||||
assignee: IUser
|
||||
}
|
||||
|
||||
interface NotificationDeleted extends Notification {
|
||||
task: ITask
|
||||
}
|
||||
|
||||
interface NotificationCreated extends Notification {
|
||||
task: ITask
|
||||
project: IProject
|
||||
@@ -49,7 +51,7 @@ interface NotificationMemberAdded extends Notification {
|
||||
export interface INotification extends IAbstract {
|
||||
id: number
|
||||
name: string
|
||||
notification: NotificationTask | NotificationAssigned | NotificationDeleted | NotificationCreated | NotificationMemberAdded | NotificationTaskReminder
|
||||
notification: NotificationTaskComment | NotificationTask | NotificationAssigned | NotificationCreated | NotificationMemberAdded | NotificationTaskReminder
|
||||
read: boolean
|
||||
readAt: Date | null
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type {IAbstract} from './IAbstract'
|
||||
import type {IProject} from '@/modelTypes/IProject'
|
||||
import type {IFilters} from '@/modelTypes/ISavedFilter'
|
||||
|
||||
export const PROJECT_VIEW_KINDS = {
|
||||
LIST: 'list',
|
||||
@@ -20,7 +21,7 @@ export type ProjectViewBucketConfigurationMode = typeof PROJECT_VIEW_BUCKET_CONF
|
||||
|
||||
export interface IProjectViewBucketConfiguration {
|
||||
title: string
|
||||
filter: string
|
||||
filter: IFilters
|
||||
}
|
||||
|
||||
export interface IProjectView extends IAbstract {
|
||||
@@ -29,7 +30,7 @@ export interface IProjectView extends IAbstract {
|
||||
projectId: IProject['id']
|
||||
viewKind: ProjectViewKind
|
||||
|
||||
filter: string
|
||||
filter: IFilters
|
||||
position: number
|
||||
|
||||
bucketConfigurationMode: ProjectViewBucketConfigurationMode
|
||||
|
||||
@@ -2,7 +2,7 @@ import type {IAbstract} from './IAbstract'
|
||||
import type {IUser} from './IUser'
|
||||
|
||||
// FIXME: what makes this different from TaskFilterParams?
|
||||
interface Filters {
|
||||
export interface IFilters {
|
||||
sort_by: ('start_date' | 'done' | 'id' | 'position')[],
|
||||
order_by: ('asc' | 'desc')[],
|
||||
filter: string,
|
||||
@@ -14,7 +14,7 @@ export interface ISavedFilter extends IAbstract {
|
||||
id: number
|
||||
title: string
|
||||
description: string
|
||||
filters: Filters
|
||||
filters: IFilters
|
||||
|
||||
owner: IUser
|
||||
created: Date
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { IUser } from '@/modelTypes/IUser'
|
||||
import type { IFile } from '@/modelTypes/IFile'
|
||||
import type { IAttachment } from '@/modelTypes/IAttachment'
|
||||
|
||||
export const SUPPORTED_IMAGE_SUFFIX = ['.jpg', '.png', '.bmp', '.gif']
|
||||
export const SUPPORTED_IMAGE_SUFFIX = ['.jpeg', '.jpg', '.png', '.bmp', '.gif']
|
||||
|
||||
export function canPreview(attachment: IAttachment): boolean {
|
||||
return SUPPORTED_IMAGE_SUFFIX.some((suffix) => attachment.file.name.toLowerCase().endsWith(suffix))
|
||||
@@ -26,4 +26,4 @@ export default class AttachmentModel extends AbstractModel<IAttachment> implemen
|
||||
this.file = new FileModel(this.file)
|
||||
this.created = new Date(this.created)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -62,6 +62,12 @@ export default class NotificationModel extends AbstractModel<INotification> impl
|
||||
project: new ProjectModel(this.notification.project),
|
||||
}
|
||||
break
|
||||
case NOTIFICATION_NAMES.TASK_MENTIONED:
|
||||
this.notification = {
|
||||
doer: new UserModel(this.notification.doer),
|
||||
task: new TaskModel(this.notification.task),
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
this.created = new Date(this.created)
|
||||
@@ -96,6 +102,8 @@ export default class NotificationModel extends AbstractModel<INotification> impl
|
||||
return `added ${who} to the ${this.notification.team.name} team`
|
||||
case NOTIFICATION_NAMES.TASK_REMINDER:
|
||||
return `Reminder for ${this.notification.task.getTextIdentifier()} ${this.notification.task.title} (${this.notification.project.title})`
|
||||
case NOTIFICATION_NAMES.TASK_MENTIONED:
|
||||
return `${getDisplayName(this.notification.doer)} mentioned you on ${this.notification.task.getTextIdentifier()}`
|
||||
}
|
||||
|
||||
return ''
|
||||
|
||||
@@ -7,7 +7,13 @@ export default class ProjectViewModel extends AbstractModel<IProjectView> implem
|
||||
projectId = 0
|
||||
viewKind: ProjectViewKind = 'list'
|
||||
|
||||
filter = ''
|
||||
filter: IProjectView['filters'] = {
|
||||
sort_by: ['done', 'id'],
|
||||
order_by: ['asc', 'desc'],
|
||||
filter: 'done = false',
|
||||
filter_include_nulls: true,
|
||||
s: '',
|
||||
}
|
||||
position = 0
|
||||
|
||||
bucketConfiguration = []
|
||||
|
||||
@@ -75,6 +75,16 @@ describe('Parse Task Text', () => {
|
||||
expect(result?.date?.getMonth()).toBe(now.getMonth())
|
||||
expect(result?.date?.getDate()).toBe(now.getDate())
|
||||
})
|
||||
it('should recognize tonight', () => {
|
||||
const result = parseTaskText('Lorem Ipsum tonight')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum')
|
||||
const now = new Date()
|
||||
expect(result?.date?.getFullYear()).toBe(now.getFullYear())
|
||||
expect(result?.date?.getMonth()).toBe(now.getMonth())
|
||||
expect(result?.date?.getDate()).toBe(now.getDate())
|
||||
expect(result?.date?.getHours()).toBe(21)
|
||||
})
|
||||
describe('should recognize today with a time', () => {
|
||||
const cases = {
|
||||
'at 15:00': '15:0',
|
||||
@@ -87,7 +97,7 @@ describe('Parse Task Text', () => {
|
||||
'at 3:12 am': '3:12',
|
||||
'at 3:12 pm': '15:12',
|
||||
} as const
|
||||
|
||||
|
||||
for (const c in cases) {
|
||||
it(`should recognize today with a time ${c}`, () => {
|
||||
const result = parseTaskText(`Lorem Ipsum today ${c}`)
|
||||
@@ -273,7 +283,7 @@ describe('Parse Task Text', () => {
|
||||
const mar = new Date(2022, 2, 32)
|
||||
vi.setSystemTime(mar)
|
||||
|
||||
const result = parseTaskText(`Lorem Ipsum 31st`)
|
||||
const result = parseTaskText('Lorem Ipsum 31st')
|
||||
|
||||
const expectedDate = new Date(2022, 4, 31)
|
||||
expect(result.text).toBe('Lorem Ipsum')
|
||||
@@ -617,7 +627,7 @@ describe('Parse Task Text', () => {
|
||||
expect(result.labels[1]).toBe('label2')
|
||||
})
|
||||
it('should correctly parse labels with spaces in them', () => {
|
||||
const result = parseTaskText(`Lorem *'label with space' Ipsum`)
|
||||
const result = parseTaskText('Lorem *\'label with space\' Ipsum')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum')
|
||||
expect(result.labels).toHaveLength(1)
|
||||
@@ -647,25 +657,25 @@ describe('Parse Task Text', () => {
|
||||
expect(result.project).toBe('project')
|
||||
})
|
||||
it('should parse a project with a space in it', () => {
|
||||
const result = parseTaskText(`Lorem Ipsum +'project with long name'`)
|
||||
const result = parseTaskText('Lorem Ipsum +\'project with long name\'')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum')
|
||||
expect(result.project).toBe('project with long name')
|
||||
})
|
||||
it('should parse a project with a space in it and "', () => {
|
||||
const result = parseTaskText(`Lorem Ipsum +"project with long name"`)
|
||||
const result = parseTaskText('Lorem Ipsum +"project with long name"')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum')
|
||||
expect(result.project).toBe('project with long name')
|
||||
})
|
||||
it('should parse only the first project', () => {
|
||||
const result = parseTaskText(`Lorem Ipsum +project1 +project2 +project3`)
|
||||
const result = parseTaskText('Lorem Ipsum +project1 +project2 +project3')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum +project2 +project3')
|
||||
expect(result.project).toBe('project1')
|
||||
})
|
||||
it('should parse a project that\'s called like a date as project', () => {
|
||||
const result = parseTaskText(`Lorem Ipsum +today`)
|
||||
const result = parseTaskText('Lorem Ipsum +today')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum')
|
||||
expect(result.project).toBe('today')
|
||||
@@ -681,14 +691,14 @@ describe('Parse Task Text', () => {
|
||||
expect(result.priority).toBe(PRIORITIES[p])
|
||||
})
|
||||
}
|
||||
it(`should not parse an invalid priority`, () => {
|
||||
const result = parseTaskText(`Lorem Ipsum !9999`)
|
||||
it('should not parse an invalid priority', () => {
|
||||
const result = parseTaskText('Lorem Ipsum !9999')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum !9999')
|
||||
expect(result.priority).toBe(null)
|
||||
})
|
||||
it(`should not parse an invalid priority but use the first valid one it finds`, () => {
|
||||
const result = parseTaskText(`Lorem Ipsum !9999 !1`)
|
||||
it('should not parse an invalid priority but use the first valid one it finds', () => {
|
||||
const result = parseTaskText('Lorem Ipsum !9999 !1')
|
||||
|
||||
expect(result.text).toBe('Lorem Ipsum !9999')
|
||||
expect(result.priority).toBe(1)
|
||||
@@ -724,7 +734,7 @@ describe('Parse Task Text', () => {
|
||||
expect(result.assignees[1]).toBe('user2')
|
||||
})
|
||||
it('should parse an assignee with a space in it', () => {
|
||||
const text = `Lorem Ipsum @'user with long name'`
|
||||
const text = 'Lorem Ipsum @\'user with long name\''
|
||||
const result = parseTaskText(text)
|
||||
|
||||
expect(result.text).toBe(text)
|
||||
@@ -732,7 +742,7 @@ describe('Parse Task Text', () => {
|
||||
expect(result.assignees[0]).toBe('user with long name')
|
||||
})
|
||||
it('should parse an assignee with a space in it and "', () => {
|
||||
const text = `Lorem Ipsum @"user with long name"`
|
||||
const text = 'Lorem Ipsum @"user with long name"'
|
||||
const result = parseTaskText(text)
|
||||
|
||||
expect(result.text).toBe(text)
|
||||
@@ -740,7 +750,7 @@ describe('Parse Task Text', () => {
|
||||
expect(result.assignees[0]).toBe('user with long name')
|
||||
})
|
||||
it('should parse an assignee who is called like a date as assignee', () => {
|
||||
const text = `Lorem Ipsum @today`
|
||||
const text = 'Lorem Ipsum @today'
|
||||
const result = parseTaskText(text)
|
||||
|
||||
expect(result.text).toBe(text)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user