Tooru Fujisawa
1f8ec8e3d4
Bug 1207496 - Part 4: Remove use of expression closure from services/sync/. r=gps
...
--HG--
extra : commitid : JyCsU57jx9W
extra : rebase_source : ed21660ac295a1d1a2fd423e86b8a74267eba088
2015-09-23 18:40:53 +09: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
Tim Taubert
e330f0a9c6
Bug 735868 - Fix tests r=rnewman
2014-02-07 05:12:26 +01: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
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
31e82adf05
Bug 884421 - Automatic network port selection for /services tests; r=rnewman
2013-07-16 17:14:21 -07:00
Gregory Szorc
f96ef85591
Bug 792546 - Part 5: Clean up excessive imports; r=rnewman
2012-09-24 13:46:19 -07:00
Gregory Szorc
3143299126
Bug 792546 - Part 4: Move utility functions to testing-only JS module; r=rnewman
2012-09-24 13:45:49 -07:00
Gregory Szorc
b6376f859c
Bug 787273 - Part 7: Expose Status an an instance variable on Service; r=rnewman
...
The global Status is still there. But Service and its derived objects
avoid the singleton lookup.
There are likely a few lingering tests that reference Status when they
should reference Service.status. These will be dealt with when Status is
refactored.
2012-09-14 16:02:33 -07:00
Gregory Szorc
5ecb759622
Bug 787273 - Part 5: Remove the CollectionKeys singleton; r=rnewman
...
CollectionKeys is gone. Instead, we export CollectionKeyManager (the
underlying type) and an instance is available on the Service singleton.
2012-09-14 16:02:33 -07:00
Gregory Szorc
7508d3694e
Bug 787273 - Part 4: Refactor Identity to not be a singleton; r=rnewman
...
Access to IdentityManager functionality now goes through the Service
singleton.
2012-09-14 16:02:33 -07:00
Gregory Szorc
6aed806b4c
Bug 787273 - Part 2: Refactor Resource and Record to not rely on singletons; r=rnewman
...
Resource currently relies on the Identity singleton to perform
authentication. This is bad magic behavior. Resource instances should
authenticate according to the service instance they are associated with.
This patch removes Identity magic from Resource. Everything using
Resource now explicitly assigns an authenticator which comes from
the service instance/singleton. This required API changes to Collection
and Record.
The preferred method to obtain a Resource instance is to call
getResource() on a service instance.
The end result of this patch looks a little weird, especially in test
code. You have things like Service.resource(Service.cryptoKeysURL).
This ugliness will go away when a unified storage service client is
used.
2012-09-14 16:02:32 -07:00
Gregory Szorc
ee08725aba
Bug 787273 - Part 1: Remove Records singleton; r=rnewman
...
RecordManager is now an instance of the Service singleton and holds a
reference back to the service which is used to obtain needed "global"
state.
2012-09-14 16:02:32 -07:00
Gregory Szorc
9fc8bd9999
Bug 785225 - Part 11: Burninate trailing whitespace from tests; r=rnewman
2012-08-29 14:43:41 -07:00
Gregory Szorc
e700f1a9c5
Bug 785225 - Part 9: Refactor engines to not use singletons; r=rnewman
...
Engines now maintain a reference to the service they belong to. This
allows them to obtain references to other engine instances belonging to
that service and that service only.
Stores and trackers now maintain a reference to the engine they belong
to.
Engine managers now maintain a reference back to a service.
The clients singleton has been removed. It now exists as an instance
variable on Service. Parts of ClientsEngine do behave as singletons
(e.g. commands). This will be addressed in future refactoring.
2012-08-29 14:43:41 -07:00
Gregory Szorc
6e7ff251cd
Bug 731494 - Refactor generic code from services/sync into services/common; r=rnewman
...
--HG--
rename : services/sync/modules/async.js => services/common/async.js
rename : services/sync/modules/log4moz.js => services/common/log4moz.js
rename : services/sync/modules/ext/Observers.js => services/common/observers.js
rename : services/sync/modules/ext/Preferences.js => services/common/preferences.js
rename : services/sync/modules/ext/StringBundle.js => services/common/stringbundle.js
rename : services/sync/tests/unit/test_async_chain.js => services/common/tests/unit/test_async_chain.js
rename : services/sync/tests/unit/test_async_querySpinningly.js => services/common/tests/unit/test_async_querySpinningly.js
rename : services/sync/tests/unit/test_log4moz.js => services/common/tests/unit/test_log4moz.js
rename : services/sync/tests/unit/test_Observers.js => services/common/tests/unit/test_observers.js
rename : services/sync/tests/unit/test_Preferences.js => services/common/tests/unit/test_preferences.js
rename : services/sync/tests/unit/test_restrequest.js => services/common/tests/unit/test_restrequest.js
rename : services/sync/tests/unit/test_utils_makeURI.js => services/common/tests/unit/test_utils_makeURI.js
rename : services/sync/tests/unit/test_utils_namedTimer.js => services/common/tests/unit/test_utils_namedTimer.js
rename : services/sync/tests/unit/test_utils_stackTrace.js => services/common/tests/unit/test_utils_stackTrace.js
2012-04-05 23:26:06 -07:00
Gregory Szorc
1f69a4ee14
Bug 730989 - Refactor identity and authentication in Sync; r=rnewman
2012-03-22 15:49:50 -07:00
Murali
bc3fef50d8
Bug 720596 - Set both serverURL and clusterURL in test code; utilize constants; r=gps
2012-02-06 09:50:11 -08:00
Richard Newman
37eb32a9e6
Bug 694728 - Sync: Log Status transitions. r=philikon
2011-10-15 15:29:11 -07:00
Richard Newman
05494d0fd8
Bug 650208: part 4: upload keys then download them. r=philiKON
2011-04-19 12:35:04 -07:00
Philipp von Weitershausen
b44b693b43
Bug 648371 - Convert async tests to use run_next_test helper. r=rnewman
2011-04-18 14:18:36 -07:00
Philipp von Weitershausen
62b8c0ba60
Bug 646347 - Use Sync API version 1.1. r=rnewman
2011-04-08 14:52:08 -07:00
Philipp von Weitershausen
c8db464dbc
Bug 609421 - Combine base_record/* files into record.js. r=rnewman
...
--HG--
rename : services/sync/modules/base_records/wbo.js => services/sync/modules/record.js
2011-01-18 16:23:30 -08:00
Richard Newman
07f4a35f35
Bug 619238: fix intermittent test failure. r=philiKON
2011-01-17 14:51:42 -08:00
Richard Newman
6c8e461b04
No bug: fix engine registering in test. r=philiKON
2010-12-10 19:40:17 -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
13d861e16a
Bug 617709: download and reset when server bulk keys change. r=mconnor
2010-12-09 10:32:03 -08:00
Richard Newman
f35aba613e
Bug 614737: detecting upgrade, being nice to old clients. r=philikon
2010-11-29 16:41:33 -08:00