Compare commits

..
Author SHA1 Message Date
Dominik Pschenitschni da695de78e wip: add useTask composable 2024-12-19 21:58:17 +01:00
Dominik Pschenitschni 2783df1918 feat: rename visible to isReady
By changing the naming we make it clearer _why_ we want elements to be visible (because the loaded data is ready). Also `v-if` already implies the meaning of the original term (if the expression inside v-if resolves to true the content will be visible).

The new naming is borrowed from https://vueuse.org/core/useAsyncState/.

This loading is still missing error handling, but I want to separate that in another change
2024-12-19 18:05:46 +01:00
kolaente f520881538 fix(kanban): do not close task input after creating tasks
Resolves https://kolaente.dev/vikunja/vikunja/issues/2192
2024-12-19 17:16:13 +01:00
kolaente bfb7cf9403 fix(project): only show create task cta when the user has permission to write to the project
Resolves https://community.vikunja.io/t/create-a-task-link-in-empty-project-for-read-only-share-links/3127
2024-12-19 17:09:14 +01:00
renovate 9c5f35a0d8 fix(deps): update tiptap to v2.10.4 2024-12-19 13:07:05 +00:00
kolaente 2185d36d36 fix(kanban): disable create button when bucket limit is reached 2024-12-19 12:53:56 +01:00
renovate 4afc77488e fix(deps): update module github.com/labstack/echo/v4 to v4.13.3 2024-12-19 06:06:46 +00:00
Frederick [Bot]anddrone cbee46b403 chore(i18n): update translations via Crowdin 2024-12-19 00:23:21 +00:00
kolaente 9eb5c62b01 fix: do not fail to load projects without views via link share
Resolves https://community.vikunja.io/t/undefined-error-when-sharing-an-empty-project/3126
2024-12-18 21:47:41 +01:00
renovate 1387f1c497 fix(deps): update dependency @sentry/vue to v8.47.0 2024-12-18 16:07:01 +00:00
Dominik Pschenitschniandkonrad f76970b5a3 chore: explicit function origin (#2945)
Nothing world changing. I realised recently that I prefer explicitly calling methods of stores and do the same with their states.
Similar to how one would do that with classes.

Since I might make more changes like this in the future (maybe also part of other PRs) I though I'd explain my reasoning here in a bit more detail:

__Benefits__

- saves local mappings, like the `const updateConfig = () => configStore.update()`
- there is no need to look up what exactly is updated, since the function is provide by the store.

__Disadvantages__

- a little bit more verbose (but not thaaat big difference)

---

TLDR: When reading the code this saves the step to check what was mapped.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2945
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-12-18 15:24:42 +00:00
renovate 98be0d6f67 chore(deps): update dependency cypress to v13.17.0 2024-12-18 00:07:16 +00:00
kolaente d046599192 docs: clarify typesense url protocol 2024-12-17 21:53:49 +01:00
renovate e8ca2a9ab8 fix(deps): update dependency tailwindcss to v3.4.17 2024-12-17 20:06:52 +00:00
renovate bdc3dae4f3 fix(deps): update dependency @sentry/vue to v8.46.0 2024-12-17 13:06:47 +00:00
renovate 2412d29a40 chore(deps): update dev-dependencies 2024-12-17 10:06:56 +00:00
kolaente 703a88e99f fix: lint 2024-12-17 10:53:18 +01:00
renovateandkonrad 336b3448cf fix(deps): update font awesome to v6.7.2 2024-12-16 22:24:47 +00:00
kolaente 4359819faf fix(auth): do not allow commas in usernames 2024-12-16 23:09:35 +01:00
renovate 3f97414497 fix(deps): update dependency @sentry/vue to v8.45.1 2024-12-16 13:06:58 +00:00
kolaente 47ff7d8ad3 fix(migration): fetch members when they do not exist
Resolves https://github.com/go-vikunja/vikunja/issues/378
2024-12-15 13:11:29 +01:00
renovate dc379b7a7e chore(deps): update dev-dependencies 2024-12-14 00:07:42 +00:00
Dominik Pschenitschniandkonrad 6a2a8c106b fix: LinkSharing race condition (#2932)
This fixes a race condition and should potential fix some flaky Cypress tests:

<img width="630" alt="Screenshot 2024-12-12 at 10.53.56.png" src="attachments/21dce132-7f1a-4e19-b14c-b0a868daa20e">

-----

Before `selectedView` was filled with an initial value that depended on the the related project being loaded before the shared links, since the assignment happened directly after the views have been loaded.

This fix ensures that the correct project has been loaded before it's accessed to look up the id of the first view.

-----

@konrad: Now that I finished this PR I'm a bit unsure if it's the "correct" way to solve this.

Because for existing share links it might be better if the links save the selected view as a property. Currently a change of the view only changes the created link in the frontend. When you change the view and reload the link stays the same.

I'm unsure if editing the selected view is something that we want (or is even possible depending on what the hash represents).
So maybe we should only support the following: The user selects a view when creating a linkShare and and different from before it will be saved.

Even with those additional changes we still need something similar to the changes of this PR, since we would still need to load the available view ids for the creation of a new link share.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2932
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-12-13 20:44:33 +00:00
kolaente 28a58303f0 fix(auth): convert to int when failed password value is not int
Resolves https://github.com/go-vikunja/vikunja/issues/377
2024-12-13 20:46:36 +01:00
renovateandDominik Pschenitschni 01c84be945 fix(deps): update dependency @sentry/vue to v8.45.0 2024-12-13 15:38:49 +00:00
Dominik Pschenitschni b579041185 fix(test): wait for project to be loaded
fixes flaky test
2024-12-13 14:43:18 +01:00
renovate e3260772ca chore(deps): update dependency sass-embedded to v1.83.0 2024-12-13 00:10:13 +00:00
renovateandkonrad a65955b409 fix(deps): update module github.com/labstack/echo/v4 to v4.13.2 2024-12-12 10:12:22 +00:00
renovate 9a9abe53da chore(deps): update dev-dependencies 2024-12-12 07:09:51 +00:00
kolaente b3040b8466 fix(notifications): handle user mentioned notification 2024-12-11 19:15:09 +01:00
kolaente b3c93ae811 fix(task): do not update all project_view ids
Might fix https://community.vikunja.io/t/not-able-to-move-task-between-buckets-within-a-kanban-view-for-saved-filter/2882/6
2024-12-11 18:50:01 +01:00
kolaente a1cf2b8bc7 fix(tasks): add new task only once to list when added
Fixes a regression introduced in 2ac11b13a1
2024-12-11 18:42:07 +01:00
kolaente 6f9b0ddfe7 fix(tasks): do not show import hint when using a filter as home tasks and already imported
This fixes a bug where the "import your tasks from other platforms" would be shown even if the user had already imported tasks. The bug was caused by the heuristic "there are tasks" was not evaluated when tasks were loaded through a filter

Resolves https://github.com/go-vikunja/vikunja/issues/372
2024-12-11 18:28:29 +01:00
kolaente c9a68d3a63 fix(openid): lint 2024-12-11 17:10:41 +01:00
kolaente 7ac2c42e4d fix(caldav): fetch saved filter
This fixes a bug which caused fetching saved filter and favorite projects to crash, because the respective project ID is not a valid project id without special handling.
2024-12-11 17:05:51 +01:00
kolaente 5abca0927b fix(caldav): do not crash with error 400 when fetching the list of all projects
Because the "all projects" handler is the same as the one to fetch a single project, the handler would fail because no project was specified. However, it should return an empty project instead so that it later fetches all projects.

Resolves https://community.vikunja.io/t/http-400-when-trying-to-connect-via-caldav/3054
2024-12-11 16:51:30 +01:00
kolaente 4512045cbf fix: check if all required keys are available when parsing openid configuration
Related to https://github.com/go-vikunja/vikunja/issues/371
2024-12-11 16:25:41 +01:00
kolaente e56a01f42d chore: remove default healthcheck in docker
The healtcheck takes really long to initialize, which might cause unnecessary downtime. This removes the default healthcheck from the dockerfile to avoid that for all users. It is still possible to add the healthcheck manually.
2024-12-11 15:17:36 +01:00
Dominik Pschenitschniandkonrad cff602c246 feat: remove @vitejs/plugin-legacy (#2921)
Quote:
> Vite's default browser support baseline is Native ESM, native ESM dynamic import, and import.meta. This plugin provides support for legacy browsers that do not support those features when building for production.

Since all three feature now have more than 97% market share it seems fine to remove them.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2921
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-12-11 13:15:05 +00:00
Dominik Pschenitschniandkonrad 13d52c721d fix: remove dompurify stub types 2024-12-11 13:14:03 +00:00
Dominik Pschenitschni 98c10acb50 fix: remove @types/lodash.clonedeep
package was replaced by klona
2024-12-11 13:53:44 +01:00
renovate 9b5ee28a69 fix(deps): update module github.com/labstack/echo/v4 to v4.13.1 2024-12-11 11:18:32 +00:00
Dominik Pschenitschni 8f5be72104 chore: remove the option modern-compiler
'modern-compiler' is the default if 'sass-embedded' is used since vite 6,
see: https://vite.dev/config/shared-options#css-preprocessoroptions
2024-12-11 10:49:07 +01:00
Dominik Pschenitschniandkonrad 07df606c68 fix: resetEmptyTitleError (#2889)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2889
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-12-10 20:08:15 +00:00
Dominik Pschenitschni e8a07fc8e0 feat: add vite-plugin-vue-devtools 2024-12-10 18:40:27 +01:00
renovateandkonrad a800cbed5f fix(deps): update dependency @sentry/vue to v8.43.0 2024-12-10 15:24:54 +00:00
kolaente 2ac11b13a1 fix(tasks): creating subtasks with quick add magic should show up once
Because the tasks were emitted as the relation was created, when a task had multiple subtasks the parent was emitted multiple times and thus, shown multiple times in the list view. This change fixes that behaviour by emitting all tasks at the end, when all relations are created.
2024-12-10 15:21:50 +01:00
kolaente 9aca4ca0f6 fix(favorites): do not return subtasks on favorites page
This fixes an issue where all subtasks of a tasks would show up on the favorites page, even if they were not marked as favorite.

Resolves https://github.com/go-vikunja/vikunja/issues/375
2024-12-10 14:31:28 +01:00
renovate 2c9625b26b chore(deps): update dev-dependencies to v8.18.0 2024-12-10 00:19:23 +00:00
kolaente 25fd0f6108 fix(filter): correctly create task positions during filter creation
This fixes a bug where a saved filter would contain many "dead" entries for tasks which are not part of that filter. These entries were "dead" because the filter would not match for them and thus they were not shown.
The problem was caused by a routine during the creation of the filter where all projects from all matching tasks would be used as input for fetching the tasks to add to task_positions.

https://community.vikunja.io/t/not-able-to-move-task-between-buckets-within-a-kanban-view-for-saved-filter/2882/3
2024-12-09 19:21:13 +01:00
kolaente 942c2e4af6 fix: specify cols when upgrading
Resolves https://github.com/go-vikunja/vikunja/issues/367
2024-12-09 17:42:31 +01:00
renovateandDominik Pschenitschni 5c93d0c57c fix(deps): update dependency dompurify to v3.2.3 2024-12-09 13:59:59 +00:00
graves501andkonrad ed5474a28a fix(typo): Simpl -> Simple -> GetProjectsMapSimpleByTaskIDs (#2906)
Fix typo -> GetProjectSimplByTaskID -> GetProjectSimpleByTaskID

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2906
Co-authored-by: graves501 <graves501@protonmail.com>
Co-committed-by: graves501 <graves501@protonmail.com>
2024-12-09 13:55:16 +00:00
renovate 57e43a9d51 chore(deps): update dependency rollup to v4.28.1 2024-12-07 00:33:16 +00:00
Frederick [Bot]anddrone 3de532ed50 chore(i18n): update translations via Crowdin 2024-12-07 00:13:41 +00:00
renovate 84309701d3 chore(deps): update pnpm to v9.15.0 2024-12-06 15:24:20 +00:00
kolaente e02ebbcba1 fix(tasks): default reminder to current date
This fixes an issue where the default date for a new reminder was
1970-01-01 (unix timestamp 0). It was caused by a new date object being
created but since the reminder that was creatd was new, this was created
as null date, which equals a 0 unix timestamp.

Resolves https://github.com/go-vikunja/vikunja/issues/359
2024-12-06 15:15:42 +01:00
Dominik Pschenitschniandkonrad 1f55e3f866 feat: hasAttachments as store computed 2024-12-06 14:04:33 +00:00
kolaente 1563c462a2 fix(projects): correctly calculate the number of tasks and projects to delete 2024-12-06 14:56:39 +01:00
kolaente 63732a37c0 fix: demo banner positioning
Partially reverts 49fa32aad6
2024-12-06 14:46:06 +01:00
kolaente 80f8570e22 fix(task): open related task in popup when the other task was opened in a popup
Resolves https://github.com/go-vikunja/vikunja/issues/360
2024-12-06 14:36:31 +01:00
kolaente a325b27051 chore(dev): add sass-embedded patchelf script alias to devenv
Based on https://github.com/go-vikunja/vikunja/issues/347#issuecomment-2466789657
2024-12-06 14:13:52 +01:00
renovateandkonrad f0ebc3542e chore(deps): update dev-dependencies 2024-12-06 08:32:41 +00:00
renovateandkonrad 69b619144d fix(deps): update dependency @intlify/unplugin-vue-i18n to v6.0.1 2024-12-06 07:54:25 +00:00
renovate 01f126bb43 fix(deps): update dependency express to v4.21.2 2024-12-05 23:23:41 +00:00
renovateandkonrad a38fafefaa fix(deps): update dependency vuemoji-picker to v0.3.2 2024-12-05 11:26:37 +00:00
renovateandkonrad 8691919d68 fix(deps): update module github.com/labstack/echo-jwt/v4 to v4.3.0 2024-12-05 09:25:34 +00:00
renovate 33f82a6d1f chore(deps): update dependency cypress to v13.16.1 2024-12-05 00:22:21 +00:00
renovate 075ea98ccd fix(deps): update module github.com/labstack/echo-jwt/v4 to v4.2.1 2024-12-04 20:22:18 +00:00
renovateandkonrad 4d0ab0ef7f fix(deps): update module golang.org/x/image to v0.23.0 2024-12-04 19:34:38 +00:00
renovateandkonrad 5daa1c6808 fix(deps): update module golang.org/x/text to v0.21.0 2024-12-04 19:34:15 +00:00
renovateandkonrad 522db23183 fix(deps): update module golang.org/x/sys to v0.28.0 2024-12-04 17:25:35 +00:00
Dominik Pschenitschniandkonrad c52b7efc97 fix: remove postcss-easings type 2024-12-04 16:56:25 +00:00
renovateandkonrad f77f03efbe fix(deps): update module github.com/getsentry/sentry-go to v0.30.0 2024-12-04 16:53:31 +00:00
renovateandkonrad f8fe3b7e87 chore(deps): update dependency go to v1.23.4 2024-12-04 16:48:09 +00:00
Dominik Pschenitschniandkonrad 90951d4003 fix: reactive ancestor projects 2024-12-04 16:47:27 +00:00
renovateandkonrad 03eff35245 chore(deps): update dependency sass-embedded to v1.82.0 2024-12-04 15:56:08 +00:00
renovateandkonrad 727b69266a fix(deps): update module golang.org/x/sync to v0.10.0 2024-12-04 15:55:49 +00:00
renovate de1ad619cf fix(deps): update dependency pinia to v2.3.0 2024-12-04 14:48:03 +00:00
renovate d8ac7003c6 fix(deps): update dependency axios to v1.7.9 2024-12-04 08:27:54 +00:00
renovate 575df84476 fix(deps): update dependency tailwindcss to v3.4.16 2024-12-03 20:21:38 +00:00
renovateandkonrad de6079cc86 fix(deps): update dependency @sentry/vue to v8.42.0 2024-12-03 13:34:28 +00:00
renovate 3dd42555b5 chore(deps): update dev-dependencies 2024-12-03 11:19:22 +00:00
kolaente 8d8406df05 fix: task overdue at the same time as the notification
If a task is overdue at the same time the notification is sent, it would contain a message like "overdue since" without a time. This now shows "overdue now" instead.
2024-12-03 08:33:16 +01:00
Dominik Pschenitschniandkonrad e57f04ec23 feat: improve ProjectSettingsDelete 2024-12-01 20:06:00 +00:00
renovate 91d603dc9e chore(deps): update dev-dependencies 2024-11-30 06:21:22 +00:00
renovateandkonrad d9215b1a1b chore(deps): update pnpm to v9.14.4 2024-11-29 14:41:49 +00:00
renovate 069cc5144f fix(deps): update dependency dompurify to v3.2.2 2024-11-29 11:21:04 +00:00
renovate 388abe97ce fix(deps): update dependency @sentry/vue to v8.41.0 2024-11-28 20:24:28 +00:00
renovateandkonrad e8576577a3 chore(deps): update dev-dependencies 2024-11-28 19:35:16 +00:00
renovateandkonrad f1311b74c6 fix(deps): update dependency pinia to v2.2.8 2024-11-28 19:27:18 +00:00
renovateandkonrad 5cbb06c226 chore(deps): update pnpm to v9.14.3 2024-11-28 19:27:00 +00:00
renovate affa0c465c fix(deps): update dependency sortablejs to v1.15.6 2024-11-28 18:35:22 +00:00
renovateandkonrad 92571d9998 fix(deps): update dependency sortablejs to v1.15.5 2024-11-28 09:44:37 +00:00
renovateandkonrad a136161478 fix(deps): update dependency vue-i18n to v10.0.5 2024-11-28 09:42:41 +00:00
renovate bab96a8686 fix(deps): update dependency pinia to v2.2.7 2024-11-27 22:04:15 +00:00
renovateandkonrad 43ad449ebf fix(deps): update vueuse to v12 2024-11-27 12:43:56 +00:00
renovate 72d3a9ebf8 chore(deps): update dev-dependencies 2024-11-27 09:06:37 +00:00
renovate da9f36d568 chore(deps): update dev-dependencies to v6 2024-11-27 01:04:32 +00:00
renovate 2f78e0e22d fix(deps): update tiptap to v2.10.3 2024-11-26 18:31:02 +00:00
Harry Martlandandkonrad 8dfb34c863 feat: add tonight as a quick add date option (#2866)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2866
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Harry Martland <HarryEMartland@gmail.com>
Co-committed-by: Harry Martland <HarryEMartland@gmail.com>
2024-11-26 10:46:09 +00:00
renovateandkonrad ed071e504e fix(deps): update dependency axios to v1.7.8 2024-11-26 07:26:48 +00:00
renovate d9c1f3d51a chore(deps): update dependency @types/node to v22.9.4 2024-11-26 00:24:56 +00:00
renovate 174522e63d chore(deps): update dev-dependencies 2024-11-25 17:26:20 +00:00
renovate e8426c0390 fix(deps): update dependency vue-router to v4.5.0 2024-11-25 15:23:48 +00:00
renovate 89f3caaa52 fix(deps): update dependency sortablejs to v1.15.4 2024-11-24 11:30:37 +00:00
renovate 28b1bb824a fix(deps): update module github.com/stretchr/testify to v1.10.0 2024-11-23 12:26:56 +00:00
Frederick [Bot]anddrone eecb96a683 chore(i18n): update translations via Crowdin 2024-11-23 00:23:07 +00:00
renovate ee04423c4c fix(deps): update dependency @sentry/vue to v8.40.0 2024-11-22 13:20:19 +00:00
renovate 5edccba028 fix(deps): update tiptap to v2.10.2 2024-11-22 11:37:56 +00:00
kolaente 8732837596 chore: simplify sentry code 2024-11-22 12:05:02 +01:00
kolaente 85823b3e97 fix: only pass filter string from view to popup 2024-11-22 11:19:23 +01:00
kolaente 3c13d3b635 chore: 0.24.5 release preperation 2024-11-21 16:54:01 +01:00
kolaente 3659b7b58d fix(attachments): check permissions when accessing all attachments 2024-11-21 15:42:53 +01:00
kolaente bbbd936868 fix(saved filters): check permissions when accessing tasks of a filter 2024-11-21 15:42:26 +01:00
renovate 80219c34b9 fix(deps): update vueuse to v11.3.0 2024-11-21 09:18:29 +00:00
renovateandkonrad 0124d10391 fix(deps): update font awesome to v6.7.1 2024-11-20 19:12:55 +00:00
kolaente 675985b26c chore: increase healthcheck interval 2024-11-20 19:28:19 +01:00
ScribblerCoderandkonrad a5cc5e3783 Add healthcheck command (#2856)
Currently vikunja has a `/health` endpoint that was added in https://kolaente.dev/vikunja/vikunja/pulls/998. Docker/compose cannot utilize this feature since vikunja's docker image doesn't have curl/wget as it is pruned which is great for the image size. This PR adds a `healthcheck` command that send an http request to `/health` and exits with 0 or non-zero depending on the result.
It also adds a `HEALTHCHECK` to the docker image which calls this automatically.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2856
Reviewed-by: konrad <k@knt.li>
Co-authored-by: ScribblerCoder <omar2001.oh@gmail.com>
Co-committed-by: ScribblerCoder <omar2001.oh@gmail.com>
2024-11-20 18:04:55 +00:00
renovateandkonrad e124ad4df9 chore(deps): update pnpm to v9.14.2 2024-11-20 17:30:55 +00:00
renovateandkonrad 26f02d2e6a fix(deps): update dependency dompurify to v3.2.1 2024-11-20 17:19:56 +00:00
renovateandkonrad 42e01637ef fix(deps): update tiptap to v2.10.0 2024-11-20 17:18:50 +00:00
renovate 0af1accbb4 fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.7 2024-11-20 14:27:34 +00:00
renovateandkonrad 6bba2b2dc3 fix(deps): update dependency @sentry/vue to v8.39.0 2024-11-20 08:11:40 +00:00
renovate 7a10a49c5c chore(deps): update pnpm to v9.14.1 2024-11-20 01:23:08 +00:00
kolaente f2eac4623d fix(filters): do not crash when paginating bucket with empty filter
Resolves https://community.vikunja.io/t/error-in-kanban-view-of-virtual-project-saved-filter/2876/7
2024-11-19 19:32:09 +01:00
kolaente a58c5de657 fix(project): set correct right after duplicating 2024-11-19 19:27:40 +01:00
kolaente 0b9fd2c485 fix(project): correctly set done bucket after duplicating project
Resolves https://community.vikunja.io/t/duplicating-projects-with-a-kanband-done-bucket-is-broken/2979
2024-11-19 19:23:08 +01:00
Frederick [Bot]andkolaente 940b450a56 [skip ci] Updated swagger docs 2024-11-19 16:44:45 +00:00
kolaente d616bab76d fix(views): enable search in bucket filters 2024-11-19 16:27:22 +00:00
kolaente 92c58ab32f chore: enable debugging workaround in devenv 2024-11-19 16:27:22 +00:00
kolaente 624907ad6a fix: make search in saved filter work 2024-11-19 16:27:22 +00:00
renovate f9a6b4f1bb fix(deps): update font awesome to v6.7.0 2024-11-18 21:22:43 +00:00
kolaente 394c9432a8 chore(deps): update vulnerable dependencies of dependencies 2024-11-18 18:02:45 +01:00
Maximilian Boschandkonrad 3bafaa7101 fix(tasks): also delete corresponding task positions (#2840)
Closes [#348](https://github.com/go-vikunja/vikunja/issues/348)

When moving a project, the old task bucket entries (project, saved
filters) will be removed, but not the corresponding position. This has
the effect that the saved_filter event hook UpdateTaskInSavedFilterViews
wrongly assumes that the task doesn't need to be re-added to the saved
filter since the position part still exists.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2840
Co-authored-by: Maximilian Bosch <maximilian@mbosch.me>
Co-committed-by: Maximilian Bosch <maximilian@mbosch.me>
2024-11-18 16:02:05 +00:00
kolaente b8c4e0a91e fix(openid): log error when config is still using array value 2024-11-18 12:16:38 +01:00
kolaente feb6b708e3 fix(tasks): prefix created and updated columns when sorting by them
Resolves https://github.com/go-vikunja/vikunja/issues/350
2024-11-18 12:07:29 +01:00
kolaente bd3eab8c34 fix(filters): validate filter expression when creating or updating filter
Resolves https://github.com/go-vikunja/vikunja/issues/354
2024-11-18 11:02:21 +01:00
kolaente 1db1333d8a chore(config): append .file to config values when reading 2024-11-18 10:35:02 +01:00
kolaente 05349ddb5c feat!: config for auth providers now use a map instead of an array
The config values for openid providers now use a map with the provider as key instead of an array. For example before:

auth:
  openid:
    providers:
      - name: foo
        clientid: ...

now becomes:

auth:
  openid:
    providers:
      foo:
        clientid: ...

This allows us to read values for openid providers from files using the same syntax as everywhere and makes the configuration more predictable. It also allows configuring providers through env variables, though it is still required to set at least one value via the config file because Vikunja won't discover the provider otherwise.
2024-11-18 10:34:30 +01:00
kolaente 3479fa1228 feat(config): only read file sub-keys from files
This removes reading config values from _file and instead only reads from file sub keys. This should make it easier to not accidentally specify the same value twice.
The syntax via env does not change, but via a config file this:

database:
  password_file: foo

becomes

database:
  password:
    file: foo
2024-11-18 08:52:21 +01:00
renovate fef19c5c1d fix(deps): update dependency @intlify/unplugin-vue-i18n to v6 2024-11-16 15:20:15 +00:00
renovate 8ccb2cceea fix(deps): update dependency vue to v3.5.13 2024-11-15 15:17:37 +00:00
Dominik Pschenitschni 194a3239af feat: remove postcss-easings 2024-11-15 13:36:19 +01:00
renovateandkonrad 8a91e30e12 chore(deps): update dependency sass-embedded to v1.81.0 2024-11-15 10:06:36 +00:00
renovate 0df69f6998 chore(deps): update pnpm to v9.13.2 2024-11-15 02:27:05 +00:00
renovateandkonrad 3f1cf817d6 chore(deps): update pnpm to v9.13.1 2024-11-14 19:54:04 +00:00
renovate d727e1ffb5 fix(deps): update dependency tailwindcss to v3.4.15 2024-11-14 19:18:01 +00:00
renovate 99499ad470 chore(deps): update dev-dependencies 2024-11-14 01:17:13 +00:00
renovate 8c2728f62f chore(deps): update pnpm to v9.13.0 2024-11-13 13:16:36 +00:00
renovateandkonrad 6357d5eb02 fix(deps): update dependency @sentry/vue to v8.38.0 2024-11-13 09:14:20 +00:00
renovate 436fcc2532 chore(deps): update dev-dependencies 2024-11-13 01:22:06 +00:00
renovate 25173a57e5 chore(deps): update dev-dependencies 2024-11-12 01:25:50 +00:00
renovate 1705d9de8d fix(deps): update dependency dompurify to v3.2.0 2024-11-11 15:18:29 +00:00
renovate a22033acd3 chore(deps): update dev-dependencies 2024-11-11 10:21:07 +00:00
Dominik Pschenitschniandkonrad 44c659aa34 feat: move useProjectBackground to composables 2024-11-10 15:17:38 +00:00
kolaente da0e110ee4 fix(ci): do not build linuxx 368 docker images
Related to 6fe22aba39
2024-11-10 16:13:25 +01:00
renovate 4d79bab8f1 chore(deps): update dependency rollup to v4.25.0 2024-11-10 12:21:42 +00:00
renovate 88eef87a8c fix(deps): update dependency @intlify/unplugin-vue-i18n to v5.3.1 2024-11-10 08:19:46 +00:00
renovate 46c09d3e56 fix(deps): update dependency @intlify/unplugin-vue-i18n to v5.3.0 2024-11-09 14:18:12 +00:00
renovateandkonrad 525367f2f4 fix(deps): update module golang.org/x/oauth2 to v0.24.0 2024-11-08 16:57:55 +00:00
renovateandkonrad bf5672bf36 fix(deps): update module golang.org/x/crypto to v0.29.0 2024-11-08 15:58:57 +00:00
kolaente 9b85f3bd0c fix: add \n between scoped and unscoped commits in git cliff config 2024-11-08 11:19:50 +01:00
renovateandkonrad bd64778a6a fix(deps): update module golang.org/x/sys to v0.27.0 2024-11-08 09:30:11 +00:00
renovateandkonrad bf6875533b fix(deps): update module golang.org/x/image to v0.22.0 2024-11-08 09:29:24 +00:00
renovate 5550b69144 chore(deps): update dev-dependencies 2024-11-08 07:25:45 +00:00
renovate 5181ba587c fix(deps): update module golang.org/x/sync to v0.9.0 2024-11-07 21:22:07 +00:00
renovateandkonrad 742774dc6c fix(deps): update module github.com/wneessen/go-mail to v0.5.2 2024-11-07 13:50:17 +00:00
kolaente 6fe22aba39 fix!: disable 368 releases
We can either support arm64 or 368 release binaries - because the arm64 binaries are probably wider used today, we'll prioritize that. It is still possible to compile Vikunja from source on a 368 system, but would take quite a bit of effort in providing pre-built binaries.
Please reach out if you need assistance for 368 binaries.

See https://github.com/techknowlogick/xgo/issues/256#issuecomment-2462135108
2024-11-07 14:41:47 +01:00
renovateandkonrad cc82f3043f chore(deps): update dev-dependencies 2024-11-07 07:22:35 +00:00
renovate c3d2a92835 chore(deps): update dependency go to v1.23.3 2024-11-06 23:19:48 +00:00
renovateandkonrad 513f773041 fix(deps): update dependency @sentry/vue to v8.37.1 2024-11-06 07:15:19 +00:00
renovate 8f69ce0e6b chore(deps): update dev-dependencies 2024-11-06 01:18:12 +00:00
kolaente d6194b8f10 fix: upgrade xgo docker image everywhere 2024-11-05 15:03:14 +01:00
kolaente f826fb9a91 fix: upgrade xgo 2024-11-05 10:07:58 +01:00
renovate 6ba55d4de0 chore(deps): update dev-dependencies 2024-11-05 02:18:20 +00:00
Frederick [Bot]anddrone 22812199dd chore(i18n): update translations via Crowdin 2024-11-05 00:04:30 +00:00
kolaente c7914bc245 feat: load any config value from file
This change allows to read any config value from a file, when the path to that file is specified in the config with the target config value suffixed with _file. This works with environment variables as well.
For example, setting database.password_file=/path/to/password will load the value from /path/to/password and set it as the config value of database.password.

Resolves https://kolaente.dev/vikunja/vikunja/issues/704
Resolves https://kolaente.dev/vikunja/vikunja/pulls/1621
2024-11-04 16:47:39 +01:00
kolaente 4556cfb057 fix(attachments): return error message when attachment upload is not multipart form request
Resolves https://vikunja.sentry.io/issues/6041469388/
2024-11-04 12:26:53 +01:00
renovate 9e987a89d4 chore(deps): update dev-dependencies 2024-11-04 01:29:15 +00:00
renovate 3bfde5a34d fix(deps): update dependency pinia to v2.2.6 2024-11-03 20:31:05 +00:00
Dominik Pschenitschni 64ffba2813 fix: use @tsconfig/node22 2024-11-03 15:00:12 +01:00
kolaente 2693419959 fix: switch to wine electron builder 2024-11-03 12:23:09 +01:00
renovate 24fc7be8c4 chore(deps): update dev-dependencies 2024-11-03 04:17:29 +00:00
Dominik Pschenitschniandkonrad 452cc66b32 fix: use modern-compiler for sass files as well 2024-11-02 20:08:59 +00:00
Dominik Pschenitschni cf6836f857 feat: only build sourcemaps for sentry 2024-11-02 20:06:37 +01:00
kolaente de1eac5d36 fix: pin xgo to 1.22.x
Hopefully resolves build issues like https://drone.kolaente.de/vikunja/vikunja/8996/3/10
2024-11-02 19:00:02 +01:00
kolaente 3f62c013ba fix(typesense): fetch task comments without permission check
Fetching the task comments during indexing would always check the permissions - in the specific case of indexing comments into Typesense, this will always return true, because we're checking with the owner of the project. Because this is a rather expensive operation, it is even more unnecessary.
2024-11-02 18:42:12 +01:00
Dominik Pschenitschniandkonrad e8bf5e33f7 feat: use sass-embedded 2024-11-02 17:39:20 +00:00
kolaente 4238a5f6a3 fix: download badge in readme
Resolves https://github.com/go-vikunja/vikunja/issues/345
2024-11-02 18:22:29 +01:00
renovate c909bfcb8e fix(deps): update module github.com/threedotslabs/watermill to v1.4.1 2024-11-02 16:46:48 +00:00
Dominik Pschenitschniandkonrad 49fa32aad6 feat: use position sticky for demo bar 2024-11-02 08:20:57 +00:00
renovateandkonrad 216177d873 chore(deps): update dev-dependencies 2024-11-02 08:19:37 +00:00
Dominik Pschenitschni f3e77eb1f0 fix: remove defineProps 2024-11-01 17:19:28 +01:00
Frederick [Bot]anddrone 78379637d4 chore(i18n): update translations via Crowdin 2024-11-01 00:03:09 +00:00
kolaente e393cfdfd7 fix(views): delete task buckets and task positions as well when deleting a view 2024-10-31 19:22:51 +01:00
kolaente 1fac81c8de feat(cli): add cli command to delete orphan task positions 2024-10-31 19:19:56 +01:00
kolaente d03f9c7b73 fix(positions): directly look in the database to fetch tasks when recalculating their position 2024-10-31 19:02:15 +01:00
kolaente d7eff8e43b feat(positions): add more debug logs 2024-10-31 18:46:09 +01:00
renovateandkonrad f1f1f669b3 fix(deps): update dependency @sentry/vue to v8.36.0 2024-10-31 10:24:16 +00:00
renovate 03cda24bcf chore(deps): update dev-dependencies 2024-10-31 06:16:07 +00:00
Frederick [Bot]anddrone 004d5709d0 chore(i18n): update translations via Crowdin 2024-10-31 00:04:23 +00:00
renovate 6794547942 fix(deps): update vueuse to v11.2.0 2024-10-30 20:18:45 +00:00
kolaente 32bdef841f fix: lint 2024-10-30 15:45:37 +01:00
kolaente e766b63d99 feat(kanban): add debug option to show task position on card
This will hopefully help debugging heisenbugs which only happen in production
2024-10-30 15:44:36 +01:00
kolaente 796199827e feat(filters): show when the current view has a filter as well and both will be used
This should make it clear when a filter does not bring the expected results - maybe because it contradicts with the one set in the view.
Related to https://github.com/go-vikunja/vikunja/issues/296
2024-10-30 15:27:33 +01:00
kolaente 7f5f5a4b8d fix(events): do not crash filter event handler when triggered by a link share user
Resolves https://vikunja.sentry.io/issues/6030883119/events/4013802889b64b6b9d868e7c83ba4eb5/
2024-10-30 14:49:33 +01:00
kolaente 8522eb9b0d docs(filters): fix typos with filter query docs 2024-10-30 14:30:10 +01:00
kolaente 3c22b3cf00 feat(kanban): show project on kanban card if it's not the same as the current one
Resolves https://community.vikunja.io/t/feature-requests-regarding-view-ordering-project-reference-in-kanban-and-a-notin-operator/2728
2024-10-30 13:48:21 +01:00
kolaente d081cf80fc chore(caldav): refactor fetching projects 2024-10-30 08:37:27 +01:00
kolaente 3ce3727a5e chore(ci): sign drone config 2024-10-30 07:34:13 +00:00
renovateandkonrad c36397188c chore(deps): update node.js to v22.11.0 2024-10-30 07:34:13 +00:00
konrad 564852ab12 chore(deps): set workbox version to 7.3.0 2024-10-30 06:26:34 +00:00
renovate 7aed582965 chore(deps): update dev-dependencies 2024-10-30 00:15:46 +00:00
renovate 70bd12badc fix(deps): update dependency pinia to v2.2.5 2024-10-29 20:15:44 +00:00
renovateandkonrad 2c486a30a0 chore(deps): update dependency node to v22 2024-10-29 19:15:07 +00:00
renovateandkonrad d1df1a3174 fix(deps): update dependency workbox-precaching to v7.3.0 2024-10-29 19:10:23 +00:00
renovateandkonrad de222f290a fix(deps): update module github.com/threedotslabs/watermill to v1.4.0 2024-10-29 19:10:03 +00:00
kolaente b9366ca9e3 fix(filter): use correct syntax for not in query in typesense
Related to https://github.com/typesense/typesense/issues/2038
2024-10-29 17:23:16 +01:00
kolaente 57c6f2cd10 feat(filters): add "not in" operator for filters
Resolves https://community.vikunja.io/t/feature-requests-regarding-view-ordering-project-reference-in-kanban-and-a-notin-operator/2728
2024-10-29 12:03:16 +01:00
kolaente aad9d8dffc fix(tests): faker usage 2024-10-29 09:57:53 +00:00
kolaente 2c8e636561 chore(deps): update devenv 2024-10-29 09:57:53 +00:00
kolaente d4a5d1ecdf chore: remove unused rushstack eslint patch 2024-10-29 09:57:53 +00:00
kolaente 703c641aeb fix: lint issues 2024-10-29 09:57:53 +00:00
kolaente b601671395 chore: migrate eslint config 2024-10-29 09:57:53 +00:00
renovateandkonrad e36578bb89 chore(deps): update dev-dependencies 2024-10-29 09:57:53 +00:00
renovate cf77969550 fix(deps): update module github.com/swaggo/swag to v1.16.4 2024-10-29 09:15:35 +00:00
renovateandkonrad e1718ccb35 chore(deps): update goreleaser/nfpm docker tag to v2.41.0 (#2776)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-10-29 08:35:46 +00:00
kolaente 412a8ef654 chore(projects): only pass users to checks 2024-10-29 09:11:06 +01:00
kolaente 816da6bc50 fix(projects): check with the current user if they have access to the project 2024-10-29 08:40:14 +01:00
renovateandkonrad 21356ae08e chore(deps): update node.js to v22 (#2783)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-10-29 07:38:12 +00:00
kolaente dace07efda fix(projects): return 0 if no parent project exists 2024-10-29 08:25:20 +01:00
Kiril Vladimirovandkonrad 540c5f4225 fix(i18n): capitalize Bulgarian label (#2784)
Also, remove 'език' which means 'language' for the sake of consistency.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2784
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Kiril Vladimirov <kiril@vld.bg>
Co-committed-by: Kiril Vladimirov <kiril@vld.bg>
2024-10-29 07:17:28 +00:00
renovate 58491ef55e chore(deps): update dev-dependencies 2024-10-29 00:16:41 +00:00
renovate 8b0ab4758e fix(deps): update dependency @kyvg/vue3-notification to v3.4.1 2024-10-28 18:15:36 +00:00
kolaente fa032a889f fix(filters): do not crash when a filter is invalid
Resolves https://vikunja.sentry.io/issues/6025547266/events/a62beaa09caf482ba238b18f363956df
2024-10-28 16:16:48 +01:00
kolaente e30374a28c fix(projects): only add conditions to query when they are non-empty 2024-10-28 16:09:31 +01:00
kolaente b013b294e2 fix(projects): remove unnecessary join
The removal of the unnecessary join condition speeds up the query 10x. Before, it would take ~700ms on Vikunja Cloud. With this removal, the otherwise same query now takes ~70ms (which still leaves plenty of room for improvements, but it's already a great step forwards).
2024-10-28 15:58:07 +01:00
kolaente acdb45a92c fix: lint 2024-10-28 14:04:54 +01:00
kolaente 29107e9865 fix: error message check on mysql 2024-10-28 13:50:12 +01:00
kolaente a70c472aa3 fix: create missing indexes on postgres 2024-10-28 13:25:38 +01:00
kolaente e1893ff573 chore: cleanup 2024-10-28 12:44:54 +01:00
kolaente 106a1c7864 fix(events): report async errors via Sentry 2024-10-28 12:44:26 +01:00
kolaente fcd56cb7cf feat(i18n): add Bulgarian for language selection 2024-10-28 11:27:42 +01:00
kolaente 7055d7341c feat(sharing): add config so that users only find members of their teams
This adds a feature where you can enable users to only find members of teams they're part of. This makes the user search when sharing projects less confusing, because users only see other users they already know.
It is still possible to add users to teams with their email address, if they have that enabled in the user settings.
2024-10-28 11:08:06 +01:00
renovateandkonrad 6a804e8b2d chore(deps): update pnpm to v9.12.3 2024-10-28 06:16:02 +00:00
renovate a917676e50 chore(deps): update dev-dependencies 2024-10-28 00:15:53 +00:00
Frederick [Bot]anddrone 9c0c5fdd6c chore(i18n): update translations via Crowdin 2024-10-28 00:03:02 +00:00
renovate d42af853ec chore(deps): update dependency caniuse-lite to v1.0.30001672 2024-10-27 00:16:16 +00:00
renovateandkonrad ca1384e3c9 chore(deps): update dev-dependencies (#2754)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-10-26 18:06:51 +00:00
John Doeandkonrad 28d5cd7b28 feat: allow setting schema for connection in postgres (#2777)
This PR introduce a new config for database, `database.schema`, allowing user to specify a specific schema to use for their postgres database connection. As the default value is set, it will be backward compatible.

Related discussion: https://community.vikunja.io/t/postgres-database-has-error-pq-relation-tasks-does-not-exist/1333

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2777
Co-authored-by: John Doe <hugosum.dev@protonmail.com>
Co-committed-by: John Doe <hugosum.dev@protonmail.com>
2024-10-26 16:06:47 +00:00
kolaente b5cbe99b0a fix(cmd): report error when the connection to the mail server failed
When running the testmail command, Vikunja would not stop if it wasn't able to connect to the mail server. This was a regression from 950de7c954.
This change fixes that problem.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2767
2024-10-25 19:23:39 +02:00
d784e98f8c feat(cmd): Allow to specify custom filename for dump command (#2775)
This simplifies automated postprocessing of the backup file.

Co-authored-by: Maarten <mail@mgrothus.de>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2775
Co-authored-by: Sterad <hgasuser@gmail.com>
Co-committed-by: Sterad <hgasuser@gmail.com>
2024-10-25 12:37:17 +00:00
Steradandkonrad 1f76a8bb64 feat: preferably award admin access to project users with write access on user deletion (#2772)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2772
Co-authored-by: Sterad <hgasuser@gmail.com>
Co-committed-by: Sterad <hgasuser@gmail.com>
2024-10-24 20:42:38 +00:00
renovate 4b464b3216 fix(deps): update tiptap to v2.9.1 2024-10-23 10:16:00 +00:00
renovate b346a96127 fix(deps): update tiptap to v2.9.0 2024-10-22 14:15:14 +00:00
kolaente 5f5d93dfa0 fix(gantt): reload the gantt chart when switching between projects
Resolves https://github.com/go-vikunja/vikunja/issues/340
2024-10-21 18:32:57 +02:00
Sebastien Danthinneandkonrad 75dddc9dbe fix(attachments): Add .jpeg to previewable image (#2770)
This is necessary to be able to set .jpeg images as the background for kanban tiles. This extension is equivalent to .jpg, and is the default extension for uploading from iOS.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2770
Co-authored-by: Sebastien Danthinne <sebastien@danthinne.com>
Co-committed-by: Sebastien Danthinne <sebastien@danthinne.com>
2024-10-21 15:04:17 +00:00
renovate 6a671a7093 fix(deps): update dependency @sentry/vue to v8.35.0 2024-10-21 12:15:48 +00:00
175 changed files with 8799 additions and 4509 deletions
+19 -21
View File
@@ -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
...
+18
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -2,7 +2,7 @@
[![Build Status](https://drone.kolaente.de/api/badges/vikunja/vikunjaa/status.svg)](https://drone.kolaente.de/vikunja/vikunja)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](LICENSE)
[![Install](https://img.shields.io/badge/download-v0.24.4,brightgreen.svg)](https://vikunja.io/docs/installing)
[![Install](https://img.shields.io/badge/download-v0.24.5-brightgreen.svg)](https://vikunja.io/docs/installing)
[![Docker Pulls](https://img.shields.io/docker/pulls/vikunja/vikunja.svg)](https://hub.docker.com/r/vikunja/vikunja/)
[![Swagger Docs](https://img.shields.io/badge/swagger-docs-brightgreen.svg)](https://try.vikunja.io/api/v1/docs)
[![Go Report Card](https://goreportcard.com/badge/kolaente.dev/vikunja/vikunja)](https://goreportcard.com/report/kolaente.dev/vikunja/vikunja)
+1 -1
View File
@@ -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
View File
@@ -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",
+3 -3
View File
@@ -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"
}
}
+1016 -73
View File
File diff suppressed because it is too large Load Diff
+8 -15
View File
@@ -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": {
+4
View File
@@ -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
-63
View File
@@ -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
View File
@@ -1 +1 @@
20.16.0
22.11.0
+1 -1
View File
@@ -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')
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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',
-5
View File
@@ -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
+2
View File
@@ -16,6 +16,8 @@ interface ImportMetaEnv {
readonly SENTRY_PROJECT?: string
readonly VITE_IS_ONLINE: boolean
readonly VUE_DEVTOOLS_LAUNCH_EDITOR: VitePluginVueDevToolsOptions.launchEditor
}
interface ImportMeta {
+88
View File
@@ -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
View File
@@ -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": {
+3936 -3122
View File
File diff suppressed because it is too large Load Diff
+1 -3
View File
@@ -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" />
+8 -2
View File
@@ -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">
+1 -2
View File
@@ -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;
+32 -39
View File
@@ -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>&lt;=</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>
+38 -17
View File
@@ -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'
+43 -33
View File
@@ -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
}
+6 -3
View File
@@ -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'))
}
+223
View File
@@ -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,
}
}
+7 -1
View File
@@ -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,
]
+6 -6
View File
@@ -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
})
+20
View File
@@ -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',
+11 -6
View File
@@ -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 = '(&lt;|&gt;|&lt;=|&gt;=|=|!=|in)'
export const FILTER_OPERATORS_REGEX = '(&lt;|&gt;|&lt;=|&gt;=|=|!=|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 -1
View File
@@ -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()
+5
View File
@@ -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')
}
+1 -1
View File
@@ -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
}
+1
View File
@@ -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
+5 -2
View File
@@ -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
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+4 -1
View File
@@ -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:",
+4 -1
View File
@@ -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:",
+8 -4
View File
@@ -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"
}
}
}
}
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+102 -99
View File
@@ -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.",
+5 -2
View File
@@ -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:",
+22 -19
View File
@@ -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",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+32 -29
View File
@@ -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": "У вас нет прав для просмотра задачи.",
+5 -2
View File
@@ -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:",
+8 -5
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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": "Щоб поєднати декілька умов, можна вжити такі закономірні оператори:",
+5 -2
View File
@@ -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:",
+5 -2
View File
@@ -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": "若要合并多个条件,您可以使用以下逻辑运算符:",
+5 -2
View File
@@ -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) {
+8 -6
View File
@@ -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
+3 -2
View File
@@ -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 -2
View File
@@ -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
+2 -2
View File
@@ -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)
}
}
}
+8
View File
@@ -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 -1
View File
@@ -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 = []
+24 -14
View File
@@ -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