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

897 Коммитов

Автор SHA1 Сообщение Дата
Mark Hammond 0a9a6684a2 Bug 1013064 (part 4) - browserid_identity and sync changes to support FxA credentials in the login manager. r=ckarlof,rnewman
From 9717484083e66b78eedfa14e539d51382aba760f Mon Sep 17 00:00:00 2001
---
 services/sync/modules/browserid_identity.js        | 61 ++++++++++++++++++++--
 services/sync/modules/identity.js                  | 19 +++++++
 services/sync/modules/service.js                   | 20 ++++---
 .../sync/tests/unit/test_browserid_identity.js     | 15 ++++++
 4 files changed, 102 insertions(+), 13 deletions(-)
2014-06-14 14:33:56 +10:00
Gregory Szorc 04d5343419 Bug 1033836 - Rename services-common to services/common; rs=rnewman
The upcoming build system patches don't support hypthens in path names.
Changing this for that reason is kind of silly, but it's the easiest
way. Besides, nothing else uses hyphens in directory names.

--HG--
extra : rebase_source : 42dda2b1f16a3c0bfe17397a70092362e400530f
2014-07-02 16:49:36 -07:00
Mark Hammond 783db8b7f4 Bug 995599 - prevent services tests hitting the network. r=rnewman
--HG--
extra : rebase_source : f38fefae031f4cbd94215ee61f89a553b1f5c272
2014-06-10 12:02:39 +10:00
Sam Penrose 583311c132 Bug 983445 - Verification causes logout on device. r=jedp 2014-04-21 16:45:58 -07:00
Mark Hammond f6d6fbe67c Bug 985868 - only report prolonged sync errors once per application invocation. r=rnewman 2014-04-17 11:25:44 +10:00
Roberto A. Vitillo 32321d3662 Bug 993468 - TypeError: callback is undefined in jsonSave(). r=rnewman 2014-04-13 14:28:20 -04:00
Mark Hammond 19e4e8c0ac Bug 985145 - make node reassignment work correctly with FxA. r=rnewman 2014-04-10 12:18:24 +10:00
Mark Hammond 0359dd9f95 Bug 990834 (part 3) - Fix handling of hawk errors. r=ckarlof 2014-04-10 12:08:19 +10:00
Mark Hammond b608d2c829 Bug 990834 (part 2) - Add support/tweak retry and backoff header support to hawk and tokenserverclient. r=rnewman 2014-04-10 12:08:19 +10:00
Mark Hammond a562ea36f3 Bug 990834 (part 1) - minor refactor of hawk tests. r=ckarlof 2014-04-10 12:08:18 +10:00
Marco Castelluccio 9ef3ad73ba Bug 988301 - Avoid main-thread IO in Sync code. r=Yoric, r=rnewman 2014-04-07 10:49:32 -04:00
Richard Newman 77caf5094f Bug 990872 - Eliminate Places dependency in Sync utils. r=gps 2014-04-01 21:33:42 -07:00
Valery Yundin ca4b6d2580 Bug 841096 - Part 2: speed up retrieval of open tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Valery Yundin f40979d0bf Bug 841096 - Part 1: speed up about:sync-tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Mark Hammond 80b2f9e857 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-24 11:44:43 +11:00
Phil Ringnalda 5b1152ce0e Back out b9597187a3d6 (bug 985212) for xpcshell bustage
CLOSED TREE
2014-03-22 21:30:46 -07:00
Mark Hammond 6a5ecb9cbc Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-23 14:20:38 +11:00
Phil Ringnalda a06cadf42b Back out 61454adff1d6 (bug 985212) for xpcshell bustage 2014-03-20 21:50:21 -07:00
Mark Hammond 8f728efcd1 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-21 14:39:35 +11:00
Mark Hammond 81878b2d38 Bug 970167 - Disable passwords engine when a master password is set. r=rnewman 2014-03-21 14:22:02 +11:00
Mark Hammond ae6d67cfd5 Bug 983270 (part 2) - _findCluster() should return null on authentication errors. r=ckarlof 2014-03-17 09:39:31 +11:00
Mark Hammond e66fd85f48 Bug 983270 (part 1) - testonly refactor of FxA tests to make cluster testing easier. r=ckarlof 2014-03-17 09:39:31 +11:00
Mark Hammond 0565a07d1b Bug 983913 - ensure failure to reject a promise is actually reported. r=ttaubert 2014-03-14 18:02:01 -07:00
Mark Hammond 0a65d8c164 Bug 982965 - ensure we fail if getKeys can't get kA or kB. r=ckarlof 2014-03-14 15:22:32 -07:00
Richard Newman 9138511a11 Bug 978876 - Part 1: handle declined engines in desktop Sync meta/global. r=gps
* * *
Bug 978876 - Part 2: refactor out meta/global upload.
2014-03-13 16:37:25 -07:00
Mark Hammond d03eaa8b9c Bug 958447 - respect Retry-After header from token server. r=rnewman 2014-03-12 19:27:22 -07:00
Tim Taubert 1a00683433 Bug 969555 - Follow-up to fix test_syncscheduler.js failures on a CLOSED TREE r=bustage 2014-03-12 13:06:01 -07:00
Mark Hammond 4b03615e02 Bug 967015 - Have bid_identity call Service.startOver on logout. r=rnewman,ckarlof 2014-03-07 15:41:33 +11:00
Mark Hammond 7c71c437c3 Bug 977502 (part 2) - add tests with mock http responses simulating errors. r=ckarlof 2014-03-07 15:41:32 +11:00
Mark Hammond d188243f95 Bug 977502 (part 1) - better management of login failure states and allow sync to force a login. r=ckarlof,rnewman 2014-03-07 15:41:32 +11:00
Mark Hammond 808272323f Bug 972070 - improve FxAccounts.jsm state management. r=jedp 2014-03-03 10:20:56 +11:00
Jed Parsons ceb73476f1 Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-25 09:19:47 -08:00
Mark Hammond 77fe4b729d Bug 932759 (part 2) - Have form sync work correctly if FormHistory is disabled. r=rnewman 2014-02-26 17:12:16 +11:00
Wes Kocher 0a15971621 Backed out changeset 96fd88a4d311 (bug 974990) for WinXP PGO xpcshell orange
--HG--
rename : services/common/hawkclient.js => services/common/hawk.js
rename : services/common/tests/unit/test_hawkclient.js => services/common/tests/unit/test_hawk.js
2014-02-24 17:21:29 -08:00
Jed Parsons 728329a753 Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-20 18:04:44 -08:00
Gregory Szorc 4e49d56880 Bug 958561 - Measure Sync with Firefox Health Report; r=rnewman
Metrics for Sync have been added to Firefox Health Report. If Sync is
not configured, we'll report that fact and the supported and preferred
Sync protocols (1.1 or 1.5).

If Sync is configured, we report the daily counts of sync attempts and
how many are successful vs errored. We also report daily counts of the
device types attached to the account.

--HG--
extra : rebase_source : 77170b323706a85cbe1542ac993ebdc1dba3b505
extra : amend_source : 7802e80b4fc94937fbe3f67505b447bfb048732d
2014-02-05 08:08:14 -08:00
Mark Hammond e992f475d3 Bug 965896 - allow a sync startOver to re-enable Firefox Accounts. r=rnewman 2014-02-12 17:25:41 +11:00
Richard Newman 389247fe93 Bug 968436 - Add 1.5 to client records. r=trivial 2014-02-10 18:36:02 -08:00
Tim Taubert 2d0c6570e7 Bug 967120 - Follow-up to fix broken xpcshell and mochitests r=markh 2014-02-04 12:03:18 +01:00
Tim Taubert e330f0a9c6 Bug 735868 - Fix tests r=rnewman 2014-02-07 05:12:26 +01:00
Chris Karlof a7ca3ed75d Bug 966560 - fix bugs with time skew fix in bug 957863; r=jedp 2014-01-31 16:43:36 -08:00
Jed Parsons 7a1e060cc8 Bug 957863 - Use FxA auth clock skew in hawk, jwcrypto, and sync. r=warner, r=rnewman 2014-01-23 18:04:38 -08:00
Chris Karlof 34a6bff150 Bug 960887 - Handle storage endpoints returned by 1.5 token server. r=rnewman
--HG--
extra : rebase_source : a78f079a22f4e196de21b7b15d63ecdc4d475a04
2014-01-29 19:26:01 -08:00
Jed Parsons 33b83f2be5 Bug 959919 - Send X-Client-State header to token server. r=rnewman 2014-01-29 15:02:09 -08:00
Carsten "Tomcat" Book b27eea3926 Backed out changeset 6f10f2e4ef13 (bug 960887) for XPC Bustage on a CLOSED TREE 2014-01-30 10:39:59 +01:00
Chris Karlof 5f5adfa490 Bug 960887 - Handle storage endpoints returned by 1.5 token server. r=rnewman 2014-01-30 00:22:55 -08:00
Wes Kocher 43409c713f Backed out changeset a76b3c746743 (bug 960887) for xpcshell bustage 2014-01-29 21:04:47 -08:00
Chris Karlof 174b2f262e Bug 960887 - Handle storage endpoints returned by 1.5 token server. r=rnewman 2014-01-29 19:26:01 -08:00
Richard Newman 993e55b82e Bug 956936 - Include supported Sync protocol versions in desktop client records. r=gps 2014-01-06 21:45:26 -08:00
Richard Newman 5e15d1adc9 Bug 956442 - Include version in desktop Sync client records. r=gps 2014-01-06 18:41:12 -08:00
Richard Newman dea8254c1b Bug 953282 - Fix idle observer notification, after Bug 715041 broke in-tree consumers. r=gps 2013-12-27 21:12:50 -08:00
Tim Taubert d041e15611 merge m-c to elm 2013-12-20 15:05:28 +01:00
Mark Hammond d1658ac407 Bug 949695 tests followup - fix test_handleSyncError to reset error account so it passes when run twice 2013-12-20 15:57:26 +11:00
Mark Hammond bd3b67b4ff Bug 949695 tests followup - convert more tests to run with both identity managers. 2013-12-20 15:57:26 +11:00
Mark Hammond 6d992cc467 Bug 949695 tests followup - convert test_service_wipeServer to identity_test infrastructure 2013-12-20 15:57:26 +11:00
Mark Hammond d2933b41f3 Bug 949695 tests followup - Add ability to run tests twice - once with each identity manager - and have test_service_startOver use it. 2013-12-20 15:57:26 +11:00
Mark Hammond a1683f8a40 Bug 949259 followup - refactor identity config for tests and remove need to pass params to BrowserIDManager. 2013-12-20 15:57:26 +11:00
Wes Kocher 3f7a546e4f Merge inbound to m-c 2013-12-19 18:58:45 -08:00
Richard Newman d180512a8d Bug 947772 - Follow-up: fix sneaky test (disabled on some platforms). r=me 2013-12-19 11:48:23 -08:00
Richard Newman ea1673f1c8 Bug 947772 - Sync adds tracker observers regardless of engine enabled state. r=gps 2013-12-18 21:42:17 -08:00
Brian Warner 286a2e0658 Bug 949259 (elm) - bring elm up-to-date with patch in bug 949259. 2013-12-17 15:45:03 +11:00
Jeff Walden 680994ff16 Remove an exact-error-message check from an xpcshell test -- error message string format is not a stable interface, and tests shouldn't break when message strings change from time to time. Followup to bug 507998, r=orange
--HG--
extra : rebase_source : b30fe2c6dc49c3278e1177bee7e55b6ee833dac6
2013-12-19 16:29:10 -05:00
Tim Taubert b8d6f7c28e No Bug - Fix Log4Moz xpcshell bustage 2013-10-17 11:42:18 -07:00
Tim Taubert b08ff3c212 merge m-c to elm 2013-10-16 10:25:32 -07:00
Sam Penrose 875032f949 Bug 911378 - A BrowserID/Hawk based IdentityManager for Sync. r=rnewman 2013-10-02 23:48:08 +02:00
Richard Newman 8bc14ea94c Merge m-c to s-c. 2013-09-26 21:32:35 -07:00
Richard Newman bdc7e7cc64 Bug 911478 - Intermittent sync\tests\unit\test_addons_engine.js | test failed. r=gps 2013-09-25 17:09:10 -07:00
Blair McBride 89d1cbef27 Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
Gregory Szorc 7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Richard Newman be2550d749 Bug 908461 - Protocol deprecation indicators for Sync: client support. r=gps 2013-09-03 16:11:46 -07:00
Mihnea Dobrescu-Balaur 429bfa59e2 Bug 906126 - Adapt remaining sync xpcshell test for parallel runs. r=gps 2013-08-16 11:51:19 -07:00
Mihnea Dobrescu-Balaur 5396546754 Bug 898820 - test_resource_header.js should use a dynamic port. r=gps 2013-07-27 23:34:21 -07:00
Gregory Szorc da7deab3e1 Bug 884421 - Automatically select network ports for /services tests; r=rnewman 2013-07-23 13:53:05 -07:00
Gregory Szorc 95806b4b2f Backout b817406485f8 (bug 884421) for intermittent WinXP failures (bug 896093)
CLOSED TREE
2013-07-22 13:24:45 -07:00
Gregory Szorc 22709b6535 Bug 884421 - Automatic network port selection for /services tests; r=rnewman 2013-07-16 17:14:21 -07:00
Ryan VanderMeulen 62e8d6d2c3 Backed out 3 changesets (bug 884421) for intermittent xpcshell failures on a CLOSED TREE.
Backed out changeset 75b7cf367efb (bug 884421)
Backed out changeset 2264c04671c4 (bug 884421)
Backed out changeset 45c529ffbe90 (bug 884421)
2013-07-18 14:08:18 -04:00
Gregory Szorc 9085b40c14 Bug 884421 - Part 3: Fix test_service_wipeServer; r=bustage 2013-07-17 14:51:13 -07:00
Gregory Szorc 31e82adf05 Bug 884421 - Automatic network port selection for /services tests; r=rnewman 2013-07-16 17:14:21 -07:00
Richard Newman c961278321 Bug 878677 - Follow-up: remove unused import. r=trivial 2013-06-20 10:39:53 -07:00
Richard Newman 19cdbfce63 Bug 878677 - Part 2: Sync changes to support FormHistory.jsm. r=rnewman 2013-06-20 09:56:49 -07:00
Nick Alexander 492a680813 Merge m-c to s-c 2013-06-19 16:12:15 -07:00
Richard Newman d3068e6c99 Backed out changeset 31f1458c6a0b (bug 878677) 2013-06-18 09:16:19 -07:00
Mark Hammond 651c99c4da Bug 878677 - Part 2: Sync changes to support FormHistory.jsm. r=rnewman 2013-06-17 16:58:54 -07:00
Richard Newman 8de35dcc15 Bug 873861 - Intermittent test_addons_store.js | Test timed out. r=gps 2013-06-13 15:44:28 -07:00
Stefan Mirea 773620d4d8 Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps 2013-06-13 18:36:21 -07:00
Gregory Szorc 4639ab1d14 Backout 9080f6701733 (bug 852411) for hitting weird xpcshell test harness behavior in multiple local builds 2013-06-14 14:38:29 -07:00
Stefan Mirea fd534fc41a Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps
--HG--
extra : rebase_source : d03cdae978479605df0a7ea728916ba78a272ffb
2013-06-13 18:36:21 -07:00
Raymond Lee cbfeb4cc13 Bug 852034 - Replace restoreBookmarksFromJSONFile with importFromFile. r=mano 2013-04-17 13:36:02 +08:00
Nick Alexander 0481627d39 Bug 848519 - Part 3: Replace services-common/preferences.js with gre/modules/Preferences.jsm in imports. r=gavin 2013-04-15 12:45:37 -07:00
Raymond Lee de3be8a99d Bug 852041 - Part 2: Use BookmarkJSONUtils.exportToFile in services/sync. r=rnewman 2013-04-09 17:15:34 +08:00
Mike Hommey 26e3714874 Bug 755724 - Move browser application in a subdirectory. r=jimm 2013-02-11 14:10:16 +01:00
Marco Bonardo 4f925597b9 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Phil Ringnalda 2b3d881d7c Merge m-c to s-c 2013-02-04 18:12:00 -08:00
Richard Newman 08095b1df2 Bug 836206 - Split out or rewrite CommonUtils.jsonLoad/jsonSave. r=gps
--HG--
rename : services/common/tests/unit/test_utils_json.js => services/sync/tests/unit/test_utils_json.js
2013-02-03 00:51:26 -08:00
Ehsan Akhgari 395197733f Merge mozilla-cental into mozilla-inbound 2013-01-31 11:10:40 -05:00
Gregory Szorc c47eb8f3a2 Bug 836120 - Reduce memory overhead of Sync when it's not configured; r=rnewman
If Sync is (likely) not configured, the only loaded JS is for the XPCOM
service itself.

The UI code is now smart enough to initialize the Sync service if it
isn't yet loaded. This addresses bug 825728.
2013-01-30 07:05:12 -08:00
Richard Newman b78783892f Bug 836369 - Intermittent test_history_tracker.js | test failed | true == false. r=trivial,test-only 2013-01-30 15:30:53 -08:00
Andres Hernandez 3f91b9e564 Bug 739217 - Part 3: services replacement of codebase usage of synchronous isVisited with asynchronous isURIVisited. r=rnewman 2013-01-18 12:01:40 -06:00
Gregory Szorc 6ddc34b300 Merge mozilla-central into services-central 2013-01-11 11:07:05 -08:00
Richard Newman e1dccc7a9b Bug 829656 - TEST-UNEXPECTED-FAIL | /builds/slave/talos-slave/test/build/xpcshell/tests/services/common/tests/unit/head_helpers.js | 2 == 1. r=trivial 2013-01-11 10:03:15 -08:00