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 781421 - Improve web calendar detection
Improve web calendar detection
Status: RESOLVED OBSOLETE
Product: gnome-calendar
Classification: Applications
Component: Sources dialog
3.24.x
Other Linux
: Normal major
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
: 761664 762693 763588 763656 769719 770705 773620 776405 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-04-17 19:22 UTC by Georges Basile Stavracas Neto
Modified: 2017-11-24 22:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Georges Basile Stavracas Neto 2017-04-17 19:22:08 UTC
Various bug reports appeared regarding adding Web-based calendars. Namely:

Helmut Grohne wrote: "If you navigate to http://events.linuxfoundation.org/events/archive/2013/embedded-linux-conference-europe-/program/schedule, you can see a conference schedule in ics format at the bottom. The actual calendar link to be added to a program like gnome-calendar is http://embeddedlinuxconferenceeu2013.sched.com/all.ics. Note that these calendars typically are not meant to be downloaded once and then used, but updated periodically (but still read-only from the pov of the consumer)."

Jose wrote: "At work we have an Exchange server which I access through Davmail. I'm trying to substitute Thunderbird with Geary and Gnome Calendar however, when I add the calendar through the CalDav URL in the format http://localhost:1080/users/mail@company.com/calendar I get a list of Calendars which I select. Then I expect to see the calendar events as I see them in Thunderbird however that's not the case and the Calendar view is empty."

Many other individuals also reported the same on IRC. I'm centralizing all this knowledge in a single bug, so we can track and fix those issues quicker.
Comment 1 Georges Basile Stavracas Neto 2017-04-17 19:22:54 UTC
*** Bug 763656 has been marked as a duplicate of this bug. ***
Comment 2 Georges Basile Stavracas Neto 2017-04-17 19:23:41 UTC
*** Bug 773620 has been marked as a duplicate of this bug. ***
Comment 3 Georges Basile Stavracas Neto 2017-04-17 19:24:21 UTC
*** Bug 776405 has been marked as a duplicate of this bug. ***
Comment 4 Georges Basile Stavracas Neto 2017-04-17 19:25:13 UTC
*** Bug 761664 has been marked as a duplicate of this bug. ***
Comment 5 Georges Basile Stavracas Neto 2017-04-17 19:26:19 UTC
Additional information: Guillaume Lakano had an older bug with the following information:

"Hello,

Thanks for this beautiful app :)

I've just a problem, if I try to add the facebook calendar, then Gnome Calendar loop for may be 30 seconds, and nothing happen.

Here is a test account, where you can make tests ( I've added 2 facebook events on thursday and friday ) :

webcal://www.facebook.com/ical/u.php?uid=100002253185071&key=AQAc9XZjcmWf0epr


Best regards,"
Comment 6 Georges Basile Stavracas Neto 2017-04-17 19:29:21 UTC
In bug 770705, Mat wrote:

"When adding a new "web calendar" the "Add" button becomes gray and not clickable when the last character of the URL is a slash.

Radicale caldav server radicale.org URLs unfortunately ends with a slash as explained here in bold: http://radicale.org/user_documentation/#idlightning
"the trailing slash is important."

This is not possible to add a caldav from Radicale caldav server."
Comment 7 Georges Basile Stavracas Neto 2017-04-17 19:29:54 UTC
*** Bug 770705 has been marked as a duplicate of this bug. ***
Comment 8 Georges Basile Stavracas Neto 2017-04-17 19:32:19 UTC
*** Bug 762693 has been marked as a duplicate of this bug. ***
Comment 9 Georges Basile Stavracas Neto 2017-04-17 19:32:50 UTC
In bug 762693, Daniel Aleksandersen wrote:

"Where Calendar is now asking for a “Calendar Address”, it should instead ask for “Email or Calendar Address”. 

It’s easier for users to specify their email address than to figure out the CalDAV address for their calendar provider. If no email address is input, use the existing URL logic instead. These can exist side by side within the same input field by detecting the user input as either n email address or URL. Should be able to display an error message with “No CalDAV server detected for this email address.”

Calendar servers can be located from an email address using DNS SRV records as described in RFC-6764. Take the domain from the email address and query for SRV records in _caldavs._tcp.example.com and _caldav._tcp.example.com. See attachment #1 [details] in bug #750564 for example gtk code doing these lookups.

SRV records for CalDAV is provided by most of the popular calendar providers. See the table in https://www.slightfuture.com/technote/dns-srv-usage"
Comment 10 Georges Basile Stavracas Neto 2017-04-17 19:35:07 UTC
*** Bug 763588 has been marked as a duplicate of this bug. ***
Comment 11 Georges Basile Stavracas Neto 2017-04-17 19:41:44 UTC
In bug 769719, C.D. MacEachern wrote:

"Hello, I can't connect to the imap.fastmail.com server (they use 993 port and I don't see anywhere to adjust port numbers). Help pages on their site say SSL/TLS encryption is enabled, but not STARTTLS. I've tried connecting with every available option, but to no avail. I have connected this way before using other applications, just never tried with gnome-calendar. Any ideas?"
Comment 12 Georges Basile Stavracas Neto 2017-04-17 19:42:13 UTC
*** Bug 769719 has been marked as a duplicate of this bug. ***
Comment 13 simonspa 2017-11-17 09:46:13 UTC
I am unable to add ics calendars which have an URL similar to

https://server.tld/export/categ/1954.ics?apikey=ac383a8e-4044-43a2-9a30-60201dab0bf3&from=-31d&signature=f7c964f5522bb4d385746435dcb54fe04e7ed34bc

where the apikey and signature allow retrieving private information without the need to log in. However, Gnome calendar still asks me for user credentials, and leaves the "Add" button greyed out.

Using e.g. curl I can fetch the calendar resource without authentication and without problems.
Comment 14 Georges Basile Stavracas Neto 2017-11-24 22:16:51 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/132.