10375 Commits

Author SHA1 Message Date
12894c4619 chore(deps): update pnpm to v9.12.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-07 14:14:53 +00:00
841cf10545 chore(deps): update dependency caniuse-lite to v1.0.30001667
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-07 11:57:12 +00:00
b31e95d439 fix(deps): update module golang.org/x/crypto to v0.28.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-06 15:22:25 +00:00
3efa9577c7 fix(deps): update dependency vue-i18n to v10.0.4
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-06 15:21:55 +00:00
e21138e1c7 fix(deps): update module golang.org/x/term to v0.25.0
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-06 15:21:09 +00:00
2b44b5f7cd fix(deps): update dependency @sentry/vue to v8.33.1
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-10-06 14:15:09 +00:00
07faa1b1b3 fix(deps): update dependency vue to v3.5.11
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-06 13:40:12 +00:00
9dcbfb0514 fix(deps): update module golang.org/x/sys to v0.26.0
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-06 13:39:34 +00:00
2e67a42021 fix(deps): update module golang.org/x/image to v0.21.0
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-06 13:39:03 +00:00
cb9e84908f fix(deps): update module golang.org/x/text to v0.19.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 17:43:13 +00:00
8a003db3af fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.24
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-10-04 16:15:13 +00:00
Frederick [Bot]
de110b37be chore(i18n): update translations via Crowdin
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-04 00:32:06 +00:00
f10e8dc30f chore(deps): update dependency rollup to v4.24.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-03 06:47:11 +00:00
Frederick [Bot]
3b7f78eaa5 chore(i18n): update translations via Crowdin
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-03 00:31:16 +00:00
7070c88894 fix(deps): update dependency @sentry/vue to v8.33.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 15:46:49 +00:00
d657a853fa chore(deps): update pnpm to v9.12.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-02 13:14:55 +00:00
d81f2db6ef
chore: replace all uses of bucket_id with the const
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 10:43:51 +02:00
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
b6806acda0 chore(deps): update dependency go to v1.23.2
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 07:46:06 +00:00
fa873f5540 fix(deps): update dependency pinia to v2.2.4
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-02 07:45:50 +00:00
faff1040dc feat(task): cancel editing task title with escape (#2730)
Some checks failed
continuous-integration/drone/push Build is failing
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: #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
4c74a3f859 chore(deps): update dev-dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-02 05:14:56 +00:00
Frederick [Bot]
b6e22cba7d chore(i18n): update translations via Crowdin
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-01 00:32:32 +00:00
3271a935c5 fix(deps): update tiptap to v2.8.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-30 19:20:55 +00:00
8be3321efd fix(deps): update dependency pinia to v2.2.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-30 18:15:23 +00:00
80d22d5060
fix(colors): truncate longer hex color values
All checks were successful
continuous-integration/drone/push Build is passing
Resolves https://vikunja.sentry.io/share/issue/6f1e37d4b8b248188e20650234a45cde/
2024-09-30 20:06:10 +02:00
1eaeb8d003
fix(filters): change assertion based on the environment
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-30 19:54:00 +02:00
8d05b5cb01
fix(filters): return more details when the provided filter time zone is invalid
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-30 08:42:16 +02:00
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
d22bc79d3c
chore(tasks): add more details to error message
All checks were successful
continuous-integration/drone/push Build is passing
Trying to debug https://vikunja.sentry.io/share/issue/ef81451b0c7b43f1bff2d3a86ba393bb/
2024-09-29 21:44:28 +02:00
3855e179a9
fix(filters): clarify usage of reminders in filters
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-29 21:11:08 +02:00
1fe5e9cc55
chore(tasks): add more details to error message
Some checks failed
continuous-integration/drone/push Build is failing
Trying to debug https://vikunja.sentry.io/share/issue/ef81451b0c7b43f1bff2d3a86ba393bb/
2024-09-29 21:05:55 +02:00
5478acfc09
fix(files): configure the files path in files init instead of globally
All checks were successful
continuous-integration/drone/push Build is passing
This fixes a regression introduced in daa7ad053c35a97933ca79aee007c388538bab5d where the root path would be included twice in the file path, leading to retrieval issues.
2024-09-29 19:04:25 +02:00
287d4f7de2
fix(filters): make sure year is always at least 1
Some checks failed
continuous-integration/drone/push Build is failing
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
14a3156465
fix(mage): actually pass the cli parameter to the function
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-29 18:22:21 +02:00
daa7ad053c
feat: auto tls
Some checks failed
continuous-integration/drone/push Build is failing
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
6a94c39ea8
fix(desktop): use pnpm in ci
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-29 16:07:58 +02:00
ca048d07f9
chore: 0.24.4 release preperation
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-29 15:46:37 +02:00
3ce477e1d1
fix(test): use correct selector for modal header
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-29 14:16:43 +02:00
9f9b00144b
fix(task): improve task delete modal on mobile
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-29 13:47:35 +02:00
308e634c71
fix(task): do not show close button when the task was not opened via modal
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-29 13:36:30 +02:00
54994a1671
fix(task): paginate task comments
Some checks failed
continuous-integration/drone/push Build is failing
Resolves https://github.com/go-vikunja/vikunja/issues/329
2024-09-29 13:28:29 +02:00
ca967782e8
fix(filters): explicitly search in json when using postgres
All checks were successful
continuous-integration/drone/push Build is passing
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)
All checks were successful
continuous-integration/drone/push Build is passing
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: #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
4d8c957f75 chore(deps): update dev-dependencies
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-09-28 03:15:11 +00:00
654f375d39 fix(deps): update dependency vue to v3.5.10
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-27 16:16:35 +00:00
bdb3df8395 fix(deps): update tiptap to v2.7.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-26 13:15:53 +00:00
df41a96148 fix(deps): update dependency dompurify to v3.1.7
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-26 12:43:48 +00:00
892b8ad89a fix(deps): update dependency vue to v3.5.9
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-09-26 12:15:21 +00:00
b4ac1adacb chore(deps): update dev-dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-26 04:15:38 +00:00