Commit Graph

10360 Commits

Author SHA1 Message Date
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
renovate b6806acda0 chore(deps): update dependency go to v1.23.2 2024-10-02 07:46:06 +00:00
renovate fa873f5540 fix(deps): update dependency pinia to v2.2.4 2024-10-02 07:45:50 +00:00
DanielPantle 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] b6e22cba7d chore(i18n): update translations via Crowdin 2024-10-01 00:32:32 +00:00
renovate 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
jd 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
renovate 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
renovate 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
renovate 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