Граф коммитов

2214 Коммитов

Автор SHA1 Сообщение Дата
Philipp von Weitershausen f46d33c149 Bug 591103 - use TTL for history, form history, clients, tabs. r=mconnor 2011-01-14 13:22:20 -08:00
Philipp von Weitershausen 4fe6c0c11f Bug 591103 - Sanitize WBO tests. r=mconnor 2011-01-14 13:22:20 -08:00
Richard Newman f7dc2166de Bug 623795: add ensureMPUnlocked function. r=dolske 2011-01-13 16:56:10 -08:00
Philipp von Weitershausen bbc3af166b Bug 623418 - Bookmark sync: use a SQL query to fetch child GUIDs. r=mconnor,sdwilsh 2011-01-13 14:03:11 -08:00
Philipp von Weitershausen 9f19341780 Bug 623418 - Bookmark sync: don't record children in annotation. r=mconnor 2011-01-13 14:03:09 -08:00
Philipp von Weitershausen f25f45ee8f Bug 623813 - Preserve stack traces when rethrowing exceptions conditionally. r=mconnor 2011-01-13 14:01:05 -08:00
Philipp von Weitershausen 3499feefd9 Merge fx-sync 2011-02-17 14:04:51 -08:00
Philipp von Weitershausen d88f2e6fae Merge follow-up fix for bug 631891. a=crossweave 2011-02-10 14:32:28 -08:00
Philipp von Weitershausen 10aafb2047 Merge bug 631891 from fx-sync. a=blocking-final 2011-02-10 09:22:13 -08:00
Philipp von Weitershausen 0d5cb51515 Merge bug 629664 from fx-sync. a=orange 2011-02-10 00:31:35 -08:00
Philipp von Weitershausen c8be7f77df Bug 623375 - History sync: failure on javascript: URLs. r=mconnor 2011-01-11 15:04:45 -08:00
Richard Newman 218c03dd3e Bug 623689: don't misbehave on master password cancel. r=philiKON 2011-01-10 21:51:29 -08:00
Richard Newman 3f4146ba5f Bug 624019: log exceptions, not just their stacktrace, in onDataAvailable. r=philiKON 2011-01-07 14:30:16 -08:00
Philipp von Weitershausen 60746583c2 Bug 623812 - Match number of do_test_pending calls to number of do_test_finished calls. 2011-01-06 23:54:50 -08:00
Philipp von Weitershausen 0cd7f4e226 Bug 623812: another fix for unimportant test failures on some platforms. a=orange 2011-01-06 21:13:51 -08:00
Richard Newman 1c4ebd7f20 Bug 623812: fix for unimportant test failures on some platforms. r=philiKON, a=bustage 2011-01-06 20:51:43 -08:00
Richard Newman e606392d85 Bug 597400: return null if GUID lookup fails in forms engine. r=philiKON 2011-01-06 12:05:30 -08:00
Richard Newman c9a23f8fc5 Bug 622760: log exceptions thrown in _onProgress callbacks. r=philiKON 2011-01-04 16:27:00 -08:00
Philipp von Weitershausen 3e59469096 Bug 622769 - Make log rotation and its threshold configurable. r=mconnor 2011-01-04 15:04:19 -08:00
Philipp von Weitershausen 7608296c6a Bug 621489 - Make sure to call _orderChildren even if _processIncoming fails. r=mconnor 2011-01-04 15:04:18 -08:00
Philipp von Weitershausen 7058fee0e1 Bug 621594 - History sync: failure when title is null. r=mconnor 2010-12-28 17:36:18 -08:00
Philipp von Weitershausen 2da45778c3 Get rid of old-crypto test helpers that are no longer used (no bug) 2010-12-28 13:31:01 -08:00
Richard Newman a860e06027 Bug 620593: use built-in trim function. r=philiKON 2010-12-28 10:33:23 -08:00
Richard Newman 4446c521f0 Bug 620593: add normalizeAccount, use in addon UI. r=philiKON 2010-12-21 15:32:58 -08:00
Richard Newman 9374404bfe Bug 543784: don't login automatically, prompt for master password. r=philiKON 2010-12-20 20:01:34 -08:00
Richard Newman f3265a73ed Bug 619567: allow leading and trailing whitespace in pre-normalized passphrases. r=philiKON 2010-12-20 14:46:16 -08:00
Richard Newman a108a4e85b Bug 619162: default resource success is false; retry once. r=philiKON 2010-12-20 12:47:51 -08:00
Richard Newman 801dd50f93 Bug 618335: normalize old-style 20-char sync keys. r=philiKON 2010-12-20 10:10:37 -08:00
Richard Newman b0e9d01a0a Bug 616568: better log message when sync is already in progress. r=philiKON 2010-12-16 12:00:57 -08:00
Philipp von Weitershausen 91b699daac Bug 616001 follow-up: Async statements are compiled asynchronously and fail on first execution, not creation. r=sdwilsh 2010-12-15 16:08:04 -08:00
Richard Newman 1e0438cf6d Bug 619169: never clear logs, even on resetService. r=philiKON 2010-12-15 14:36:53 -08:00
Philipp von Weitershausen 650b7ffc20 Bug 616001 - Sync needs to check moz_places.guid and moz_bookmarks.guid if it exists.
Part 3 - Tests for a v11 places database running in Firefox 3.5/3.6
2010-12-14 15:50:50 -08:00
Shawn Wilsher 762b239ba0 Bug 616001 - Sync needs to check moz_places.guid and moz_bookmarks.guid if it exists. r=philikon
Part 2 - Update bookmark engine.
2010-12-14 15:48:05 -08:00
Shawn Wilsher d4a9d49241 Bug 616001 - Sync needs to check moz_places.guid and moz_bookmarks.guid if it exists. r=philikon
Part 1 - Update history engine.
2010-12-14 15:48:03 -08:00
Philipp von Weitershausen 13153c7f8d Bug 618411 - Accept non-alphabetical character in the sync key entry. r=mconnor 2010-12-13 18:09:21 -08:00
Richard Newman 6b42c03ded Bug 618389: additional precision in key clearing. r=philiKON 2010-12-10 21:22:39 -08:00
Richard Newman d71ed80bcd Bug 618389: fix for broken key clearing. r=philiKON 2010-12-10 19:41:55 -08:00
Richard Newman 6c8e461b04 No bug: fix engine registering in test. r=philiKON 2010-12-10 19:40:17 -08:00
Richard Newman ddcdb55ef9 Bug 618389: reset and clear keys on changePassphrase. r=mconnor 2010-12-10 16:53:40 -08:00
Richard Newman bca15c8e10 Bug 618340: don't report network failure for unknown errors. r=philiKON 2010-12-10 16:32:16 -08:00
Philipp von Weitershausen 56ed182429 Back out Bug 610914 as it causes Bug 618068. 2010-12-10 16:18:57 -08:00
Richard Newman a602bc20ee Bug 618009: add test for storage format detection during login. r=mconnor 2010-12-10 15:53:16 -08:00
Richard Newman da7b3caef0 Bug 618341: Rethrow exceptions we aren't supposed to handle. r=philiKON 2010-12-10 15:43:12 -08:00
Philipp von Weitershausen 017b137501 Bug 618233 - Temporarily disable random orange on Windows 2010-12-09 23:09:45 -08:00
Richard Newman da614d86c9 Bug 617709: Tests and functionality for on-the-fly HMAC error recovery. r=philiKON 2010-12-09 23:06:44 -08:00
Richard Newman 82424f8bd0 Bug 618179: make sure we create a meta/global record if one is not found. r=philiKON 2010-12-09 19:37:02 -08:00
Philipp von Weitershausen e18d7bc2fa Bug 602876 - Tests for J-PAKE network client. r=mconnor 2010-12-09 18:13:58 -08:00
Philipp von Weitershausen 7c4ac9db45 Bug 602876 - Implement network client for credentials exchange via J-PAKE. r=mconnor 2010-12-09 18:12:09 -08:00
Philipp von Weitershausen dca3c0bc83 Bug 617868 follow-up: fix test 2010-12-09 12:33:51 -08:00
Philipp von Weitershausen 0e226c056e Bug 617868 - Use the RFC5869-compliant HKDF in the SyncKeyBundle. r=mconnor
This requires new bulk keys and constitutes a storage version bump.
2010-12-09 12:14:17 -08:00
Philipp von Weitershausen 19f7ef9568 Bug 617868 - RFC-5869 compliant HKDF implementation with test vectors. r=mconnor 2010-12-09 12:14:08 -08:00
Richard Newman 13d861e16a Bug 617709: download and reset when server bulk keys change. r=mconnor 2010-12-09 10:32:03 -08:00
Philipp von Weitershausen cf1ee5696a Bug 617521 - Random bookmark reordering due to dupe handling. r=mconnor 2010-12-07 21:49:22 -08:00
Richard Newman df46a7337e Bug 617478: clear CollectionKeys on startOver. r=philiKON. 2010-12-07 16:30:06 -08:00
Richard Newman d9a0b60f3c Bug 617351: more tests for engine disabling. r=mconnor 2010-12-07 16:18:22 -08:00
Richard Newman f05e3ed35e Bug 617320: fix for tests around engine disabling. r=mconnor 2010-12-07 09:17:52 -08:00
Richard Newman c1e4717b80 Bug 616265: Add download limit for history, lift magic number. r=mconnor 2010-12-06 17:25:35 -08:00
Richard Newman 722f26a00b Bug 615926: Belt-and-braces engine disabling check. r=mconnor 2010-12-06 17:23:38 -08:00
Philipp von Weitershausen 5ebb101761 Bug 615285 - Bookmark sync: track ordering on folder. r=mconnor 2010-12-06 15:51:56 -08:00
Philipp von Weitershausen 71cb004b93 Bug 615410 - Use different annotations for parent and predecessor. r=mconnor
The old annotations will no longer be valid because they point to a different kind of GUID.
Since we're using our own GUID system now, we also don't have to munge predecessor and parent GUIDs before setting them.
2010-12-06 15:51:48 -08:00
Philipp von Weitershausen 2be6596619 Bug 615410 - Have bookmarks generate new-style GUIDs. r=mconnor 2010-12-06 15:51:38 -08:00
Philipp von Weitershausen 9c08ffd9ff Bug 615410 - More tests for the bookmark store. r=mconnor 2010-12-06 15:51:33 -08:00
Richard Newman d3138d405f Bug 615926: fix stupid typo. r=mconnor 2010-12-06 15:09:14 -08:00
Richard Newman c2ac353231 Bug 615926: attempt to avoid screwing up meta. 2010-12-06 14:22:09 -08:00
Richard Newman 901929364b Bug 610914: performance improvements for WeaveCrypto. 2010-12-06 11:52:30 -08:00
Philipp von Weitershausen 16f6f8c3cc Bug 616179 - Persona is not displayed after pref sync cleanup. r=mconnor 2010-12-02 11:03:01 -08:00
Philipp von Weitershausen 74b8241d7f Fix indentation (no bug) 2010-12-01 14:59:33 -08:00
Philipp von Weitershausen 07eb8a8845 Bug 615604 - Only accept pref updates for the current app. r=mconnor 2010-11-30 13:37:07 -08:00
Philipp von Weitershausen a84a019b81 Bug 615604 - Make pref GUIDs base64url. r=mconnor 2010-11-30 13:36:01 -08:00
Richard Newman 835f9d759e Bug 615643: remove existing logins prior to running verifyLogin tests. r=philiKON 2010-11-30 12:34:29 -08:00
Richard Newman 9ed98018b1 Bug 615622: tests for SyncKeyBundle persistence. r=philiKON 2010-11-30 11:03:54 -08:00
Richard Newman bbbd539f04 Bug 615612: additional tests for SHA256-HMAC. r=philiKON 2010-11-30 11:03:27 -08:00
Philipp von Weitershausen abb0ad626a Get rid of superfluous parameter. r=me 2010-11-30 10:47:03 -08:00
Philipp von Weitershausen 8f37b5682d Bug 614104 - Use new annotation for history GUIDs. r=mconnor
This way all history entries are assigned new-style GUIDs.
2010-11-30 10:26:15 -08:00
Philipp von Weitershausen 86d93d274e Bug 614104 - Make Utils.makeGUID generate new style GUIDs. r=mconnor
New style GUIDs are 9 random bytes encoded with base64url, yielding 12 characters with 72 bits of entropy.
2010-11-30 10:26:13 -08:00
Richard Newman f35aba613e Bug 614737: detecting upgrade, being nice to old clients. r=philikon 2010-11-29 16:41:33 -08:00
Richard Newman f0b19a496e Bug 603489, 614489: simplified crypto. r=mconnor 2010-11-29 16:41:17 -08:00
Philipp von Weitershausen 69c699c467 Bug 560580 - Pref sync cleanup [r=mconnor] 2010-11-23 21:21:37 -08:00
Philipp von Weitershausen fe95dc94ad Bug 591126 - Handle upload interruption gracefully [r=mconnor] 2010-11-23 21:21:31 -08:00
Brian Smith a3e5ff1a68 bug 629090: Prevent g^x mod p == 1 in Sync J-PAKE. r=mconnor and r=philipp. a=blocker
--HG--
extra : rebase_source : ca7b5d6f0744858ada042d7d3dc9804ea35ab9aa
2011-02-09 13:57:28 -08:00
Philipp von Weitershausen a2445fd18d Merge bug 632417 from fx-sync. a=blocking-fennec 2011-02-08 22:00:52 -08:00
Philipp von Weitershausen b85d255b11 Merge fx-sync. a=blockers 2011-02-08 21:02:23 -08:00
Richard Newman a9cb4adef4 Bug 574380: make Sync constants useful on trunk. r=khuey,mconnor 2011-02-04 12:29:53 -08:00
Philipp von Weitershausen 3ffdc3636b Back out a change from bug 574380.
This requires the patch that turns the preprocessor on for these files, which hasn't landed yet.
2011-02-03 14:20:51 -08:00
Philipp von Weitershausen 5d496cfd77 Bug 629780 - Merge fx-sync to mozilla-central. a=blockers 2011-02-03 10:53:36 -08:00
Richard Newman be8d50e72a Bug 610749: (FIXED) add pure-JS PBKDF2 implementation. r=philikon 2010-11-16 11:50:18 -08:00
Richard Newman 000b5df8db Bug 610749: add pure-JS PBKDF2 implementation. 2010-11-16 11:42:17 -08:00
Philipp von Weitershausen a2b8bef32a Bug 600993 - Tab sync has no reason to ever touch disk [r=mconnor] 2010-11-11 11:00:41 -08:00
Philipp von Weitershausen 6fbfb072c1 Bug 610923 - Allow engines to bypass the tracker for certain or all changed items [r=mconnor]
SyncEngine now uses the getChangedIDs() method to get all changed IDs before a sync. By default this still goes through the tracker, but engines can override this method to do queries based on timestamps, or to bypass the tracker entirely.

SyncEngine now also exposes a lastSyncLocal property that keeps the local timestamp of the last sync so that engines can do timestamp based queries.
2010-11-11 11:00:35 -08:00
Philipp von Weitershausen 959c42dca4 Bug 610375 - Make bookmark folders not sync last [r=mconnor] 2010-11-09 13:53:50 -08:00
Philipp von Weitershausen 80f1e34958 Bug 609398 - Get rid of partial sync [r=mconnor] 2010-11-09 13:51:19 -08:00
Philipp von Weitershausen fb0b837cdf Bug 584927 - Use async queries to set page annotations in the history engine [r=mconnor,sdwilsh] 2010-11-02 16:34:46 -07:00
Philipp von Weitershausen f7cbfd1d88 Bug 584927 - Use an async query to get page annotations in the history engine [r=mconnor,sdwilsh] 2010-11-02 16:34:38 -07:00
Philipp von Weitershausen 040ac50a4c Bug 584927 - Factor GUIDForUri and setGUID into HistoryStore [r=mconnor] 2010-08-06 14:40:06 -07:00
Philipp von Weitershausen 0b7e42d2d5 Bug 608324 - test_utils_stackTrace fails after JM changes [r=mconnor] 2010-10-29 14:09:58 -07:00
Philipp von Weitershausen 1fe9c628e3 Bug 607457 - services.sync.log.appender.debugLog.enabled should exist by default [r=mconnor] 2010-10-29 14:09:57 -07:00
Philipp von Weitershausen e985dd45a2 Bug 603301 - Tests for async resource API [r=mconnor] 2010-10-29 10:20:38 -07:00
Philipp von Weitershausen 772cdce99c Bug 603301 - Add async resource API. [r=mconnor]
The async API is exposed as AsyncResource which is functionally equivalent to Resource.
The latter is now a wrapper around AsyncResource.
2010-10-29 10:20:27 -07:00
Philipp von Weitershausen 0291e51761 Bug 606695 - De-Sync.js-ify history store test [r=mconnor] 2010-10-29 06:54:41 -07:00
Philipp von Weitershausen e1a52f2169 Bug 606695 - Helper for chaining async functions [r=mconnor] 2010-10-29 06:54:30 -07:00