Closed Bug 552077 Opened 14 years ago Closed 14 years ago

allow for additional parameters for autoconfig

Categories

(Thunderbird :: Account Manager, defect, P1)

x86
macOS
defect

Tracking

(blocking-thunderbird3.0 .4+, thunderbird3.0 .4-fixed)

RESOLVED FIXED
Thunderbird 3.0b4
Tracking Status
blocking-thunderbird3.0 --- .4+
thunderbird3.0 --- .4-fixed

People

(Reporter: rebron, Assigned: bwinton)

Details

(Whiteboard: [conversion funnel])

Attachments

(1 file)

Need to allow additional parameters to be appended to the autoconfig urls and still have the domain info component work.

Example:
?=momo1
https://live.mozillamessaging.com/autoconfig/?=momo1
Assignee: nobody → bwinton
blocking-thunderbird3.0: --- → ?
Whiteboard: [conversion funnel]
Status: NEW → ASSIGNED
Priority: -- → P1
blocking-thunderbird3.0: ? → .4+
Hmm, I don't understand this bug. AFAIK the current URLs used by TB are of the form:

https://live.mozillamessaging.com/autoconfig/gmail.com

I guess this says that we want Thunderbird to generate URLs of the form:

https://live.mozillamessaging.com/autoconfig/gmail.com?momo1

but I don't know where the parameter comes from.  Is the idea that the pref file (e.g. in a funnelcake) can configure an extra pref, and that that option is appended as a query parameter?
https://live.mozillamessaging.com/autoconfig/gmail.com?=momo1

Right so that value is the same that we'll carry through from the download site all the way through to the start and what's new page.

In aggregate, we should be able to see how many people hit autoconfig from funnel cake builds.  

Funnel cake builds don't alter the user-agent string.
With this patch, we turn "https://live.mozillamessaging.com/autoconfig/{{domain}}?rebron=momo1&accountCount={{accounts}}" into "https://live.mozillamessaging.com/autoconfig/latte.ca?rebron=momo1&accountCount=8".

We also turn "https://live.mozillamessaging.com/autoconfig/" into "https://live.mozillamessaging.com/autoconfig/latte.ca", for backwards compatibility.

I haven't written any tests for it yet, largely because I want bug 534588 to land first, to do the infrastructure, but if you'ld rather I added a test, I can do that.

Thanks,
Blake.
Attachment #432619 - Flags: review?(bugzilla)
Attachment #432619 - Flags: approval-thunderbird3.0.4?
Comment on attachment 432619 [details] [diff] [review]
A patch to substitute in some values for tokens.

This seems to work fine, r+a=Standard8.

I'm happy to defer on the tests for a bit as we need to get this in. Please set the in-testsuite flag to '?' though.
Attachment #432619 - Flags: review?(bugzilla)
Attachment #432619 - Flags: review+
Attachment #432619 - Flags: approval-thunderbird3.0.4?
Attachment #432619 - Flags: approval-thunderbird3.0.4+
Component: ispdb → Account Manager
Product: Mozilla Messaging → Thunderbird
QA Contact: ispdb → account-manager
Target Milestone: --- → Thunderbird 3.0b4
Version: other → unspecified
Flags: in-testsuite?
Attachment #432619 - Flags: superreview+
Checked in as:
http://hg.mozilla.org/releases/comm-1.9.1/rev/a8a23224906f
http://hg.mozilla.org/comm-central/rev/ee076bd61784
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: