Giter Site home page Giter Site logo

CalDAV Integration Testing about planify HOT 59 OPEN

alainm23 avatar alainm23 commented on May 25, 2024
CalDAV Integration Testing

from planify.

Comments (59)

alainm23 avatar alainm23 commented on May 25, 2024 3

@umgpy That's right, and I've already fixed it in my development environment, now I'm working on Tags support, I'll send a test version when I finish it. Offline support and recurring tasks are still pending.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024 3

Hello guys, I have another version to test the CalDAV integration.

https://github.com/alainm23/planify/actions/runs/7730017027/artifacts/1209594264

  • Support for task and event type calendars.
  • CalDAV now uses libsecret to store user's account password (You will need to delete your account and re-sync).
  • Planify now updates your account every 15 min.
  • Fixed bug that removed tags from a task.
  • Fixed bug when deleting main task with sub tasks.
  • Fixed bug when dragging a sub task into a parent task.

from planify.

madpipeline avatar madpipeline commented on May 25, 2024 2

I have installed the flatpak beta version using this command:

flatpak install --user https://dl.flathub.org/build-repo/77878/io.github.alainm23.planify.flatpakref

This provided a beta instance of the application, and I could choose which instance to start: beta or release.

What works:

  • Connecting to a nextcloud instance using an app passowrd
  • Creating new task list
  • Downloading changes (new tasks added forn MextCloud interface) (including task notes)

What does not work

  • Adding a new task anywhere in the app crashes the app
  • Checking a task (mark as done) does not get uploaded

Cosmetic notes

  • CalDav fields are prepopulated, they should be hints and disappear when starting typing
  • No means to edit a CalDav connection after adding it

from planify.

alainm23 avatar alainm23 commented on May 25, 2024 2

Hi guys, I have a new version for testing, the following has been fixed and added:

io.github.alainm23.planify.Devel.json

  • Only show list of tasks of type VTODO.
  • Now you can move tasks between task lists.
  • Improved support for subtasks.
  • Added task list selection in Quick Add.

from planify.

Nico7as avatar Nico7as commented on May 25, 2024 2

I would like to know your opinion, the CalDAV account does not have permission to edit the Deck type task lists, only viewing, should Planify?

YES YES YES !!!

It would be a great to be able to use Planify's Board views to interact with Nextcloud Deck !
For now, there's only the Android official app to interact with Deck, outside of its webapp.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024 1

I will look into this further, I am not sure how CalDAV works with recurring tasks.

I've taken a bunch of screenshots on my Android phone. Here are some examples of what the app writes into the reoccurring events for later re-scheduling:

  • every Thursday: FREQ=WEEKLY,BYDAY=TH
  • every week after last completion: FREQ=WEEKLY;REL
  • every month at the 25th: FREQ=MONTHLY;BYMONTHDAY=25
  • every month after last completion: FREQ:MONTHLY;REL
  • every day: FREQ=DAILY
  • every 25th of January: FREQ=YEARLY;MYMONTH=1;BYMONTHDAY=25
  • every year after last completion: FREQ=YEARLY;REL
  • every 2 months on the 25th: FREQ=MONTHLY;INTERVAL=2;MYMONTHDAY=25

All apps I've tested, which support reoccurring events, do write those rules into the event and when you complete it, the app just re-schedules it according the rules. So you won't see copies in the past. Also in order not to quickly blow up the calendar database table.
Nextcloud Tasks does not care about reoccurring event data and just handles them as simple tasks.

But I think, in this case, Planify does not interpret the relations correctly, thus displaying the subtasks as tasks. I'll try to extract these so that we can learn more.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024 1

@oktayacikalin Thank you very much, I see that the problem with the emoji is not only from Nextcloud, it is a bug of Planify when shortening the project name, I will register it as a bug.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024 1

Hi guys I have another new development version of Planify with the following changes:

https://github.com/alainm23/planify/actions/runs/7678355432/artifacts/1199584547

  • Added support for Tags.
  • Now it is possible to create subtasks using Quick Add or drag and drop.
  • Manually sync only a specific list.
  • Convert a subtask into a normal task by drag and drop.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024 1

BUG: When I add a tag to a task in Nextcloud, then open the task in Planify and want to edit the tags, the tags from Nextcloud are not selected. And when I close the tag popup, those even get removed.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024 1

BUG: When I create a tree of nested tasks with a depth of 3, then delete the whole tree in Planify, only the root task is removed from NC. Then I can see the rest of the branch in NC. Refreshing in Planify does not show it.

I think, all subtasks should be removed too.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024 1

I would like to know your opinion, the CalDAV account does not have permission to edit the Deck type task lists, only viewing, should Planify?

I think, Deck type tasks should only appear in a board view. Otherwise, it's confusing.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024 1

BUG: When I drag the Add-Button on a blue insert-bar within a tree, the task is being created at the root level of the list, and not within the tree.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024 1

@oktayacikalin Thanks, I'm already fixing the bugs you mention. For the board views from Nextcloud, maybe we could add it as an improvement later, for the moment they are shown as read-only.

from planify.

umgpy avatar umgpy commented on May 25, 2024 1

After updating here are some issues I had
Bug:

  • Some Sub tasks still appear as Main tasks. (could be because instead of clean install I updated)
  • Scheduled shows the number of scheduled tasks but when open no tasks are displayed from nextcloud, only local tasks are shown. While today correctly displays from nextcloud.
  • Completed tasks/subtask when unmarked on nextcloud do not reappear on Planify.
Screencast.from.2024-02-01.13-58-29.webm

Thanks again for the work!

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024 1

I understand, it could be considered as new functionality, could I create the issue to have it tracked? thanks.

#1126 πŸ™‚

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024 1

BUG: When I create a task using the "Create more" feature, it is being created within the Inbox. BUG: When I create a sub-task using the "Create more" feature, it is being created within the Inbox.

I have not been able to see the bug, are you still seeing it?

Yes, I do:

Bildschirmaufzeichnung.vom.2024-02-03.01-14-19.webm

from planify.

Tettsch avatar Tettsch commented on May 25, 2024 1

Thanks for your great work!

I have installed the latest version you provided here, but when I try to add my Nextcloud server to planify, the app just crashes with the following error:

ERROR:arraylist.c:736:gee_array_list_real_get: assertion failed: (index < _size)
Bail out! ERROR:arraylist.c:736:gee_array_list_real_get: assertion failed: (index < _size)

I can restart the app, and in the preferences it seems like I am logged in to Nextcloud, but sync does not work at all. Unfortunately, there are also no error messages i could provde.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@madpipeline Thank you for your comments. Which Nextcloud server are you using? I understand that you cannot create any tasks?

from planify.

madpipeline avatar madpipeline commented on May 25, 2024

Nextcloud Hub 7 (28.0.1)

Tasks app version: 0.15.0

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@madpipeline For the option to edit the account, you only need to enable the username and password fields. If the user wants to change the server URL, it would be better to delete the account and log in again.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

I would like to comment that for now, the password is saved as a property within the Planify configuration, I understand that the best way would be to use Libsecret, if someone has a quick example for this I would be grateful.

from planify.

antrmn avatar antrmn commented on May 25, 2024

Bug

Planner should only show VTODO capable calendars.

When syncing to my Nextcloud instance, I get this:

Screenshot from 2024-01-24 18-20-34

Personale is my only calendar that is meant to handle tasks, as can be seen on DAVx5:

Screenshot_20240124-182046~2

  • Appelli is just a calendar
  • Date di nascita dei contatti is a read-only automatically generated calendar that shows all birthdays of my contacts
  • Lezioni is just a calendar
  • Personal is both a calendar and a tasks list. This is the only one that should appear in Planify

Feature request

Pinned tasks could be translated to a (default or manually specified) tag in the CalDAV source.

Question

Have you already considered using Evolution Data Server as a backend for handling tasks? If yes, what blocked you from doing so?

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@antrmn Thank you for reporting it, I have just reproduced the error, it is being reviewed.

The reason why EDS is not used here.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@antrmn I have to make one more filter to read only VTODO and not VEVENT calendars.

image

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

I've installed the latest dev version and connected to my Nextcloud (28.0.1) account. It could sync and show all tasks, including sub-tasks. Overall, it looks great so far.

What I'm missing is manual syncing of calendars (i.e. working in tandem with my Android phone or the web UI), and creating new tasks. I tried to use the quick add method, but every time I try to add a task, it would not let me choose a project/calendar.

Ah - and the desktop file is trying to run the stable version.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@oktayacikalin You are right, CalDAV type projects still need to be added in Quick Add.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@antrmn Pinned tasks are displayed with a pin in the Nextcloud web client.
Currently pinned tasks are only shown in Pinboard view, but I plan to make it Github-style when you pin an issue.

image

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024
  • After removing and re-adding the sync, only the VTODO calendars got fetched. πŸ‘
  • Quick Add to a list works now as expected. πŸ‘
  • Moving subtasks between tasks works. πŸ‘
  • Moving tasks via context menu to another list works. πŸ‘
  • Found the manual sync button πŸ‘

What I'm missing:

  • Drag a task from one list to another.
  • Convert subtask to task.
  • Manually sync only a specific list.
  • I've a task "Treppenhausreinigung" with a bunch of subtasks which are scheduled for repetition. All those subtasks appear in the list and not below the task itself.

I've also problems with emojis. Where should I report them? Create a different issue, I guess?

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

Hello and thanks for your comments.

Drag a task from one list to another.

I will consider this as a new feature.

Convert subtask to task.

It should work by dragging the child task off the parent, but it still needs a couple of tweaks to get it to work.

Manually sync only a specific list.

I don't think it's that complicated, Planify does a list-by-list query.

I've a task "Treppenhausreinigung" with a bunch of subtasks which are scheduled for repetition. All those subtasks appear in the list and not below the task itself.

I will look into this further, I am not sure how CalDAV works with recurring tasks.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@oktayacikalin What is your problem with emojis, can't you see them?

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

What is your problem with emojis, can't you see them?

  • In general, I can see the emojis in lists and tasks. It looks like more complex emojis are not handled correctly.
  • Within the Today β†’ Overdue list, my list called "πŸ₯· PersΓΆnlich πŸ“" does show as seen in the screenshot.
  • I'm getting a lot of errors in the console about invalid UTF-8 strings. See the log attached.

Bildschirmfoto vom 2024-01-26 02-11-54

planify.log

from planify.

umgpy avatar umgpy commented on May 25, 2024

Thank you for the great work @alainm23! Tasks with sub tasks created on Planify become regular tasks after syncing with the nextcloud instance. But once it is fixed on nextcloud it maintains the task:sub-task relation.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

How do you create recurring tasks? Are you using tasks.org?

from planify.

umgpy avatar umgpy commented on May 25, 2024

Yes using tasks.org for the recurrent tasks, although I cannot seem to create it from Nextcloud. It does show up successful on the calendar.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

image

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

I would like to know your opinion, the CalDAV account does not have permission to edit the Deck type task lists, only viewing, should Planify?

from planify.

BeatLink avatar BeatLink commented on May 25, 2024

BUG: Planify wont load nextcloud calendars that also contain todo lists. It will only load lists without the calendar

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@BeatLink Hello old friend, what is your life? haha, thanks for writing, I really do not understand very well the error you comment, could you explain it better, I'm a noob in CalDAV, but I learn fast.

from planify.

antrmn avatar antrmn commented on May 25, 2024

@BeatLink Hello old friend, what is your life? haha, thanks for writing, I really do not understand very well the error you comment, could you explain it better, I'm a noob in CalDAV, but I learn fast.

I think it is related to my issue explained above. In my previous comment, Personale is both a calendar and a task list and in fact I can confirm that it does not apper in Planify.

Regarding your reply above:

I have to make one more filter to read only VTODO and not VEVENT calendars.

I don't know exactly how the cal:supported-calendar-component-set is filled when a collection can store both VTODOs and VEVENTs, but maybe this property can hold multiple values?

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@antrmn That's right, the calendar can support both types, thank you I will validate it better.
image

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

@oktayacikalin Thanks, I'm already fixing the bugs you mention. For the board views from Nextcloud, maybe we could add it as an improvement later, for the moment they are shown as read-only.

Great - just make sure that normal tasks appear in the basic task view, and the ones from deck within the boards. I'm completely with you, to get the normal task stuff working properly first. πŸ™‚ πŸ‘

from planify.

umgpy avatar umgpy commented on May 25, 2024

Enhancement: It would be great to add and edit time for scheduled tasks. Currently, Planify shows the scheduled time for task with time added from another source but it cannot add or change the time.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@umgpy I understand what you are saying, I think it is necessary to redesign the date and time selection component, if it allows editing, but it is very confusing to use.

from planify.

BeatLink avatar BeatLink commented on May 25, 2024

@BeatLink Hello old friend, what is your life? haha, thanks for writing, I really do not understand very well the error you comment, could you explain it better, I'm a noob in CalDAV, but I learn fast.

Hey man, I've been good. Been ping ponging between todo apps but this integration has definitely piqued my interest hahaha.

As others have explained, CalDAV calendars can additionally support tasks, and you can have task only collections and calendar only collections. So Planify would need to load only task only collections and calendar collections with tasks.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

I'm not sure about adding the option to edit a synchronised account. On the other hand it would only remain to support recurring tasks.

from planify.

bepolymathe avatar bepolymathe commented on May 25, 2024

Hello guys, I have another version to test the CalDAV integration.

https://github.com/alainm23/planify/actions/runs/7730017027/artifacts/1209594264

* Support for task and event type calendars.

* CalDAV now uses libsecret to store user's account password (You will need to delete your account and re-sync).

* Planify now updates your account every 15 min.

* Fixed bug that removed tags from a task.

* Fixed bug when deleting main task with sub tasks.

* Fixed bug when dragging a sub task into a parent task.

I have a crash...

image

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

FEATURE: Planify should always show completed sub-tasks.

I often have tasks having a couple of sub-tasks, which are relevant as a reference while the main gig is running.

Nextcloud Tasks does this too, which is really convenient.

What do you think? Create an issue?

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@oktayacikalin Planify already shows the completed subtasks, just enable the option to view completed tasks in the view menu of each project.

image
image

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

@oktayacikalin Planify already shows the completed subtasks, just enable the option to view completed tasks in the view menu of each project.

I know that one, but I have about 100 completed tasks per list, which I don't want to see until I do my monthly review and finally remove them. In other lists, I keep them for a year or so just for reference. Always showing those is slowing down the app significantly.

NC Tasks does it differently. By default it hides completed tasks, but shows completed sub-tasks. This keeps the web app snappy, while not hiding important steps of a task (sequence).

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

I understand, it could be considered as new functionality, could I create the issue to have it tracked? thanks.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

BUG: When I create a task using the "Create more" feature, it is being created within the Inbox.
BUG: When I create a sub-task using the "Create more" feature, it is being created within the Inbox.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

Here's a task with sub-tasks, which are not shown as a tree in Planify:
backup-tasks.zip

I've exported those files by opening each task in Nextcloud and hitting the export button.

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

Here's another disjointed one. Looks like the relation is not interpreted correctly?

planify-bug-task-not-associated.zip

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

I'm checking, and this is because one of its child tasks is recurring from the parent (and Planify doesn't read it that way). What application are you using to create such recurring tasks? I'm currently using Tasks.org and it doesn't duplicate the task, it just updates the due date on completion of the recurrence.

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

BUG: When I create a task using the "Create more" feature, it is being created within the Inbox. BUG: When I create a sub-task using the "Create more" feature, it is being created within the Inbox.

I have not been able to see the bug, are you still seeing it?

from planify.

oktayacikalin avatar oktayacikalin commented on May 25, 2024

I'm checking, and this is because one of its child tasks is recurring from the parent (and Planify doesn't read it that way). What application are you using to create such recurring tasks? I'm currently using Tasks.org and it doesn't duplicate the task, it just updates the due date on completion of the recurrence.

I'm using OpenTasks and aCalendar+ in combination. OpenTasks is great for shopping lists and aCalendar+ gives me a proper tree, apart from combining my calendars and tasks into one view. Look into the ical files. It tells who created the items.
OpenTasks and aCalendar also do not duplicate the tasks on completion of the recurrence. I think, they complete and reopen them. I found logs in Nextcloud which tell, that I reopened the reoccurring task.

from planify.

azzamsa avatar azzamsa commented on May 25, 2024

I get this when trying to login

The same credentials and URL work fine with task.org android app.


image

  • Nextcloud Hub 3 (25.0.7)

  • Can't check the planify version, because the app keeps crashing when opening about

πŸ” ❯ flatpak run io.github.alainm23.planify.Devel
Date: 2024-02-05T05:37:39+0700

(io.github.alainm23.planify.Devel:2): Gtk-CRITICAL **: 05:37:39.536: gtk_box_append: assertion 'GTK_IS_WIDGET (child)' failed

(io.github.alainm23.planify.Devel:2): Gtk-CRITICAL **: 05:37:39.786: gtk_stack_set_visible_child_name: assertion 'GTK_IS_STACK (stack)' failed

(io.github.alainm23.planify.Devel:2): Adwaita-ERROR **: 05:37:41.806: Could not parse metadata file: The resource at β€œ/io/github/alainm23/planify/io.github.alainm23.planify.Devel.appdata.xml.in.in” does not exist
Planify                io.github.alainm23.planify        4.4             stable      flathub      user
Planify                io.github.alainm23.planify.Devel  4.4             master      devel-origin system
## Software Information:
- **OS Name:**                                     Fedora Linux 39 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               45.3
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.6.13-200.fc39.x86_64

from planify.

alainm23 avatar alainm23 commented on May 25, 2024

@azzamsa We only tested on Nextcloud Hub 7 onwards, maybe you have a test user you can share with me? we are a bit limited on resources.

from planify.

azzamsa avatar azzamsa commented on May 25, 2024

Whoa. I am very surprised that my Nextcloud is that old. It is a bundled version with MailInABox. So that's expected.

I will try the latest Nextcloud release and report back here.

Thank you sooo much for planify! 🧁

from planify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.