GNOME Bugzilla – Bug 693689
Add a Tasks interface and make it work with the Google provider
Last modified: 2014-06-20 09:29:35 UTC
Created attachment 235862 [details] [review] [PATCH] Add a Tasks interface and make it work with the Google provider Hey, Google Tasks[0] is one of my favorite Google Apps. It's simple, easy-to-use and fully integrated with GMail. One can imagine, in the near future, a GNOME App to manage tasks (using GOA to sync with Google). The attached patch adds a Task interface to GOA and makes it work w/ the Google provider. [0] https://mail.google.com/mail/help/tasks/
Review of attachment 235862 [details] [review]: Thanks for the patch. You also need to bump the value returned by get_credentials_generation so that the older OAuth2 token is replaced by a new one that has the permission to access Google Tasks. However, we first need the application before we can commit this. Advertising Tasks to the user, without actually doing something with it is pointless.
Google and CalDAV for tasks: http://code.google.com/p/google-caldav-issues/issues/detail?id=36 An alternative is their API for it, but it means to use other providers/backends/whatever, instead of CalDAV, which is possible to use for events, only not for Tasks.
Created attachment 278751 [details] [review] google: Add support for tasks After talking to mcrha on IRC, we decided to club tasks and calendars under the same switch for the time being. I like it this way because: - they are so similar to each other - the switches generally correspond to the name of a core GNOME app (evolution is an exception) - while there are standalone apps for calendars, I don't know of a tasks app - the number of switches that we have for Google is already quite big and I don't want to clutter the UI with a long list of [ON|OFF] buttons If this does not work out well, we will add a separate switch for tasks later.
Created attachment 278752 [details] [review] google: Add support for tasks Forgot to bump the credentials generation.
Created attachment 278756 [details] [review] google: Add support for tasks As far as I can make out the OAuth2 scope string is undocumented. Lets mention that.
Created attachment 278757 [details] [review] google: Update README
Created attachment 278758 [details] [review] google: Add support for tasks
Review of attachment 278757 [details] [review]: Committed.
Review of attachment 278758 [details] [review]: Committed after testing with mcrha.
Review of attachment 235862 [details] [review]: The scope for tasks is now in master, but the bits that add a switch and interface are not. We will revisit that in future.