Philipp von Weitershausen
fffee366cd
Disable tests due to Windows failures (bug 599193) a=bustage-fix
2010-09-24 02:24:42 +02:00
Philipp von Weitershausen
d14f7f7afd
Merge fx-sync to mozilla-central (bug 597426)
2010-09-24 00:19:31 +02:00
Philipp von Weitershausen
91f9e720c4
Bug 594506 - Merge fx-sync to mozilla-central
2010-09-15 15:54:35 +02: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
1e7744501c
Bug 589979 - Generate username from email address (part 3) [r=mconnor]
...
Consolidate email and username in the UI.
2010-09-13 17:17:37 +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
Philipp von Weitershausen
61179044c7
Bug 589979 - Generate username from email address (part 1) [r=mconnor]
...
Implement Utils.encodeBases32 and Utils.sha1Base32.
2010-09-13 17:17:37 +02:00
Philipp von Weitershausen
a8e294fe4f
Bug 594785 - First sync disables all engines [r=mconnor]
...
Track whenever we create a new global/meta record and don't evaluate the engines property in that case.
2010-09-13 17:17:37 +02:00
Philipp von Weitershausen
d45a87568a
Bug 580672 - Implement quota UI (Part 2) [r=mconnor]
...
Implement quota notifications and View Quota dialog
2010-09-11 18:39:29 +02:00
Philipp von Weitershausen
7e51b2c724
Bug 580672 - Implement quota UI (Part 1) [r=mconnor]
...
Recognize quota warnings from server, implement API calls to retrieve quota information.
2010-09-11 18:39:21 +02:00
Philipp von Weitershausen
b4ae3b2207
Bug 594520 - Get rid of more "secret phrase" occurrences [r=mconnor]
2010-09-09 00:20:13 +02:00
Philipp von Weitershausen
ec40099af1
Bug 593427 - Remove deprecated strings errors.properties [r=mconnor]
2010-09-08 21:49:06 +02:00
Philipp von Weitershausen
b0460d903d
Bug 594241 - Can't disable history sync [r=mconnor]
...
Take engine.prefName rather than engine.name when looking for changed prefs.
2010-09-08 21:09:40 +02:00
Matt Brubeck
19147be0a2
Bug 580050 - Use hardware model instead of oscpu to identify clients [r=Mardak]
2010-09-08 11:55:57 -07:00
Philipp von Weitershausen
c29a0e55af
Bug 578671 - Sync which engines are enabled across clients, wipe data for disabled engines [r=mconnor]
2010-09-07 18:44:01 +02:00
Philipp von Weitershausen
10c60b7c0d
Bug 594011 - test_history_store shoudn't use hardcoded timestamps [r=mconnor]
...
Also simplify call to Sync.
2010-09-07 15:57:04 +02:00
Philipp von Weitershausen
cb2fab109a
Bug 591118 - Generate Sync Key (part 2) [r=mconnor]
...
Change the setup wizard to generate the Sync Key
2010-09-07 00:57:09 +02:00
Edward Lee
1df3de932f
Bug 587280 - Intermittent failure in test_crypto_keypair.js | 1624 == 1644 [r=dolske a=npotb]
...
Check for both 1624 and 1644 length private keys.
2010-08-31 23:58:53 -07:00
Philipp von Weitershausen
158b836dae
Bug 592276 - Utils.mpLocked() should allow nsIPKCS11Slot.SLOT_UNINITIALIZED [r=mconnor]
2010-08-31 17:58:35 +02:00
Philipp von Weitershausen
29493f1bec
Fix test bustage introduced with bug 587027 part 4
...
(oddly no failure in the add-on test harness)
2010-08-31 16:18:50 +02:00
Philipp von Weitershausen
395ec47fa6
Bug 587027 - Use as little memory as possible (part 5)
...
Avoid accessing Weave.Service (=importing service.js) at all cost.
2010-08-25 15:49:45 -07:00
Philipp von Weitershausen
57109455df
Bug 587027 - Use as little memory as possible (part 4)
...
Refactor Service._checkSetup() to Status.checkSetup().
Also move the test fixture for WeaveCryptoID to the individual tests that need it.
2010-08-25 15:49:45 -07:00
Philipp von Weitershausen
8010d792f1
Bug 587027 - Use as little memory as possible (part 2)
...
Fix tests
2010-08-25 15:49:45 -07:00
Philipp von Weitershausen
92af1b132e
Bug 587027 - Use as little memory as possible (part 1)
...
Move the Weave object out of service.js
2010-08-25 15:49:44 -07:00
Philipp von Weitershausen
e96524714a
Bug 523426 - Save a query for meta/global if info/collections reports unmodified meta [r=mconnor]
2010-08-23 06:20:39 -07:00
hariniachala
cfb6a32501
bug 567583 - Get tabs sync to work for SeaMonkey, r=mconnor
2010-08-17 15:44:29 +02:00
Mark Finkle
1696d67e10
Disable error logging from weave crypto. rs=mconnor, a=bustage fix
2010-08-13 15:31:00 +12:00
Philipp von Weitershausen
6d91562b33
Bug 569968 - Migration requires client to remove absolute URLs in crypto records
...
Tests and test fixes
2010-08-12 22:19:41 +02:00
Philipp von Weitershausen
6e250f858f
Bug 569968 - Migration requires client to remove absolute URLs in crypto records
...
Make WBORecord.uri, CryptoWrapper.encryption, PubKey.privateKeyUri, PrivKey.publicKeyUri as well as the CryptoMeta keyring keys relative URLs in the payload. As a result, all records now *must* know their URI.
Bump storage version from 2 to 3 to trigger reupload of all data and exclude older clients.
2010-08-12 22:19:39 +02:00
Philipp von Weitershausen
e54d01a26a
Bug 598944 - Point users at status page when we hit sync delay/503s [r=mconnor]
2010-09-23 21:07:41 +02:00
Philipp von Weitershausen
7cd7025e74
Bug 592465 - Show a passphrase strength meter for custom passphrases [r=mconnor]
2010-09-23 02:04:31 +02:00
Eric Lemoine
f4d7016355
Bug 591816 - Add tests for TabEngine [r=mconnor]
2010-09-20 18:53:13 +02:00
Eric Lemoine
53d9ebccb1
Bug 591816 - Add tests for TabEngine [r=mconnor]
2010-09-20 18:53:13 +02:00
Eric Lemoine
0ab59be1ea
Bug 591816 - Add tests for TabEngine [r=mconnor]
2010-09-20 18:53:13 +02:00
Eric Lemoine
3b6c3b50d4
Bug 588193 - more tests for util.js [r=mconnor]
2010-09-20 18:53:13 +02:00
Eric Lemoine
7793bfb639
Bug 588193 - more tests for util.js [r=mconnor]
2010-09-20 18:53:08 +02:00
Philipp von Weitershausen
c1b1fa990d
Bug 593820 - Move generatePassphrase and friends from UI code to util.js [r=mconnor]
2010-09-17 17:48:06 +02:00
Philipp von Weitershausen
95212247f0
Bug 585291 - FormEngine tests leak [r=mconnor]
...
Nuke service references on xpcom-shutdown, particularly Svc.Form (nsIFormHistory2) which doesn't clean up after itself as it was only used by nsIFormAutComplete so far.
2010-08-11 01:54:46 +02:00
Philipp von Weitershausen
cc829291e7
Bug 557589 - code audit and create unit test plan for service.js [r=mconnor]
...
Part 4 followup: Fix a reference error in Weave.Service._checkServerError and improve test coverage for verifyLogin() to exercise that code path.
2010-08-10 18:16:57 +02:00
Philipp von Weitershausen
252e31061d
Bug 585753 - Changeset 7e8b1f7852a9 breaks bookmark sync [r=mconnor]
2010-08-10 01:59:26 +02:00
Philipp von Weitershausen
3923f450c9
Bug 585740 - Weave.Service.login() should start trackers if it's called in lieu of a setup process [r=mconnor]
2010-08-10 01:46:54 +02:00
Philipp von Weitershausen
7af40237fb
Bug 583847 - Weave should be using createAsyncStatement instead of createStatement [r=mconnor]
2010-08-09 18:38:18 +02:00
Philipp von Weitershausen
67d49970e4
Bug 583852 - Weave should not be querying on places views [r=mconnor]
...
Query moz_places, moz_historyvisits *and* moz_places_temp, moz_historyvisits_temp instead of the slower views.
If the temp tables aren't available (bug 552023), just query the regular tables.
Fixed some style and syntax nits.
2010-08-09 18:38:18 +02:00
Philipp von Weitershausen
aefafbf9b3
Bug 583852 - Weave should not be querying on places views [r=mconnor]
...
Tests for the history store.
2010-08-09 18:38:18 +02:00
Philipp von Weitershausen
8b467f2644
Bug 585190 - Fix tracker tests on m-c [r=mconnor]
...
Ensure that the bookmark tracker test starts out with a clean slate.
Svc.History.removeAllPages(), as called by the history tracker test during clean up, needs the "UHist" alias registered, which isn't available by default in xpcshell.
2010-08-06 23:25:59 +02:00
Philipp von Weitershausen
59d452e839
Bug 487558 - Use satchel notifications to track form data [r=mconnor]
2010-08-06 17:31:36 +02:00
Philipp von Weitershausen
feac8b17bf
Bug 584241 - Disable trackers when client isn't configured [r=mconnor]
...
Tests and test fixes.
--HG--
rename : services/sync/tests/unit/test_engines_forms_store.js => services/sync/tests/unit/test_forms_store.js
2010-08-06 17:31:21 +02:00
Philipp von Weitershausen
a6703ed75f
Bug 584241 - Disable trackers when client isn't configured [r=mconnor]
2010-08-06 17:30:58 +02:00
Philipp von Weitershausen
9a3a4fc823
Bug 584722 - Make test_uploadOutgoing_failed (test_syncengine_sync.js) async [r=mconnor]
2010-08-06 16:55:06 +02:00
Philipp von Weitershausen
9917708b82
Bug 584478 - Resource alias registered too early [r=mconnor]
2010-08-05 18:31:58 +02:00