After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739295 - Handle ICS files
Handle ICS files
Status: RESOLVED OBSOLETE
Product: gnome-calendar
Classification: Applications
Component: Backend
unspecified
Other Linux
: Normal enhancement
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-28 13:05 UTC by Georges Basile Stavracas Neto
Modified: 2017-11-24 21:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Georges Basile Stavracas Neto 2014-10-28 13:05:18 UTC
Right now, GNOME Calendar only handles EDS sources. It should support opening and managing ICS files as well.
Comment 1 Bastien Nocera 2015-02-04 14:42:32 UTC
ICS files can come in two kinds:
1) ICS urls that are supposed to be kept and updated from the web, for example[1]:
  http://www.gnome.org/start/unstable/schedule.ics
  which we link as:
  webcal://www.gnome.org/start/unstable/schedule.ics
  to make subscribing easier (the browser won't try to download it locally before adding it)
2) ICS files that will be downloaded, and from which we want to only select certain items. For example, this FOSDEM schedule:
  https://fosdem.org/2015/schedule/track/embedded.ics
  For which you'd like to see a list of items, and select which of the items you want to add to your calendar

1) can probably be implemented by creating a new "Web" EDS calendar (as Evolution allows) and 2) will need a local parser for the ICS file, and a UI to go with it.

[1]: From https://wiki.gnome.org/ThreePointFifteen
[2]: From https://fosdem.org/2015/schedule/track/embedded/
Comment 2 Georges Basile Stavracas Neto 2015-02-05 23:26:37 UTC
All the work is happening at 'calendar-management' branch. Today I've just implemented "From file..." action, which corresponds to the 1st item of the list below.

I imagine that this bug covers:

[x] Adding .ics files (they will be treated as data sources, and users will be able to add/modify/remove stuff)
[  ] Importing .ics files into existant calendars
[  ] Export calendars as .ics files

Another possibility is to open .ics files from the command line, which will turn Calendar into a visualizer of .ics files. This should be discussed.
Comment 3 Georges Basile Stavracas Neto 2016-05-31 15:03:28 UTC
Targeting this bug for 3.21.3 milestone.
Comment 4 Age Bosma (IRC: Forage) 2017-02-13 15:26:48 UTC
At this point (gnome-calendar 3.22.2), when having gnome-calendar set as the default calendar application instead of Evolution, gnome-calendar will be started when clicking on a .ics file in e.g. Geary or Nautilus. I assume this is due to the presence of "MimeType=text/calendar;" in "org.gnome.Calendar.desktop". The application will be attempted to be launched...and fail gracefully without any form of notification or visual clue.

The behaviour should be changed by either by fixing it or not opening the .ics files to begin with for the time being.
Not knowing the exact status of this bug, if it should or shouldn't (partially) work at this stage, does it fall under this bug or do you prefer me filing a separate issue?
Comment 5 Georges Basile Stavracas Neto 2017-11-24 21:31:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/5.