Caldav only supports 1000 Tasks per project #2302
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
I am a happy user of Vikunja and recently must have created my 1000th task (most of them are 'done' of course).
Since then any new tasks don't appear in tasks.org which I sync via Caldav.
A quick check with curl seems to indicate that the reason might be on the Vikunja side:
curl -X GET -u user:password https://task.server.io/dav/projects/1 |grep SUMMARY |wc -l
always yields1000
.I guess the reason might be that the query limits to 1000 tasks per project: https://kolaente.dev/vikunja/vikunja/src/branch/main/pkg/routes/caldav/listStorageProvider.go#L639
Do you think this value can be increased (or unlimited)? Maybe per configuration?
I do not really want to remove my done tasks from the database.
Vikunja Version
0.23.0
Browser and version
tasks.org, curl
Can you reproduce the bug on the Vikunja demo site?
Please select
Screenshots
No response
Caldav only supports 1000 Tasksto Caldav only supports 1000 Tasks per projectI don't know why it was restricted to 1000 tasks in the first place. Changed it to unlimited in
741370b613
. Please check with the next unstable build if that fixes your problem.This is fine now. While looking at the code, I can also see that the number of projects are limited to 50. (For me that's enough, but other workflows might be possible).
https://kolaente.dev/vikunja/vikunja/src/branch/main/pkg/routes/caldav/listStorageProvider.go#L102