Bug 329818 - akonadi google calendar no sync
Summary: akonadi google calendar no sync
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: 4.12
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 18:15 UTC by Txutxifel
Modified: 2014-04-03 19:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Txutxifel 2014-01-10 18:15:03 UTC
Akonadi google task sync once  when kde is starting. If I want to sync later, I have to do from akonadi configuration.


Reproducible: Always



Expected Results:  
Akonadi sync in a period of time
Comment 1 Daniel Vrátil 2014-01-13 09:40:42 UTC
Indeed we currently lack autosync feature.

However do trigger resync manually, you don't have to go to Akonadi configuration, but you can just righ-click the todo list in KOrganizer (in the bottom left list of calendars and todo lists) and choose "Update Calendar Folder"
Comment 2 Txutxifel 2014-01-15 17:28:23 UTC
Hi,
I use plasma-google-task, so it's easier for me to use akonadi configuration. Time to charge is slower.

I would be very grateful if you implement the autosync feature (A boton in plasma-akonadi-task would be enough for me)

Thanks anyway for your job. It's awesome
Comment 3 Daniel Vrátil 2014-01-17 14:58:39 UTC
Aha, there's probably no way to force refresh in the Plasma applet. I'll try to have the auto-sync feature in 4.13.
Comment 4 Txutxifel 2014-01-17 17:57:53 UTC
Thanks!!
Comment 5 Daniel Vrátil 2014-01-21 14:32:58 UTC
Git commit 80d82134a168dbcdf28301fd339d1158cbb620a5 by Dan Vrátil.
Committed on 21/01/2014 at 14:15.
Pushed by dvratil into branch 'master'.

Add support for interval refresh of Google calendars and contacts

The interval (in minutes) can be configured in resource settings dialog.
The resource will then regularly check for changes and updates on the
server.

The feature is disabled by default.
FIXED-IN: 4.13

M  +8    -0    resources/google/calendar/calendarresource.cpp
M  +6    -0    resources/google/calendar/settingsbase.kcfg
M  +0    -1    resources/google/calendar/settingsdialog.cpp
M  +36   -0    resources/google/common/googlesettingsdialog.cpp
M  +7    -1    resources/google/common/googlesettingsdialog.h
M  +8    -0    resources/google/contacts/contactsresource.cpp
M  +4    -4    resources/google/contacts/settingsbase.kcfg

http://commits.kde.org/kdepim-runtime/80d82134a168dbcdf28301fd339d1158cbb620a5
Comment 6 Txutxifel 2014-01-21 17:11:19 UTC
hI,
Thanks for your rapid fix and answer!!

I tried to compile to test it. However, i couldn't . It's necessary the lastest kdepim-libs. I'll wait to 4.13 to  used it.

Anyway if you need a tester, i would help without problems
Comment 7 Daniel Vrátil 2014-01-22 13:46:37 UTC
Yes, kdepim-runtime probably depends on kdepimlibs from master.

(reassigning to proper product/component)
Comment 8 Jasper 2014-04-03 19:04:06 UTC
(In reply to comment #1)
> Indeed we currently lack autosync feature.
> 
> However do trigger resync manually, you don't have to go to Akonadi
> configuration, but you can just righ-click the todo list in KOrganizer (in
> the bottom left list of calendars and todo lists) and choose "Update
> Calendar Folder"

In the current debian build of kontact I have tried this yet none of my google tasks or calendars update. Is this a continuation of the known fault where calendars do not sync after they have been added, and apon kontact restart.
 I will get the source and try building with your refresh feature, it will be a lot of time on this atom, so want to be sure it has a chance of solving the problem.
 Calenders added via builtin google resource (not akonadi-googledata etc)

Cheers.