alainm23 / planify

Task manager with Todoist & Nextcloud support designed for GNU/Linux 🚀
GNU General Public License v3.0
3.45k stars 205 forks source link

Add the ability to select a directory with a database to setup synchronization via Syncthing #1329

Open dtwrk opened 3 months ago

dtwrk commented 3 months ago

Hello! I ask you to add the ability to select a directory with a Planify database to setup synchronization via Syncthing (https://syncthing.net/). I would like to synchronize tasks between my laptops and computers without using cloud services.

And thanks for the Planify application! ;-)

Riksu9000 commented 3 months ago

Have you tried syncing the directory with the database file? For a flatpak installation it's in ~/.var/app/io.github.alainm23.planify/data/io.github.alainm23.planify

dtwrk commented 3 months ago

Have you tried syncing the directory with the database file? For a flatpak installation it's in ~/.var/app/io.github.alainm23.planify/data/io.github.alainm23.planify

Thanks for the answer! I'll make a backup and start testing the synchronization of the directory you specified. I will write about the results later

dtwrk commented 3 months ago

As I promised, I'm coming back with an answer :-). During this time, I was testing synchronization between two devices using Synching with the Planify application installed via Flatpak. The synchronization method you suggested works correctly. I'm syncing the directory /home/USERNAME/.var/app/io.github.alainm23.planify/data/io.github.alainm23.planify. There were no critical errors/synchronization conflicts. As far as I understand, the database with tasks is contained in the file /home/USERNAME/.var/app/io.github.alainm23.planify/data/io.github.alainm23.planify/database.db.

Now I just want to suggest leaving a hint in the Planify application for users on how to synchronize data using Syncthing. May be can place information in the Settings/Integrations?

alainm23 commented 2 months ago

It looks like an interesting solution but it is not quite complete, there are settings (online accounts, preferences and inbox project id) that are not saved in database but using Gschema.