Commit Graph

4 Commits

Author SHA1 Message Date
Philipp von Weitershausen
f31ef51815 Bug 596620 - Remove compat code for username-based UI. r=rnewman
Also call Weave.Service.createAccount() with right parameters.
2011-03-25 00:57:23 -07:00
Philipp von Weitershausen
38927cc3e0 Bug 591103 - Sanitize WBO tests. r=mconnor 2011-01-14 13:22:20 -08:00
Philipp von Weitershausen
cd4c7db129 Bug 596093 - Do not allow email addresses as the username [r=mconnor]
Make sure the semantics of Weave.Service.checkUsername and Weave.Service.createAccount don't change when used by the old UI code (as present in current Firefox 4.0 betas).
2010-09-15 12:54:33 +02:00
Philipp von Weitershausen
38347b08b2 Bug 589979 - Generate username from email address (part 2) [r=mconnor]
The Weave.Service.account property holds whatever the user entered for email address/username. If it only contains characters valid for usernames, it is assumed to be a username. Otherwise it's SHA1 hashed and base32 encoded.

The special tab mangling (to avoid broken Basic Auth headers) is now obsolete.

--HG--
rename : services/sync/tests/unit/test_service_checkUsername.js => services/sync/tests/unit/test_service_checkAccount.js
2010-09-13 17:17:37 +02:00