Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalDAV Support #555

Closed
alainm23 opened this issue Oct 7, 2020 · 47 comments
Closed

CalDAV Support #555

alainm23 opened this issue Oct 7, 2020 · 47 comments
Labels
Type: Enhancement New feature or request

Comments

@alainm23
Copy link
Owner

alainm23 commented Oct 7, 2020

No description provided.

@alainm23
Copy link
Owner Author

alainm23 commented Oct 7, 2020

CalDav Support is being developed, Planner can now show the local task lists and synchronized with Google Task, I have not yet been able to test with NextCloud but I think it will work.

image

@juliusknorr
Copy link

juliusknorr commented Oct 7, 2020

@alainm23 Hi, Nextcloud developer here, we would be really glad to see that integration happening. In case you need anything in that regards like access to a test system or have questions, please don't hesitate to reach out to me.

@alainm23
Copy link
Owner Author

alainm23 commented Oct 8, 2020

I just added support to be able to add tasks, it is a smooth process thanks to the asynchronous synchronization that EDS provides,
Peek 2020-10-08 11-32 (1)

@alainm23
Copy link
Owner Author

alainm23 commented Oct 8, 2020

@juliushaertl @sollymay Thank you very much for your help, I'll still make some big changes to Planner backend so that everything works correctly, I'll contact you if I have any questions.

@BeatLink
Copy link
Collaborator

Awesome!

@alainm23 alainm23 changed the title CalDav Support CalDAV Support Oct 12, 2020
@Alexandero89
Copy link
Contributor

Alexandero89 commented Nov 8, 2020

Hey @alainm23 ,
thx for your effort!

Just wanted to ask if there is any progress or is there any way we could help you with?

Edit:
Would it maybe help if you push the CalDav beta to a branch and we start testing it for you.

@dilyanpalauzov
Copy link

Is planner going to reimplement the CalDAV protocol on its own, or will it use evolution-data-server for this?

@alainm23
Copy link
Owner Author

@Alexandero89 Currently CalDAV support is available in Flatpak, if you want you can compile and test it. There are still many details to complete, but I'm working on this.

git clone https://github.com/alainm23/planner.git
cd planner/build-aux/flatpak
flatpak-builder --install repo com.github.alainm23.planner.json --force-clean --user
flatpak run com.github.alainm23.planner

@alainm23
Copy link
Owner Author

@dilyanpalauzov Planner'll use the EDS backend for CalDAV support.

@BeatLink BeatLink pinned this issue Jan 22, 2021
@theotheroracle
Copy link

hi, built the latest build from master using the instructions from #555 (comment) yet I can't find the caldav integration

@Alexandero89
Copy link
Contributor

@theotheroracle did you check the plugin section under settings?

@theotheroracle
Copy link

theotheroracle commented Jan 28, 2021 via email

@Alch-Emi
Copy link

I'm having the same issue as @theotheroracle.

I'm building from e6812c1 on Fedora 33. The about section of Planner self-describes as version 2.6.9, but the plugins section only lists "Sidebar Labels". It's worth noting that I had to modify the commands slightly to run with Fedora's Flatpak setup, as the provided build commands fail to build with a permission error. Instead, I ran

sudo flatpak-builder --install repo com.github.alainm23.planner.json --force-clean

Note the addition of sudo and the removal of --user. However, I uninstalled my previous version of Planner before hand in order to ensure I was running the right version. Connectivity with EDS seems to be working as calendar events continue to show up.

Logs look like:

ing share/icons/elementary/mimes/64/application-x-theme.sv
g, non-allowed export filename
** (com.github.alainm23.planner:2): CRITICAL **: 10:36:26.294: objects_project_get_id: assertion 'self != NULL' failed
Not exporting share/icons/elementary/mimes/64/audio-mpeg.svg, non-al
(com.github.alainm23.planner:2): GLib-GObject-WARNING **: 10:36:26.309: invalid (NULL) pointer instance
ic.svg, non-allowed export filename
(com.github.alainm23.planner:2): GLib-GObject-CRITICAL **: 10:36:26.309: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
tl.svg, non-allowed export filename
(com.github.alainm23.planner:2): GLib-GObject-WARNING **: 10:36:26.310: invalid (NULL) pointer instance
Not exporting share/icons/elementary/mimes/64/audio-x-mpegurl-rtl.sv
(com.github.alainm23.planner:2): GLib-GObject-CRITICAL **: 10:36:26.310: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(com.github.alainm23.planner:2): GLib-GObject-WARNING **: 10:36:26.310: invalid (NULL) pointer instance

(com.github.alainm23.planner:2): GLib-GObject-CRITICAL **: 10:36:26.310: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

@pcause
Copy link

pcause commented Jan 31, 2021

Can this capability be done such that one can import/export caldav files? Are you using the ical todo entry format? This would enable others to write external apps using planner items.

@yann1cks
Copy link

yann1cks commented Feb 1, 2021

Do you have an estimate when the CalDAV support is going to be released? I am really want this feature.

@Alexandero89
Copy link
Contributor

@theotheroracle @Alch-Emi
I'm not one of the devs but i just checked the repo and maybe if you uncomment the line
# subdir ('caldav')
in this file: https://github.com/alainm23/planner/blob/master/plugins/meson.build ,then rebuild, it could show the caldav plugin inside the app.

@Alch-Emi
Copy link

Aaa bless!

Seems like it's still missing from the today and upcoming views, but I'm guessing that's just not been implemented yet.

Thank you so much!

@RyanGreenup
Copy link

FWIW I haven't been able to build it when uncommenting that, but let the record show I'd love to test and evaluate the CalDav stuff.

@alainm23
Copy link
Owner Author

alainm23 commented Mar 4, 2021

I'm currently working on Pop! OS 20.04, I can confirm that NextCloud support works. I'm also working with libhandy to make Planner better. For now the updates in AppCenter are paused, I hope with the release of elementary OS 6 this will be solved, try to use the version of Flatpak that will be receiving more updates.

@Alch-Emi
Copy link

Alch-Emi commented Mar 4, 2021

Oh my gosh, I can't wait to see planner with libhandy! Always a huge fan of libhandy apps, and Planner's design is already so beautiful. Super excited!

@black1good
Copy link

Hi People , how did you add a Google Task to your Planner ?? Would much appreciate it , i don't use TODOIST , and paying for that is not a option . Thanks

@alainm23
Copy link
Owner Author

@black1good You can set up your Google account from Evolution Mail & Calendar or from the online accounts in your desktop environment.

@black1good
Copy link

Wow that was fast , thanks alot for fast reply , in online acc i already added my acc , what to do then ? I am running 2.6.9 version from FLATPACk .

@alainm23
Copy link
Owner Author

@black1good CalDAV and Google Task support will be available in v2.7, please be patient, it's coming.

@black1good
Copy link

Thanks , no pressure , just thanks for this great app, do you accept crypto ? Something like notes that i similar would be perfect for my productivity.

@cryptono
Copy link

cryptono commented May 28, 2021

@alainm23 will Etesync work with this as well? #307

@theotheroracle
Copy link

@cryptono it works with the decsync plugin for eds, so i imagine it would probably work with etesync as well .
( btw this is incredibly cool and i'm so happy this exists )

@alainm23 alainm23 unpinned this issue Jun 3, 2021
@Gogny
Copy link

Gogny commented Jun 3, 2021

Hi ! Thank you for your work !
I just downloaded 2.7, how can you use the CalDav extension ? Parameters is greyed out...
Are there instructions online ?

@tandy-1000
Copy link

Thank you for working on this!
I've installed 2.7 and everything is working great. Is there a plan to support sections in CalDAV todos?

@Gogny
Copy link

Gogny commented Jun 7, 2021

image
image
I have registered my nextcloud account in gnome online accounts, It says it has synced when i press the ctrl+s shortcut but it doesn't see any of my projects on nextcloud tasks...
I am using the flatpack version, normally it has the ring for settings and the sync button, here, nothing.
Do you have any idea ?

@FONDSMATIVE
Copy link

Hi @alainm23,

thank you so much for your great work! I really appreciate all of your great efforts!

I am using Planner 2.7 (Flatpack) on RHEL 8.4. and EDS (Evolution Data Server) is configured 'fetching' entries from CalDAV Server's. Evolution is working great!

Planner 2.7 can 'recognizes' every calendar on my system but still can't fetch any entries nor any tasks from any CalDAV Server. Using "Flatseal" I granted Planner full access to the system.
Nothing changed. Planner still can't fetch any calendar/task entries.

Even after restarting Planner any entered 'CalDAV tasks' are deleted.
Any ideas from your side? I still think, there are some minor issues regarding EDS/Planner 2.7.

Many thanks again for your great work!

@theotheroracle
Copy link

could you send logs ? @FONDSMATIVE

@gerroon
Copy link

gerroon commented Jun 13, 2021

Hi

I have 2.7 installed and I enabled the Caldav plug but I see no options or a way to add Caldav logins anywhere including the projects. I am on Xfce.

thanks

@theotheroracle
Copy link

theotheroracle commented Jun 14, 2021

you have to add them through evolution or gnome-control-center

@FONDSMATIVE
Copy link

FONDSMATIVE commented Jun 17, 2021

@theotheroracle

could you send logs ? @FONDSMATIVE

Would you mind guiding me? What logs do you exactly need?

@theotheroracle
Copy link

i already replied to your email though

@FONDSMATIVE
Copy link

Hi,
Unfortunately, I did not receive any E-Mail. I provided two other addresses - maybe you can forward your answers. Really strange.

Many thanks again!

@theotheroracle
Copy link

i'll just post it here for anyone else to reference:

when running the program from the commandline, enable "G_MESSAGES_DEBUG=all" to see the debug information . a stacktrace would be useful if the program crashes, but as i understand your issue, it's not, it's just having trouble communicating with eds . you could also try recording a dbus log which you could do with bustle ( on flathub ) . you'll want to record userspace information

@FONDSMATIVE
Copy link

FONDSMATIVE commented Jun 21, 2021

Hi @theotheroracle,
here we go...

Do you have any idea what is 'blocking' or why any service is not provided?
I really can't figure out what is really going on.
Many thanks for your great support.


ksnip_20210621-115331

@Lorenzo888
Copy link

Hi Alain,

First off, thank you so much for all the amazing work Alain! I really appreciate it.
Planner synchronizes perfectly with Etesync via CalDAV!

That said, there is also still room for improvement and possibly some big bug fixes are needed.
I'll note my observations below:

  • CalDAV tasks still don't show up in the general "today" or "tomorrow" section.
  • The option to "unshow" completed tasks is not working for CalDAV tasks. No matter what I try, it keeps showing all my completed tasks.

As you said yourself in the release notes, the CalDAV sync is still in Beta, so perhaps you are already aware of these issues.
That's also why I thought posting these here would make most sense.
But in case you were not aware of these issues, let me know and I will open separate threads for these!

Again, thanks so much for providing us with such a cool and useful FOSS tool!

@renestalder
Copy link

I created #789 for the today/tomorrow issue. Seems easier to find.

@goirik-chakrabarty
Copy link

I have logged in to the gnome setting's online account and evolution recognises my google tasks but the planner doesn't seem to recognise anything.

@HansCronau
Copy link

Update, 25 Feb 2022: @alainm23 replied to #872:

CalDAV support will be available very soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests