-
Notifications
You must be signed in to change notification settings - Fork 23
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
[EventCalendar] Akonadi / KDE Calendar Plugins Sync #12
Comments
This is unlikely to happen. Especially not before the default applet supports it through Kontact. I really don't want to write a caldav parser, then try to build an abstract layer on top of the google calendar models to support it. |
Repurposing this issue for synching to the KDE Plasma calendar plugin for KDE PIM which uses Akonadi. #57 will be for syncing an .ics without Akonadi py parsing/modifying the .ics files manually. |
You can check the current Digital Clock applet plugin that provides integration with Akonadi calendar. The code is here: https://cgit.kde.org/kdepim-addons.git/tree/plugins/plasma/pimeventsplugin - most of the code should be reusable for your purpose. |
Pinging @renyuneyun since he hasn't subscribed to this issue yet. I've managed to implement showing the KHolidays plugin. Zren/plasma-applet-eventcalendar@335b7b0 Right now it's hardcoded to point to the holidays plugin only. I still need to add the config ui from digitalclock. Right now you can't select the region the holiday events are from without opening up digital clocks settings (the selection is saved to I'm going to need to figure out if I need to either bump the minimum plasma version for this feature. It'd be a hassle to use a The most annoying part is probably that I'll need to install akonadi + PIM once I've finished the KHolidays config UI so I can test that. |
I've tested the holidays plugin, but you should be able to enable the KDE PIM plugin too from the generic new "Events" tab. Gonna fire up a VM and install KDE PIM. If you'd like to test yourself try the git master using: |
v54 released. Tell me if there's any issues with Kontact integration. |
Working great. Thanks |
Works great 👍 Thanks a lot. Only one feature lacking: using the color from KOrganizer :P |
Does the color show up in digitalclock? I though I was using the color provided by the plasma plugin. |
The Plasma plugin reads the colors from Akonadi Collection attributes and falls back KOrganizer settings otherwise, the relevant code is here: https://github.com/KDE/kdepim-addons/blob/master/plugins/plasma/pimeventsplugin/akonadipimdatasource.cpp#L74 |
Hmmm, whoops. It appears I never bothered reading the I'll get right on that then. Leaving some other links here for reference later. |
@renyuneyun, does the git master work? https://github.com/Zren/plasma-applet-eventcalendar#update-to-github-master |
It doesn't seem to work. All the colors are still the default one. By the way, there is another bug: some duplicated entries (but not all entries have duplication) will be listed in the calendar after refresh. It may be related to "refresh", or something else (I remember last time each "fresh" I click, some duplications were created; but this time I only get 2 instances, i.e. 1 duplication). |
@Zren Where i can find you PayPal info? Want to send you few $. |
Thanks for taking care of this |
Is there any chance of adding sync to caldav resources instead of just google calendar? The source code of the following projects may be of help to implement such a function:
-Google Calendar Agenda [1]
-Akonadi Calendar, Contacts, and Tasks [2]
[1] https://github.com/gjedeer/gcal-plasmoid
[2] https://quickgit.kde.org/?p=akonadi-google-applets.git&a=tree&hb=e381b18168d190a370d34350fe33fc10319b1091
The text was updated successfully, but these errors were encountered: