Compare commits

..
Author SHA1 Message Date
Renovate 186e94505a chore(deps): replace dependency @tsconfig/node22 with @tsconfig/node24 2026-09-19 23:12:00 +00:00
Dominik Pschenitschniandkonrad cbbc4c0372 fix: i18n missing translation key 2025-01-19 20:10:22 +00:00
Dominik Pschenitschniandkonrad c7e708cf7d fix: deprecated import in useTitle 2025-01-19 20:07:55 +00:00
Dominik Pschenitschniandkonrad 6d3a30c799 fix: postcss-easing-gradient types 2025-01-19 19:58:16 +00:00
Dominik Pschenitschniandkonrad 4c972e1bc4 feat: load project in project view 2025-01-19 19:56:07 +00:00
Dominik Pschenitschniandkonrad 144571e448 feat: simplify ProjectView 2025-01-19 19:56:07 +00:00
Dominik Pschenitschniandkonrad a24c64da8f fix: vite config linting 2025-01-19 19:39:40 +00:00
renovateandkonrad 2faa03757c fix(deps): update module github.com/wneessen/go-mail to v0.6.1 2025-01-19 16:30:07 +00:00
kolaente 9cef2c4c97 chore: add Bug type to bug issue template 2025-01-19 16:48:44 +01:00
renovate ea6b141d42 chore(deps): update dependency caniuse-lite to v1.0.30001695 2025-01-19 03:07:01 +00:00
renovateandkonrad c0877dd0ab chore(deps): update dependency vitest to v3.0.2 2025-01-18 10:32:50 +00:00
Frederick [Bot]andDominik Pschenitschni 5c31ccaddd chore(i18n): update translations via Crowdin 2025-01-18 00:14:03 +00:00
Dominik Pschenitschni 47538ca810 fix: method name 2025-01-17 13:59:12 +01:00
kolaente abae6f05e0 fix(auth): move read all notifications to notification group
Resolves
https://kolaente.dev/vikunja/vikunja/issues/2977
2025-01-17 12:52:42 +01:00
kolaente 45ec1a4c47 fix(auth): make sure routes from the "other" group work as intended
Resolves
https://kolaente.dev/vikunja/vikunja/issues/2977
2025-01-17 11:06:00 +01:00
kolaente 77d1616fea docs: adjust frontend readme
Resolves https://kolaente.dev/vikunja/vikunja/issues/3012
2025-01-17 10:41:45 +01:00
Dominik Pschenitschniandkonrad b5cb98498a fix: global component types
See canonical source https://github.com/vuejs/language-tools/wiki/Global-Component-Types
This was kind of hard to find, imho should be in vue docs itself…
2025-01-17 08:09:44 +00:00
Dominik Pschenitschniandkonrad 70e027a84e feat: withDefaults for RelatedTasks 2025-01-17 07:56:57 +00:00
Dominik Pschenitschniandkonrad 289bb73e9e feat: withDefaults for Flatpickr 2025-01-17 07:55:44 +00:00
Dominik Pschenitschniandkonrad 8bada3e967 fix: git ignore all dist folders 2025-01-17 07:53:54 +00:00
renovate 1863b06d0c chore(deps): update dev-dependencies 2025-01-17 00:07:27 +00:00
renovate d630586f63 chore(deps): update dependency go to v1.23.5 2025-01-16 21:07:59 +00:00
renovateandkonrad 13002d77f5 fix(deps): update module github.com/threedotslabs/watermill to v1.4.4 2025-01-16 15:38:43 +00:00
Dominik Pschenitschni a61e2d064d fix: lowlight imports for v3 2025-01-16 13:14:09 +01:00
renovateandDominik Pschenitschni e1f78462e5 fix(deps): update dependency lowlight to v3 2025-01-16 13:05:24 +01:00
renovate 8a6f3b34f9 chore(deps): update dev-dependencies 2025-01-16 01:07:25 +00:00
Frederick [Bot]anddrone e7b261f84e chore(i18n): update translations via Crowdin 2025-01-16 00:14:56 +00:00
renovate 94fb88ed58 fix(deps): update dependency @sentry/vue to v8.50.0 2025-01-15 16:07:14 +00:00
renovate e70fec3ddb fix(deps): update dependency @sentry/vue to v8.49.0 2025-01-15 10:07:07 +00:00
renovateandkonrad bb1456e1aa chore(deps): update dev-dependencies 2025-01-15 07:54:21 +00:00
renovateandkonrad 1f4d097beb chore(deps): update dependency electron to v34 2025-01-15 07:53:45 +00:00
Frederick [Bot]andDominik Pschenitschni e00ce92716 chore(i18n): update translations via Crowdin 2025-01-15 00:15:58 +00:00
Dominik Pschenitschniandkonrad b7fc29327a feat: add generic types to multiselect (#2618)
This improves (!) the types of Multiselect — it doesn't fix them

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2618
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2025-01-14 21:40:09 +00:00
Dominik Pschenitschniandkonrad abb4126bce fix: hide icon if description is missing
There might be future general improvements like merging the edit and info modal (since they both show the description, but only in one it's editable.

This PR already improves the situation a bit, since you don't have to click on that info button anymore to check __if__ there is a description at all.
2025-01-14 16:57:33 +00:00
Dominik Pschenitschniandkonrad e9a932e0f0 feat: use withDefaults in Description (#2453)
This will not fix the current issues yet, but I think it makes sense to start with this to rule this out.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2453
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2025-01-14 16:47:13 +00:00
Dominik Pschenitschniandkonrad 9d985f7e96 fix: add canRemove prop 2025-01-14 16:41:02 +00:00
Dominik Pschenitschniandkonrad 811a933cd3 feat: use withDefaults for AssigneeList 2025-01-14 16:41:02 +00:00
Dominik Pschenitschniandkonrad c118e788b8 fix: workbox outDir for build:test 2025-01-14 16:22:23 +00:00
kolaente 2522cffa61 fix(auth): return proper error when a jwt claim contains wrong data
Resolves https://vikunja.sentry.io/share/issue/69b578ccc3794de58cecfc7b8291ae64/
2025-01-14 16:38:49 +01:00
kolaente 33b9917c7d fix(auth): return correct error when trying to do a user action as a link share
Resolves https://vikunja.sentry.io/share/issue/77f7aa4cda9442439deba3cfe2cb32c6/
2025-01-14 15:01:13 +01:00
renovateandkonrad 845fe8ea88 fix(deps): pin dependency @tiptap/starter-kit to 2.11.2 2025-01-14 12:27:13 +00:00
renovateandkonrad 5a0cee956e chore(deps): update goreleaser/nfpm docker tag to v2.41.2 2025-01-14 12:08:21 +00:00
renovateandkonrad 173473fb5a fix(deps): update module github.com/threedotslabs/watermill to v1.4.3 2025-01-14 11:47:46 +00:00
Dominik Pschenitschniandkonrad 79071a1909 feat: reactive flatpicker language (#2628)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2628
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2025-01-14 11:46:17 +00:00
Dominik Pschenitschni 140765ad20 feat: use TipTap starter-kit 2025-01-14 11:05:03 +01:00
renovate 000f1adb75 chore(deps): update dev-dependencies 2025-01-14 07:07:22 +00:00
Frederick [Bot]anddrone 0c3ef89d1a chore(i18n): update translations via Crowdin 2025-01-14 00:13:58 +00:00
renovate 1ad4ba10a7 chore(deps): update pnpm to v9.15.4 2025-01-13 21:06:34 +00:00
Frederick [Bot]anddrone 8ba9ded3e2 chore(i18n): update translations via Crowdin 2025-01-13 00:12:46 +00:00
Frederick [Bot]anddrone 68896c69cb chore(i18n): update translations via Crowdin 2025-01-12 00:14:24 +00:00
renovateandkonrad e1bf797709 chore(deps): update dependency eslint to v9.18.0 2025-01-11 07:34:15 +00:00
Frederick [Bot]anddrone 83732ec26d chore(i18n): update translations via Crowdin 2025-01-11 00:14:08 +00:00
renovate 23a3f78337 fix(deps): update tiptap to v2.11.2 2025-01-10 19:06:49 +00:00
renovate d0059d0292 fix(deps): update tiptap to v2.11.1 2025-01-10 12:06:48 +00:00
renovateandkonrad b41cf7241a fix(deps): update module github.com/wneessen/go-mail to v0.6.0 2025-01-10 10:54:12 +00:00
renovateandkonrad f144a0f11e chore(deps): update dependency wait-on to v8.0.2 2025-01-10 10:52:54 +00:00
renovateandkonrad 8bf6251a70 fix(deps): update vueuse to v12.4.0 2025-01-10 10:51:55 +00:00
renovate 54f9c5c6d4 fix(deps): update dependency @sentry/tracing to v7.120.3 2025-01-10 09:07:05 +00:00
Frederick [Bot]anddrone 76cb5ff9a4 chore(i18n): update translations via Crowdin 2025-01-10 00:14:20 +00:00
kolaente 1db99dba47 fix(kanban): correctly check bucket limit for saved filters or view filters
Resolves https://github.com/go-vikunja/vikunja/issues/355
2025-01-09 16:21:28 +01:00
kolaente 017fa1b5af fix(restore): restore encoded float values properly
Resolves https://kolaente.dev/vikunja/vikunja/issues/2934
2025-01-09 15:42:12 +01:00
kolaente 7e66f3ec6b fix(restore): make sure all json columns are properly restored 2025-01-09 15:40:22 +01:00
kolaente 748fa2b798 fix(auth): redirect to logout url after logging out
Resolves https://community.vikunja.io/t/open-id-logout-url-doesnt-seem-to-work/3158
2025-01-09 15:17:53 +01:00
kolaente 304de78c48 fix(migration): handle file errors in frontend 2025-01-09 14:51:55 +01:00
kolaente 3d5d17336e fix(migration): return proper error when uploaded file is not a zip file
Resolves https://vikunja.sentry.io/share/issue/73a7b6f60b3e446e949d072016f31c22/
2025-01-09 14:32:24 +01:00
renovate b181fff729 fix(deps): update module github.com/spf13/afero to v1.12.0 2025-01-09 12:07:04 +00:00
renovateandkonrad cc4fd97dd8 chore(deps): update dev-dependencies 2025-01-09 10:23:23 +00:00
renovate c9a9781bc7 chore(deps): update dependency @cypress/vite-dev-server to v6 2025-01-09 00:07:31 +00:00
renovate ae187d7a14 fix(deps): update module github.com/threedotslabs/watermill to v1.4.2 2025-01-08 19:06:38 +00:00
renovate f428c8a017 fix(deps): update module mvdan.cc/xurls/v2 to v2.6.0 2025-01-08 18:07:12 +00:00
renovateandkonrad f777a1dcd3 fix(deps): update module github.com/getsentry/sentry-go to v0.31.1 2025-01-08 15:03:16 +00:00
renovateandDominik Pschenitschni 9e5994105a chore(deps): update node.js to v22.13.0 2025-01-08 14:57:09 +00:00
renovate 8cec9995e3 chore(deps): update dev-dependencies 2025-01-08 09:07:12 +00:00
Frederick [Bot]anddrone 466d0a73a9 chore(i18n): update translations via Crowdin 2025-01-08 00:16:10 +00:00
renovate 00441ee8b1 chore(deps): update dependency node to v22.13.0 2025-01-07 20:06:51 +00:00
renovate c92f6c5ee5 fix(deps): update dependency @sentry/vue to v8.48.0 2025-01-07 13:07:37 +00:00
renovateandkonrad eab72d4594 fix(deps): update module golang.org/x/crypto to v0.32.0 2025-01-07 10:44:45 +00:00
renovateandkonrad 91e4bad544 chore(deps): update dev-dependencies 2025-01-07 10:43:51 +00:00
Frederick [Bot]anddrone fbc48c43f5 chore(i18n): update translations via Crowdin 2025-01-07 00:16:37 +00:00
renovate a49c06d408 chore(deps): update pnpm to v9.15.3 2025-01-06 15:08:34 +00:00
renovateandkonrad d308583b9e fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.8 2025-01-06 14:29:16 +00:00
renovateandkonrad 2ba9d1c9fe fix(deps): update module golang.org/x/oauth2 to v0.25.0 2025-01-06 14:28:30 +00:00
renovateandkonrad 13aaece2e0 fix(deps): update module github.com/coreos/go-oidc/v3 to v3.12.0 2025-01-06 14:28:27 +00:00
renovate 57cb9a3d19 fix(deps): update module golang.org/x/sys to v0.29.0 2025-01-05 15:07:38 +00:00
renovate 746c3359a5 chore(deps): update dev-dependencies 2025-01-05 13:07:44 +00:00
renovate 6dc2348fbe fix(deps): update tiptap to v2.11.0 2025-01-02 18:08:27 +00:00
renovate d88295f31f fix(deps): update vueuse to v12.3.0 2025-01-02 09:07:49 +00:00
Frederick [Bot]anddrone 42f5cdf2d9 chore(i18n): update translations via Crowdin 2025-01-01 00:19:38 +00:00
renovate b8fd5dde3b fix(deps): update dependency @intlify/unplugin-vue-i18n to v6.0.3 2024-12-30 01:07:32 +00:00
renovate 3d727e6856 chore(deps): update pnpm to v9.15.2 2024-12-28 21:07:14 +00:00
Dominik Pschenitschniandkonrad a6644d9c89 feat: move loading logic from ready to base store 2024-12-28 10:36:26 +00:00
renovate c4c8017605 chore(deps): update dev-dependencies 2024-12-28 00:07:22 +00:00
renovate 6e417d92ae fix(deps): update dependency vue-i18n to v11 2024-12-27 10:07:21 +00:00
renovateandkonrad d22880b442 chore(deps): update dependency happy-dom to v16 2024-12-27 09:25:29 +00:00
renovate a8a746e302 chore(deps): update dev-dependencies 2024-12-27 08:07:40 +00:00
kolaente 6ee6b2ffee feat: add Korean translation for selection 2024-12-26 17:12:19 +01:00
Frederick [Bot]anddrone 367530bf2d chore(i18n): update translations via Crowdin 2024-12-25 00:23:31 +00:00
renovateandkonrad 40e9b48564 chore(deps): update dev-dependencies 2024-12-24 09:44:14 +00:00
Frederick [Bot]anddrone af50145705 chore(i18n): update translations via Crowdin 2024-12-24 00:22:44 +00:00
renovate 297817d3f8 fix(deps): update vueuse to v12.2.0 2024-12-23 10:07:00 +00:00
Frederick [Bot]andrenovate 0826d72e38 [skip ci] Updated swagger docs 2024-12-22 23:39:06 +00:00
renovateandkonrad 6e55330b6e fix(deps): update module github.com/go-testfixtures/testfixtures/v3 to v3.14.0 (#2615)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-12-22 23:24:00 +00:00
kolaente f16cd8d813 chore: release preparation
(cherry picked from commit 17b281072f)
2024-12-22 19:56:03 +01:00
kolaente 70f1b4f28b fix(export): update only current user export file id 2024-12-22 19:48:47 +01:00
renovate 2ab172cfeb fix(deps): update vueuse to v12.1.0 2024-12-22 11:07:38 +00:00
renovate ae87348882 fix(deps): update dependency @intlify/unplugin-vue-i18n to v6.0.2 2024-12-21 10:07:07 +00:00
renovate ea2215a615 chore(deps): update dev-dependencies 2024-12-21 08:07:22 +00:00
Frederick [Bot]anddrone 064aff56e3 chore(i18n): update translations via Crowdin 2024-12-21 00:22:49 +00:00
renovateandkolaente 63839805df chore(deps): update dependency node to v22.12.0 2024-12-20 19:07:53 +01:00
renovate aa43f4fa93 chore(deps): update dev-dependencies 2024-12-20 12:07:27 +00:00
renovate 24e4284e3b chore(deps): update pnpm to v9.15.1 2024-12-20 01:07:08 +00:00
Frederick [Bot]anddrone c97fec9fed chore(i18n): update translations via Crowdin 2024-12-20 00:22:50 +00: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
kolaente 3ad5797307 fix: do not prefix tasks all the time
Fixes a regression from 29b9001078
2024-10-21 10:32:14 +02:00
Frederick [Bot]anddrone 1cc3f3c7fe chore(i18n): update translations via Crowdin 2024-10-21 00:05:05 +00:00
Frederick [Bot]anddrone ac91e942a5 chore(i18n): update translations via Crowdin 2024-10-20 14:02:57 +00:00
kolaente 29b9001078 feat(filters): allow filtering by created and updated task fields
Resolves https://kolaente.dev/vikunja/vikunja/issues/2768
2024-10-18 15:15:19 +02:00
renovate a9f1a3a8c5 fix(deps): update module github.com/redis/go-redis/v9 to v9.7.0 2024-10-17 10:15:08 +00:00
renovateandkonrad 7d2ef17369 fix(deps): update module github.com/wneessen/go-mail to v0.5.1 2024-10-16 15:53:28 +00:00
renovateandkonrad d53164d196 chore(deps): update pnpm to v9.12.2 2024-10-16 15:51:30 +00:00
kolaente af11a6527f fix: release bucket name 2024-10-16 17:45:57 +02:00
kolaente 0472acac98 feat: use hetzner object storage for releases 2024-10-16 17:18:38 +02:00
renovate d0c85e844c fix(deps): update module github.com/yuin/goldmark to v1.7.8 2024-10-16 14:15:05 +00:00
renovateandkonrad b1f06f8ff6 fix(deps): update module github.com/yuin/goldmark to v1.7.7 2024-10-15 15:11:36 +00:00
renovateandkonrad bdc721a93a fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.6 2024-10-15 12:42:22 +00:00
renovateandkonrad 685992383d fix(deps): update dependency tailwindcss to v3.4.14 2024-10-15 12:42:05 +00:00
renovate 8b6a84733b fix(deps): update module github.com/prometheus/client_golang to v1.20.5 2024-10-15 12:16:44 +00:00
renovateandkonrad 0b20754de7 fix(deps): update module github.com/redis/go-redis/v9 to v9.6.2 2024-10-15 11:45:43 +00:00
renovateandkonrad aee9126806 fix(deps): update module github.com/getsentry/sentry-go to v0.29.1 2024-10-15 11:45:22 +00:00
Frederick [Bot]andkolaente 5eebfb3371 [skip ci] Updated swagger docs 2024-10-15 10:42:30 +00:00
kolaente d50572c544 fix(project): permission query on mysql 2024-10-15 12:16:22 +02:00
kolaente 302424b047 fix: lint 2024-10-15 11:57:49 +02:00
kolaente cda8155de4 fix(projects): correctly check inherited permissions 2024-10-15 11:56:51 +02:00
kolaente 38964ace04 fix(task): do not allow saving an empty description
Resolves https://github.com/go-vikunja/vikunja/issues/338
2024-10-13 19:38:42 +02:00
kolaente 21af73ff93 fix(caldav): use subpath for caldav url in frontend
Resolves https://github.com/go-vikunja/vikunja/issues/337
2024-10-13 19:32:45 +02:00
kolaente 92b90013ab feat(projects): optionally return max right when querying all projects
This change introduces an expand query parameter which, when provided, allows to return all projects with the max right the current user has on that project. This allows to show and hide appropriate buttons in the frontend.

Resolves https://github.com/go-vikunja/vikunja/issues/334
2024-10-13 19:22:09 +02:00
kolaente 3e9c41cfc6 fix(api): allow api tokens to retrieve the user who created the token
Resolves https://kolaente.dev/vikunja/vikunja/issues/2644
2024-10-13 16:02:53 +02:00
kolaente a88124cfce feat: make used bcrypt rounds configurable
This allows to configure the used bcrypt rounds and set it to 4 in tests, greatly speeding up the tests. It's not really required to set this to another value but it might be in the future as computers get faster.
2024-10-13 15:38:04 +02:00
renovate e22fb1e73e fix(deps): update module github.com/yuin/goldmark to v1.7.6 2024-10-12 15:15:27 +00:00
renovate a015a4f3af fix(deps): update module github.com/yuin/goldmark to v1.7.5 2024-10-12 14:14:50 +00:00
Frederick [Bot]anddrone 9cf18a2efa chore(i18n): update translations via Crowdin 2024-10-12 00:31:54 +00:00
renovate 8832b9de29 fix(deps): update dependency vue to v3.5.12 2024-10-11 15:15:34 +00:00
renovate a4a52f4747 fix(deps): update dependency @sentry/vue to v8.34.0 2024-10-11 07:15:49 +00:00
kolaente 9219f7032e fix: error reporting 2024-10-11 08:54:50 +02:00
kolaente 35a463c984 fix(filters): prevent position and bucket ID overriding position of existing tasks
This fixes a bug where the task position in a task was updated and immediately overridden by the update event handler.

Resolves https://community.vikunja.io/t/not-able-to-move-task-between-buckets-within-a-kanban-view-for-saved-filter/2882
2024-10-10 16:05:31 +02:00
kolaente 8ab387396d fix: do not try to reindex tasks into typesense when it is not set up 2024-10-10 16:01:17 +02:00
renovate ab03a8bb2c chore(deps): update dependency typescript to v5.6.3 2024-10-09 00:15:24 +00:00
renovate de09bb779f fix(deps): update dependency express to v4.21.1 2024-10-08 19:14:47 +00:00
renovateandkonrad 7e69200483 chore(deps): update dependency @types/node to v20.16.11 2024-10-08 09:00:39 +00:00
renovate e124d09738 fix(deps): update dependency @kyvg/vue3-notification to v3.4.0 2024-10-07 22:15:34 +00:00
renovate 12894c4619 chore(deps): update pnpm to v9.12.1 2024-10-07 14:14:53 +00:00
renovateandkonrad 841cf10545 chore(deps): update dependency caniuse-lite to v1.0.30001667 2024-10-07 11:57:12 +00:00
renovateandkonrad b31e95d439 fix(deps): update module golang.org/x/crypto to v0.28.0 2024-10-06 15:22:25 +00:00
renovateandkonrad 3efa9577c7 fix(deps): update dependency vue-i18n to v10.0.4 2024-10-06 15:21:55 +00:00
renovateandkonrad e21138e1c7 fix(deps): update module golang.org/x/term to v0.25.0 2024-10-06 15:21:09 +00:00
renovate 2b44b5f7cd fix(deps): update dependency @sentry/vue to v8.33.1 2024-10-06 14:15:09 +00:00
renovateandkonrad 07faa1b1b3 fix(deps): update dependency vue to v3.5.11 2024-10-06 13:40:12 +00:00
renovateandkonrad 9dcbfb0514 fix(deps): update module golang.org/x/sys to v0.26.0 2024-10-06 13:39:34 +00:00
renovateandkonrad 2e67a42021 fix(deps): update module golang.org/x/image to v0.21.0 2024-10-06 13:39:03 +00:00
renovateandkonrad cb9e84908f fix(deps): update module golang.org/x/text to v0.19.0 2024-10-05 17:43:13 +00:00
renovate 8a003db3af fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.24 2024-10-04 16:15:13 +00:00
Frederick [Bot]anddrone de110b37be chore(i18n): update translations via Crowdin 2024-10-04 00:32:06 +00:00
renovateandkonrad f10e8dc30f chore(deps): update dependency rollup to v4.24.0 2024-10-03 06:47:11 +00:00
Frederick [Bot]anddrone 3b7f78eaa5 chore(i18n): update translations via Crowdin 2024-10-03 00:31:16 +00:00
renovateandkonrad 7070c88894 fix(deps): update dependency @sentry/vue to v8.33.0 2024-10-02 15:46:49 +00:00
renovate d657a853fa chore(deps): update pnpm to v9.12.0 2024-10-02 13:14:55 +00:00
kolaente d81f2db6ef chore: replace all uses of bucket_id with the const 2024-10-02 10:43:51 +02:00
kolaente 425f6378c6 fix(kanban): make loading tasks for a bucket work
This fixes two closely-related bugs:
1. When loading tasks from a bucket of a saved filter, the saved filter query would override the user-supplied filter, which would cause to only tasks matching the saved filter query to be returned.
2. When a filter query for a bucket was specified, the function would only check if one of the top level filters was a filter for tasks in a specific bucket. That means a filter like "bucket_id = 42 && labels = foo" would return the expected result, while a filter like "labels = foo && (bucket_id = 42 && priority = 1)" would fail with an error 500 because the task_buckets table was not joined to the sql query. The fix from the first bug caused such filter queries.
2024-10-02 10:41:38 +02:00
renovateandkonrad b6806acda0 chore(deps): update dependency go to v1.23.2 2024-10-02 07:46:06 +00:00
renovateandkonrad fa873f5540 fix(deps): update dependency pinia to v2.2.4 2024-10-02 07:45:50 +00:00
faff1040dc feat(task): cancel editing task title with escape (#2730)
With this change, it is possible to cancel editing the task title with pressing the escape key.

# Problem

Before it was not possible to cancel editing the task title. Pressing outside the title saves the changes that have already been done (which is intended I think). But when e.g. pasting something with a wrong format, I was not able to revert the change without saving and editing it again

Example: after accidentially pasting something with multiple lines it is not possible to escape, the only way to revert this is to save and edit again manually:
![grafik.png](/attachments/11d3559a-3111-458f-9a9c-4107292054fa)

# Solution

This PR implements a listener for the escape key that sets the title back to its original value and blurs the focus of the title

# Additional notes

- I checked this in the "page" view of the task and the "popup" view and it worked in both. For me, the popup does not close with the escape key (as it often does on other sites), therefore there is no collision with this function. But I think it would be good to check this again to make sure it does not break anything like this
- I don't know anything about testing in this repository, if it is possible/necessary to implement a test for this feature please leave a comment :)

Co-authored-by: Daniel Pantle <daniel.pantle@newtec.de>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2730
Co-authored-by: DanielPantle <danielpantle@noreply.kolaente.dev>
Co-committed-by: DanielPantle <danielpantle@noreply.kolaente.dev>
2024-10-02 07:32:33 +00:00
renovate 4c74a3f859 chore(deps): update dev-dependencies 2024-10-02 05:14:56 +00:00
Frederick [Bot]anddrone b6e22cba7d chore(i18n): update translations via Crowdin 2024-10-01 00:32:32 +00:00
renovateandkonrad 3271a935c5 fix(deps): update tiptap to v2.8.0 2024-09-30 19:20:55 +00:00
renovate 8be3321efd fix(deps): update dependency pinia to v2.2.3 2024-09-30 18:15:23 +00:00
kolaente 80d22d5060 fix(colors): truncate longer hex color values
Resolves https://vikunja.sentry.io/share/issue/6f1e37d4b8b248188e20650234a45cde/
2024-09-30 20:06:10 +02:00
kolaente 1eaeb8d003 fix(filters): change assertion based on the environment 2024-09-30 19:54:00 +02:00
kolaente 8d05b5cb01 fix(filters): return more details when the provided filter time zone is invalid 2024-09-30 08:42:16 +02:00
kolaente 754d56ca82 fix(filters): increase year value when using mysql and year < 1
Mysql cannot handle year values < 1. That means filtering for a date value like 0000-01-01 won't work with mysql. Additionally, dates like 0001-01-01 could under some circumstances not work either when the date in combination with the time zone would resolve to something like 0000-12-31 - for example when the server is located (and configured) in UTC, but the user running the query is in New York. This could be observed by setting the time zone manually using the filter_timezone query parameter.

Resolves https://vikunja.sentry.io/share/issue/42bce92c15354c109eb1e6488b6a542b/
Resolves https://vikunja.sentry.io/share/issue/ef81451b0c7b43f1bff2d3a86ba393bb/
2024-09-30 08:41:24 +02:00
kolaente d22bc79d3c chore(tasks): add more details to error message
Trying to debug https://vikunja.sentry.io/share/issue/ef81451b0c7b43f1bff2d3a86ba393bb/
2024-09-29 21:44:28 +02:00
kolaente 3855e179a9 fix(filters): clarify usage of reminders in filters 2024-09-29 21:11:08 +02:00
kolaente 1fe5e9cc55 chore(tasks): add more details to error message
Trying to debug https://vikunja.sentry.io/share/issue/ef81451b0c7b43f1bff2d3a86ba393bb/
2024-09-29 21:05:55 +02:00
kolaente 5478acfc09 fix(files): configure the files path in files init instead of globally
This fixes a regression introduced in daa7ad053c where the root path would be included twice in the file path, leading to retrieval issues.
2024-09-29 19:04:25 +02:00
kolaente 287d4f7de2 fix(filters): make sure year is always at least 1
Resolves https://vikunja.sentry.io/share/issue/ef81451b0c7b43f1bff2d3a86ba393bb/
Resolves https://github.com/go-vikunja/app/issues/94#issuecomment-2351818484
2024-09-29 18:56:46 +02:00
kolaente 14a3156465 fix(mage): actually pass the cli parameter to the function 2024-09-29 18:22:21 +02:00
kolaente daa7ad053c feat: auto tls
This commit introduces the automatic retrieval of TLS certificates from Let's Encrypt. If the feature is enabled, Vikunja will automagically request a certificate from Let's Encrypt and configure it to server content via TLS.
2024-09-29 18:20:30 +02:00
kolaente 6a94c39ea8 fix(desktop): use pnpm in ci 2024-09-29 16:07:58 +02:00
kolaente ca048d07f9 chore: 0.24.4 release preperation 2024-09-29 15:46:37 +02:00
kolaente 3ce477e1d1 fix(test): use correct selector for modal header 2024-09-29 14:16:43 +02:00
kolaente 9f9b00144b fix(task): improve task delete modal on mobile 2024-09-29 13:47:35 +02:00
kolaente 308e634c71 fix(task): do not show close button when the task was not opened via modal 2024-09-29 13:36:30 +02:00
kolaente 54994a1671 fix(task): paginate task comments
Resolves https://github.com/go-vikunja/vikunja/issues/329
2024-09-29 13:28:29 +02:00
kolaente ca967782e8 fix(filters): explicitly search in json when using postgres
Resolves https://github.com/go-vikunja/vikunja/issues/330
Resolves https://community.vikunja.io/t/add-task-to-filter-view-cron-error-fetching-filters-pq-operator-does-not-exist-json-unknown/2831
2024-09-29 11:39:44 +02:00
84dbc5fd84 fix: partial fix to allow list tasks in ios reminders app (#2717)
This PR introduces a partial fix for the CalDAV task listing bug (#753) when handling PROPFIND requests with `Depth: 1`, improving task visibility in the iOS Reminders app.

Notes:
* This might make Thunderbird somewhat usable when interacting with tasks using the `/dav/projects/{id} url`.
* This does not fully resolve the issue where the Reminders app will only display the last project after some time when adding the URL.

This is my first time working with Golang and CalDAV, so I’d really appreciate any feedback or suggestions on the code structure, style, or any improvements I could make.

Co-authored-by: JD <43763092+jdw1023@users.noreply.github.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2717
Reviewed-by: konrad <k@knt.li>
Co-authored-by: jd <jd@noreply.kolaente.dev>
Co-committed-by: jd <jd@noreply.kolaente.dev>
2024-09-28 09:06:32 +00:00
renovate 4d8c957f75 chore(deps): update dev-dependencies 2024-09-28 03:15:11 +00:00
renovate 654f375d39 fix(deps): update dependency vue to v3.5.10 2024-09-27 16:16:35 +00:00
renovate bdb3df8395 fix(deps): update tiptap to v2.7.4 2024-09-26 13:15:53 +00:00
renovateandkonrad df41a96148 fix(deps): update dependency dompurify to v3.1.7 2024-09-26 12:43:48 +00:00
renovate 892b8ad89a fix(deps): update dependency vue to v3.5.9 2024-09-26 12:15:21 +00:00
renovate b4ac1adacb chore(deps): update dev-dependencies 2024-09-26 04:15:38 +00:00
renovate 0706ca60b5 fix(deps): update tiptap to v2.7.3 2024-09-25 16:15:32 +00:00
kolaente 15d95f16da fix(checkbox): use sibling css selector instead of has
This makes the checkbox work as intended on older browsers which do not support the :has selector.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2713
2024-09-25 14:38:17 +02:00
renovateandkonrad f7f1b1638b fix(deps): update dependency @sentry/vue to v8.32.0 2024-09-25 12:03:31 +00:00
renovate 2ece97fc2b chore(deps): update dev-dependencies 2024-09-25 05:15:48 +00:00
renovate 71901a62f2 chore(deps): update dev-dependencies 2024-09-24 00:15:47 +00:00
renovate cda0848b2a fix(deps): update dependency tailwindcss to v3.4.13 2024-09-23 15:15:27 +00:00
kolaente 261c6e6c9e fix(files): only use service rootpath for files when the files path is not absolute
Resolves https://community.vikunja.io/t/images-failing-to-load-500-internal-server-error/2835
2024-09-23 14:41:00 +02:00
kolaente 204dccf08b feat: add utm tag to powered by link 2024-09-23 12:07:06 +02:00
renovateandkonrad c85cfcce6a fix(deps): update dependency @sentry/vue to v8.31.0 2024-09-23 08:49:46 +00:00
kolaente c35c70e71f feat: do not load notifications while in the background 2024-09-23 10:31:09 +02:00
kolaente dea123dbea docs: format config json 2024-09-22 17:18:17 +02:00
kolaente 5643027454 docs: intro for migrators 2024-09-22 17:18:01 +02:00
kolaente b9cdc9fbe5 docs: clarify migrators 2024-09-22 17:10:36 +02:00
kolaente 003db05b66 docs: clarify enabled providers 2024-09-22 16:32:48 +02:00
kolaente c5a97ef0a3 docs: correctly document providers in config 2024-09-22 15:58:21 +02:00
kolaente 8776465fa2 fix: generate config in ci 2024-09-22 15:35:03 +02:00
renovateandkonrad 51bdbba286 fix(deps): update dependency @intlify/unplugin-vue-i18n to v5.2.0 2024-09-22 12:37:53 +00:00
kolaente 3c70bd630d feat: generate yml config from json
This change introduces a more abstract way of managing the config, allowing us to generate it into yaml and markdoc for the website.
It also changes the distributed config to be all commented out so that people using it only comment in the values they need.
2024-09-22 14:37:31 +02:00
renovate 2d5e2f70b9 fix(deps): update dependency vue-i18n to v10.0.3 2024-09-22 11:15:26 +00:00
renovate 2c8ca629de fix(deps): update dependency @intlify/unplugin-vue-i18n to v5.1.0 2024-09-22 10:15:42 +00:00
renovate a61ac5ac32 fix(deps): update dependency vue to v3.5.8 2024-09-22 07:15:39 +00:00
renovate 8c9d75e9a4 chore(deps): update dev-dependencies 2024-09-22 02:15:43 +00:00
renovate 28f208542f fix(deps): update dependency vue-i18n to v10.0.2 2024-09-21 18:15:59 +00:00
renovate 6a2a78d014 chore(deps): update dev-dependencies 2024-09-21 05:16:14 +00:00
renovate 2c791e6dd2 fix(deps): update dependency vue to v3.5.7 2024-09-20 16:15:48 +00:00
kolaente 4d2021997a chore(deps): update desktop lockfile 2024-09-20 17:42:37 +02:00
kolaente 732902919b chore: 0.24.3 release preperation 2024-09-20 14:48:51 +02:00
renovate 31ae716ab2 chore(deps): update pnpm to v9.11.0 2024-09-20 11:15:25 +00:00
kolaente 207b88a286 fix(typesense): use typesense bulk insert, log all errors 2024-09-20 10:20:18 +02:00
kolaente 50a0674835 fix(typesense): force position to always be float instead of auto-inferring
This fixes an issue where it would be impossible to update a task in Typesense when the position for a view of it was previously saved as int64. This happened because the field is created per view on demand and its type is automatically inferred from the data saved. Now, when the first value for a particular position field is a float which could as well be an int (for example, 42.0), that field gets created as an int64 instead of float. Subsequent tries to save a float into that field will then fail.

Additionally, errors about this are silently discarded when using bulk insert. That's why the problem was not really debuggable at first.
2024-09-20 10:13:05 +02:00
kolaente 8181829c9e fix(typesense): index tasks one by one 2024-09-20 09:18:57 +02:00
kolaente 83aeb90376 chore(logging): simplify log template string 2024-09-20 08:42:22 +02:00
kolaente e4584109df chore(typesense): add more debug logging 2024-09-20 08:42:21 +02:00
renovateandkonrad 6d7748988a fix(deps): update dependency vuemoji-picker to v0.3.1 2024-09-20 05:55:16 +00:00
renovateandkonrad 363da6c80f chore(deps): update dev-dependencies 2024-09-20 05:55:04 +00:00
kolaente 3f1d0f390b fix(typesense): use emplace instead of upsert to update documents 2024-09-20 07:54:23 +02:00
kolaente edf206aba6 fix(typesense): make sure task positions are recreated properly when updating them
Related https://community.vikunja.io/t/version-0-24-0-internal-server-error-breaking-change/2558
Related https://github.com/go-vikunja/vikunja/issues/317
2024-09-19 15:57:18 +02:00
kolaente 9e39ef9397 fix(typesense): add new tasks to typesense properly
Maybe related to https://github.com/go-vikunja/vikunja/issues/317
2024-09-19 15:30:14 +02:00
kolaente c54181eeda fix(deps): update module github.com/typesense/typesense-go to v2 2024-09-19 15:30:13 +02:00
kolaente b3bf92b7ce fix(typesense): only fail silently when a project was not found during indexing 2024-09-19 15:30:13 +02:00
renovateandkonrad 05dd05216d fix(deps): update tiptap to v2.7.2 2024-09-19 11:57:11 +00:00
kolaente cd0ab54d57 fix(views): add migration for filtered kanban buckets 2024-09-19 13:23:23 +02:00
kolaente a7bd9dad24 feat(task): use focus-visible for task focus styles 2024-09-19 13:01:18 +02:00
kolaente 10e245f6d0 fix(a11y): hide unfocusable buttons 2024-09-19 12:50:47 +02:00
kolaente 010dd1ea22 fix(task): open focused task when pressing enter 2024-09-19 12:50:21 +02:00
kolaente 65a2814b2a feat(navigation): use focus-visible for nav items 2024-09-19 12:36:33 +02:00
kolaente 4dd9d5de67 fix(filters): correctly transform and populate saved filter when creating and editing
This fixes a bug where the checkbox "include nulls" during creation was not checked but would be saved as such.
2024-09-19 12:21:19 +02:00
kolaente ec902b051b fix(task): mark related task as done from the task detail view
Resolves https://github.com/go-vikunja/vikunja/issues/326
2024-09-19 11:31:06 +02:00
kolaente 4b2b8e3b83 chore: rearrange cron registers 2024-09-19 11:24:43 +02:00
kolaente bc52da4029 fix(filter): make sure tasks are in a correct bucket and position when they are part of a date filter
Whenever a task is part of a date filter, it might fall in or out of a filter bucket without anything changing, other than the current time. For example, a filter condition like due_date > now may include different tasks depending on the current time.
For these kinds of tasks to properly show up in the kanban view of a filter, there has to be an entry in the task_buckets table. These entries only got updated when either a task was updated or the filter itself was updated. To account for th changing of time, we also need to check periodically if tasks are now part or not anymore part of that filter.
This change adds a cron task to do precisely that.
We'll have to see if this works resource-wise, but the cron is not the only one doing a bunch of sql queries so it might be fine after all.

Resolves https://community.vikunja.io/t/tasks-in-saved-filter-appear-in-list-view-but-are-not-visible-in-kanban-view/2800
2024-09-19 11:19:48 +02:00
kolaente 2123da49a3 fix(task): cleanup old task positions and task buckets when adding an updated or created task to filter 2024-09-19 09:30:21 +02:00
kolaente c53a761396 fix(task): add task to filter view after it was updated
Maybe resolves https://community.vikunja.io/t/tasks-in-saved-filter-appear-in-list-view-but-are-not-visible-in-kanban-view/2800
2024-09-19 09:30:20 +02:00
kolaente c84b50b3ee fix(labels): trigger task updated for bulk label task update 2024-09-19 08:59:34 +02:00
kolaente c5b82fc591 fix: test selector 2024-09-18 21:28:08 +02:00
renovateandkonrad 1f00180af6 fix(deps): update dependency vue to v3.5.6 2024-09-18 17:02:42 +00:00
renovateandkonrad 33e851f543 fix(deps): update dependency tailwindcss to v3.4.12 2024-09-18 17:02:06 +00:00
kolaente 16d7386975 fix(modal): make scrolling on iOS Safari work
This fixes a bug where the full-screen modal would not work on iOS Safari (and only there). It's unclear why this is happening due to a single overflow: visible statement though.

Resolves https://github.com/go-vikunja/vikunja/issues/325
2024-09-18 19:00:47 +02:00
kolaente 6d9bda8cc1 fix(projects): description not visible on mobile 2024-09-18 18:47:46 +02:00
kolaente abf92e29fa fix(task): dragging and dropping on mobile
This change fixes a regression introduced in 1cbb93ea9b.
In that change, the whole task area was made clickable using mouse events directly. Unfortunately, this also prevented the parent component of the task component to recieve them, essentially never getting notified about the mouse movement and thus never dragging the task. I don't know why this is only a problem on Safari, but it might be related to https://github.com/SortableJS/Sortable/issues/1571#issuecomment-535684451

Resolves https://community.vikunja.io/t/task-re-ordering-is-not-working-in-safari/1916
Resolves https://kolaente.dev/vikunja/vikunja/issues/2092
Resolves https://github.com/go-vikunja/vikunja/issues/304
2024-09-18 18:00:27 +02:00
kolaente f4d628550f chore(tasks): move drag options to direct attributes instead of v-bind 2024-09-18 16:34:24 +02:00
kolaente 1d352fcbf3 chore(devenv): do not install cypress on darwin 2024-09-18 14:30:38 +02:00
kolaente a1105434bf chore: remove console.log 2024-09-18 13:38:30 +02:00
kolaente acc7c9f8f5 fix(editor): restore the current value, not the one from a previous task
Resolves https://community.vikunja.io/t/task-description-is-overwritten-when-pressing-esc-key/2813
2024-09-18 13:36:56 +02:00
kolaente cc64ca6406 fix(task): align task title on mobile popup 2024-09-18 11:36:06 +02:00
kolaente 89f78cd369 chore: add go and direnv to recommended vscode extensions 2024-09-18 10:43:23 +02:00
renovateandkonrad 14c3b13823 fix(deps): update tiptap to v2.7.1 2024-09-18 08:33:10 +00:00
renovate c2a7438814 chore(deps): update dev-dependencies 2024-09-18 01:18:02 +00:00
renovateandkonrad 8fe37fd900 fix(deps): update tiptap to v2.7.0 2024-09-17 10:11:13 +00:00
renovate 88b4ab1768 fix(deps): update module github.com/prometheus/client_golang to v1.20.4 2024-09-17 09:15:34 +00:00
kolaente c252c8f0cd fix: reset id before creating 2024-09-17 10:46:14 +02:00
renovateandkonrad 410ff28b71 fix(deps): update vueuse to v11.1.0 2024-09-17 08:11:36 +00:00
renovateandkonrad d98dd7ecbb chore(deps): update dev-dependencies 2024-09-17 08:10:22 +00:00
renovate fc73085876 fix(deps): update dependency date-fns to v4 2024-09-17 05:16:09 +00:00
renovate c71f7334b4 chore(deps): update dev-dependencies 2024-09-15 10:15:16 +00:00
kolaente 6a5342bd49 fix(modal): do not prevent scrolling on mobile
Maybe related to https://github.com/go-vikunja/vikunja/issues/325
2024-09-15 11:38:17 +02:00
renovate b4ea1bb86a fix(deps): update dependency vue-router to v4.4.5 2024-09-14 11:15:19 +00:00
renovateandkonrad 378d0ae9bb fix(deps): update dependency vue to v3.5.5 2024-09-14 10:17:49 +00:00
kolaente 6f27e1401a fix(user): do not create user with existing id
Resolves https://vikunja.sentry.io/share/issue/6f1e37d4b8b248188e20650234a45cde/
2024-09-14 12:16:05 +02:00
kolaente bf5cafc03f fix: lint 2024-09-14 12:12:47 +02:00
kolaente f4a7326b68 fix(filter): do not replace labels keyword when the value is 'label'
Resolves https://community.vikunja.io/t/filtering-by-label-ux-issues/2393/16
2024-09-14 12:11:54 +02:00
kolaente 1451f6e46f fix(kanban): correctly paginate filtered kanban buckets
Resolves https://github.com/go-vikunja/vikunja/issues/314
2024-09-14 09:37:21 +02:00
Frederick [Bot]anddrone 427eb2a618 chore(i18n): update translations via Crowdin 2024-09-14 00:25:59 +00:00
kolaente e4b541e653 fix(view): correctly get paginated task results 2024-09-13 22:56:41 +02:00
kolaente 45ff5907e6 fix(view): correctly resolve bucket filter when paginating 2024-09-13 19:45:48 +02:00
kolaente 5a7c3927f3 fix(view): correctly resolve label for filtered views or buckets 2024-09-13 19:14:54 +02:00
kolaente f425d98b4d fix(filters): do not replace filter or project values when the id value resolves to undefined
This change fixes a bug where the label title in the query string would be replaced to undefined, resulting in an invalid filter. The underlying problem was the resolved filter query string got re-parsed and the id value of the labels were resolved to undefined (and rendered as that string) in the process.

Resolves https://community.vikunja.io/t/filtering-by-label-ux-issues/2393/14
2024-09-13 18:42:42 +02:00
kolaente 4c55016c1a fix(task): multiple overlapping defer due date popups
Resolves https://github.com/go-vikunja/vikunja/issues/131
2024-09-13 17:44:26 +02:00
kolaente 1a8f12ac13 fix(kanban): do not mark first bucked as done bucket in filter bucket mode
Resolves https://github.com/go-vikunja/vikunja/issues/313
2024-09-13 11:52:44 +02:00
kolaente 7b873ec31c fix(table): make sorting for two-word properties work
Resolves https://community.vikunja.io/t/various-sorting-filtering-issues/2781/8
2024-09-13 11:03:38 +02:00
kolaente 8b77832af2 fix(test): cypress test selector 2024-09-13 10:28:48 +02:00
Frederick [Bot]anddrone 14710d0bba chore(i18n): update translations via Crowdin 2024-09-13 00:25:12 +00:00
kolaente 945f25b818 fix(kanban): make kanban full width on mobile
Related to https://github.com/go-vikunja/vikunja/issues/309
2024-09-12 16:42:12 +02:00
kolaente f53b93d98a fix(modal): make sure modal and its content scrolls properly on mobile
Related to https://github.com/go-vikunja/vikunja/issues/309
2024-09-12 16:22:18 +02:00
kolaente 97e030a1fc fix(home): explicitly use filter for tasks on home page when one is set
Resolves https://github.com/go-vikunja/vikunja/issues/289
Resolves https://community.vikunja.io/t/various-sorting-filtering-issues/2781/5
2024-09-12 15:51:08 +02:00
renovateandkonrad b708db7025 chore(deps): update golangci/golangci-lint docker tag to v1.61.0 (#2678)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-09-12 13:31:26 +00:00
kolaente 6bfe71b30e fix(filters): immediately propagate changes
Resolves https://community.vikunja.io/t/filtering-startdate-now-is-invalid/2613/6
2024-09-12 15:28:39 +02:00
renovateandkonrad db196bdffe fix(deps): update dependency @intlify/unplugin-vue-i18n to v5 2024-09-12 12:42:40 +00:00
renovateandkonrad 9428acd5e1 fix(deps): update dependency express to v4.21.0 2024-09-12 12:41:45 +00:00
renovateandkonrad 58a60fb4ae fix(deps): update dependency vue-router to v4.4.4 2024-09-12 12:36:18 +00:00
renovateandkonrad f4ca22a6ad fix(deps): update dependency flexsearch to v0.7.43 (#2095)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-09-12 12:35:35 +00:00
kolaente 7e38a9f442 fix(kanban): make task creation loading spinner actually visible 2024-09-12 14:33:44 +02:00
renovateandkonrad a0a77818b1 fix(deps): update dependency vue-i18n to v10.0.1 2024-09-12 11:39:50 +00:00
kolaente bdccd633fe fix(labels): remove input interactivity when label edit is disabled 2024-09-12 13:39:03 +02:00
kolaente 1f3eb8f2a3 chore: fix comment 2024-09-12 13:39:03 +02:00
renovate 8891ef347e fix(deps): update dependency tailwindcss to v3.4.11 2024-09-12 10:26:57 +00:00
kolaente 3b8ccbad4f fix(multiselect): make selectPlaceholder optional 2024-09-12 11:29:39 +02:00
kolaente cc1b4bbd1b fix(task): make print styles work when printing task detail view from kanban
Resolves https://community.vikunja.io/t/feature-request-export-a-task-as-pdf/2735/6
2024-09-12 11:02:38 +02:00
Frederick [Bot]andkolaente 9dd95101f9 [skip ci] Updated swagger docs 2024-09-12 08:42:38 +00:00
kolaente 20724f6fb5 fix(task): cyclomatic complexity 2024-09-12 10:24:16 +02:00
Frederick [Bot]anddrone e1ea84fcd4 chore(i18n): update translations via Crowdin 2024-09-12 00:26:38 +00:00
kolaente 8d730543c3 fix(project): reset id before creating
Resolves https://vikunja.sentry.io/share/issue/6f1e37d4b8b248188e20650234a45cde/
2024-09-11 23:46:13 +02:00
renovateandkonrad a3d133bfee fix(deps): update dependency vue-i18n to v10 2024-09-11 18:01:57 +00:00
renovateandkonrad 7b37ad0594 fix(deps): update dependency @sentry/vue to v8.30.0 2024-09-11 17:36:28 +00:00
kolaente 4aeb228c3a fix(project): show description in title attribute without html
Resolves https://community.vikunja.io/t/feedback-to-vikunja-0-24-0/2557/6
2024-09-11 18:23:43 +02:00
kolaente b52d6dbf59 fix(projects): do not hide 6th project on project overview 2024-09-11 18:20:57 +02:00
kolaente 76f7797e56 chore: remove console.log 2024-09-11 18:14:10 +02:00
kolaente 55dd7d2981 fix(task): specify task index when creating multiple tasks at once
This change allows to specify the task index when creating a task, which will then be checked to avoid duplicates and used. This allows us to calculate the indexes for all tasks beforehand when creating them at once using quick add magic.
The method is not bulletproof, but already fixes a problem where multiple tasks would have the same index when created that way.

Resolves https://community.vikunja.io/t/add-multiple-tasks-at-once/333/16
2024-09-11 17:58:42 +02:00
kolaente 44a43b9f86 fix(auth): restrict max password length to 72 bytes
Bcrypt allows a maximum of 72 bytes. This is part of the algorithm and not something we could change in Vikunja. The solution here was to restrict the password during registration to a max length of 72 bytes. In the future, this should be changed to hash passwords with sha512 or similar before hashing them with bcrypt. Because they should also be salted in that case and the added complexity during the migration phase, this was not implemented yet.
The change in this commit only improves the error handling to return an input error instead of a server error when the user enters a password > 72 bytes.

Resolves https://vikunja.sentry.io/share/issue/e8e0b64612d84504942feee002ac498a/
2024-09-10 18:23:06 +02:00
kolaente eb95caf757 fix(password): validate password before sending request to api 2024-09-10 17:44:52 +02:00
kolaente 1085a6583b fix(caldav): reject invalid project id with error 400
Resolves https://vikunja.sentry.io/share/issue/6fc18edefa0e4db3b2e10efe36deeaa4/
2024-09-10 17:32:35 +02:00
kolaente e698ac5a34 fix(label): ignore existing ID during creation 2024-09-10 16:45:40 +02:00
renovate 020fea686d fix(deps): update module github.com/getsentry/sentry-go to v0.29.0 2024-09-10 10:17:45 +00:00
renovateandkonrad addf8523f4 fix(deps): update dependency express to v4.20.0 2024-09-10 09:49:23 +00:00
renovate 044aa1c742 fix(deps): update dependency vue to v3.5.4 2024-09-10 09:14:50 +00:00
renovateandkonrad 552e1ce796 chore(deps): update goreleaser/nfpm docker tag to v2.40.0 (#2647)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-09-10 08:50:42 +00:00
renovateandkonrad c1246d73d4 fix(deps): update dependency @sentry/vue to v8.29.0 2024-09-10 07:13:00 +00:00
renovate 85fa397a46 chore(deps): update pnpm to v9.10.0 2024-09-09 14:35:34 +00:00
renovate af47e43c34 chore(deps): update dev-dependencies 2024-09-09 03:31:05 +00:00
Frederick [Bot]andkolaente 2539f15dfb [skip ci] Updated swagger docs 2024-09-07 11:48:49 +00:00
kolaente 5c1b2846a1 docs(api): use correct return type for the /user endpoint 2024-09-07 13:27:06 +02:00
renovate af8100d262 fix(deps): update dependency vue-router to v4.4.3 2024-09-06 18:17:15 +00:00
renovateandkonrad 63f85c97ae chore(deps): update dependency go to v1.23.1 2024-09-06 18:06:24 +00:00
renovateandkonrad 2b1e3ffd2a chore(deps): update dev-dependencies 2024-09-06 18:04:14 +00:00
renovate 5f470afd7c fix(deps): update module golang.org/x/image to v0.20.0 2024-09-06 17:17:31 +00:00
renovateandkonrad 37c6f94ba2 fix(deps): update module github.com/prometheus/client_golang to v1.20.3 2024-09-06 15:56:25 +00:00
renovate b42cd5786e fix(deps): update dependency vue to v3.5.3 2024-09-06 15:21:22 +00:00
renovateandkonrad 5072ab3d72 fix(deps): update module dario.cat/mergo to v1.0.1 2024-09-06 15:11:42 +00:00
renovateandkonrad 4b5ec018f5 fix(deps): update module github.com/redis/go-redis/v9 to v9.6.1 2024-09-06 15:11:34 +00:00
renovateandkonrad efe5c7b3cb fix(deps): update module golang.org/x/crypto to v0.27.0 2024-09-06 15:09:51 +00:00
renovateandkonrad ba0c32aacf fix(deps): update module golang.org/x/oauth2 to v0.23.0 2024-09-06 15:09:43 +00:00
renovateandkonrad b6e142e8d0 fix(deps): update vueuse to v11 2024-09-06 15:08:03 +00:00
renovate 750d565477 fix(deps): update dependency tailwindcss to v3.4.10 2024-09-06 12:15:45 +00:00
Frederick [Bot]andkolaente 2b8515b91d [skip ci] Updated swagger docs 2024-09-06 11:18:51 +00:00
kolaente 68636f27da fix(files): use absolute path everywhere 2024-09-06 12:59:48 +02:00
kolaente cf94cc8cab chore(docs): clarify usage of related model creation
Resolves https://github.com/go-vikunja/vikunja/issues/323
2024-09-06 12:06:12 +02:00
renovateandkonrad 669b7452cd fix(deps): update dependency axios to v1.7.7 2024-09-06 08:34:52 +00:00
renovateandkonrad 1601c9098d fix(deps): update dependency sortablejs to v1.15.3 2024-09-06 08:34:36 +00:00
renovateandkonrad f132b0e718 fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.5 2024-09-06 08:33:40 +00:00
renovateandkonrad 5d12986e3f fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.23 2024-09-06 08:33:37 +00:00
renovateandkonrad 74e0197dc6 fix(deps): update module github.com/threedotslabs/watermill to v1.3.7 2024-09-06 08:32:06 +00:00
renovateandkonrad 2dd133fb4c fix(deps): update dependency @kyvg/vue3-notification to v3.3.0 2024-09-06 08:31:54 +00:00
kolaente 02c1de55c4 chore(attachments): refactor building image preview 2024-09-06 09:43:59 +02:00
renovateandkonrad cbc63c853d fix(deps): update dependency @sentry/vue to v8.28.0 2024-09-06 07:40:44 +00:00
renovateandkonrad b5c4a3a80c fix(deps): update dependency pinia to v2.2.2 2024-09-06 07:40:14 +00:00
renovateandkonrad a8ea5e11ab fix(deps): update dependency vue-i18n to v9.14.0 2024-09-06 07:39:02 +00:00
renovateandkonrad 812430b9cf fix(deps): update module golang.org/x/text to v0.18.0 2024-09-06 07:37:53 +00:00
kolaente 9d7b6d3d9a feat(dump): add flag to allow specifying dump path
Resolves https://community.vikunja.io/t/vikunja-0-24-docker-bin-sh/2621/3
2024-09-05 15:14:03 +02:00
kolaente c2b116de70 chore(files): use absolute file path to retrieve and save files 2024-09-05 15:03:32 +02:00
kolaente 22e594e253 fix(kanban): save updated position to store
This fixes a bug where the position of a task would not be calculated correctly when the task was moved next to another recently moved task. The problem was caused by the calculation of the new position referring to the old value of the position attribute, because it was not updated in the local store.

Resolves https://community.vikunja.io/t/kanban-cards-in-wrong-order/2731/6
2024-09-05 14:51:47 +02:00
kolaente 0d9c03e0f2 chore(magefile): use tx.Sync instead of Sync2 2024-09-05 14:40:22 +02:00
renovateandkonrad 72bb6609a1 fix(deps): update module golang.org/x/term to v0.24.0 2024-09-05 10:18:27 +00:00
renovate b259072e6a fix(deps): update module github.com/typesense/typesense-go to v2 2024-09-04 21:16:13 +00:00
kolaente ffcc48ec87 fix(caldav): make sure colors are correctly saved and returned
Resolves https://community.vikunja.io/t/caldav-sync-tasks-org-strips-colour-and-end-date-values/2753/2
2024-09-04 23:08:29 +02:00
Frederick [Bot]andkolaente 5aa0b6a0cf [skip ci] Updated swagger docs 2024-09-04 20:43:53 +00:00
kolaente b60efbd259 chore(subscription): return subscription entity type using json Marshaler 2024-09-04 22:25:03 +02:00
kolaente 34ac29fcce fix(reminders): notify subscribed users as well
Resolves https://community.vikunja.io/t/no-reminder-notification-by-e-mail-from-my-colleague/2779
2024-09-04 22:11:07 +02:00
kolaente 75f3e930cd fix(subscriptions): do not panic when a task does not have a subscription 2024-09-04 21:55:14 +02:00
kolaente 4ff8815fe1 fix(subscriptions): cleanup and simplify fetching subscribers for tasks and projects logic
Vikunja now uses one recursive CTE and a few optimizations to fetch all subscribers for a task or project. This makes the relevant code easier to maintain and more performant.
2024-09-04 19:55:17 +02:00
renovate 850ec7efb0 fix(deps): update dependency dayjs to v1.11.13 2024-09-03 20:59:37 +00:00
kolaente 115d1c3618 fix(subscription): always return task subscription when subscribed to task and project 2024-09-03 22:37:53 +02:00
kolaente 6d26497bbb chore(deps): update github.com/wneessen/go-mail to v0.4.4 2024-09-03 22:07:11 +02:00
kolaente 06305eb6b3 fix(subscriptions): correctly inherit subscriptions
Resolves https://community.vikunja.io/t/e-mail-notification-twice/2740/20
2024-09-03 22:04:11 +02:00
Frederick [Bot]anddrone 7bd84a845c chore(i18n): update translations via Crowdin 2024-09-03 00:25:53 +00:00
kolaente 165ee9e7f3 fix(service worker): use correct workbox version
Resolves https://github.com/go-vikunja/vikunja/issues/322
2024-09-02 23:40:17 +02:00
kolaente 2c9becec10 fix(notifications): only add project subscription as task subscription when the user is not already subscribed to the task
Before this fix, a project subscription object was added twice to the list of subscriptions for a task when the user did not subscribe to the task directly. This caused the user to receive a comment notification twice for a given task.
This was probably a regression from efde364224.

Resolves https://community.vikunja.io/t/e-mail-notification-twice/2740/18
2024-09-02 23:36:58 +02:00
kolaente 1463bce24c feat(dev): add mailpit to devenv services 2024-09-02 23:18:50 +02:00
kolaente 5c56d07215 chore(web): always set internal error 2024-09-01 19:37:27 +02:00
kolaente 6fb314b326 chore(web): use logger directly 2024-09-01 19:37:27 +02:00
kolaente 9b01666ec6 chore(web): use web auth factory directly 2024-09-01 19:37:27 +02:00
Frederick [Bot]anddrone 14c862d284 chore(i18n): update translations via Crowdin 2024-08-30 00:25:55 +00:00
kolaente bcfd72c645 chore(web): use config directly 2024-08-29 18:41:20 +02:00
kolaente 499f66b7ae chore(web): directly use new db session 2024-08-29 16:31:46 +02:00
kolaente 8e37d5cb76 chore(web): remove redundant use of fmt.Sprintf 2024-08-29 16:28:37 +02:00
kolaente 57ba073874 chore(web): use errors.As instead of type assertion 2024-08-29 16:28:16 +02:00
kolaente 329de3aab3 chore(web): remove unused echo context 2024-08-29 16:20:39 +02:00
kolaente 74a74b7ec7 fix(labels): test error assertion 2024-08-29 16:16:41 +02:00
kolaente 2063da9eec chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
kolaente 7a7e97770c chore(errors): always add internal error to echo error 2024-08-29 15:39:34 +02:00
kolaente bea131cfd9 fix(labels): trigger task.updated event when removing a label from a task 2024-08-29 15:19:06 +02:00
kolaente 5a0d1f1dc6 feat(event): simplify dispatching task updated event from only a task id 2024-08-29 15:18:03 +02:00
kolaente b5035f9d2b chore(docker): use new env format 2024-08-29 11:19:46 +02:00
kolaente 07bd9de0c6 feat(docker): add opencontainer labels
Resolves https://github.com/go-vikunja/vikunja/issues/308
2024-08-29 11:19:21 +02:00
kolaente efde364224 fix(subscriptions): ignore task subscription when the user is subscribed to the project
Resolves https://community.vikunja.io/t/e-mail-notification-twice/2740/12
Resolves https://github.com/go-vikunja/vikunja/issues/316
2024-08-29 10:35:05 +02:00
kolaente fde1763eef fix(api): return 404 response when using a token and the route does not exist 2024-08-29 10:12:20 +02:00
kolaente 429c7ca2c1 feat(task): always insert new tasks at the top
Resolves https://community.vikunja.io/t/kanban-cards-in-wrong-order/2731
2024-08-28 15:30:40 +02:00
kolaente bf56311faa fix(task): set done at date when moving a task to the done bucket
Resolves https://github.com/go-vikunja/vikunja/issues/320
2024-08-28 14:21:31 +02:00
Frederick [Bot]anddrone c38aaeb224 chore(i18n): update translations via Crowdin 2024-08-28 00:25:41 +00:00
Frederick [Bot]anddrone 1b9139b9b0 chore(i18n): update translations via Crowdin 2024-08-27 00:25:53 +00:00
kolaente 13763e3540 chore(deps): update tiptap to 2.6.6 2024-08-26 22:58:15 +02:00
kolaente 56bab7485f feat(i18n): add Lithuanian translation for selection 2024-08-26 17:05:01 +02:00
kolaente 8bfd0493b2 fix(deps): update golangci 2024-08-25 14:30:46 +00:00
kolaente 435cb2e7f7 fix(view): do not crash when saving a view
Resolves https://github.com/go-vikunja/vikunja/issues/312
2024-08-25 15:53:51 +02:00
Frederick [Bot]anddrone 9ed33f5c08 chore(i18n): update translations via Crowdin 2024-08-23 00:25:56 +00:00
Frederick [Bot]anddrone 83669fd9e0 chore(i18n): update translations via Crowdin 2024-08-21 00:25:43 +00:00
Frederick [Bot]anddrone 35578e0021 chore(i18n): update translations via Crowdin 2024-08-20 00:25:51 +00:00
Frederick [Bot]anddrone e281de30b5 chore(i18n): update translations via Crowdin 2024-08-17 00:15:36 +00:00
Frederick [Bot]anddrone ec2c2e74f0 chore(i18n): update translations via Crowdin 2024-08-15 00:03:11 +00:00
kolaente b031c9772f chore: 0.24.2 release preperations
(cherry picked from commit 08821ea8a8)
2024-08-12 20:25:31 +02:00
kolaente f22420d502 fix(kanban): always make cover image full width 2024-08-12 17:22:26 +02:00
kolaente ebfd5f54d2 fix(migration): ensure project background gets exported and imported 2024-08-12 17:18:07 +02:00
kolaente 28b4eaee31 fix(migration): make sure tasks are associated to the correct view and bucket for data imported from Vikunja dump
This change fixes a bug where imported projects would contain the default views additionally to the ones included in the export. This also caused the tasks to not show up in the views and buckets where they should show up, the newly imported ones.

Resolves https://community.vikunja.io/t/migration-from-vikunja-export-duplicated-boards-local-to-oidc/2690
2024-08-12 17:00:16 +02:00
kolaente b83448b7a6 fix(views): do not create task bucket and task position entries when duplicating a project
Resolves https://github.com/go-vikunja/vikunja/issues/297
Resolves https://community.vikunja.io/t/duplicating-a-board-puts-the-buckets-in-the-original-board/2579
2024-08-12 15:53:51 +02:00
kolaente eed783e42f fix(task): move task into new kanban bucket when moving between projects
Resolves https://github.com/go-vikunja/vikunja/issues/290
Resolves https://community.vikunja.io/t/tasks-moved-from-one-project-to-another-do-not-show-up-in-kanban/2689
2024-08-12 15:35:37 +02:00
kolaente 1d624612ee chore: use nixpkgs unstable for more recent packages 2024-08-12 15:32:12 +02:00
kolaente 9576f72d7c fix(task): set current project after moving a task 2024-08-12 15:22:14 +02:00
kolaente 7efc4d1bc8 fix(task): do not allow moving a task to the project the task already belongs to 2024-08-12 15:18:45 +02:00
kolaente 670e605275 chore(deps): update dependency node to v20.16.0 2024-08-12 12:26:53 +02:00
kolaente 871b3ce071 chore(deps): update go toolchain to 1.22.5 2024-08-12 12:17:53 +02:00
kolaente ad3c5fcee5 feat: switch from nix flakes to devenv 2024-08-12 12:17:31 +02:00
kolaente e2a87036e0 feat(editor): support custom protocol for links
Resolves https://github.com/go-vikunja/vikunja/issues/306
2024-08-12 11:42:43 +02:00
kolaente 40bb86bee5 fix(mail): do not fail testmail command when the connection could not be closed.
Resolves https://github.com/go-vikunja/vikunja/issues/300
2024-08-12 11:08:16 +02:00
Frederick [Bot]anddrone 4a4ed2cf89 chore(i18n): update translations via Crowdin 2024-08-10 00:03:08 +00:00
kolaente 7751e124a7 chore(deps): update flake 2024-08-08 11:24:26 +02:00
Frederick [Bot]anddrone 6137d07138 chore(i18n): update translations via Crowdin 2024-08-08 00:03:17 +00:00
kolaente 66d316f0b5 fix(i18n): change casing of Ukrainian language in selector 2024-08-07 16:51:22 +02:00
kolaente bf2d56c9d4 docs: clarify Todoist redirect url
Resolves https://github.com/go-vikunja/vikunja/issues/302
2024-08-07 16:27:29 +02:00
Dominik Pschenitschniandkonrad 413798b321 fix: remove console log 2024-08-07 13:29:56 +00:00
Frederick [Bot]anddrone bf1c8c6119 chore(i18n): update translations via Crowdin 2024-07-31 00:02:59 +00:00
Frederick [Bot]anddrone 49fa0a8468 chore(i18n): update translations via Crowdin 2024-07-27 00:03:15 +00:00
Frederick [Bot]anddrone 784cd42a7a chore(i18n): update translations via Crowdin 2024-07-24 00:03:08 +00:00
Frederick [Bot]andDominik Pschenitschni 4f74be0247 chore(i18n): update translations via Crowdin 2024-07-23 00:02:28 +00:00
Dominik Pschenitschniandkonrad 7ef1e0a3e5 fix: textarea autosize for LanguageTool 2024-07-21 12:40:32 +00:00
Dominik Pschenitschniandkonrad bc5fd380e5 chore: improve error message 2024-07-21 11:03:20 +00:00
Dominik Pschenitschniandkonrad bcd306b84d chore: remove lodash.debounce 2024-07-21 11:02:25 +00:00
Dominik Pschenitschniandkonrad ad2870335d feat: add missing peer dependency 2024-07-21 11:01:38 +00:00
Frederick [Bot]anddrone 917748777f chore(i18n): update translations via Crowdin 2024-07-21 00:03:15 +00:00
renovateandkonrad 324c966dda fix(deps): update module github.com/coreos/go-oidc/v3 to v3.11.0 2024-07-19 10:16:39 +00:00
Frederick [Bot]andDominik Pschenitschni 0984821b41 [skip ci] Updated swagger docs 2024-07-19 10:01:46 +00:00
Dominik Pschenitschniandkonrad e8be657d97 feat: improve ProjectSettingsViews 2024-07-19 09:43:49 +00:00
75ce261f74 feat: downscaled image previews for task attachments (#2541)
As discussed in [https://community.vikunja.io/t/add-scaled-down-images-for-image-previews](https://community.vikunja.io/t/add-scaled-down-images-for-image-previews) this adds a query parameter in the task attachment request which returns a scaled down image for preview purposes to reduce network load and improve responsiveness.

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2541
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-07-19 09:30:06 +00:00
5f9d0fe763 feat: permalinks for task comments (#2442)
Resolves #2441

Co-authored-by: Devadatta Sahoo <webmaster@nettantra.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2442
Reviewed-by: konrad <k@knt.li>
Co-authored-by: devadattas <devadattas@gmail.com>
Co-committed-by: devadattas <devadattas@gmail.com>
2024-07-19 08:45:50 +00:00
Dominik Pschenitschniandkonrad bbfd5270db feat: add tailwind with prefix (#2513)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2513
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-07-19 07:33:10 +00:00
Dominik Pschenitschniandkonrad 1e632397d2 fix(projects): trigger only single mutation
Previously these store methods created multiple edits on deep objects in the store or edited a deep nested object directly.

This is bad because:
- multiple edits lead to multiple triggers of all the watchers on the project.
- in theory we should listen deep to a project if we use some deep reactive value of a project, if we want deep updates. Because this is easy to forget, it's better to update the project directly. For this the method `setProject` already existed in the store. This is no real overhead because Vue is smart enough to only trigger listeners that use data of the modified state.

By modifying only a copy of the view and submitting the modified result __once__ we can save us a lot of headache.

PS: I'm not sure if there were any visible problems, because Vue is really fast and the reactivity system works quite well. Regardless of this we should try not to modify state unnecessarily.
2024-07-19 07:26:50 +00:00
Dominik Pschenitschniandkonrad d35454c099 feat: improve priority visibility 2024-07-19 06:53:53 +00:00
Dominik Pschenitschniandkonrad 2a6ba7e7f0 feat: improve label store 2024-07-19 06:51:24 +00:00
Dominik Pschenitschniandkonrad 1e523a1a39 feat: improve projects store 2024-07-19 05:49:14 +00:00
Dominik Pschenitschniandkonrad fb91e73a3c fix: emit for DatepickerWithValues 2024-07-19 05:28:17 +00:00
Frederick [Bot]andDominik Pschenitschni ebd6139c1f chore(i18n): update translations via Crowdin 2024-07-19 00:03:11 +00:00
Dominik Pschenitschni 6990be705c feat: use withDefaults for Reminders 2024-07-18 18:31:33 +02:00
239 changed files with 14751 additions and 7670 deletions
+181 -133
View File
@@ -40,7 +40,6 @@ volumes:
- name: tmp-postgres-migration
temp:
medium: memory
services:
- name: test-mysql-unit
@@ -161,7 +160,7 @@ steps:
- name: test-migration-sqlite
image: vikunja/golang-build:latest
pull: always
depends_on:
depends_on:
- test-migration-prepare
- api-build
environment:
@@ -364,7 +363,7 @@ steps:
- api-build
- name: frontend-dependencies
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -378,7 +377,7 @@ steps:
# - restore-cache
- name: frontend-lint
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -390,7 +389,7 @@ steps:
- frontend-dependencies
- name: frontend-build-prod
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -402,7 +401,7 @@ steps:
- frontend-dependencies
- name: frontend-test-unit
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
commands:
- cd frontend
@@ -413,7 +412,7 @@ steps:
- name: frontend-typecheck
failure: ignore
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -444,7 +443,7 @@ steps:
depends_on:
- frontend-build-prod
- test-api-run
- name: frontend-deploy-preview
image: williamjackson/netlify-cli
pull: always
@@ -499,7 +498,7 @@ steps:
environment:
GOPROXY: 'https://goproxy.kolaente.de'
commands:
- mage do-the-swag
- mage generate:swagger-docs
- name: push
pull: always
@@ -544,7 +543,7 @@ steps:
- git fetch --tags
- name: frontend-dependencies
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -556,7 +555,7 @@ steps:
- pnpm install --fetch-timeout 100000
- name: frontend-build
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -579,6 +578,53 @@ steps:
when:
event: [ push, tag, pull_request ]
- name: generate-config-yaml
image: vikunja/golang-build:latest
pull: always
commands:
- ./mage-static generate:config-yaml 1
depends_on: [ mage ]
- name: upload-config-yaml-unstable
image: plugins/s3
pull: always
settings:
bucket: vikunja
access_key:
from_secret: hetzner_access_key_id
secret_key:
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
source: config.yml.sample
target: /vikunja/unstable/
when:
branch:
- main
event:
- push
depends_on: [ generate-config-yaml ]
- name: upload-config-yaml-version
image: plugins/s3
pull: always
settings:
bucket: vikunja
access_key:
from_secret: hetzner_access_key_id
secret_key:
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
source: config.yml.sample
target: /vikunja/${DRONE_TAG##v}/
when:
event:
- tag
depends_on: [ generate-config-yaml ]
- name: before-static-build
image: ghcr.io/techknowlogick/xgo:go-1.23.x
pull: always
@@ -653,6 +699,7 @@ steps:
- after-build-compress
commands:
- go install github.com/magefile/mage
- ./mage-static generate:config-yaml 1
- ./mage-static release:copy
- ./mage-static release:check
- ./mage-static release:os-package
@@ -676,13 +723,13 @@ steps:
image: plugins/s3
pull: always
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
strip_prefix: dist/zip/
source: dist/zip/*
@@ -698,13 +745,13 @@ steps:
image: plugins/s3
pull: always
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
strip_prefix: dist/zip/
source: dist/zip/*
@@ -716,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.2
pull: always
commands:
- apk add git go
@@ -732,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.2
pull: always
commands:
- apk add git go
@@ -750,13 +797,13 @@ steps:
image: plugins/s3
pull: always
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
strip_prefix: dist/os-packages/
source: dist/os-packages/*
@@ -772,13 +819,13 @@ steps:
image: plugins/s3
pull: always
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
strip_prefix: dist/os-packages/
source: dist/os-packages/*
@@ -797,7 +844,7 @@ steps:
base_url: https://kolaente.dev
files: dist/zip/*
prerelease: true
title: ${DRONE_TAG##v}
title: ${DRONE_TAG##v}
when:
event:
- tag
@@ -897,9 +944,9 @@ steps:
image: docker:git
commands:
- git fetch --tags
- name: build
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -929,13 +976,13 @@ steps:
image: plugins/s3
pull: always
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
source: frontend/vikunja-frontend-unstable.zip
target: /
@@ -958,9 +1005,9 @@ steps:
image: docker:git
commands:
- git fetch --tags
- name: build
image: node:20.16.0-alpine
image: node:22.13.0-alpine
pull: always
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
@@ -988,13 +1035,13 @@ steps:
image: plugins/s3
pull: always
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
source: frontend/vikunja-frontend-${DRONE_TAG##v}.zip
target: /
@@ -1081,33 +1128,33 @@ steps:
image: docker:git
commands:
- git fetch --tags
#
# - name: restore-cache
# image: meltwater/drone-cache:dev
# pull: true
# environment:
# AWS_ACCESS_KEY_ID:
# from_secret: cache_aws_access_key_id
# AWS_SECRET_ACCESS_KEY:
# from_secret: cache_aws_secret_access_key
# settings:
# restore: true
# bucket: kolaente.dev-drone-dependency-cache
# endpoint: https://s3.fr-par.scw.cloud
# region: fr-par
# path_style: true
# cache_key: '{{ .Repo.Name }}_{{ checksum "desktop/yarn.lock" }}_{{ arch }}_{{ os }}'
# mount:
# - '.cache'
#
# - name: restore-cache
# image: meltwater/drone-cache:dev
# pull: true
# environment:
# AWS_ACCESS_KEY_ID:
# from_secret: cache_aws_access_key_id
# AWS_SECRET_ACCESS_KEY:
# from_secret: cache_aws_secret_access_key
# settings:
# restore: true
# bucket: kolaente.dev-drone-dependency-cache
# endpoint: https://fsn1.your-objectstorage.com
# region: fsn1
# path_style: true
# cache_key: '{{ .Repo.Name }}_{{ checksum "desktop/yarn.lock" }}_{{ arch }}_{{ os }}'
# mount:
# - '.cache'
- name: build
image: electronuserland/builder:wine-mono
image: electronuserland/builder:wine
pull: true
environment:
YARN_CACHE_FOLDER: .cache/yarn/
PNPM_CACHE_FOLDER: .cache/pnpm
depends_on:
- fetch-tags
# - restore-cache
# - restore-cache
commands:
- cd desktop
- export VERSION=${DRONE_TAG##v}
@@ -1117,8 +1164,9 @@ steps:
- unzip vikunja-frontend-$$VERSION.zip -d frontend
- sed -i 's/\\/api\\/v1//g' frontend/index.html
- ./bumpp.sh
- yarn install
- yarn dist --linux zip
- corepack enable && pnpm config set store-dir .cache/pnpm
- pnpm install --fetch-timeout 100000
- pnpm dist --linux zip
# - name: rebuild-cache
# image: meltwater/drone-cache:dev
@@ -1131,8 +1179,8 @@ steps:
# settings:
# rebuild: true
# bucket: kolaente.dev-drone-dependency-cache
# endpoint: https://s3.fr-par.scw.cloud
# region: fr-par
# endpoint: https://fsn1.your-objectstorage.com
# region: fsn1
# path_style: true
# cache_key: '{{ .Repo.Name }}_{{ checksum "desktop/yarn.lock" }}_{{ arch }}_{{ os }}'
# mount:
@@ -1162,33 +1210,33 @@ steps:
image: docker:git
commands:
- git fetch --tags
# - name: restore-cache
# image: meltwater/drone-cache:dev
# pull: true
# environment:
# AWS_ACCESS_KEY_ID:
# from_secret: cache_aws_access_key_id
# AWS_SECRET_ACCESS_KEY:
# from_secret: cache_aws_secret_access_key
# settings:
# restore: true
# bucket: kolaente.dev-drone-dependency-cache
# endpoint: https://s3.fr-par.scw.cloud
# region: fr-par
# path_style: true
# cache_key: '{{ .Repo.Name }}_{{ checksum "desktop/yarn.lock" }}_{{ arch }}_{{ os }}'
# mount:
# - '.cache'
# - name: restore-cache
# image: meltwater/drone-cache:dev
# pull: true
# environment:
# AWS_ACCESS_KEY_ID:
# from_secret: cache_aws_access_key_id
# AWS_SECRET_ACCESS_KEY:
# from_secret: cache_aws_secret_access_key
# settings:
# restore: true
# bucket: kolaente.dev-drone-dependency-cache
# endpoint: https://fsn1.your-objectstorage.com
# region: fsn1
# path_style: true
# cache_key: '{{ .Repo.Name }}_{{ checksum "desktop/yarn.lock" }}_{{ arch }}_{{ os }}'
# mount:
# - '.cache'
- name: build
image: electronuserland/builder:wine-mono
image: electronuserland/builder:wine
pull: true
environment:
YARN_CACHE_FOLDER: .cache/yarn/
PNPM_CACHE_FOLDER: .cache/pnpm
depends_on:
- fetch-tags
# - restore-cache
# - restore-cache
commands:
- cd desktop
- export VERSION=${DRONE_TAG##v}
@@ -1198,30 +1246,30 @@ steps:
- unzip vikunja-frontend-$$VERSION.zip -d frontend
- sed -i 's/\\/api\\/v1//g' frontend/index.html
- ./bumpp.sh
- yarn install
- cat package.json
- yarn dist --linux --windows
# - name: rebuild-cache
# image: meltwater/drone-cache:dev
# pull: true
# environment:
# AWS_ACCESS_KEY_ID:
# from_secret: cache_aws_access_key_id
# AWS_SECRET_ACCESS_KEY:
# from_secret: cache_aws_secret_access_key
# settings:
# rebuild: true
# bucket: kolaente.dev-drone-dependency-cache
# endpoint: https://s3.fr-par.scw.cloud
# region: fr-par
# path_style: true
# cache_key: '{{ .Repo.Name }}_{{ checksum "desktop/yarn.lock" }}_{{ arch }}_{{ os }}'
# mount:
# - '.cache'
# depends_on:
# - build
- corepack enable && pnpm config set store-dir .cache/pnpm
- pnpm install --fetch-timeout 100000
- pnpm dist --linux --windows
# - name: rebuild-cache
# image: meltwater/drone-cache:dev
# pull: true
# environment:
# AWS_ACCESS_KEY_ID:
# from_secret: cache_aws_access_key_id
# AWS_SECRET_ACCESS_KEY:
# from_secret: cache_aws_secret_access_key
# settings:
# rebuild: true
# bucket: kolaente.dev-drone-dependency-cache
# endpoint: https://fsn1.your-objectstorage.com
# region: fsn1
# path_style: true
# cache_key: '{{ .Repo.Name }}_{{ checksum "desktop/yarn.lock" }}_{{ arch }}_{{ os }}'
# mount:
# - '.cache'
# depends_on:
# - build
- name: rename-unstable
image: bash
pull: true
@@ -1239,13 +1287,13 @@ steps:
image: plugins/s3
pull: true
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
strip_prefix: desktop/dist/
source: desktop/dist/Vikunja-Desktop*
@@ -1261,13 +1309,13 @@ steps:
image: plugins/s3
pull: true
settings:
bucket: vikunja-releases
bucket: vikunja
access_key:
from_secret: aws_access_key_id
from_secret: hetzner_access_key_id
secret_key:
from_secret: aws_secret_access_key
endpoint: https://s3.fr-par.scw.cloud
region: fr-par
from_secret: hetzner_secret_access_key
endpoint: https://fsn1.your-objectstorage.com
region: fsn1
path_style: true
strip_prefix: desktop/dist/
source: desktop/dist/*
@@ -1296,9 +1344,9 @@ steps:
# - name: build
# environment:
# ACCESS_KEY:
# from_secret: aws_access_key_id
# from_secret: hetzner_access_key_id
# SECRET_KEY:
# from_secret: aws_secret_access_key
# from_secret: hetzner_secret_access_key
# commands:
# - git fetch --tags
# - export VERSION=${DRONE_TAG##v}
@@ -1311,9 +1359,9 @@ steps:
# - sed -i '' "s/\$${version}/$$VERSION/g" package.json
# - yarn install
# - yarn dist --mac
# - mc config host add scw-fr-par https://s3.fr-par.scw.cloud $ACCESS_KEY $SECRET_KEY --api S3v4
# - mc cp ./dist/*.dmg scw-fr-par/vikunja-releases/desktop/$VERSION/
# - mc cp ./dist/*.dmg.blockmap scw-fr-par/vikunja-releases/desktop/$VERSION/
# - mc config host add scw-fsn1 https://fsn1.your-objectstorage.com $ACCESS_KEY $SECRET_KEY --api S3v4
# - mc cp ./dist/*.dmg scw-fsn1/vikunja/desktop/$VERSION/
# - mc cp ./dist/*.dmg.blockmap scw-fsn1/vikunja/desktop/$VERSION/
---
kind: pipeline
@@ -1350,6 +1398,6 @@ steps:
- failure
---
kind: signature
hmac: a06d088bd62507aeb2be9cd4bfcd313bdc6fe0629b82816bef81770f8a34a3ef
hmac: 298674d9b9d8618eef47969038fd4d7516112ecbd8a4d899ec3751d997a34ce4
...
+2 -2
View File
@@ -1,6 +1,6 @@
name: Bug Report
description: Found something you weren't expecting? Report it here!
labels: kind/bug
type: Bug
body:
- type: markdown
attributes:
@@ -49,4 +49,4 @@ body:
id: screenshots
attributes:
label: Screenshots
description: If this issue involves the Web Interface, please provide one or more screenshots
description: If this issue involves the Web Interface, please provide one or more screenshots
+6
View File
@@ -7,6 +7,12 @@ 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.6] - 2024-12-22
### Bug Fixes
* *(export)* Update only current user export file id
## [0.24.5] - 2024-11-21
### Bug Fixes
+9 -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.13.0-alpine AS frontendbuilder
WORKDIR /build
@@ -35,7 +35,14 @@ RUN export PATH=$PATH:$GOPATH/bin && \
# The actual image
FROM scratch
LABEL maintainer="maintainers@vikunja.io"
LABEL org.opencontainers.image.authors='maintainers@vikunja.io'
LABEL org.opencontainers.image.url='https://vikunja.io'
LABEL org.opencontainers.image.documentation='https://vikunja.io/docs'
LABEL org.opencontainers.image.source='https://code.vikunja.io/vikunja'
LABEL org.opencontainers.image.licenses='AGPLv3'
LABEL org.opencontainers.image.title='Vikunja'
WORKDIR /app/vikunja
ENTRYPOINT [ "/app/vikunja/vikunja" ]
EXPOSE 3456
+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.5,brightgreen.svg)](https://vikunja.io/docs/installing)
[![Install](https://img.shields.io/badge/download-v0.24.6-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
]
+839
View File
@@ -0,0 +1,839 @@
{
"children": [
{
"key": "service",
"children": [
{
"key": "JWTSecret",
"default_value": "\u003cjwt-secret\u003e",
"comment": "This token is used to verify issued JWT tokens.\nDefault is a random token which will be generated at each startup of Vikunja.\n(This means all already issued tokens will be invalid once you restart Vikunja)"
},
{
"key": "jwtttl",
"default_value": "259200",
"comment": "The duration of the issued JWT tokens in seconds.\nThe default is 259200 seconds (3 Days)."
},
{
"key": "jwtttllong",
"default_value": "2592000",
"comment": "The duration of the \"remember me\" time in seconds. When the login request is made with\nthe long param set, the token returned will be valid for this period.\nThe default is 2592000 seconds (30 Days)."
},
{
"key": "interface",
"default_value": ":3456",
"comment": "The interface on which to run the webserver"
},
{
"key": "unixsocket",
"default_value": "",
"comment": "Path to Unix socket. If set, it will be created and used instead of tcp"
},
{
"key": "unixsocketmode",
"default_value": "",
"comment": "Permission bits for the Unix socket. Note that octal values must be prefixed by \"0o\", e.g. 0o660"
},
{
"key": "publicurl",
"default_value": "",
"comment": "The public facing URL where your users can reach Vikunja. Used in emails and for the communication between api and frontend."
},
{
"key": "rootpath",
"default_value": "\u003crootpath\u003e",
"comment": "The base path on the file system where the binary and assets are.\nVikunja will also look in this path for a config file, so you could provide only this variable to point to a folder\nwith a config file which will then be used."
},
{
"key": "maxitemsperpage",
"default_value": "50",
"comment": "The max number of items which can be returned per page"
},
{
"key": "enablecaldav",
"default_value": "true",
"comment": "Enable the caldav endpoint, see the docs for more details"
},
{
"key": "motd",
"default_value": "",
"comment": "Set the motd message, available from the /info endpoint"
},
{
"key": "enablelinksharing",
"default_value": "true",
"comment": "Enable sharing of project via a link"
},
{
"key": "enableregistration",
"default_value": "true",
"comment": "Whether to let new users registering themselves or not"
},
{
"key": "enabletaskattachments",
"default_value": "true",
"comment": "Whether to enable task attachments or not"
},
{
"key": "timezone",
"default_value": "GMT",
"comment": "The time zone all timestamps are in. Please note that time zones have to use [the official tz database names](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). UTC or GMT offsets won't work."
},
{
"key": "enabletaskcomments",
"default_value": "true",
"comment": "Whether task comments should be enabled or not"
},
{
"key": "enabletotp",
"default_value": "true",
"comment": "Whether totp is enabled. In most cases you want to leave that enabled."
},
{
"key": "testingtoken",
"default_value": "",
"comment": "If not empty, this will enable `/test/{table}` endpoints which allow to put any content in the database.\nUsed to reset the db before frontend tests. Because this is quite a dangerous feature allowing for lots of harm,\neach request made to this endpoint needs to provide an `Authorization: \u003ctoken\u003e` header with the token from below. \u003cbr/\u003e\n**You should never use this unless you know exactly what you're doing**"
},
{
"key": "enableemailreminders",
"default_value": "true",
"comment": "If enabled, Vikunja will send an email to everyone who is either assigned to a task or created it when a task reminder\nis due."
},
{
"key": "enableuserdeletion",
"default_value": "true",
"comment": "If true, will allow users to request the complete deletion of their account. When using external authentication methods\nit may be required to coordinate with them in order to delete the account. This setting will not affect the cli commands\nfor user deletion."
},
{
"key": "maxavatarsize",
"default_value": "1024",
"comment": "The maximum size clients will be able to request for user avatars.\nIf clients request a size bigger than this, it will be changed on the fly."
},
{
"key": "demomode",
"default_value": "false",
"comment": "If set to true, the frontend will show a big red warning not to use this instance for real data as it will be cleared out.\nYou probably don't need to set this value, it was created specifically for usage on [try](https://try.vikunja.io)."
},
{
"key": "allowiconchanges",
"default_value": "true",
"comment": "Allow changing the logo and other icons based on various occasions throughout the year."
},
{
"key": "customlogourl",
"default_value": "",
"comment": "Allow using a custom logo via external URL."
},
{
"key": "enablepublicteams",
"default_value": "false",
"comment": "Enables the public team feature. If enabled, it is possible to configure teams to be public, which makes them\ndiscoverable when sharing a project, therefore not only showing teams the user is member of."
},
{
"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."
}
]
},
{
"key": "sentry",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "If set to true, enables anonymous error tracking of api errors via Sentry. This allows us to gather more\ninformation about errors in order to debug and fix it."
},
{
"key": "dsn",
"default_value": "https://440eedc957d545a795c17bbaf477497c@o1047380.ingest.sentry.io/4504254983634944",
"comment": "Configure the Sentry dsn used for api error tracking. Only used when Sentry is enabled for the api."
},
{
"key": "frontendenabled",
"default_value": "false",
"comment": "If set to true, enables anonymous error tracking of frontend errors via Sentry. This allows us to gather more\ninformation about errors in order to debug and fix it."
},
{
"key": "frontenddsn",
"default_value": "https://85694a2d757547cbbc90cd4b55c5a18d@o1047380.ingest.sentry.io/6024480",
"comment": "Configure the Sentry dsn used for frontend error tracking. Only used when Sentry is enabled for the frontend."
}
]
},
{
"key": "database",
"children": [
{
"key": "type",
"default_value": "sqlite",
"comment": "Database type to use. Supported values are mysql, postgres and sqlite. Vikunja is able to run with MySQL 8.0+, Mariadb 10.2+, PostgreSQL 12+, and sqlite."
},
{
"key": "user",
"default_value": "vikunja",
"comment": "Database user which is used to connect to the database."
},
{
"key": "password",
"default_value": "",
"comment": "Database password"
},
{
"key": "host",
"default_value": "localhost",
"comment": "Database host"
},
{
"key": "database",
"default_value": "vikunja",
"comment": "Database to use"
},
{
"key": "path",
"default_value": "./vikunja.db",
"comment": "When using sqlite, this is the path where to store the data"
},
{
"key": "maxopenconnections",
"default_value": "100",
"comment": "Sets the max open connections to the database. Only used when using mysql and postgres."
},
{
"key": "maxidleconnections",
"default_value": "50",
"comment": "Sets the maximum number of idle connections to the db."
},
{
"key": "maxconnectionlifetime",
"default_value": "10000",
"comment": "The maximum lifetime of a single db connection in milliseconds."
},
{
"key": "sslmode",
"default_value": "disable",
"comment": "Secure connection mode. Only used with postgres.\n(see https://pkg.go.dev/github.com/lib/pq?tab=doc#hdr-Connection_String_Parameters)"
},
{
"key": "sslcert",
"default_value": "",
"comment": "The path to the client cert. Only used with postgres."
},
{
"key": "sslkey",
"default_value": "",
"comment": "The path to the client key. Only used with postgres."
},
{
"key": "sslrootcert",
"default_value": "",
"comment": "The path to the ca cert. Only used with postgres."
},
{
"key": "tls",
"default_value": "false",
"comment": "Enable SSL/TLS for mysql connections. Options: false, true, skip-verify, preferred"
}
]
},
{
"key": "typesense",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "Whether to enable the Typesense integration. If true, all tasks will be synced to the configured Typesense\ninstance and all search and filtering will run through Typesense instead of only through the database.\nTypesense allows fast fulltext search including fuzzy matching support. It may return different results than\nwhat you'd get with a database-only search."
},
{
"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 as Vikunja is able to reach it. Must be a http(s) url."
},
{
"key": "apikey",
"default_value": "",
"comment": "The Typesense API key you want to use."
}
]
},
{
"key": "redis",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "Whether to enable redis or not"
},
{
"key": "host",
"default_value": "localhost:6379",
"comment": "The host of the redis server including its port."
},
{
"key": "password",
"default_value": "",
"comment": "The password used to authenticate against the redis server"
},
{
"key": "db",
"default_value": "0",
"comment": "0 means default database"
}
]
},
{
"key": "cors",
"children": [
{
"key": "enable",
"default_value": "false",
"comment": "Whether to enable or disable cors headers.\nNote: If you want to put the frontend and the api on separate domains or ports, you will need to enable this.\nOtherwise the frontend won't be able to make requests to the api through the browser."
},
{
"key": "origins",
"comment": "A list of origins which may access the api. These need to include the protocol (`http://` or `https://`) and port, if any.",
"children": [
{
"default_value": "*"
}
]
},
{
"key": "maxage",
"default_value": "0",
"comment": "How long (in seconds) the results of a preflight request can be cached."
}
]
},
{
"key": "mailer",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "Whether to enable the mailer or not. If it is disabled, all users are enabled right away and password reset is not possible."
},
{
"key": "host",
"default_value": "",
"comment": "SMTP Host"
},
{
"key": "port",
"default_value": "587",
"comment": "SMTP Host port.\n**NOTE:** If you're unable to send mail and the only error you see in the logs is an `EOF`, try setting the port to `25`."
},
{
"key": "authtype",
"default_value": "plain",
"comment": "SMTP Auth Type. Can be either `plain`, `login` or `cram-md5`."
},
{
"key": "username",
"default_value": "user",
"comment": "SMTP username"
},
{
"key": "password",
"default_value": "",
"comment": "SMTP password"
},
{
"key": "skiptlsverify",
"default_value": "false",
"comment": "Whether to skip verification of the tls certificate on the server"
},
{
"key": "fromemail",
"default_value": "mail@vikunja",
"comment": "The default from address when sending emails"
},
{
"key": "queuelength",
"default_value": "100",
"comment": "The length of the mail queue."
},
{
"key": "queuetimeout",
"default_value": "30",
"comment": "The timeout in seconds after which the current open connection to the mailserver will be closed."
},
{
"key": "forcessl",
"default_value": "false",
"comment": "By default, Vikunja will try to connect with starttls, use this option to force it to use ssl."
}
]
},
{
"key": "log",
"children": [
{
"key": "path",
"default_value": "\u003crootpath\u003elogs",
"comment": "A folder where all the logfiles should go."
},
{
"key": "enabled",
"default_value": "true",
"comment": "Whether to show any logging at all or none"
},
{
"key": "standard",
"default_value": "stdout",
"comment": "Where the normal log should go. Possible values are stdout, stderr, file or off to disable standard logging."
},
{
"key": "level",
"default_value": "INFO",
"comment": "Change the log level. Possible values (case-insensitive) are CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG."
},
{
"key": "database",
"default_value": "off",
"comment": "Whether or not to log database queries. Useful for debugging. Possible values are stdout, stderr, file or off to disable database logging."
},
{
"key": "databaselevel",
"default_value": "WARNING",
"comment": "The log level for database log messages. Possible values (case-insensitive) are CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG."
},
{
"key": "http",
"default_value": "stdout",
"comment": "Whether to log http requests or not. Possible values are stdout, stderr, file or off to disable http logging."
},
{
"key": "echo",
"default_value": "off",
"comment": "Echo has its own logging which usually is unnecessary, which is why it is disabled by default. Possible values are stdout, stderr, file or off to disable standard logging."
},
{
"key": "events",
"default_value": "off",
"comment": "Whether or not to log events. Useful for debugging. Possible values are stdout, stderr, file or off to disable events logging."
},
{
"key": "eventslevel",
"default_value": "info",
"comment": "The log level for event log messages. Possible values (case-insensitive) are ERROR, INFO, DEBUG."
},
{
"key": "mail",
"default_value": "off",
"comment": "Whether or not to log mail log messages. This will not log mail contents. Possible values are stdout, stderr, file or off to disable mail-related logging."
},
{
"key": "maillevel",
"default_value": "info",
"comment": "The log level for mail log messages. Possible values (case-insensitive) are ERROR, WARNING, INFO, DEBUG."
}
]
},
{
"key": "ratelimit",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "whether or not to enable the rate limit"
},
{
"key": "kind",
"default_value": "user",
"comment": "The kind on which rates are based. Can be either \"user\" for a rate limit per user or \"ip\" for an ip-based rate limit."
},
{
"key": "period",
"default_value": "60",
"comment": "The time period in seconds for the limit"
},
{
"key": "limit",
"default_value": "100",
"comment": "The max number of requests a user is allowed to do in the configured time period"
},
{
"key": "store",
"default_value": "keyvalue",
"comment": "The store where the limit counter for each user is stored.\nPossible values are \"keyvalue\", \"memory\" or \"redis\".\nWhen choosing \"keyvalue\" this setting follows the one configured in the \"keyvalue\" section."
},
{
"key": "noauthlimit",
"default_value": "10",
"comment": "The number of requests a user can make from the same IP to all unauthenticated routes (login, register,\npassword confirmation, email verification, password reset request) per minute. This limit cannot be disabled.\nYou should only change this if you know what you're doing."
}
]
},
{
"key": "files",
"children": [
{
"key": "basepath",
"default_value": "./files",
"comment": "The path where files are stored"
},
{
"key": "maxsize",
"default_value": "20MB",
"comment": "The maximum size of a file, as a human-readable string.\nWarning: The max size is limited 2^64-1 bytes due to the underlying datatype"
}
]
},
{
"key": "migration",
"comment": "To use any of the available migrators, you usually need to configure credentials for the appropriate service and enable it. Find instructions below on how to do this for the provided migrators.",
"children": [
{
"key": "todoist",
"children": [
{
"key": "enable",
"default_value": "false",
"comment": "Wheter to enable the Todoist migrator."
},
{
"key": "clientid",
"default_value": "",
"comment": "The client id, required for making requests to the Todoist api\nYou need to register your Vikunja instance at https://developer.todoist.com/appconsole.html to get this."
},
{
"key": "clientsecret",
"default_value": "",
"comment": "The client secret, also required for making requests to the Todoist api. Obtain it at https://developer.todoist.com/appconsole.html after registering your Vikunja instance."
},
{
"key": "redirecturl",
"default_value": "\u003cservice.publicurl\u003e/migrate/todoist",
"comment": "The url where clients are redirected after they authorized Vikunja to access their Todoist items.\nIn Todoist, this is called `OAuth redirect URL` and it needs to match the url you entered when registering\nyour Vikunja instance at the Todoist developer console.\nWhen using the official Vikunja frontend, set this to `\u003cservice.publicurl\u003e/migrate/todoist` (the default value).\nOtherwise, set this to an url which then makes a request to /api/v1/migration/todoist/migrate\nwith the code obtained from the Todoist api."
}
]
},
{
"key": "trello",
"children": [
{
"key": "enable",
"default_value": "false",
"comment": "Whether to enable the Trello migrator."
},
{
"key": "key",
"default_value": "",
"comment": "The client id, required for making requests to the trello api.\nYou need to register your Vikunja instance at https://trello.com/app-key (log in before you visit that link) to get one. Copy the `Personal Key` and set it as the client id. Add your Vikunja domain to the Allowed Origins list."
},
{
"key": "redirecturl",
"default_value": "\u003cfrontend url\u003e/migrate/trello",
"comment": "The url where clients are redirected after they authorized Vikunja to access their trello cards.\nThis needs to match the url you entered when registering your Vikunja instance at trello.\nWhen using the official Vikunja frontend, set this to `\u003cservice.publicurl\u003e/migrate/trello` (the default value).\nOtherwise, set this to an url which then makes a request to /api/v1/migration/trello/migrate\nwith the code obtained from the Trello api."
}
]
},
{
"key": "microsofttodo",
"children": [
{
"key": "enable",
"default_value": "false",
"comment": "Wheter to enable the Microsoft Todo migrator."
},
{
"key": "clientid",
"default_value": "",
"comment": "The client id, required for making requests to the Microsoft graph api.\nSee https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application\nfor information about how to register your Vikunja instance."
},
{
"key": "clientsecret",
"default_value": "",
"comment": "The client secret, also required for making requests to the Microsoft graph api"
},
{
"key": "redirecturl",
"default_value": "\u003cfrontend url\u003e/migrate/microsoft-todo",
"comment": "The url where clients are redirected after they authorized Vikunja to access their Microsoft todo tasks.\nThis needs to match the url you entered when registering your Vikunja instance at Microsoft.\nWhen using the official Vikunja frontend, set this to `\u003cservice.publicurl\u003e/migrate/microsoft-todo` (the default value).\nOtherwise, set this to an url which then makes a request to /api/v1/migration/microsoft-todo/migrate\nwith the code obtained from the Microsoft Todo api."
}
]
}
]
},
{
"key": "avatar",
"children": [
{
"key": "gravatarexpiration",
"default_value": "3600",
"comment": "When using gravatar, this is the duration in seconds until a cached gravatar user avatar expires"
}
]
},
{
"key": "backgrounds",
"children": [
{
"key": "enabled",
"default_value": "true",
"comment": "Whether to enable backgrounds for projects at all."
},
{
"key": "providers",
"children": [
{
"key": "upload",
"children": [
{
"key": "enabled",
"default_value": "true",
"comment": "Whether to enable uploaded project backgrounds"
}
]
},
{
"key": "unsplash",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "Whether to enable setting backgrounds from unsplash as project backgrounds"
},
{
"key": "accesstoken",
"default_value": "",
"comment": "You need to create an application for your installation at https://unsplash.com/oauth/applications/new\nand set the access token below."
},
{
"key": "applicationid",
"default_value": "",
"comment": "The unsplash application id is only used for pingback and required as per their api guidelines.\nYou can find the Application ID in the dashboard for your API application. It should be a numeric ID.\nIt will only show in the UI if your application has been approved for Enterprise usage, therefore if\nyou’re in Demo mode, you can also find the ID in the URL at the end: https://unsplash.com/oauth/applications/:application_id"
}
]
}
]
}
]
},
{
"key": "legal",
"comment": "Legal urls\nWill be shown in the frontend if configured here",
"children": [
{
"key": "imprinturl",
"default_value": ""
},
{
"key": "privacyurl",
"default_value": ""
}
]
},
{
"key": "keyvalue",
"comment": "Key Value Storage settings\nThe Key Value Storage is used for different kinds of things like metrics and a few cache systems.",
"children": [
{
"key": "type",
"default_value": "memory",
"comment": "The type of the storage backend. Can be either \"memory\" or \"redis\". If \"redis\" is chosen it needs to be configured separately."
}
]
},
{
"key": "auth",
"children": [
{
"key": "local",
"comment": "Local authentication will let users log in and register (if enabled) through the db.\nThis is the default auth mechanism and does not require any additional configuration.",
"children": [
{
"key": "enabled",
"default_value": "true",
"comment": "Enable or disable local authentication"
}
]
},
{
"key": "openid",
"comment": "OpenID configuration will allow users to authenticate through a third-party OpenID Connect compatible provider.\u003cbr/\u003e\nThe provider needs to support the `openid`, `profile` and `email` scopes.\u003cbr/\u003e\n**Note:** Some openid providers (like Gitlab) only make the email of the user available through OpenID if they have set it to be publicly visible.\nIf the email is not public in those cases, authenticating will fail.\u003cbr/\u003e\n**Note 2:** The frontend expects the third party to redirect the user \u003cfrontend-url\u003e/auth/openid/\u003cauth key\u003e after authentication. Please make sure to configure the redirect url in your third party auth service accordingly if you're using the default Vikunja frontend.\nThe frontend will automatically provide the API with the redirect url, composed from the current url where it's hosted.\nIf you want to use the desktop client with OpenID, make sure to allow redirects to `127.0.0.1`.",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "Enable or disable OpenID Connect authentication"
},
{
"key": "providers",
"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",
"default_value": "",
"comment": "The name of the provider as it will appear in the frontend."
},
{
"key": "authurl",
"default_value": "",
"comment": "The auth url to send users to if they want to authenticate using OpenID Connect."
},
{
"key": "logouturl",
"default_value": "",
"comment": "The oidc logouturl that users will be redirected to on logout.\nLeave empty or delete key, if you do not want to be redirected."
},
{
"key": "clientid",
"default_value": "",
"comment": "The client ID used to authenticate Vikunja at the OpenID Connect provider."
},
{
"key": "clientsecret",
"default_value": "",
"comment": "The client secret used to authenticate Vikunja at the OpenID Connect provider."
},
{
"key": "scope",
"default_value": "openid email profile",
"comment": "The scope necessary to use oidc.\nIf you want to use the Feature to create and assign to Vikunja teams via oidc, you have to add the custom \"vikunja_scope\" and check [openid.md](https://vikunja.io/docs/openid/).\ne.g. scope: openid email profile vikunja_scope"
}
]
}
]
}
]
}
]
},
{
"key": "metrics",
"comment": "Prometheus metrics endpoint",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "If set to true, enables a /metrics endpoint for prometheus to collect metrics about Vikunja. You can query it from `/api/v1/metrics`."
},
{
"key": "username",
"default_value": "",
"comment": "If set to a non-empty value the /metrics endpoint will require this as a username via basic auth in combination with the password below."
},
{
"key": "password",
"default_value": "",
"comment": "If set to a non-empty value the /metrics endpoint will require this as a password via basic auth in combination with the username below."
}
]
},
{
"key": "defaultsettings",
"comment": "Provide default settings for new users. When a new user is created, these settings will automatically be set for the user. If you change them in the config file afterwards they will not be changed back for existing users.",
"children": [
{
"key": "avatar_provider",
"default_value": "initials",
"comment": "The avatar source for the user. Can be `gravatar`, `initials`, `upload` or `marble`. If you set this to `upload` you'll also need to specify `defaultsettings.avatar_file_id`."
},
{
"key": "avatar_file_id",
"default_value": "0",
"comment": "The id of the file used as avatar."
},
{
"key": "email_reminders_enabled",
"default_value": "false",
"comment": "If set to true users will get task reminders via email."
},
{
"key": "discoverable_by_name",
"default_value": "false",
"comment": "If set to true will allow other users to find this user when searching for parts of their name."
},
{
"key": "discoverable_by_email",
"default_value": "false",
"comment": "If set to true will allow other users to find this user when searching for their exact email."
},
{
"key": "overdue_tasks_reminders_enabled",
"default_value": "true",
"comment": "If set to true will send an email every day with all overdue tasks at a configured time."
},
{
"key": "overdue_tasks_reminders_time",
"default_value": "9:00",
"comment": "When to send the overdue task reminder email."
},
{
"key": "default_project_id",
"default_value": "0",
"comment": "The id of the default project. Make sure users actually have access to this project when setting this value."
},
{
"key": "week_start",
"default_value": "0",
"comment": "Start of the week for the user. `0` is sunday, `1` is monday and so on."
},
{
"key": "language",
"default_value": "\u003cunset\u003e",
"comment": "The language of the user interface. Must be an ISO 639-1 language code followed by an ISO 3166-1 alpha-2 country code. Check https://kolaente.dev/vikunja/vikunja/frontend/src/branch/main/src/i18n/lang for a list of possible languages. Will default to the browser language the user uses when signing up."
},
{
"key": "timezone",
"default_value": "\u003ctime zone set at service.timezone\u003e",
"comment": "The time zone of each individual user. This will affect when users get reminders and overdue task emails."
}
]
},
{
"key": "webhooks",
"children": [
{
"key": "enabled",
"default_value": "true",
"comment": "Whether to enable support for webhooks"
},
{
"key": "timeoutseconds",
"default_value": "30",
"comment": "The timeout in seconds until a webhook request fails when no response has been received."
},
{
"key": "proxyurl",
"default_value": "",
"comment": "The URL of [a mole instance](https://github.com/frain-dev/mole) to use to proxy outgoing webhook requests. You should use this and configure appropriately if you're not the only one using your Vikunja instance. More info about why: https://webhooks.fyi/best-practices/webhook-providers#implement-security-on-egress-communication. Must be used in combination with `webhooks.password` (see below)."
},
{
"key": "proxypassword",
"default_value": "",
"comment": "The proxy password to use when authenticating against the proxy."
}
]
},
{
"key": "autotls",
"children": [
{
"key": "enabled",
"default_value": "false",
"comment": "If set to true, Vikunja will automatically request a TLS certificate from Let's Encrypt and use it to serve Vikunja over TLS. By enabling this option, you agree to Let's Encrypt's TOS.\nYou must configure a `service.publicurl` with a valid TLD where Vikunja is reachable to make this work. Furthermore, it is reccomened to set `service.interface` to `:443` if you're using this."
},
{
"key": "email",
"default_value": "",
"comment": "A valid email address which will be used to register certificates with Let's Encrypt. You must provide this value in order to use autotls."
},
{
"key": "renewbefore",
"default_value": "30d",
"comment": "A duration when certificates should be renewed before they expire. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`."
}
]
}
]
}
-377
View File
@@ -1,377 +0,0 @@
service:
# This token is used to verify issued JWT tokens.
# Default is a random token which will be generated at each startup of Vikunja.
# (This means all already issued tokens will be invalid once you restart Vikunja)
JWTSecret: "<jwt-secret>"
# The duration of the issued JWT tokens in seconds.
# The default is 259200 seconds (3 Days).
jwtttl: 259200
# The duration of the "remember me" time in seconds. When the login request is made with
# the long param set, the token returned will be valid for this period.
# The default is 2592000 seconds (30 Days).
jwtttllong: 2592000
# The interface on which to run the webserver
interface: ":3456"
# Path to Unix socket. If set, it will be created and used instead of tcp
unixsocket:
# Permission bits for the Unix socket. Note that octal values must be prefixed by "0o", e.g. 0o660
unixsocketmode:
# The public facing URL where your users can reach Vikunja. Used in emails and for the communication between api and frontend.
publicurl: ""
# The base path on the file system where the binary and assets are.
# Vikunja will also look in this path for a config file, so you could provide only this variable to point to a folder
# with a config file which will then be used.
rootpath: <rootpath>
# The max number of items which can be returned per page
maxitemsperpage: 50
# Enable the caldav endpoint, see the docs for more details
enablecaldav: true
# Set the motd message, available from the /info endpoint
motd: ""
# Enable sharing of project via a link
enablelinksharing: true
# Whether to let new users registering themselves or not
enableregistration: true
# Whether to enable task attachments or not
enabletaskattachments: true
# The time zone all timestamps are in. Please note that time zones have to use [the official tz database names](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). UTC or GMT offsets won't work.
timezone: GMT
# Whether task comments should be enabled or not
enabletaskcomments: true
# Whether totp is enabled. In most cases you want to leave that enabled.
enabletotp: true
# If not empty, this will enable `/test/{table}` endpoints which allow to put any content in the database.
# Used to reset the db before frontend tests. Because this is quite a dangerous feature allowing for lots of harm,
# each request made to this endpoint needs to provide an `Authorization: <token>` header with the token from below. <br/>
# **You should never use this unless you know exactly what you're doing**
testingtoken: ''
# If enabled, Vikunja will send an email to everyone who is either assigned to a task or created it when a task reminder
# is due.
enableemailreminders: true
# If true, will allow users to request the complete deletion of their account. When using external authentication methods
# it may be required to coordinate with them in order to delete the account. This setting will not affect the cli commands
# for user deletion.
enableuserdeletion: true
# The maximum size clients will be able to request for user avatars.
# If clients request a size bigger than this, it will be changed on the fly.
maxavatarsize: 1024
# If set to true, the frontend will show a big red warning not to use this instance for real data as it will be cleared out.
# You probably don't need to set this value, it was created specifically for usage on [try](https://try.vikunja.io).
demomode: false
# Allow changing the logo and other icons based on various occasions throughout the year.
allowiconchanges: true
# Allow using a custom logo via external URL.
customlogourl: ''
# Enables the public team feature. If enabled, it is possible to configure teams to be public, which makes them
# discoverable when sharing a project, therefore not only showing teams the user is member of.
enablepublicteams: false
sentry:
# If set to true, enables anonymous error tracking of api errors via Sentry. This allows us to gather more
# information about errors in order to debug and fix it.
enabled: false
# Configure the Sentry dsn used for api error tracking. Only used when Sentry is enabled for the api.
dsn: "https://440eedc957d545a795c17bbaf477497c@o1047380.ingest.sentry.io/4504254983634944"
# If set to true, enables anonymous error tracking of frontend errors via Sentry. This allows us to gather more
# information about errors in order to debug and fix it.
frontendenabled: false
# Configure the Sentry dsn used for frontend error tracking. Only used when Sentry is enabled for the frontend.
frontenddsn: "https://85694a2d757547cbbc90cd4b55c5a18d@o1047380.ingest.sentry.io/6024480"
database:
# Database type to use. Supported values are mysql, postgres and sqlite. Vikunja is able to run with MySQL 8.0+, Mariadb 10.2+, PostgreSQL 12+, and sqlite.
type: "sqlite"
# Database user which is used to connect to the database.
user: "vikunja"
# Database password
password: ""
# Database host
host: "localhost"
# Database to use
database: "vikunja"
# When using sqlite, this is the path where to store the data
path: "./vikunja.db"
# Sets the max open connections to the database. Only used when using mysql and postgres.
maxopenconnections: 100
# Sets the maximum number of idle connections to the db.
maxidleconnections: 50
# The maximum lifetime of a single db connection in milliseconds.
maxconnectionlifetime: 10000
# Secure connection mode. Only used with postgres.
# (see https://pkg.go.dev/github.com/lib/pq?tab=doc#hdr-Connection_String_Parameters)
sslmode: disable
# The path to the client cert. Only used with postgres.
sslcert: ""
# The path to the client key. Only used with postgres.
sslkey: ""
# The path to the ca cert. Only used with postgres.
sslrootcert: ""
# Enable SSL/TLS for mysql connections. Options: false, true, skip-verify, preferred
tls: false
typesense:
# Whether to enable the Typesense integration. If true, all tasks will be synced to the configured Typesense
# instance and all search and filtering will run through Typesense instead of only through the database.
# Typesense allows fast fulltext search including fuzzy matching support. It may return different results than
# what you'd get with a database-only search.
enabled: false
# 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.
url: ''
# The Typesense API key you want to use.
apikey: ''
redis:
# Whether to enable redis or not
enabled: false
# The host of the redis server including its port.
host: 'localhost:6379'
# The password used to authenticate against the redis server
password: ''
# 0 means default database
db: 0
cors:
# Whether to enable or disable cors headers.
# Note: If you want to put the frontend and the api on separate domains or ports, you will need to enable this.
# Otherwise the frontend won't be able to make requests to the api through the browser.
enable: false
# A list of origins which may access the api. These need to include the protocol (`http://` or `https://`) and port, if any.
origins:
- "*"
# How long (in seconds) the results of a preflight request can be cached.
maxage: 0
mailer:
# Whether to enable the mailer or not. If it is disabled, all users are enabled right away and password reset is not possible.
enabled: false
# SMTP Host
host: ""
# SMTP Host port.
# **NOTE:** If you're unable to send mail and the only error you see in the logs is an `EOF`, try setting the port to `25`.
port: 587
# SMTP Auth Type. Can be either `plain`, `login` or `cram-md5`.
authtype: "plain"
# SMTP username
username: "user"
# SMTP password
password: ""
# Whether to skip verification of the tls certificate on the server
skiptlsverify: false
# The default from address when sending emails
fromemail: "mail@vikunja"
# The length of the mail queue.
queuelength: 100
# The timeout in seconds after which the current open connection to the mailserver will be closed.
queuetimeout: 30
# By default, Vikunja will try to connect with starttls, use this option to force it to use ssl.
forcessl: false
log:
# A folder where all the logfiles should go.
path: <rootpath>logs
# Whether to show any logging at all or none
enabled: true
# Where the normal log should go. Possible values are stdout, stderr, file or off to disable standard logging.
standard: "stdout"
# Change the log level. Possible values (case-insensitive) are CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG.
level: "INFO"
# Whether or not to log database queries. Useful for debugging. Possible values are stdout, stderr, file or off to disable database logging.
database: "off"
# The log level for database log messages. Possible values (case-insensitive) are CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG.
databaselevel: "WARNING"
# Whether to log http requests or not. Possible values are stdout, stderr, file or off to disable http logging.
http: "stdout"
# Echo has its own logging which usually is unnecessary, which is why it is disabled by default. Possible values are stdout, stderr, file or off to disable standard logging.
echo: "off"
# Whether or not to log events. Useful for debugging. Possible values are stdout, stderr, file or off to disable events logging.
events: "off"
# The log level for event log messages. Possible values (case-insensitive) are ERROR, INFO, DEBUG.
eventslevel: "info"
# Whether or not to log mail log messages. This will not log mail contents. Possible values are stdout, stderr, file or off to disable mail-related logging.
mail: "off"
# The log level for mail log messages. Possible values (case-insensitive) are ERROR, WARNING, INFO, DEBUG.
maillevel: "info"
ratelimit:
# whether or not to enable the rate limit
enabled: false
# The kind on which rates are based. Can be either "user" for a rate limit per user or "ip" for an ip-based rate limit.
kind: user
# The time period in seconds for the limit
period: 60
# The max number of requests a user is allowed to do in the configured time period
limit: 100
# The store where the limit counter for each user is stored.
# Possible values are "keyvalue", "memory" or "redis".
# When choosing "keyvalue" this setting follows the one configured in the "keyvalue" section.
store: keyvalue
# The number of requests a user can make from the same IP to all unauthenticated routes (login, register,
# password confirmation, email verification, password reset request) per minute. This limit cannot be disabled.
# You should only change this if you know what you're doing.
noauthlimit: 10
files:
# The path where files are stored
basepath: ./files # relative to the binary
# The maximum size of a file, as a human-readable string.
# Warning: The max size is limited 2^64-1 bytes due to the underlying datatype
maxsize: 20MB
migration:
todoist:
# Wheter to enable the todoist migrator or not
enable: false
# The client id, required for making requests to the todoist api
# You need to register your Vikunja instance at https://developer.todoist.com/appconsole.html to get this
clientid:
# The client secret, also required for making requests to the todoist api
clientsecret:
# The url where clients are redirected after they authorized Vikunja to access their Todoist items.
# In Todoist, this is called `OAuth redirect URL` and it needs to match the url you entered when registering
# your Vikunja instance at the Todoist developer console.
# When using the official Vikunja frontend, set this to <service.publicurl>/migrate/todoist.
# Otherwise, set this to an url which then makes a request to /api/v1/migration/todoist/migrate
# with the code obtained from the todoist api.
redirecturl: <service.publicurl>/migrate/todoist
trello:
# Whether to enable the trello migrator or not
enable: false
# The client id, required for making requests to the trello api
# You need to register your Vikunja instance at https://trello.com/app-key (log in before you visit that link) to get this
key:
# The url where clients are redirected after they authorized Vikunja to access their trello cards.
# This needs to match the url you entered when registering your Vikunja instance at trello.
# This is usually the frontend url where the frontend then makes a request to /migration/trello/migrate
# with the code obtained from the trello api.
# Note that the Vikunja frontend expects this to end on /migrate/trello.
redirecturl: <frontend url>/migrate/trello
microsofttodo:
# Wheter to enable the microsoft todo migrator or not
enable: false
# The client id, required for making requests to the microsoft graph api
# See https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application
# for information about how to register your Vikunja instance.
clientid:
# The client secret, also required for making requests to the microsoft graph api
clientsecret:
# The url where clients are redirected after they authorized Vikunja to access their microsoft todo tasks.
# This needs to match the url you entered when registering your Vikunja instance at microsoft.
# This is usually the frontend url where the frontend then makes a request to /migration/microsoft-todo/migrate
# with the code obtained from the microsoft graph api.
# Note that the Vikunja frontend expects this to be /migrate/microsoft-todo
redirecturl: <frontend url>/migrate/microsoft-todo
avatar:
# When using gravatar, this is the duration in seconds until a cached gravatar user avatar expires
gravatarexpiration: 3600
backgrounds:
# Whether to enable backgrounds for projects at all.
enabled: true
providers:
upload:
# Whether to enable uploaded project backgrounds
enabled: true
unsplash:
# Whether to enable setting backgrounds from unsplash as project backgrounds
enabled: false
# You need to create an application for your installation at https://unsplash.com/oauth/applications/new
# and set the access token below.
accesstoken:
# The unsplash application id is only used for pingback and required as per their api guidelines.
# You can find the Application ID in the dashboard for your API application. It should be a numeric ID.
# It will only show in the UI if your application has been approved for Enterprise usage, therefore if
# you’re in Demo mode, you can also find the ID in the URL at the end: https://unsplash.com/oauth/applications/:application_id
applicationid:
# Legal urls
# Will be shown in the frontend if configured here
legal:
imprinturl:
privacyurl:
# Key Value Storage settings
# The Key Value Storage is used for different kinds of things like metrics and a few cache systems.
keyvalue:
# The type of the storage backend. Can be either "memory" or "redis". If "redis" is chosen it needs to be configured separately.
type: "memory"
auth:
# Local authentication will let users log in and register (if enabled) through the db.
# This is the default auth mechanism and does not require any additional configuration.
local:
# Enable or disable local authentication
enabled: true
# OpenID configuration will allow users to authenticate through a third-party OpenID Connect compatible provider.<br/>
# The provider needs to support the `openid`, `profile` and `email` scopes.<br/>
# **Note:** Some openid providers (like Gitlab) only make the email of the user available through OpenID if they have set it to be publicly visible.
# If the email is not public in those cases, authenticating will fail.
# +**Note 2:** The frontend expects the third party to redirect the user <frontend-url>/auth/openid/<auth key> after authentication. Please make sure to configure the redirect url in your third party auth service accordingly if you're using the default Vikunja frontend.
# The frontend will automatically provide the API with the redirect url, composed from the current url where it's hosted.
# If you want to use the desktop client with OpenID, make sure to allow redirects to `127.0.0.1`.
# Take a look at the [default config file](https://kolaente.dev/vikunja/vikunja/src/branch/main/config.yml.sample) for more information about how to configure openid authentication.
openid:
# Enable or disable OpenID Connect authentication
enabled: false
# A list of enabled providers
providers:
# The name of the provider as it will appear in the frontend.
- name:
# The auth url to send users to if they want to authenticate using OpenID Connect.
authurl:
# The oidc logouturl that users will be redirected to on logout.
# Leave empty or delete key, if you do not want to be redirected.
logouturl:
# The client ID used to authenticate Vikunja at the OpenID Connect provider.
clientid:
# The client secret used to authenticate Vikunja at the OpenID Connect provider.
clientsecret:
# The scope necessary to use oidc.
# If you want to use the Feature to create and assign to Vikunja teams via oidc, you have to add the custom "vikunja_scope" and check [openid.md](https://vikunja.io/docs/openid/).
# e.g. scope: openid email profile vikunja_scope
scope: openid email profile
# Prometheus metrics endpoint
metrics:
# If set to true, enables a /metrics endpoint for prometheus to collect metrics about Vikunja. You can query it from `/api/v1/metrics`.
enabled: false
# If set to a non-empty value the /metrics endpoint will require this as a username via basic auth in combination with the password below.
username:
# If set to a non-empty value the /metrics endpoint will require this as a password via basic auth in combination with the username below.
password:
# Provide default settings for new users. When a new user is created, these settings will automatically be set for the user. If you change them in the config file afterwards they will not be changed back for existing users.
defaultsettings:
# The avatar source for the user. Can be `gravatar`, `initials`, `upload` or `marble`. If you set this to `upload` you'll also need to specify `defaultsettings.avatar_file_id`.
avatar_provider: initials
# The id of the file used as avatar.
avatar_file_id: 0
# If set to true users will get task reminders via email.
email_reminders_enabled: false
# If set to true will allow other users to find this user when searching for parts of their name.
discoverable_by_name: false
# If set to true will allow other users to find this user when searching for their exact email.
discoverable_by_email: false
# If set to true will send an email every day with all overdue tasks at a configured time.
overdue_tasks_reminders_enabled: true
# When to send the overdue task reminder email.
overdue_tasks_reminders_time: 9:00
# The id of the default project. Make sure users actually have access to this project when setting this value.
default_project_id: 0
# Start of the week for the user. `0` is sunday, `1` is monday and so on.
week_start: 0
# The language of the user interface. Must be an ISO 639-1 language code followed by an ISO 3166-1 alpha-2 country code. Check https://kolaente.dev/vikunja/vikunja/frontend/src/branch/main/src/i18n/lang for a list of possible languages. Will default to the browser language the user uses when signing up.
language: <unset>
# The time zone of each individual user. This will affect when users get reminders and overdue task emails.
timezone: <time zone set at service.timezone>
webhooks:
# Whether to enable support for webhooks
enabled: true
# The timeout in seconds until a webhook request fails when no response has been received.
timeoutseconds: 30
# The URL of [a mole instance](https://github.com/frain-dev/mole) to use to proxy outgoing webhook requests. You should use this and configure appropriately if you're not the only one using your Vikunja instance. More info about why: https://webhooks.fyi/best-practices/webhook-providers#implement-security-on-egress-communication. Must be used in combination with `webhooks.password` (see below).
proxyurl:
# The proxy password to use when authenticating against the proxy.
proxypassword:
+3 -3
View File
@@ -51,11 +51,11 @@
}
},
"devDependencies": {
"electron": "29.4.6",
"electron-builder": "24.13.3"
"electron": "34.0.0",
"electron-builder": "25.1.8"
},
"dependencies": {
"connect-history-api-fallback": "2.0.0",
"express": "4.21.0"
"express": "4.21.2"
}
}
+1022 -77
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": {
+9
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
@@ -29,4 +33,9 @@ in {
enable = true;
};
};
services.mailpit = {
enable = true;
package = pkgs-unstable.mailpit;
};
}
-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/*',
],
}
+2
View File
@@ -11,6 +11,8 @@ stats.html
node_modules
.DS_Store
dist
dist-dev
dist-test
coverage
*.zip
.vite/
+1 -1
View File
@@ -1 +1 @@
20.16.0
22.13.0
+2 -18
View File
@@ -2,30 +2,14 @@
> The todo app to organize your life.
[![Build Status](https://drone.kolaente.de/api/badges/vikunja/vikunja/status.svg)](https://drone.kolaente.de/vikunja/vikunja)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](LICENSE)
[![Download](https://img.shields.io/badge/download-v0.22.1-brightgreen.svg)](https://dl.vikunja.io)
[![Translation](https://badges.crowdin.net/vikunja/localized.svg)](https://crowdin.com/project/vikunja)
This is the web frontend for Vikunja, written in Vue.js.
Take a look at [our roadmap](https://my.vikunja.cloud/share/UrdhKPqumxDXUbYpEGJLSIyNTwAnbBzVlwdDpRbv/auth) (hosted on Vikunja!) for a list of things we're currently working on!
## Security Reports
If you find any security-related issues you don't want to disclose publicly, please use [the contact information on our website](https://vikunja.io/contact/#security).
## Docker
There is a [docker image available](https://hub.docker.com/r/vikunja/vikunja) with support for http/2 and aggressive caching enabled.
In order to build it from sources run the command below. (Docker >= v19.03)
```shell
export DOCKER_BUILDKIT=1
docker build -t vikunja/frontend .
```
Refer to [multi-platform documentation](https://docs.docker.com/build/building/multi-platform/) in order to build for different platforms.
For general information about the project, refer to the top-level readme of this repo.
## Project setup
@@ -36,7 +20,7 @@ pnpm install
### Compiles and hot-reloads for development
```shell
pnpm run serve
pnpm run dev
```
### Compiles and minifies for production
+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',
+1 -9
View File
@@ -1,9 +1 @@
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
}
declare module 'postcss-easing-gradients';
+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/*',
// ],
},
]
+73 -93
View File
@@ -13,7 +13,7 @@
},
"homepage": "https://vikunja.io/",
"funding": "https://opencollective.com/vikunja",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.15.4",
"keywords": [
"todo",
"productivity",
@@ -30,8 +30,7 @@
"preview:dev": "vite preview --outDir dist-dev --mode development --port 4173",
"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:test": "vite build --outDir dist-test && workbox copyLibraries dist-test/",
"build:dev": "vite build --mode development --outDir dist-dev/",
"lint": "eslint 'src/**/*.{js,ts,vue}'",
"lint:fix": "pnpm run lint --fix",
@@ -50,132 +49,113 @@
"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.3.0",
"@sentry/tracing": "7.114.0",
"@sentry/vue": "8.32.0",
"@tiptap/core": "2.7.4",
"@tiptap/extension-blockquote": "2.7.4",
"@tiptap/extension-bold": "2.7.4",
"@tiptap/extension-bullet-list": "2.7.4",
"@tiptap/extension-code": "2.7.4",
"@tiptap/extension-code-block": "2.7.4",
"@tiptap/extension-code-block-lowlight": "2.7.4",
"@tiptap/extension-document": "2.7.4",
"@tiptap/extension-dropcursor": "2.7.4",
"@tiptap/extension-gapcursor": "2.7.4",
"@tiptap/extension-hard-break": "2.7.4",
"@tiptap/extension-heading": "2.7.4",
"@tiptap/extension-history": "2.7.4",
"@tiptap/extension-horizontal-rule": "2.7.4",
"@tiptap/extension-image": "2.7.4",
"@tiptap/extension-italic": "2.7.4",
"@tiptap/extension-link": "2.7.4",
"@tiptap/extension-list-item": "2.7.4",
"@tiptap/extension-ordered-list": "2.7.4",
"@tiptap/extension-paragraph": "2.7.4",
"@tiptap/extension-placeholder": "2.7.4",
"@tiptap/extension-strike": "2.7.4",
"@tiptap/extension-table": "2.7.4",
"@tiptap/extension-table-cell": "2.7.4",
"@tiptap/extension-table-header": "2.7.4",
"@tiptap/extension-table-row": "2.7.4",
"@tiptap/extension-task-item": "2.7.4",
"@tiptap/extension-task-list": "2.7.4",
"@tiptap/extension-text": "2.7.4",
"@tiptap/extension-typography": "2.7.4",
"@tiptap/extension-underline": "2.7.4",
"@tiptap/pm": "2.7.4",
"@tiptap/suggestion": "2.7.4",
"@tiptap/vue-3": "2.7.4",
"@vueuse/core": "11.1.0",
"@vueuse/router": "11.1.0",
"axios": "1.7.7",
"@intlify/unplugin-vue-i18n": "6.0.3",
"@kyvg/vue3-notification": "3.4.1",
"@sentry/tracing": "7.120.3",
"@sentry/vue": "8.50.0",
"@tiptap/core": "2.11.2",
"@tiptap/extension-code-block": "2.11.2",
"@tiptap/extension-code-block-lowlight": "2.11.2",
"@tiptap/extension-hard-break": "2.11.2",
"@tiptap/extension-image": "2.11.2",
"@tiptap/extension-link": "2.11.2",
"@tiptap/extension-placeholder": "2.11.2",
"@tiptap/extension-table": "2.11.2",
"@tiptap/extension-table-cell": "2.11.2",
"@tiptap/extension-table-header": "2.11.2",
"@tiptap/extension-table-row": "2.11.2",
"@tiptap/extension-task-item": "2.11.2",
"@tiptap/extension-task-list": "2.11.2",
"@tiptap/extension-typography": "2.11.2",
"@tiptap/extension-underline": "2.11.2",
"@tiptap/pm": "2.11.2",
"@tiptap/starter-kit": "2.11.2",
"@tiptap/suggestion": "2.11.2",
"@tiptap/vue-3": "2.11.2",
"@vueuse/core": "12.4.0",
"@vueuse/router": "12.4.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",
"floating-vue": "5.2.2",
"is-touch-device": "1.0.1",
"klona": "2.0.6",
"lowlight": "2.9.0",
"pinia": "2.2.2",
"lowlight": "3.3.0",
"pinia": "2.3.0",
"register-service-worker": "1.7.2",
"sortablejs": "1.15.3",
"tailwindcss": "3.4.13",
"sortablejs": "1.15.6",
"tailwindcss": "3.4.17",
"tippy.js": "6.3.7",
"ufo": "1.5.4",
"vue": "3.5.10",
"vue": "3.5.13",
"vue-advanced-cropper": "2.8.9",
"vue-flatpickr-component": "11.0.5",
"vue-i18n": "10.0.3",
"vue-router": "4.4.5",
"vuemoji-picker": "0.3.1",
"workbox-precaching": "7.1.0",
"vue-i18n": "11.0.1",
"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/vue": "6.0.1",
"@faker-js/faker": "8.4.1",
"@cypress/vite-dev-server": "6.0.1",
"@cypress/vue": "6.0.2",
"@faker-js/faker": "9.4.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/node24": "24.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.10",
"@types/node": "22.10.7",
"@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.20.0",
"@typescript-eslint/parser": "8.20.0",
"@vitejs/plugin-vue": "5.2.1",
"@vue/eslint-config-typescript": "14.3.0",
"@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.30001664",
"browserslist": "4.24.4",
"caniuse-lite": "1.0.30001695",
"csstype": "3.1.3",
"cypress": "13.15.0",
"esbuild": "0.24.0",
"eslint": "8.57.1",
"eslint-plugin-vue": "9.28.0",
"happy-dom": "14.12.3",
"cypress": "14.0.0",
"esbuild": "0.24.2",
"eslint": "9.18.0",
"eslint-plugin-vue": "9.32.0",
"happy-dom": "16.6.0",
"histoire": "0.17.17",
"postcss": "8.4.47",
"postcss": "8.5.1",
"postcss-easing-gradients": "3.0.1",
"postcss-easings": "4.0.0",
"postcss-preset-env": "9.6.0",
"rollup": "4.22.5",
"rollup-plugin-visualizer": "5.12.0",
"sass": "1.79.4",
"start-server-and-test": "2.0.8",
"typescript": "5.6.2",
"unplugin-inject-preload": "2.0.5",
"vite": "5.4.8",
"vite-plugin-pwa": "0.20.5",
"postcss-preset-env": "10.1.3",
"rollup": "4.30.1",
"rollup-plugin-visualizer": "5.14.0",
"sass-embedded": "1.83.4",
"start-server-and-test": "2.0.10",
"typescript": "5.7.3",
"unplugin-inject-preload": "3.0.0",
"vite": "6.0.7",
"vite-plugin-pwa": "0.21.1",
"vite-plugin-sentry": "1.4.0",
"vite-plugin-vue-devtools": "7.7.0",
"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": "3.0.2",
"vue-tsc": "2.2.0",
"wait-on": "8.0.2",
"workbox-cli": "7.3.0"
},
"pnpm": {
"patchedDependencies": {
+4050 -3361
View File
File diff suppressed because it is too large Load Diff
+5 -9
View File
@@ -1,10 +1,10 @@
<template>
<Ready>
<template v-if="authUser">
<template v-if="authStore.authUser">
<AppHeader />
<ContentAuth />
</template>
<ContentLinkShare v-else-if="authLinkShare" />
<ContentLinkShare v-else-if="authStore.authLinkShare" />
<NoAuthWrapper v-else>
<RouterView />
</NoAuthWrapper>
@@ -49,17 +49,15 @@ import DemoMode from '@/components/home/DemoMode.vue'
const importAccountDeleteService = () => import('@/services/accountDelete')
import {success} from '@/message'
const baseStore = useBaseStore()
const authStore = useAuthStore()
const baseStore = useBaseStore()
const router = useRouter()
const route = useRoute()
useBodyClass('is-touch', isTouchDevice())
const keyboardShortcutsActive = computed(() => baseStore.keyboardShortcutsActive)
const authUser = computed(() => authStore.authUser)
const authLinkShare = computed(() => authStore.authLinkShare)
const {t} = useI18n({useScope: 'global'})
// setup account deletion verification
@@ -102,6 +100,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">
@@ -112,7 +112,7 @@ import Popup from '@/components/misc/Popup.vue'
import {DATE_RANGES} from '@/components/date/dateRanges'
import BaseButton from '@/components/base/BaseButton.vue'
import DatemathHelp from '@/components/date/DatemathHelp.vue'
import {getFlatpickrLanguage} from '@/helpers/flatpickrLanguage'
import {useFlatpickrLanguage} from '@/helpers/useFlatpickrLanguage'
const props = defineProps<{
modelValue: {
@@ -137,7 +137,7 @@ const flatPickerConfig = computed(() => ({
enableTime: false,
wrap: true,
mode: 'range',
locale: getFlatpickrLanguage(),
locale: useFlatpickrLanguage().value,
}))
const showHowItWorks = ref(false)
@@ -89,7 +89,7 @@ import Popup from '@/components/misc/Popup.vue'
import {DATE_VALUES} from '@/components/date/dateRanges'
import BaseButton from '@/components/base/BaseButton.vue'
import DatemathHelp from '@/components/date/DatemathHelp.vue'
import {getFlatpickrLanguage} from '@/helpers/flatpickrLanguage'
import {useFlatpickrLanguage} from '@/helpers/useFlatpickrLanguage'
const props = withDefaults(defineProps<{
modelValue: string | Date | null,
@@ -112,7 +112,7 @@ const flatPickerConfig = computed(() => ({
dateFormat: 'Y-m-d H:i',
enableTime: false,
wrap: true,
locale: getFlatpickrLanguage(),
locale: useFlatpickrLanguage().value,
}))
const showHowItWorks = ref(false)
@@ -25,6 +25,7 @@
</h1>
<BaseButton
v-if="!isEditorContentEmpty(currentProject.description)"
:to="{ name: 'project.info', params: { projectId: currentProject.id } }"
class="project-title-button"
>
@@ -124,6 +125,7 @@ import MenuButton from '@/components/home/MenuButton.vue'
import OpenQuickActions from '@/components/misc/OpenQuickActions.vue'
import { getProjectTitle } from '@/helpers/getProjectTitle'
import { isEditorContentEmpty } from '@/helpers/editorContentEmpty'
import { useBaseStore } from '@/stores/base'
import { useConfigStore } from '@/stores/config'
@@ -21,7 +21,7 @@
</h1>
<div class="box has-text-left view">
<RouterView />
<PoweredByLink />
<PoweredByLink utm-medium="link_share" />
</div>
</div>
</div>
+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;
+4 -1
View File
@@ -109,7 +109,10 @@
</nav>
</template>
<PoweredByLink class="mt-auto" />
<PoweredByLink
class="mt-auto"
utm-medium="navigation"
/>
</aside>
</template>
@@ -1,7 +1,7 @@
<template>
<BaseButton
class="menu-bottom-link"
:href="poweredByUrl"
:href="computedUrl"
target="_blank"
>
{{ $t('misc.poweredBy') }}
@@ -9,8 +9,15 @@
</template>
<script setup lang="ts">
import {computed} from 'vue'
import BaseButton from '@/components/base/BaseButton.vue'
import {POWERED_BY as poweredByUrl} from '@/urls'
const props = defineProps<{
utmMedium: string;
}>()
const computedUrl = computed(() => `${poweredByUrl}&utm_medium=${props.utmMedium}`)
</script>
<style lang="scss">
@@ -25,7 +25,7 @@
/>
<div
class="color-bubble-handle-wrapper"
:class="{'is-draggable': project.id > 0}"
:class="{'is-draggable': project.id > 0 && project.maxRight > RIGHTS.READ}"
>
<ColorBubble
v-if="project.hexColor !== ''"
@@ -38,7 +38,7 @@
<Icon icon="filter" />
</span>
<span
v-if="project.id > 0"
v-if="project.id > 0 && project.maxRight > RIGHTS.READ"
class="icon menu-item-icon handle"
:class="{'has-color-bubble': project.hexColor !== ''}"
>
@@ -48,7 +48,7 @@
<span class="project-menu-title">{{ getProjectTitle(project) }}</span>
</BaseButton>
<BaseButton
v-if="project.id > 0"
v-if="project.id > 0 && project.maxRight > RIGHTS.READ"
class="favorite"
:class="{'is-favorite': project.isFavorite}"
@click="projectStore.toggleProjectFavorite(project)"
@@ -56,6 +56,7 @@
<Icon :icon="project.isFavorite ? 'star' : ['far', 'star']" />
</BaseButton>
<ProjectSettingsDropdown
v-if="project.maxRight > RIGHTS.READ"
class="menu-list-dropdown"
:project="project"
>
@@ -94,6 +95,7 @@ import ProjectSettingsDropdown from '@/components/project/ProjectSettingsDropdow
import {getProjectTitle} from '@/helpers/getProjectTitle'
import ColorBubble from '@/components/misc/ColorBubble.vue'
import ProjectsNavigation from '@/components/home/ProjectsNavigation.vue'
import {RIGHTS} from '@/constants/rights'
const props = defineProps<{
project: IProject,
@@ -82,7 +82,7 @@ import {calculateDayInterval} from '@/helpers/time/calculateDayInterval'
import {calculateNearestHours} from '@/helpers/time/calculateNearestHours'
import {createDateFromString} from '@/helpers/time/createDateFromString'
import {useI18n} from 'vue-i18n'
import {getFlatpickrLanguage} from '@/helpers/flatpickrLanguage'
import {useFlatpickrLanguage} from '@/helpers/useFlatpickrLanguage'
const props = withDefaults(defineProps<{
modelValue: Date | null | string
@@ -114,7 +114,7 @@ const flatPickerConfig = computed(() => ({
enableTime: true,
time_24hr: true,
inline: true,
locale: getFlatpickrLanguage(),
locale: useFlatpickrLanguage().value,
}))
// Since flatpickr dates are strings, we need to convert them to native date objects.
+12 -21
View File
@@ -123,7 +123,7 @@
</div>
</template>
<script setup lang="ts">
<script setup lang="ts" generic="T extends { [id: string]: any }">
import {computed, onBeforeUnmount, onMounted, ref, toRefs, watch, type ComponentPublicInstance} from 'vue'
import {useI18n} from 'vue-i18n'
@@ -134,15 +134,13 @@ import CustomTransition from '@/components/misc/CustomTransition.vue'
const props = withDefaults(defineProps<{
/** The object with the value, updated every time an entry is selected */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
modelValue: { [id: string]: any } | null
modelValue: T | T[] | null,
/** When true, shows a loading spinner */
loading?: boolean
/** The placeholder of the search input */
placeholder?: string
/** The search results where the @search listener needs to put the results into */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
searchResults?: { [id: string]: any }[]
searchResults?: T[]
/** The name of the property of the searched object to show the user. If empty the component will show all raw data of an entry */
label?: string
/** The id attribute of the input element */
@@ -188,8 +186,7 @@ const props = withDefaults(defineProps<{
})
const emit = defineEmits<{
// eslint-disable-next-line @typescript-eslint/no-explicit-any
'update:modelValue': [value: { [key: string]: any }[] | null],
'update:modelValue': [value: T | T[] | null],
/**
* Triggered every time the search query input changes
*/
@@ -197,8 +194,7 @@ const emit = defineEmits<{
/**
* Triggered every time an option from the search results is selected. Also triggers a change in v-model.
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
'select': [value: { [key: string]: any }],
'select': [value: T],
/**
* If nothing or no exact match was found and `creatable` is true, this event is triggered with the current value of the search query.
*/
@@ -206,8 +202,7 @@ const emit = defineEmits<{
/**
* If `multiple` is enabled, this will be fired every time an item is removed from the array of selected items.
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
'remove': [value: { [key: string]: any }],
'remove': [value: T],
}>()
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -220,13 +215,12 @@ function elementInResults(elem: string | any, label: string, query: string): boo
return elem === query
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const query = ref<string | { [key: string]: any }>('')
const query = ref<string | T>('')
const searchTimeout = ref<ReturnType<typeof setTimeout> | null>(null)
const localLoading = ref(false)
const showSearchResults = ref(false)
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const internalValue = ref<string | { [key: string]: any } | any[] | null>(null)
const internalValue = ref<string | T | T[] | null>(null)
onMounted(() => document.addEventListener('click', hideSearchResultsHandler))
onBeforeUnmount(() => document.removeEventListener('click', hideSearchResultsHandler))
@@ -325,15 +319,13 @@ function handleFocus() {
}, 10)
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function select(object: { [key: string]: any } | null) {
function select(object: T | null) {
if (props.multiple) {
if (internalValue.value === null) {
internalValue.value = []
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(internalValue.value as any[]).push(object)
internalValue.value.push(object)
} else {
internalValue.value = object
}
@@ -346,8 +338,7 @@ function select(object: { [key: string]: any } | null) {
}
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setSelectedObject(object: string | { [id: string]: any } | null, resetOnly = false) {
function setSelectedObject(object: string | T | null, resetOnly = false) {
internalValue.value = object
// We assume we're getting an array when multiple is enabled and can therefore leave the query
+40 -58
View File
@@ -17,7 +17,7 @@
v-tooltip="$t('input.editor.bold')"
class="editor-bubble__button"
:class="{ 'is-active': editor.isActive('bold') }"
@click="editor.chain().focus().toggleBold().run()"
@click="() => editor?.chain().focus().toggleBold().run()"
>
<Icon :icon="['fa', 'fa-bold']" />
</BaseButton>
@@ -25,7 +25,7 @@
v-tooltip="$t('input.editor.italic')"
class="editor-bubble__button"
:class="{ 'is-active': editor.isActive('italic') }"
@click="editor.chain().focus().toggleItalic().run()"
@click="() => editor?.chain().focus().toggleItalic().run()"
>
<Icon :icon="['fa', 'fa-italic']" />
</BaseButton>
@@ -33,7 +33,7 @@
v-tooltip="$t('input.editor.underline')"
class="editor-bubble__button"
:class="{ 'is-active': editor.isActive('underline') }"
@click="editor.chain().focus().toggleUnderline().run()"
@click="() => editor?.chain().focus().toggleUnderline().run()"
>
<Icon :icon="['fa', 'fa-underline']" />
</BaseButton>
@@ -41,7 +41,7 @@
v-tooltip="$t('input.editor.strikethrough')"
class="editor-bubble__button"
:class="{ 'is-active': editor.isActive('strike') }"
@click="editor.chain().focus().toggleStrike().run()"
@click="() => editor?.chain().focus().toggleStrike().run()"
>
<Icon :icon="['fa', 'fa-strikethrough']" />
</BaseButton>
@@ -49,7 +49,7 @@
v-tooltip="$t('input.editor.code')"
class="editor-bubble__button"
:class="{ 'is-active': editor.isActive('code') }"
@click="editor.chain().focus().toggleCode().run()"
@click="() => editor?.chain().focus().toggleCode().run()"
>
<Icon :icon="['fa', 'fa-code']" />
</BaseButton>
@@ -87,7 +87,7 @@
<li>
<BaseButton
class="done-edit"
@click="setEdit"
@click="() => setEdit()"
>
{{ $t('input.editor.edit') }}
</BaseButton>
@@ -108,7 +108,7 @@
<li v-if="!isEditing">
<BaseButton
class="done-edit"
@click="setEdit"
@click="() => setEdit()"
>
{{ $t('input.editor.edit') }}
</BaseButton>
@@ -138,11 +138,16 @@
<script setup lang="ts">
import {computed, nextTick, onBeforeUnmount, onMounted, ref, watch} from 'vue'
import {useI18n} from 'vue-i18n'
import {eventToHotkeyString} from '@github/hotkey'
import EditorToolbar from './EditorToolbar.vue'
import Link from '@tiptap/extension-link'
import StarterKit from '@tiptap/starter-kit'
import {Extension, mergeAttributes} from '@tiptap/core'
import {BubbleMenu, EditorContent, type Extensions, useEditor} from '@tiptap/vue-3'
import Link from '@tiptap/extension-link'
import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight'
import Table from '@tiptap/extension-table'
import TableCell from '@tiptap/extension-table-cell'
@@ -151,46 +156,27 @@ import TableRow from '@tiptap/extension-table-row'
import Typography from '@tiptap/extension-typography'
import Image from '@tiptap/extension-image'
import Underline from '@tiptap/extension-underline'
import {Placeholder} from '@tiptap/extension-placeholder'
import TaskItem from '@tiptap/extension-task-item'
import TaskList from '@tiptap/extension-task-list'
import HardBreak from '@tiptap/extension-hard-break'
import {Blockquote} from '@tiptap/extension-blockquote'
import {Bold} from '@tiptap/extension-bold'
import {BulletList} from '@tiptap/extension-bullet-list'
import {Code} from '@tiptap/extension-code'
import {Document} from '@tiptap/extension-document'
import {Dropcursor} from '@tiptap/extension-dropcursor'
import {Gapcursor} from '@tiptap/extension-gapcursor'
import {HardBreak} from '@tiptap/extension-hard-break'
import {Heading} from '@tiptap/extension-heading'
import {History} from '@tiptap/extension-history'
import {HorizontalRule} from '@tiptap/extension-horizontal-rule'
import {Italic} from '@tiptap/extension-italic'
import {ListItem} from '@tiptap/extension-list-item'
import {OrderedList} from '@tiptap/extension-ordered-list'
import {Paragraph} from '@tiptap/extension-paragraph'
import {Strike} from '@tiptap/extension-strike'
import {Text} from '@tiptap/extension-text'
import {BubbleMenu, EditorContent, type Extensions, useEditor} from '@tiptap/vue-3'
import {Node} from '@tiptap/pm/model'
import Commands from './commands'
import suggestionSetup from './suggestion'
import {lowlight} from 'lowlight'
import {common, createLowlight} from 'lowlight'
import type {BottomAction, UploadCallback} from './types'
import type {ITask} from '@/modelTypes/ITask'
import type {IAttachment} from '@/modelTypes/IAttachment'
import AttachmentModel from '@/models/attachment'
import AttachmentService from '@/services/attachment'
import {useI18n} from 'vue-i18n'
import BaseButton from '@/components/base/BaseButton.vue'
import XButton from '@/components/input/Button.vue'
import {Placeholder} from '@tiptap/extension-placeholder'
import {eventToHotkeyString} from '@github/hotkey'
import {Extension, mergeAttributes} from '@tiptap/core'
import {isEditorContentEmpty} from '@/helpers/editorContentEmpty'
import inputPrompt from '@/helpers/inputPrompt'
import {setLinkInEditor} from '@/components/input/editor/setLinkInEditor'
@@ -198,13 +184,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 +199,14 @@ const {
placeholder?: string,
editShortcut?: string,
enableDiscardShortcut?: boolean,
}>()
}>(), {
isEditEnabled: true,
bottomActions: () => [],
showSave: false,
placeholder: '',
editShortcut: '',
enableDiscardShortcut: false,
})
const emit = defineEmits(['update:modelValue', 'save'])
@@ -344,16 +337,14 @@ const additionalLinkProtocols = [
const extensions : Extensions = [
// Starterkit:
Blockquote,
Bold,
BulletList,
Code,
StarterKit.configure({
codeBlock: false,
hardBreak: false,
}),
CodeBlockLowlight.configure({
lowlight,
lowlight: createLowlight(common),
}),
Document,
Dropcursor,
Gapcursor,
HardBreak.extend({
addKeyboardShortcuts() {
return {
@@ -367,15 +358,6 @@ const extensions : Extensions = [
}
},
}),
Heading,
History,
HorizontalRule,
Italic,
ListItem,
OrderedList,
Paragraph,
Strike,
Text,
Placeholder.configure({
placeholder: ({editor}) => {
@@ -444,7 +426,6 @@ const extensions : Extensions = [
Commands.configure({
suggestion: suggestionSetup(t),
}),
BubbleMenu,
]
// Add a custom extension for the Escape key
@@ -495,7 +476,8 @@ watch(
)
function bubbleNow() {
if (editor.value?.getHTML() === modelValue) {
if (editor.value?.getHTML() === modelValue ||
(editor.value?.getHTML() === '<p></p>') && modelValue === '') {
return
}
@@ -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})
@@ -63,7 +63,7 @@ const motd = computed(() => configStore.motd)
const route = useRoute()
const {t} = useI18n({useScope: 'global'})
const title = computed(() => t(route.meta?.title as string || ''))
const title = computed(() => route.meta?.title ? t(route.meta.title as string) : '')
useTitle(() => title.value)
</script>
+9 -50
View File
@@ -15,12 +15,12 @@
<p>{{ $t('offline.text') }}</p>
</div>
</div>
<template v-else-if="ready">
<template v-else-if="baseStore.ready">
<slot />
</template>
<section v-else-if="error !== ''">
<section v-else-if="baseStore.error !== ''">
<NoAuthWrapper :show-api-config="false">
<p v-if="error === ERROR_NO_API_URL">
<p v-if="baseStore.error === ERROR_NO_API_URL">
{{ $t('ready.noApiUrlConfigured') }}
</p>
<Message
@@ -30,7 +30,7 @@
>
<p>
{{ $t('ready.errorOccured') }}<br>
{{ error }}
{{ baseStore.error }}
</p>
<p>
{{ $t('ready.checkApiUrl') }}
@@ -38,13 +38,13 @@
</Message>
<ApiConfig
:configure-open="true"
@foundApi="load"
@foundApi="baseStore.loadApp()"
/>
</NoAuthWrapper>
</section>
<CustomTransition name="fade">
<section
v-if="showLoading"
v-if="baseStore.loading"
class="vikunja-loading"
>
<Logo class="logo" />
@@ -57,60 +57,19 @@
</template>
<script lang="ts" setup>
import {ref, computed} from 'vue'
import {useRouter, useRoute} from 'vue-router'
import Logo from '@/assets/logo.svg?component'
import ApiConfig from '@/components/misc/ApiConfig.vue'
import Message from '@/components/misc/Message.vue'
import CustomTransition from '@/components/misc/CustomTransition.vue'
import NoAuthWrapper from '@/components/misc/NoAuthWrapper.vue'
import {ERROR_NO_API_URL, InvalidApiUrlProvidedError, NoApiUrlProvidedError} from '@/helpers/checkAndSetApiUrl'
import {ERROR_NO_API_URL} from '@/helpers/checkAndSetApiUrl'
import {useOnline} from '@/composables/useOnline'
import {getAuthForRoute} from '@/router'
import {useBaseStore} from '@/stores/base'
import {useAuthStore} from '@/stores/auth'
import {useI18n} from 'vue-i18n'
const router = useRouter()
const route = useRoute()
const baseStore = useBaseStore()
const authStore = useAuthStore()
const ready = computed(() => baseStore.ready)
const online = useOnline()
const error = ref('')
const showLoading = computed(() => !ready.value && error.value === '')
const {t} = useI18n()
async function load() {
try {
await baseStore.loadApp()
baseStore.setReady(true)
const redirectTo = await getAuthForRoute(route, authStore)
if (typeof redirectTo !== 'undefined') {
await router.push(redirectTo)
}
} catch (e: unknown) {
if (e instanceof NoApiUrlProvidedError) {
error.value = ERROR_NO_API_URL
return
}
if (e instanceof InvalidApiUrlProvidedError) {
error.value = t('apiConfig.error')
return
}
error.value = String(e.message)
}
}
load()
const baseStore = useBaseStore()
</script>
<style lang="scss" scoped>
@@ -62,29 +62,22 @@ export default {inheritAttrs: false}
</script>
<script setup lang="ts">
import {computed, onBeforeUnmount, onMounted, ref, toRefs, useAttrs, watch, watchEffect, type PropType} from 'vue'
import {computed, onBeforeUnmount, onMounted, ref, toRefs, useAttrs, watch, watchEffect} from 'vue'
const props = defineProps({
modelValue: {
type: [String, Number, Date, Array] as PropType<DateOption | DateOption[] | null>,
default: null,
},
// https://flatpickr.js.org/options/
config: {
type: Object as PropType<Options>,
default: () => ({
defaultDate: null,
wrap: false,
}),
},
events: {
type: Array as PropType<HookKey[]>,
default: () => includedEvents,
},
disabled: {
type: Boolean,
default: false,
},
const props = withDefaults(defineProps<{
modelValue: DateOption | DateOption[] | null,
/** https://flatpickr.js.org/options/ */
config: Options,
events: HookKey[],
disabled: boolean,
}>(), {
modelValue: null,
config: () => ({
defaultDate: undefined,
wrap: false,
}),
events: () => includedEvents,
disabled: false,
})
const emit = defineEmits([
@@ -124,15 +124,20 @@ let interval: ReturnType<typeof setInterval>
onMounted(() => {
loadNotifications()
document.addEventListener('click', hidePopup)
document.addEventListener('visibilitychange', loadNotifications)
interval = setInterval(loadNotifications, LOAD_NOTIFICATIONS_INTERVAL)
})
onUnmounted(() => {
document.removeEventListener('click', hidePopup)
document.removeEventListener('visibilitychange', loadNotifications)
clearInterval(interval)
})
async function loadNotifications() {
if (document.visibilityState !== 'visible') {
return
}
// We're recreating the notification service here to make sure it uses the latest api user token
const notificationService = new NotificationService()
allNotifications.value = await notificationService.getAll()
@@ -154,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
@@ -109,6 +109,7 @@
{{ $t('menu.createProject') }}
</DropdownItem>
<DropdownItem
v-if="project.maxRight === RIGHTS.ADMIN"
v-tooltip="isDefaultProject ? $t('menu.cantDeleteIsDefault') : ''"
:to="{ name: 'project.settings.delete', params: { projectId: project.id } }"
icon="trash-alt"
@@ -135,6 +136,7 @@ import {isSavedFilter} from '@/services/savedFilter'
import {useConfigStore} from '@/stores/config'
import {useProjectStore} from '@/stores/projects'
import {useAuthStore} from '@/stores/auth'
import {RIGHTS} from '@/constants/rights'
const props = defineProps<{
project: IProject
@@ -1,7 +1,10 @@
<template>
<div
:class="{ 'is-loading': projectService.loading, 'is-archived': currentProject?.isArchived}"
class="loader-container"
:class="{
'is-loading': isLoadingProject,
'is-archived': currentProject?.isArchived,
}"
>
<h1 class="project-title-print">
{{ getProjectTitle(currentProject) }}
@@ -37,43 +40,37 @@
</Message>
</CustomTransition>
<slot v-if="loadedProjectId" />
<slot v-if="!isLoadingProject" />
</div>
</template>
<script setup lang="ts">
import {computed, ref, watch} from 'vue'
import {useRoute} from 'vue-router'
import {computed} from 'vue'
import {useI18n} from 'vue-i18n'
import BaseButton from '@/components/base/BaseButton.vue'
import Message from '@/components/misc/Message.vue'
import CustomTransition from '@/components/misc/CustomTransition.vue'
import ProjectModel from '@/models/project'
import ProjectService from '@/services/project'
import {getProjectTitle} from '@/helpers/getProjectTitle'
import {saveProjectToHistory} from '@/modules/projectHistory'
import {useTitle} from '@/composables/useTitle'
import {useBaseStore} from '@/stores/base'
import {useProjectStore} from '@/stores/projects'
import type {IProject} from '@/modelTypes/IProject'
import type {IProjectView} from '@/modelTypes/IProjectView'
import {useI18n} from 'vue-i18n'
const props = defineProps<{
isLoadingProject: boolean,
projectId: IProject['id'],
viewId: IProjectView['id'],
}>()
const route = useRoute()
const {t} = useI18n()
const baseStore = useBaseStore()
const projectStore = useProjectStore()
const projectService = ref(new ProjectService())
const loadedProjectId = ref(0)
const currentProject = computed<IProject>(() => {
return typeof baseStore.currentProject === 'undefined' ? {
@@ -87,61 +84,6 @@ useTitle(() => currentProject.value?.id ? getProjectTitle(currentProject.value)
const views = computed(() => projectStore.projects[props.projectId]?.views)
// watchEffect would be called every time the prop would get a value assigned, even if that value was the same as before.
// This resulted in loading and setting the project multiple times, even when navigating away from it.
// This caused wired bugs where the project background would be set on the home page but only right after setting a new
// project background and then navigating to home. It also highlighted the project in the menu and didn't allow changing any
// of it, most likely due to the rights not being properly populated.
watch(
() => props.projectId,
// loadProject
async (projectIdToLoad: number) => {
const projectData = {id: projectIdToLoad}
saveProjectToHistory(projectData)
// Don't load the project if we either already loaded it or aren't dealing with a project at all currently and
// the currently loaded project has the right set.
if (
(
projectIdToLoad === loadedProjectId.value ||
typeof projectIdToLoad === 'undefined' ||
projectIdToLoad === currentProject.value?.id
)
&& typeof currentProject.value !== 'undefined' && currentProject.value.maxRight !== null
) {
loadedProjectId.value = projectIdToLoad
return
}
console.debug('Loading project, $route.params =', route.params, `, loadedProjectId = ${loadedProjectId.value}, currentProject = `, currentProject.value)
// Set the current project to the one we're about to load so that the title is already shown at the top
loadedProjectId.value = 0
const projectFromStore = projectStore.projects[projectData.id]
if (projectFromStore) {
baseStore.handleSetCurrentProject({project: projectFromStore, currentProjectViewId: props.viewId})
}
// We create an extra project object instead of creating it in project.value because that would trigger a ui update which would result in bad ux.
const project = new ProjectModel(projectData)
try {
const loadedProject = await projectService.value.get(project)
baseStore.handleSetCurrentProject({project: loadedProject, currentProjectViewId: props.viewId})
} finally {
loadedProjectId.value = projectIdToLoad
}
},
{immediate: true},
)
watch(
() => props.viewId,
() => {
baseStore.setCurrentProjectViewId(props.viewId)
},
{immediate: true},
)
function getViewTitle(view: IProjectView) {
switch (view.title) {
case 'List':
@@ -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())
}
@@ -30,6 +30,9 @@ const showDocs = ref(false)
<li><code>assignees</code>: {{ $t('filters.query.help.fields.assignees') }}</li>
<li><code>labels</code>: {{ $t('filters.query.help.fields.labels') }}</li>
<li><code>project</code>: {{ $t('filters.query.help.fields.project') }}</li>
<li><code>reminders</code>: {{ $t('filters.query.help.fields.reminders') }}</li>
<li><code>created</code>: {{ $t('filters.query.help.fields.created') }}</li>
<li><code>updated</code>: {{ $t('filters.query.help.fields.updated') }}</li>
</ul>
<p>{{ $t('filters.query.help.canUseDatemath') }}</p>
<p>{{ $t('filters.query.help.operators.intro') }}</p>
@@ -42,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'
@@ -1,6 +1,7 @@
<template>
<ProjectWrapper
class="project-gantt"
:is-loading-project="isLoadingProject"
:project-id="filters.projectId"
:view-id
>
@@ -77,7 +78,7 @@ import {useI18n} from 'vue-i18n'
import type {RouteLocationNormalized} from 'vue-router'
import {useBaseStore} from '@/stores/base'
import {getFlatpickrLanguage} from '@/helpers/flatpickrLanguage'
import {useFlatpickrLanguage} from '@/helpers/useFlatpickrLanguage'
import Foo from '@/components/misc/flatpickr/Flatpickr.vue'
import ProjectWrapper from '@/components/project/ProjectWrapper.vue'
@@ -95,6 +96,7 @@ import type {IProjectView} from '@/modelTypes/IProjectView'
type Options = Flatpickr.Options.Options
const props = defineProps<{
isLoadingProject: boolean,
route: RouteLocationNormalized
viewId: IProjectView['id']
}>()
@@ -104,7 +106,7 @@ const GanttChart = createAsyncComponent(() => import('@/components/tasks/GanttCh
const baseStore = useBaseStore()
const canWrite = computed(() => baseStore.currentProject?.maxRight > RIGHTS.READ)
const {route} = toRefs(props)
const {route, viewId} = toRefs(props)
const {
filters,
hasDefaultFilters,
@@ -113,7 +115,7 @@ const {
isLoading,
addTask,
updateTask,
} = useGanttFilters(route, props.viewId)
} = useGanttFilters(route, viewId)
const DEFAULT_DATE_RANGE_DAYS = 7
@@ -153,14 +155,14 @@ const flatPickerDateRange = computed<Date[]>({
const initialDateRange = [filters.value.dateFrom, filters.value.dateTo]
const {t} = useI18n({useScope: 'global'})
const flatPickerConfig = computed<Options>(() => ({
const flatPickerConfig = computed(() => ({
altFormat: t('date.altFormatShort'),
altInput: true,
defaultDate: initialDateRange,
enableTime: false,
mode: 'range',
locale: getFlatpickrLanguage(),
}))
locale: useFlatpickrLanguage().value,
} as Options))
</script>
<style lang="scss" scoped>
@@ -218,4 +220,4 @@ const flatPickerConfig = computed<Options>(() => ({
font-size: .9rem;
}
}
</style>
</style>
@@ -1,6 +1,7 @@
<template>
<ProjectWrapper
class="project-kanban"
:is-loading-project="isLoadingProject"
:project-id="projectId"
:view-id
>
@@ -9,6 +10,8 @@
<FilterPopup
v-if="!isSavedFilter(project)"
v-model="params"
:view-id="viewId"
:project-id="projectId"
/>
</div>
</template>
@@ -189,10 +192,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 +213,7 @@
class="kanban-card"
:task="task"
:loading="taskUpdating[task.id] ?? false"
:project-id="projectId"
/>
</div>
</template>
@@ -310,6 +316,7 @@ import TaskBucketService from '@/services/taskBucket'
import TaskBucketModel from '@/models/taskBucket'
const props = defineProps<{
isLoadingProject: boolean,
projectId: number,
viewId: IProjectView['id'],
}>()
@@ -566,18 +573,17 @@ async function addTaskToBucket(bucketId: IBucket['id']) {
bucketId,
projectId: project.value.id,
})
toggleShowNewTaskInput(bucketId)
newTaskText.value = ''
kanbanStore.addTaskToBucket(task)
scrollTaskContainerToBottom(bucketId)
scrollTaskContainerToTop(bucketId)
}
function scrollTaskContainerToBottom(bucketId: IBucket['id']) {
function scrollTaskContainerToTop(bucketId: IBucket['id']) {
const bucketEl = taskContainerRefs.value[bucketId]
if (!bucketEl) {
return
}
bucketEl.scrollTop = bucketEl.scrollHeight
bucketEl.scrollTop = 0
}
async function createNewBucket() {
@@ -972,4 +978,4 @@ $filter-container-height: '1rem - #{$switch-view-height}';
.move-card-leave-active {
display: none;
}
</style>
</style>
@@ -1,6 +1,7 @@
<template>
<ProjectWrapper
class="project-list"
:is-loading-project="isLoadingProject"
:project-id="projectId"
:view-id
>
@@ -9,6 +10,8 @@
<FilterPopup
v-if="!isSavedFilter(project)"
v-model="params"
:view-id="viewId"
:project-id="projectId"
@update:modelValue="prepareFiltersAndLoadTasks()"
/>
</div>
@@ -35,14 +38,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"
@@ -122,6 +124,7 @@ import TaskPositionService from '@/services/taskPosition'
import TaskPositionModel from '@/models/taskPosition'
const props = defineProps<{
isLoadingProject: boolean,
projectId: IProject['id'],
viewId: IProjectView['id'],
}>()
@@ -138,7 +141,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())
@@ -1,6 +1,7 @@
<template>
<ProjectWrapper
class="project-table"
:is-loading-project="isLoadingProject"
:project-id="projectId"
:view-id
>
@@ -67,7 +68,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,8 +296,10 @@ 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<{
isLoadingProject: boolean,
projectId: IProject['id'],
viewId: IProjectView['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;
}
@@ -2,23 +2,23 @@
import type {IUser} from '@/modelTypes/IUser'
import BaseButton from '@/components/base/BaseButton.vue'
import User from '@/components/misc/User.vue'
import {computed} from 'vue'
const {
assignees,
remove,
disabled,
avatarSize = 30,
inline = false,
} = defineProps<{
withDefaults(defineProps<{
assignees: IUser[],
remove?: (user: IUser) => void,
disabled?: boolean,
avatarSize?: number,
inline?: boolean,
}>()
/** add this boolean prop to enable removal of assignees */
canRemove?: boolean,
}>(), {
avatarSize: 30,
inline: false,
canRemove: false,
})
const hasDelete = computed(() => typeof remove !== 'undefined' && !disabled)
defineEmits<{
remove: [user: IUser],
}>()
</script>
<template>
@@ -36,13 +36,13 @@ const hasDelete = computed(() => typeof remove !== 'undefined' && !disabled)
:avatar-size="avatarSize"
:show-username="false"
:user="user"
:class="{'m-2': hasDelete}"
:class="{'m-2': canRemove && !disabled}"
/>
<BaseButton
v-if="hasDelete"
v-if="canRemove && !disabled"
:key="'delete'+user.id"
class="remove-assignee"
@click="remove(user)"
@click="$emit('remove', user)"
>
<Icon icon="times" />
</BaseButton>
@@ -180,7 +180,7 @@ import ProgressBar from '@/components/misc/ProgressBar.vue'
import BaseButton from '@/components/base/BaseButton.vue'
import AttachmentService from '@/services/attachment'
import {SUPPORTED_IMAGE_SUFFIX} from '@/models/attachment'
import {canPreview} from '@/models/attachment'
import type {IAttachment} from '@/modelTypes/IAttachment'
import type {ITask} from '@/modelTypes/ITask'
@@ -274,10 +274,6 @@ async function viewOrDownload(attachment: IAttachment) {
}
}
function canPreview(attachment: IAttachment): boolean {
return SUPPORTED_IMAGE_SUFFIX.some((suffix) => attachment.file.name.toLowerCase().endsWith(suffix))
}
const copy = useCopyToClipboard()
function copyUrl(attachment: IAttachment) {
@@ -23,6 +23,7 @@
</span>
<div
v-for="c in comments"
:id="`comment-${c.id}`"
:key="c.id"
class="media comment"
>
@@ -57,6 +58,13 @@
>
· {{ $t('task.comment.edited', {date: formatDateSince(c.updated)}) }}
</span>
<a
v-tooltip="$t('task.comment.permalink')"
:href="`#comment-${c.id}`"
class="comment-permalink"
:title="$t('task.comment.permalink')"
@click.prevent.stop="copy(getCommentUrl(`${c.id}`))"
><Icon icon="link" /></a>
<CustomTransition name="fade">
<span
v-if="
@@ -210,6 +218,7 @@ import {getAvatarUrl, getDisplayName} from '@/models/user'
import {useConfigStore} from '@/stores/config'
import {useAuthStore} from '@/stores/auth'
import Reactions from '@/components/input/Reactions.vue'
import { useCopyToClipboard } from '@/composables/useCopyToClipboard'
const props = withDefaults(defineProps<{
taskId: number,
@@ -218,6 +227,8 @@ const props = withDefaults(defineProps<{
canWrite: true,
})
const copy = useCopyToClipboard()
const {t} = useI18n({useScope: 'global'})
const configStore = useConfigStore()
const authStore = useAuthStore()
@@ -390,6 +401,10 @@ async function deleteComment(commentToDelete: ITaskComment) {
showDeleteModal.value = false
}
}
function getCommentUrl(commentId: string) {
return `${frontendUrl.value}${location.pathname}${location.search}#comment-${commentId}`
}
</script>
<style lang="scss" scoped>
@@ -417,10 +432,23 @@ async function deleteComment(commentToDelete: ITaskComment) {
}
span {
span,
.comment-permalink {
font-size: .75rem;
line-height: 1;
}
.comment-permalink {
font-size: 1rem;
border: 1px solid transparent;
padding: 0.25rem;
border-radius: 1rem;
color: var(--grey, hsl(0, 0%, 48%));
}
.comment-permalink:hover {
color: var(--grey-dark, hsl(0, 0%, 29%));
border-color: var(--grey-dark, hsl(0, 0%, 29%));
}
}
.image.is-avatar {
@@ -44,7 +44,7 @@ import flatPickr from 'vue-flatpickr-component'
import TaskService from '@/services/task'
import type {ITask} from '@/modelTypes/ITask'
import { getFlatpickrLanguage } from '@/helpers/flatpickrLanguage'
import {useFlatpickrLanguage} from '@/helpers/useFlatpickrLanguage'
const props = defineProps<{
modelValue: ITask,
@@ -101,7 +101,7 @@ const flatPickerConfig = computed(() => ({
enableTime: true,
time_24hr: true,
inline: true,
locale: getFlatpickrLanguage(),
locale: useFlatpickrLanguage().value,
}))
function deferDays(days: number) {
@@ -38,7 +38,7 @@
</template>
<script setup lang="ts">
import {ref, computed, watch, onBeforeUnmount} from 'vue'
import {ref, computed, watchEffect, onBeforeUnmount} from 'vue'
import CustomTransition from '@/components/misc/CustomTransition.vue'
import Editor from '@/components/input/AsyncEditor'
@@ -46,21 +46,25 @@ import Editor from '@/components/input/AsyncEditor'
import type {ITask} from '@/modelTypes/ITask'
import {useTaskStore} from '@/stores/tasks'
type AttachmentUploadFunction = (file: File, onSuccess: (attachmentUrl: string) => void) => Promise<string>
export type AttachmentUploadFunction = (file: File, onSuccess: (attachmentUrl: string) => void) => Promise<string>
const {
modelValue,
attachmentUpload,
canWrite,
} = defineProps<{
const props = withDefaults(defineProps<{
modelValue: ITask,
attachmentUpload: AttachmentUploadFunction,
canWrite: boolean,
}>(), {
canWrite: true,
})
const emit = defineEmits<{
'update:modelValue': [value: ITask]
}>()
const emit = defineEmits(['update:modelValue'])
const description = ref<string>('')
watchEffect(() => {
description.value = props.modelValue.description
})
const saved = ref(false)
// Since loading is global state, this variable ensures we're only showing the saving icon when saving the description.
@@ -69,14 +73,6 @@ const saving = ref(false)
const taskStore = useTaskStore()
const loading = computed(() => taskStore.isLoading)
watch(
() => modelValue.description,
value => {
description.value = value
},
{immediate: true},
)
const changeTimeout = ref<ReturnType<typeof setTimeout> | null>(null)
async function saveWithDelay() {
@@ -99,13 +95,12 @@ async function save() {
if (changeTimeout.value !== null) {
clearTimeout(changeTimeout.value)
}
saved.value = false
saving.value = true
try {
// FIXME: don't update state from internal.
const updated = await taskStore.update({
...modelValue,
...props.modelValue,
description: description.value,
})
emit('update:modelValue', updated)
@@ -119,13 +114,12 @@ async function save() {
}
}
async function uploadCallback(files: File[] | FileList): (Promise<string[]>) {
async function uploadCallback(files: File[] | FileList): Promise<string[]> {
const uploadPromises: Promise<string>[] = []
files.forEach((file: File) => {
const promise = new Promise<string>((resolve) => {
attachmentUpload(file, (uploadedFileUrl: string) => resolve(uploadedFileUrl))
props.attachmentUpload(file, (uploadedFileUrl: string) => resolve(uploadedFileUrl))
})
uploadPromises.push(promise)
@@ -16,8 +16,9 @@
<template #items="{items}">
<AssigneeList
:assignees="items"
:remove="removeAssignee"
:disabled="disabled"
can-remove
@remove="removeAssignee"
/>
</template>
<template #searchResult="{option: user}">
@@ -20,9 +20,9 @@
<script setup lang="ts">
import {ref, shallowReactive, watchEffect} from 'vue'
import AttachmentService from '@/services/attachment'
import AttachmentService, {PREVIEW_SIZE} from '@/services/attachment'
import type {IAttachment} from '@/modelTypes/IAttachment'
import {SUPPORTED_IMAGE_SUFFIX} from '@/models/attachment'
import {canPreview} from '@/models/attachment'
const props = defineProps<{
modelValue?: IAttachment
@@ -33,13 +33,9 @@ const blobUrl = ref<string | undefined>(undefined)
watchEffect(async () => {
if (props.modelValue && canPreview(props.modelValue)) {
blobUrl.value = await attachmentService.getBlobUrl(props.modelValue)
blobUrl.value = await attachmentService.getBlobUrl(props.modelValue, PREVIEW_SIZE.MD)
}
})
function canPreview(attachment: IAttachment): boolean {
return SUPPORTED_IMAGE_SUFFIX.some((suffix) => attachment.file.name.toLowerCase().endsWith(suffix))
}
</script>
<style scoped lang="scss">
@@ -30,6 +30,7 @@
:spellcheck="false"
@blur="save(($event.target as HTMLInputElement).textContent as string)"
@keydown.enter.prevent.stop="($event.target as HTMLInputElement).blur()"
@keydown.esc.prevent.stop="cancel($event.target as HTMLInputElement)"
>
{{ task.title.trim() }}
</h1>
@@ -133,6 +134,11 @@ async function save(title: string) {
saving.value = false
}
}
async function cancel(element: HTMLInputElement) {
element.textContent = props.task.title
element.blur()
}
</script>
<style lang="scss" scoped>
@@ -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)"
@@ -93,7 +104,7 @@
</template>
<script lang="ts" setup>
import {ref, computed, watch} from 'vue'
import {computed, ref, watch} from 'vue'
import {useRouter} from 'vue-router'
import PriorityLabel from '@/components/tasks/partials/PriorityLabel.vue'
@@ -104,18 +115,21 @@ 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 from '@/services/attachment'
import AttachmentService, {PREVIEW_SIZE} from '@/services/attachment'
import {formatDateLong, formatISO, formatDateSince} from '@/helpers/time/formatDate'
import {formatDateLong, formatDateSince, formatISO} from '@/helpers/time/formatDate'
import {colorIsDark} from '@/helpers/color/colorIsDark'
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 {
@@ -165,7 +192,7 @@ async function maybeDownloadCoverImage() {
}
const attachmentService = new AttachmentService()
coverImageBlobUrl.value = await attachmentService.getBlobUrl(attachment)
coverImageBlobUrl.value = await attachmentService.getBlobUrl(attachment, PREVIEW_SIZE.LG)
}
watch(
@@ -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
@@ -183,7 +183,7 @@
</template>
<script setup lang="ts">
import {ref, reactive, shallowReactive, watch, computed, type PropType} from 'vue'
import {ref, reactive, shallowReactive, watch, computed} from 'vue'
import {useI18n} from 'vue-i18n'
import {useRoute} from 'vue-router'
@@ -206,27 +206,17 @@ import {useTaskStore} from '@/stores/tasks'
import {useProjectStore} from '@/stores/projects'
import {playPopSound} from '@/helpers/playPop'
const props = defineProps({
taskId: {
type: Number,
required: true,
},
initialRelatedTasks: {
type: Object as PropType<ITask['relatedTasks']>,
default: () => ({}),
},
showNoRelationsNotice: {
type: Boolean,
default: false,
},
projectId: {
type: Number,
default: 0,
},
editEnabled: {
type: Boolean,
default: true,
},
const props = withDefaults(defineProps<{
taskId: number,
initialRelatedTasks?: ITask['relatedTasks'],
showNoRelationsNotice?: boolean,
projectId: number,
editEnabled: boolean,
}>(), {
initialRelatedTasks: () => ({}),
showNoRelationsNotice: false,
projectId: 0,
editEnabled: true, // this seems like a mistake
})
const taskStore = useTaskStore()
@@ -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'))
}
+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,
]
+2 -2
View File
@@ -1,6 +1,6 @@
import {computed} from 'vue'
import {computed, toValue} from 'vue'
import {useTitle as useTitleVueUse, toValue, type UseTitleOptions, type ReadonlyRefOrGetter, type MaybeRef, type MaybeRefOrGetter} from '@vueuse/core'
import {useTitle as useTitleVueUse, type UseTitleOptions, type ReadonlyRefOrGetter, type MaybeRef, type MaybeRefOrGetter} from '@vueuse/core'
export function useTitle(
newTitle:
+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',
+13 -6
View File
@@ -6,6 +6,8 @@ export const DATE_FIELDS = [
'endDate',
'doneAt',
'reminders',
'created',
'updated',
]
export const ASSIGNEE_FIELDS = [
@@ -44,6 +46,7 @@ export const FILTER_OPERATORS = [
'<',
'<=',
'like',
'not in',
'in',
'?=',
]
@@ -55,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')
@@ -66,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)
})
@@ -95,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 => {
@@ -160,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())
}
-15
View File
@@ -1,15 +0,0 @@
import {useAuthStore} from '@/stores/auth'
import FlatpickrLanguages from 'flatpickr/dist/l10n'
import type { CustomLocale, key } from 'flatpickr/dist/types/locale'
export function getFlatpickrLanguage(): CustomLocale {
const authStore = useAuthStore()
const lang = authStore.settings.language
const langPair = lang.split('-')
let language = FlatpickrLanguages[lang === 'vi-vn' ? 'vn' : 'en']
if (langPair.length > 0 && FlatpickrLanguages[langPair[0] as key] !== undefined) {
language = FlatpickrLanguages[langPair[0] as key]
}
language.firstDayOfWeek = authStore.settings.weekStart ?? language.firstDayOfWeek
return language
}
+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
}
@@ -0,0 +1,22 @@
import {useAuthStore} from '@/stores/auth'
// TODO: only import needed languages
import FlatpickrLanguages from 'flatpickr/dist/l10n'
import type { key } from 'flatpickr/dist/types/locale'
import { computed } from 'vue'
export function useFlatpickrLanguage() {
const authStore = useAuthStore()
return computed(() => {
const userLanguage = authStore.settings.language
if (!userLanguage) {
return FlatpickrLanguages.en
}
const langPair = userLanguage.split('-')
const code = userLanguage === 'vi-VN' ? 'vn' : 'en'
const language = FlatpickrLanguages?.[langPair?.[0] as key] || FlatpickrLanguages[code]
language.firstDayOfWeek = authStore.settings.weekStart ?? language.firstDayOfWeek
return language
})
}
+3
View File
@@ -25,6 +25,9 @@ export const SUPPORTED_LOCALES = {
'pt-BR': 'Português Brasileiro',
'hr-HR': 'Hrvatski',
'uk-UA': 'Українська',
'lt-LT': 'Lietuvių Kalba',
'bg-BG': 'Български',
'ko-KR': '한국어',
// IMPORTANT: Also add new languages to useDayjsLanguageSync
} as const
+14 -6
View File
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "تم حذف الحافظة بنجاح.",
"bucketTitleSavedSuccess": "تم حفظ عنوان الحافظة بنجاح.",
"bucketLimitSavedSuccess": "تم حفظ الحد الأقصى للحافظة بنجاح.",
"collapse": "طي هذه الحافظة"
"collapse": "طي هذه الحافظة",
"bucketLimitReached": "You have reached the bucket limit. Remove tasks or increase the limit to add new tasks."
},
"pseudo": {
"favorites": {
@@ -410,6 +411,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 +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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "نوع الاشتراك غير صالح.",
"12002": "أنت مشترك بالفعل في العنصر نفسه أو في العنصر الرئيس.",
"13001": "رابط المشاركة هذا يتطلب كلمة مرور للتوثيق، ولكن لم يتم توفير أي منها.",
"13002": "كلمة مرور رابط المشاركة غير صالحة."
"13002": "كلمة مرور رابط المشاركة غير صالحة.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "عن البرنامج",
@@ -1213,4 +1221,4 @@
"years": "سنة|سنوات"
}
}
}
}
File diff suppressed because it is too large Load Diff
+14 -6
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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "The subscription entity type is invalid.",
"12002": "You are already subscribed to the entity itself or a parent entity.",
"13001": "This link share requires a password for authentication, but none was provided.",
"13002": "The provided link share password was invalid."
"13002": "The provided link share password was invalid.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "About",
@@ -1213,4 +1221,4 @@
"years": "year|years"
}
}
}
}
+14 -6
View File
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "Sloupec byl úspěšně smazán.",
"bucketTitleSavedSuccess": "Název sloupce byl úspěšně uložen.",
"bucketLimitSavedSuccess": "Limit sloupce byl úspěšně uložen.",
"collapse": "Sbalit tento sloupec"
"collapse": "Sbalit tento sloupec",
"bucketLimitReached": "You have reached the bucket limit. Remove tasks or increase the limit to add new tasks."
},
"pseudo": {
"favorites": {
@@ -410,6 +411,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 +450,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)",
@@ -458,7 +461,10 @@
"doneAt": "Datum a čas, kdy byl úkol dokončen",
"assignees": "Přiřazení uživatelé",
"labels": "Štítky přiřazené úkolu",
"project": "Projekt, do kterého úkol patří (k dispozici pouze pro uložené filtry, ne na úrovni projektu)"
"project": "Projekt, do kterého úkol patří (k dispozici pouze pro uložené filtry, ne na úrovni projektu)",
"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"
},
"operators": {
"intro": "Dostupné operátory pro filtrování zahrnují:",
@@ -469,7 +475,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:",
@@ -1196,7 +1203,8 @@
"12001": "Typ předplatného je neplatný.",
"12002": "Již jste přihlášeni k odběru samotného subjektu nebo nadřazeného subjektu.",
"13001": "Tento sdílený odkaz vyžaduje heslo k ověření, ale žádné nebylo poskytnuto.",
"13002": "Zadané heslo pro sdílený odkaz bylo neplatné."
"13002": "Zadané heslo pro sdílený odkaz bylo neplatné.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "O aplikaci",
@@ -1213,4 +1221,4 @@
"years": "rok|roky"
}
}
}
}
+14 -6
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": "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 +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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "Enhedstypen for abonnementet er ugyldigt.",
"12002": "Du er allerede abonneret på selve enheden eller en overordnet enhed.",
"13001": "Dette delingslink kræver en adgangskode til godkendelse, men ingen blev angivet.",
"13002": "Adgangskoden til delingslinket er ugyldig."
"13002": "Adgangskoden til delingslinket er ugyldig.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "Om",
@@ -1213,4 +1221,4 @@
"years": "year|years"
}
}
}
}
+14 -6
View File
@@ -324,7 +324,7 @@
"title": "Liste",
"add": "Hinzufügen",
"addPlaceholder": "Aufgabe hinzufügen…",
"empty": "Dieses Project ist derzeit leer.",
"empty": "Dieses Projekt ist derzeit leer.",
"newTaskCta": "Aufgabe erstellen.",
"editTask": "Aufgabe bearbeiten"
},
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "Die Spalte wurde erfolgreich gelöscht.",
"bucketTitleSavedSuccess": "Der Spaltenname wurde erfolgreich gespeichert.",
"bucketLimitSavedSuccess": "Das Spaltenlimit wurde erfolgreich gespeichert.",
"collapse": "Spalte einklappen"
"collapse": "Spalte einklappen",
"bucketLimitReached": "Du hast das Limit dieses Buckets erreicht. Entferne Aufgaben oder erhöhe das Limit, um neue Aufgaben hinzuzufügen."
},
"pseudo": {
"favorites": {
@@ -410,6 +411,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 …",
@@ -458,7 +461,10 @@
"doneAt": "Datum und Uhrzeit, an dem die Aufgabe als erledigt markiert wurde",
"assignees": "Die der Aufgabe Zugewiesenen",
"labels": "Die der Aufgabe zugeordneten Labels",
"project": "Das Projekt, zu dem die Aufgabe gehört (nur verfügbar für gespeicherte Filter, nicht auf Projektebene)"
"project": "Das Projekt, zu dem die Aufgabe gehört (nur verfügbar für gespeicherte Filter, nicht auf Projektebene)",
"reminders": "Die Erinnerungen einer Aufgabe als Datumsfeld, gibt alle Aufgaben mit mindestens einer Erinnerung zurück, die dem Filter entspricht",
"created": "Datum und Uhrzeit, an dem die Aufgabe erstellt wurde",
"updated": "Datum und Uhrzeit, an dem die Aufgabe zuletzt geändert wurde"
},
"operators": {
"intro": "Die verfügbaren Operatoren für die Filterung sind:",
@@ -469,7 +475,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:",
@@ -1196,7 +1203,8 @@
"12001": "Der Abonnement-Typ ist ungültig.",
"12002": "Du bist bereits zu dieser oder einer übergeordneten Entität abonniert.",
"13001": "Das Passwort für diese Linkfreigabe wurde nicht angegeben.",
"13002": "Das Passwort für diese Linkfreigabe war ungültig."
"13002": "Das Passwort für diese Linkfreigabe war ungültig.",
"14001": "Die angegebene Datei ist keine gültige ZIP-Datei."
},
"about": {
"title": "Über",
@@ -1213,4 +1221,4 @@
"years": "Jahr|Jahre"
}
}
}
}
+14 -6
View File
@@ -324,7 +324,7 @@
"title": "Liste",
"add": "Hinzufügen",
"addPlaceholder": "Aufgabe hinzufügen…",
"empty": "Dieses Project ist derzeit leer.",
"empty": "Dieses Projekt ist derzeit leer.",
"newTaskCta": "Aufgabe erstellen.",
"editTask": "Aufgabe bearbeiten"
},
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "Die Spalte wurde erfolgreich gelöscht.",
"bucketTitleSavedSuccess": "Der Spaltenname wurde erfolgreich gespeichert.",
"bucketLimitSavedSuccess": "Das Spaltenlimit wurde erfolgreich gespeichert.",
"collapse": "Spalte einklappen"
"collapse": "Spalte einklappen",
"bucketLimitReached": "Du hast das Limit dieses Buckets erreicht. Entferne Aufgaben oder erhöhe das Limit, um neue Aufgaben hinzuzufügen."
},
"pseudo": {
"favorites": {
@@ -410,6 +411,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…",
@@ -458,7 +461,10 @@
"doneAt": "Datum und Uhrzeit, an dem die Aufgabe als erledigt markiert wurde",
"assignees": "Die der Aufgabe Zugewiesenen",
"labels": "Die der Aufgabe zugeordneten Labels",
"project": "Das Projekt, zu dem die Aufgabe gehört (nur verfügbar für gespeicherte Filter, nicht auf Projektebene)"
"project": "Das Projekt, zu dem die Aufgabe gehört (nur verfügbar für gespeicherte Filter, nicht auf Projektebene)",
"reminders": "Die Erinnerungen einer Aufgabe als Datumsfeld, gibt alle Aufgaben mit mindestens einer Erinnerung zurück, die dem Filter entspricht",
"created": "Datum und Uhrzeit, an dem die Aufgabe erstellt wurde",
"updated": "Datum und Uhrzeit, an dem die Aufgabe zuletzt geändert wurde"
},
"operators": {
"intro": "Die verfügbaren Operatoren für die Filterung sind:",
@@ -469,7 +475,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:",
@@ -1196,7 +1203,8 @@
"12001": "De Abonnement Entitätstyp isch ungültig.",
"12002": "Du bisch scho zu dere oder ere übergordnete Entität abonniert.",
"13001": "De teilti Link bruucht es Passwort, aber du hesch keis aahgeh.",
"13002": "Das Passwort wo du geh hesch isch ungültig."
"13002": "Das Passwort wo du geh hesch isch ungültig.",
"14001": "Die angegebene Datei ist keine gültige ZIP-Datei."
},
"about": {
"title": "Über",
@@ -1213,4 +1221,4 @@
"years": "Jahr|Jahre"
}
}
}
}
+16 -7
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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -848,7 +855,8 @@
"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."
"addedSuccess": "The comment was added successfully.",
"permalink": "Copy permalink to this comment"
},
"deferDueDate": {
"title": "Defer due date",
@@ -1195,7 +1203,8 @@
"12001": "The subscription entity type is invalid.",
"12002": "You are already subscribed to the entity itself or a parent entity.",
"13001": "This link share requires a password for authentication, but none was provided.",
"13002": "The provided link share password was invalid."
"13002": "The provided link share password was invalid.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "About",
@@ -1212,4 +1221,4 @@
"years": "year|years"
}
}
}
}
+14 -6
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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "The subscription entity type is invalid.",
"12002": "You are already subscribed to the entity itself or a parent entity.",
"13001": "This link share requires a password for authentication, but none was provided.",
"13002": "The provided link share password was invalid."
"13002": "The provided link share password was invalid.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "About",
@@ -1213,4 +1221,4 @@
"years": "year|years"
}
}
}
}
+14 -6
View File
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "El contenedor se ha eliminado con éxito.",
"bucketTitleSavedSuccess": "El título del contenedor se ha guardado con éxito.",
"bucketLimitSavedSuccess": "El límite del contenedor se ha guardado con éxito.",
"collapse": "Contraer este contenedor"
"collapse": "Contraer este contenedor",
"bucketLimitReached": "You have reached the bucket limit. Remove tasks or increase the limit to add new tasks."
},
"pseudo": {
"favorites": {
@@ -410,6 +411,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 +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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "El tipo de entidad de suscripción es inválido.",
"12002": "Ya está suscrito a la entidad en sí misma o a una entidad padre.",
"13001": "Este enlace compartido requiere una contraseña para la autenticación, pero no se ha proporcionado ninguna.",
"13002": "La contraseña proporcionada del enlace compartido no es válida."
"13002": "La contraseña proporcionada del enlace compartido no es válida.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "Acerca de",
@@ -1213,4 +1221,4 @@
"years": "año|años"
}
}
}
}
+14 -6
View File
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "La colonne a bien été supprimée.",
"bucketTitleSavedSuccess": "Le titre de la colonne a bien été enregistré.",
"bucketLimitSavedSuccess": "La limite de la colonne a bien été enregistrée.",
"collapse": "Réduire cette colonne"
"collapse": "Réduire cette colonne",
"bucketLimitReached": "You have reached the bucket limit. Remove tasks or increase the limit to add new tasks."
},
"pseudo": {
"favorites": {
@@ -410,6 +411,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 +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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "Le type d’entité d’abonnement est invalide.",
"12002": "Vous êtes déjà abonné·e à l’entité elle-même ou à une entité parente.",
"13001": "Le mot de passe requis n’a pas été fourni pour ce partage de lien.",
"13002": "Mot de passe de partage de lien invalide."
"13002": "Mot de passe de partage de lien invalide.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "À propos",
@@ -1213,4 +1221,4 @@
"years": "année|années"
}
}
}
}
+14 -6
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": "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 +450,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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "The subscription entity type is invalid.",
"12002": "You are already subscribed to the entity itself or a parent entity.",
"13001": "This link share requires a password for authentication, but none was provided.",
"13002": "The provided link share password was invalid."
"13002": "The provided link share password was invalid.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "About",
@@ -1213,4 +1221,4 @@
"years": "year|years"
}
}
}
}
+14 -6
View File
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "A vödör sikeresen törölve.",
"bucketTitleSavedSuccess": "A vödör címe sikeresen elmentve.",
"bucketLimitSavedSuccess": "A vödör limit sikeresen elmentve.",
"collapse": "Zárd össze ezt a vödröt"
"collapse": "Zárd össze ezt a vödröt",
"bucketLimitReached": "You have reached the bucket limit. Remove tasks or increase the limit to add new tasks."
},
"pseudo": {
"favorites": {
@@ -410,6 +411,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 +450,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)",
@@ -458,7 +461,10 @@
"doneAt": "A feladat befejezésének dátuma és időpontja",
"assignees": "A feladattal megbízottak",
"labels": "A feladathoz társított címkék",
"project": "A projekt, amelyhez a feladat tartozik (csak a mentett szűrőkhöz érhető el, projekt szinten nem)"
"project": "A projekt, amelyhez a feladat tartozik (csak a mentett szűrőkhöz érhető el, projekt szinten nem)",
"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"
},
"operators": {
"intro": "A szűréshez elérhető operátorok a következők:",
@@ -469,7 +475,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:",
@@ -1196,7 +1203,8 @@
"12001": "A feliratkozás típusa érvénytelen.",
"12002": "Ön már feliratkozott magára az entitásra, vagy egy szülő entitásra.",
"13001": "A linkmegosztáshoz jelszó szükséges a hitelesítéshez, de nem adták meg.",
"13002": "A megadott linkmegosztási jelszó érvénytelen."
"13002": "A megadott linkmegosztási jelszó érvénytelen.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "Névjegy",
@@ -1213,4 +1221,4 @@
"years": "év|évek"
}
}
}
}
File diff suppressed because it is too large Load Diff
+14 -6
View File
@@ -365,7 +365,8 @@
"deleteBucketSuccess": "バケットは正常に削除されました。",
"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": "絞り込み",
"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 +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)",
@@ -458,7 +461,10 @@
"doneAt": "The date and time when the task was completed",
"assignees": "The assignees of the task",
"labels": "The labels associated with the task",
"project": "The project the task belongs to (only available for saved filters, not on a project level)"
"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"
},
"operators": {
"intro": "The available operators for filtering include:",
@@ -469,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:",
@@ -1196,7 +1203,8 @@
"12001": "The subscription entity type is invalid.",
"12002": "You are already subscribed to the entity itself or a parent entity.",
"13001": "This link share requires a password for authentication, but none was provided.",
"13002": "The provided link share password was invalid."
"13002": "The provided link share password was invalid.",
"14001": "The provided file is not a valid zip file."
},
"about": {
"title": "Vikunjaについて",
@@ -1213,4 +1221,4 @@
"years": "年"
}
}
}
}

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