Ed Morley
a7bb0ec116
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Gregory Szorc
45d3f90cf3
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
88f9794fe7
Bug 785225 - Part 8: Don't expose SyncScheduler as a singleton; r=rnewman
2012-08-29 14:43:41 -07:00
Gregory Szorc
5628a0cd3b
Bug 785225 - Park 6: Move StorageCredentialsController to jpakeclient.js; r=rnewman
...
I'm not sure why it was in policies.js, as it has everything to do with
J-PAKE exchange.
2012-08-29 14:43:40 -07:00
Gregory Szorc
b11d37e791
Bug 785225 - Part 3: Don't expose ErrorHandler as a singleton; r=rnewman
...
Some tests still expect there to only be a single instance of
ErrorHandler for the life of the tests. And, ErrorHandler itself is
pretty tighly coupled with being a singleton because it writes out
changes to prefs, etc. But, it's a step in the right direction.
2012-08-29 14:43:40 -07:00
Sankha Narayan Guria
3dc82e3bf5
Bug 579604 - Save prefs file after setting up Sync; r=gps
2012-07-30 16:05:20 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Gregory Szorc
49412510e0
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
9849ea91e2
Bug 730989 - Refactor identity and authentication in Sync; r=rnewman
2012-03-22 15:49:50 -07:00
Gregory Szorc
9428ab2bbe
Bug 732605 - Only schedule shorter sync interval if records were successfully applied; r=rnewman, r=mconnor
2012-03-06 14:27:56 -08:00
Philipp von Weitershausen
41b90ee57d
Bug 684798 - Part 6: Avoid sync scheduling loops when a score-triggered sync is overdue and login reproducibly fails. r=rnewman
2011-11-01 11:41:47 -07:00
Richard Newman
23637a0e92
Bug 692714 - Part 1: handle node reassignment on all storage requests. r=philikon
2011-10-27 22:25:01 -07:00
Richard Newman
f665dc4707
Bug 692714 - Part 0: cleanup and logging. r=philikon (reland)
2011-10-27 22:25:01 -07:00
Richard Newman
134af0a863
Bug 684798 - Part 4: Schedule syncs on temporary/recoverable login errors. r=rnewman (reland)
2011-10-27 22:25:00 -07:00
Richard Newman
cf03e0941e
Bug 684798 - Part 1: Catch server errors for crypto/keys. r=rnewman (reland)
2011-10-27 22:25:00 -07:00
Philipp von Weitershausen
974d53a1dc
Merge backout on this CLOSED TREE
2011-10-20 16:21:52 -07:00
Philipp von Weitershausen
28bd994e45
Back out bug 684798 parts 1 thru 3.
2011-10-20 16:21:17 -07:00
Philipp von Weitershausen
1b3e5ac873
Back out bug 692714 and bug 684798 part 4.
2011-10-20 16:19:47 -07:00
Richard Newman
d256acd73b
Bug 692714 - Part 1: handle node reassignment on all storage requests. r=philikon
2011-10-19 17:54:55 -07:00
Richard Newman
c89c39d2d8
Bug 692714 - Part 0: cleanup and logging. r=philikon
2011-10-19 17:43:54 -07:00
Philipp von Weitershausen
39be9606dc
Bug 684798 - Part 4: Schedule syncs on temporary/recoverable login errors. r=rnewman CLOSED TREE
2011-10-19 17:29:12 -07:00
Philipp von Weitershausen
979687154a
Bug 692249 - Persist nextSync and numClients, use nextSync for sync after startup. r=rnewman
2011-10-13 17:58:44 -07:00
Philipp von Weitershausen
866dfa2c93
Bug 684798 - Part 1: Catch server errors for crypto/keys. r=rnewman
2011-10-12 13:53:06 -07:00
Richard Newman
469d44f93d
Bug 693505 - Sync error muffling causes undesirable lack of logging on error. r=philikon
2011-10-11 08:24:26 -07:00
Philipp von Weitershausen
f0aa052172
Bug 691663 - SyncScheduler should obey backoffInterval at all times. r=rnewman
2011-10-04 20:52:14 -07:00
Philipp von Weitershausen
3ed7f01d13
Bug 691988 - OS X: Spurious 'back' events from idle observer cause too many instant syncs. r=rnewman
2011-10-04 20:04:13 -07:00
Philipp von Weitershausen
8bbbe8dd75
Bug 691612 - Backoff handling is broken. r=rnewman
2011-10-03 22:52:07 -07:00
Philipp von Weitershausen
78aa331ca9
Bug 678586 - Trigger a delayed sync after pairing a new device. r=rnewman
2011-10-02 01:18:27 -07:00
Philipp von Weitershausen
d8099b4e6e
Bug 675823 - Part 1: Implement SendCredentialsController. r=rnewman
2011-10-02 01:16:22 -07:00
Philipp von Weitershausen
1cb474e36b
Bug 686365 - NS_ERROR_FAILURE in policies.js removeIdleObserver. r=rnewman
...
--HG--
extra : rebase_source : a11aba267fa4e183624d9d38420e098812753519
2011-09-22 15:44:06 -07:00
Chenxia Liu
472b809eca
Bug 663181 - Automatic cleanup for Sync error logs. r=philikon
2011-09-08 16:52:07 -07:00
Marina Samuel
fb406c9e6d
Bug 683396 follow-up: Fix intermittent test failures
2011-09-06 19:15:28 -07:00
Marina Samuel
8e5dedc036
Bug 683396 - Correctly identify server maintenance at login. r=philikon
2011-09-06 09:17:26 -07:00
Marina Samuel
9bec01a1b9
Bug 622387 - Wrong Sync Key error should only throw an error once. r=philikon
2011-09-06 09:17:26 -07:00
Marina Samuel
1fd6a5881d
Bug 683254 - On startup with no network, sync icon spins endlessly. r=philikon
2011-08-30 15:38:31 -07:00
Marina Samuel
74221d1653
Bug 578195 - Better description when the server asks for a backoff. r=philikon
...
--HG--
extra : rebase_source : b7ab66f6716fa708861d394320596259166b0652
2011-08-26 16:45:08 -07:00
Marina Samuel
6fb4cf24fb
Bug 659067 - Part 3: Only show network errors for user triggered sync, not for scheduled ones. r=philikon
2011-08-26 14:01:35 -07:00
Marina Samuel
7e731f6953
Bug 659067 - Part 2: Move _syncError to ErrorHandler. r=philikon
2011-08-26 14:01:35 -07:00
Marina Samuel
2b1ebbea33
Bug 659067 - Part 1: Move error handling and logging from Service to ErrorHandler. r=philikon
...
--HG--
rename : services/sync/tests/unit/test_service_filelog.js => services/sync/tests/unit/test_errorhandler_filelog.js
rename : services/sync/tests/unit/test_service_sync_checkServerError.js => services/sync/tests/unit/test_errorhandler_sync_checkServerError.js
2011-08-26 14:01:35 -07:00
Gregory Szorc
b9459f1db2
Bug 676042 - Track Clients engine score in global sync score; r=philikon
2011-08-09 09:25:12 -07:00
Philipp von Weitershausen
8ab146ea1b
Bug 675125 - Utils.notify should pass observers the exception as subject. r=rnewman
2011-07-29 18:47:39 -07:00
Marina Samuel
129c9d5e02
Bug 671378 - Sync interval doesn't adjust after error during initial Sync on additional device. r=philikon
2011-07-21 12:21:34 -07:00
Marina Samuel
9d4a25fd49
Bug 668622 - Move sync at startup logic (autoConnect, etc.) to SyncScheduler. r=philikon
2011-07-21 12:20:55 -07:00
Philipp von Weitershausen
d74f1c4aa3
Bug 671066 - Unknown error on conclusion of easy setup of second client. r=rnewman
...
Part 2: Make sure we don't run into the kNotLoggedIn reason first and then ignore it. It's a useless sentinel anyway, so remove it altogether.
2011-07-13 15:20:07 -07:00
Marina Samuel
ef3cfaf2fb
Bug 668309 - Part 3: fix for sync intervals. r=philiKON
2011-06-29 20:12:27 -07:00
Philipp von Weitershausen
2a868ced11
Bug 668309 - Part 2: Make regular intervals pref-able. r=rnewman
2011-06-29 20:12:24 -07:00
Philipp von Weitershausen
8ade2b67cb
Bug 668309 - Part 1: Add more logging to SyncScheduler. r=rnewman
2011-06-29 20:12:16 -07:00
Marina Samuel
7d5f709d9c
Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
...
Part 6: Fix the idle/back observers, have Service.startOver() reset SyncScheduler values
2011-06-29 03:48:55 +02:00
Marina Samuel
87a65b311d
Bug 666043 - Service._skipScheduledRetry is wrong. r=philikon
2011-06-27 14:26:04 +01:00