plasma-applet-eventcalendar icon indicating copy to clipboard operation
plasma-applet-eventcalendar copied to clipboard

Feature request - Allow caldav from other server

Open UtechtDustin opened this issue 6 years ago • 16 comments

Pls add that you can choos your own server as carddav server instead of google calendar... e.g. for me i use nextcloud...

UtechtDustin avatar Apr 22 '18 21:04 UtechtDustin

@Zren ?

UtechtDustin avatar May 03 '18 23:05 UtechtDustin

I've toyed around with parsing and showing a read only view of a local .ics file, but then learned caldav is a whole other beast. It has it's own protocol.

https://github.com/Zren/plasma-applets/issues/57

I don't really use nextcloud, so I'd first have to learn how to setup a nextcloud instance first.

Then find a python library or command line tool that can:

  • Query carddav server for events in a range of dates
    • Parse the carddav output into google calendar's json syntax.
  • Write code to create events
    • Create a "new event form"
      • Create a "date selector widget"
      • Create a "time selector dropdown"
      • And probably need to reverse engineer Google's simple "create event" syntax (eg: 9am-5pm Work)
    • Convert google calendar's json syntax to carddav object.
  • Write code to edit events
    • Edit description/summary
  • Write code to view more details about the event.
    • I've no idea if nextcloud has a web interface for the calendar I can link to.

Zren avatar May 04 '18 00:05 Zren

There are already libs to fetch/send data to a caldav server.

Also why you need to convert the data to a google calendars syntax ? Use a Interfaces with methods which will accept/return jsons or something else... So you have more options...you can easy add a new import "type" -> Just add a new class with the inface and parse the new data and return it as json.

If dont must use nextcloud(but btw. the setup is easy), you can also use any other software which handle the caldav standard.

UtechtDustin avatar May 04 '18 09:05 UtechtDustin

+1 for caldav support

b17k0 avatar Jun 25 '18 12:06 b17k0

I am waiting for this feature too. You can try to use kde to access to nextcloud calendar, and then you could use other calendars supported by KDE. I think it's better and easier method to access to nextcloud, but didn't check it, so I am not sure. There is kde widget to display nextcloud calendar, so you could check how it works. It's probably default calendar widget in kde.

pawlosck avatar Nov 24 '18 12:11 pawlosck

+1 to nextcloud / owncloud (actually anything that speaks caldav) integration. You're right @Zren , caldav is a protocol itself and fairly popular. Actually is the same protocol google calendar used for years.

Some examples of caldav usage:

  • baikal server
  • nextcloud
  • owncloud
  • egroupware
  • horde

And many, many others. I've used different incarnations of caldav since early 2008, and it wasn't until 2010 and OwnCloud that the protocol was somewhat stabilized (it works like a charm by now, but I switched to NextCloud).

If you need to play with Nextcloud, spryCloud (nano plan) is completely free. (I went here, selected "show only free plans" and 'us' as country. After that I just clicked one at random)

If you need to have a live instance to see what happens under the hood, reach me privately.

Thank you for your effort and your amazing contribution.

PeGa avatar Mar 26 '19 05:03 PeGa

+1 for caldav support

EmJotGeh avatar Jun 04 '19 21:06 EmJotGeh

+1 for caldav too. In fact, that's why installed this plugin. I thought it must have it.

smirkybg avatar Oct 07 '19 20:10 smirkybg

+1 for caldev aswell. I'm trying to degoogle my life and this is one place I currently can't use my nextcloud calendar in

AtomToast avatar Jan 03 '20 19:01 AtomToast

I vote + 1 for calDAV support (in particular Nextcloud)

DoctorSubtilis avatar Jan 10 '20 17:01 DoctorSubtilis

I vote +1 for calDAV because EventCalendar - best and the only one widget for calendar in Plasma. It would be cool if best widget will support calDAV or events from Kalendar app (it can sync with calDAV). In particular I'm using Baikal

Shmik2003 avatar Aug 30 '22 15:08 Shmik2003

I vote +1 for calDAV because EventCalendar - best and the only one widget for calendar in Plasma. It would be cool if best widget will support calDAV or events from Kalendar app (it can sync with calDAV). In particular I'm using Baikal

But it support. I am using calendar from nextcloud.

pawlosck avatar Aug 30 '22 19:08 pawlosck

I vote +1 for calDAV because EventCalendar - best and the only one widget for calendar in Plasma. It would be cool if best widget will support calDAV or events from Kalendar app (it can sync with calDAV). In particular I'm using Baikal

But it support. I am using calendar from nextcloud.

Thank you. Your message pushed me to learn how to connect CalDAV and eventcalendar. It were a bit unobvious: install kdepim-addons, kontact and korganizer. But it worked. Thank you

Shmik2003 avatar Aug 30 '22 22:08 Shmik2003

You're welcome :)

PS. Maybe this issue should be closed if it was implemented.

pawlosck avatar Aug 30 '22 22:08 pawlosck

You're welcome :)

PS. Maybe this issue should be closed if it was implemented.

No! In my opinion one should not have to install kdepim-addons, kontact and korganizer. I don't want all that apps.
Why on earth it would not be possible to connect to a caldav as nextcloud as simply as with google calendar?
If there is an alternative between google and open source caldav code, I think that the second one should be preferred.

DoctorSubtilis avatar Aug 31 '22 06:08 DoctorSubtilis

+1 for Nextcloud / CalDav

Rik44444 avatar Sep 11 '22 18:09 Rik44444