Closed
Bug 383991
Opened 19 years ago
Closed 19 years ago
Full SSL support for Calendars
Categories
(Calendar :: Provider: GData, enhancement)
Calendar
Provider: GData
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sebastian, Assigned: Fallen)
Details
(Whiteboard: [gdata-0.3])
Attachments
(1 file, 1 obsolete file)
|
10.37 KB,
patch
|
cmtalbert
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier:
Google Calendar Provider should fully support SSL. Only some .js-Files in the xpi need to be adjusted for that.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
| Reporter | ||
Comment 1•19 years ago
|
||
| Assignee | ||
Comment 2•19 years ago
|
||
Sebastian, please create a diff for the specific files you changed, instead of a new xpi. I'd like to use a preference for this, something like calendar.google.ssl which defaults to true. Please make sure this is included int the patch. Also, you may request review from my email (bugzilla@kewis.ch) via the review fields when you have a ready patch.
I was not aware that google supported ssl for more than authentication. I just read a newsgroup article where it was required for certain types of google apps for your domain accounts [1]. It mentions that requests will be redirected, which the provider currently handles. I'd love to have a test account though, or at least someone who has a test account (do you?).
[1] http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/5cd402af96150b48/
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 3•19 years ago
|
||
Hi Philipp, this is the diff *without* the requests preference setting, I first need to understand how properties are handled:
----- cut here ----
./js/calGoogleCalendar.js
235c235
< this.mFullUri = ioService.newURI("http://www.google.com" +
---
> this.mFullUri = ioService.newURI("https://www.google.com" +
./js/calGoogleRequest.js
100c100
< this.uri = "http://www.google.com/calendar/feeds/" +
---
> this.uri = "https://www.google.com/calendar/feeds/" +
232c232
< this.mUriString = "http://www.google.com/calendar/feeds/"
---
> this.mUriString = "https://www.google.com/calendar/feeds/"
----- cut here ----
| Assignee | ||
Comment 4•19 years ago
|
||
Please read http://developer.mozilla.org/en/docs/Creating_a_patch and attach your patches as an attachment, or see other bugs how patches are generally handled. For some hints on prefs, see calUtils.js. It has a getPrefSafe() function.
Assignee: nobody → sebastian
| Assignee | ||
Comment 5•19 years ago
|
||
Actually, I think it might be better to just detect the scheme from the entered URL and use that. I.e if the user enters https://www.google.com/feeds/calendar/... then he will have full ssl support, otherwise not.
My initial though would be that we want to encourage users to use SSL, but on the other hand, bug 378873 could have a checkbox that allows the user to select SSL for their calendar.
Sebastian, are you still interested in implementing this? Otherwise I will upload a patch next week.
| Reporter | ||
Comment 6•19 years ago
|
||
Go ahead. I'm busy at the moment.
| Assignee | ||
Updated•19 years ago
|
Assignee: sebastian → philipp
| Assignee | ||
Comment 7•19 years ago
|
||
This should do it. To use SSL all that is needed is to make the URI have https instead of http. Also patches the edit uri, since that is not https even if a https request is made.
Attachment #267936 -
Attachment is obsolete: true
Attachment #270552 -
Flags: review?
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [gdata-0.2.2]
| Assignee | ||
Updated•19 years ago
|
Attachment #270552 -
Flags: review? → review?(ctalbert)
Comment on attachment 270552 [details] [diff] [review]
SSL Support - v1
The patch itself looks OK. I tested this by downloading the currently available version of gdata from AMO and replacing these files in it. Then I changed my XML subscription URL from http to https. I can read and write entire events ok, but I cannot update existing events. I am going to withhold the review until we figure out if (a) Google isn't handling update on https URLs properly or (b) I did something wrong in setting up my test.
Comment on attachment 270552 [details] [diff] [review]
SSL Support - v1
ok, problem resolved, I did something wrong. :-)
r=ctalbert
Attachment #270552 -
Flags: review?(ctalbert) → review+
| Assignee | ||
Comment 10•19 years ago
|
||
Checked in on HEAD and MOZILLA_1_8_BRANCH
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•18 years ago
|
Whiteboard: [gdata-0.2.2] → [gdata-0.3]
You need to log in
before you can comment on or make changes to this bug.
Description
•