10359 Commits

Author SHA1 Message Date
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
0706ca60b5 fix(deps): update tiptap to v2.7.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-25 16:15:32 +00:00
15d95f16da
fix(checkbox): use sibling css selector instead of has
Some checks reported errors
continuous-integration/drone/push Build was killed
This makes the checkbox work as intended on older browsers which do not support the :has selector.

Resolves #2713
2024-09-25 14:38:17 +02:00
f7f1b1638b fix(deps): update dependency @sentry/vue to v8.32.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-25 12:03:31 +00:00
2ece97fc2b 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-25 05:15:48 +00:00
71901a62f2 chore(deps): update dev-dependencies
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-09-24 00:15:47 +00:00
cda0848b2a fix(deps): update dependency tailwindcss to v3.4.13
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build was killed
2024-09-23 15:15:27 +00:00
261c6e6c9e
fix(files): only use service rootpath for files when the files path is not absolute
All checks were successful
continuous-integration/drone/push Build is passing
Resolves https://community.vikunja.io/t/images-failing-to-load-500-internal-server-error/2835
2024-09-23 14:41:00 +02:00
204dccf08b
feat: add utm tag to powered by link
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 12:07:06 +02:00
c85cfcce6a fix(deps): update dependency @sentry/vue to v8.31.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 08:49:46 +00:00
c35c70e71f
feat: do not load notifications while in the background
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 10:31:09 +02:00
dea123dbea
docs: format config json
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 17:18:17 +02:00
5643027454
docs: intro for migrators 2024-09-22 17:18:01 +02:00
b9cdc9fbe5
docs: clarify migrators
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-22 17:10:36 +02:00
003db05b66
docs: clarify enabled providers
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 16:32:48 +02:00
c5a97ef0a3
docs: correctly document providers in config
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 15:58:21 +02:00
8776465fa2
fix: generate config in ci
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 15:35:03 +02:00