Commit Graph

742 Commits

Author SHA1 Message Date
Dan Mills
010357f05a add a hack that supresses a strange error (this._remote.status.data is null, even though it was downloaded correctly) 2008-07-31 00:20:55 -07:00
Dan Mills
3fc5d0e8a1 fix typo in utils deepCopy 2008-07-30 23:37:21 -07:00
Dan Mills
691d0bae83 do log some stack traces 2008-07-30 22:53:27 -07:00
Dan Mills
7181afe98b have RemoteStore inherit from Store 2008-07-30 22:53:11 -07:00
Dan Mills
6b50b61a62 fix snapshot typos in SyncEngine 2008-07-30 22:52:49 -07:00
Dan Mills
0102f2cd60 more tab sync fixes, only disposing is left to fix; also allow the notify wrapper to pass along an optional data payload 2008-07-30 21:58:13 -07:00
Dan Mills
16810a84f4 get tab sync halfway working again, with fileengine 2008-07-30 00:05:09 -07:00
Dan Mills
eef307467c use client GUID (from ClientData) for FileEngine 2008-07-29 18:38:58 -07:00
Dan Mills
2dccefbe5d some more ClientData fixes; *do* wipe the server when there is no version file; upload the version file when needed; refresh ClientData on login 2008-07-29 18:34:10 -07:00
Dan Mills
26596e7d96 ClientData fixes; export to chrome as well 2008-07-29 18:15:13 -07:00
Dan Mills
a81ac5e9da Remote.put doesn't require the data arg anymore 2008-07-29 17:35:10 -07:00
Dan Mills
bbcd17ac62 mostly finish up ClientData impl 2008-07-29 17:34:21 -07:00
Dan Mills
25255efdbb allow Resource.put to have no data arg (in which case it will use its internal _data property) 2008-07-29 17:33:53 -07:00
Dan Mills
bd870bb118 initial client data module from chris+me 2008-07-29 15:44:36 -07:00
Dan Mills
59721cd147 Keychain's constructor doesn't need an identity anymore 2008-07-29 15:39:09 -07:00
Dan Mills
0ecc2cdce5 sync the *latest* 10 back-button entries per tab (not the earliest ones) 2008-07-29 15:37:59 -07:00
Dan Mills
7b63f59feb get crypto working with FileEngine 2008-07-29 12:04:41 -07:00
Dan Mills
acc0a427fd initial try to get crypto working with FileEngine 2008-07-29 11:03:06 -07:00
Dan Mills
58affe8131 Implement FileEngine 2008-07-25 17:02:43 -07:00
Dan Mills
a4fb63a8a0 print exceptions that come from engines 2008-07-25 16:54:37 -07:00
Dan Mills
c678010dcf split Engine into SyncEngine and FileEngine 2008-07-25 01:06:23 -07:00
Dan Mills
05a50f8f8b Default to not doing anything for resetGUIDs. Define an observer for subclasses to use 2008-07-24 19:29:11 -07:00
Dan Mills
f2a78e6470 merge upstream changes 2008-07-23 15:47:49 -07:00
Dan Mills
ea65089051 when making deep copies of an object, default to alphabetically sorting the properties for adding 2008-07-23 15:46:48 -07:00
Dan Mills
8a7e0e07a2 only wrap the first 10 entries in a tab 2008-07-23 15:46:13 -07:00
Anant Narayanan
9b84819727 Fix forgot password link (bug #442956) 2008-07-21 20:53:30 -07:00
Dan Mills
aaabd53604 merge upstream changes 2008-07-21 18:24:35 -07:00
Dan Mills
9ca663413e Fix network timeouts, make them take into account progress; re-upload new snapshot after 25 deltas 2008-07-21 18:23:51 -07:00
Dan Mosedale
533147ac4b Minor refactoring to allow for multiple application embeddings of Weave.
Also adds a Thunderbird embedding of weave and a fix to set the
username/password during verifyPassphrase (bug 446444), r=thunder@mozilla.com.
2008-07-21 18:12:27 -07:00
Dan Mills
b6cd1a1acd version bump to 0.2.5 2008-07-17 21:27:50 -07:00
Dan Mills
236663a98b fixes to request timeout code 2008-07-17 21:27:01 -07:00
Dan Mills
276550431b when changing passwords, do not allow the new one to be the same as the passphrase 2008-07-17 20:41:10 -07:00
Dan Mills
448faf27c3 time out requests after 30 seconds 2008-07-17 20:40:29 -07:00
Dan Mills
2e67371ec9 check at startup if the crypto module appears to be working and alert the user if not 2008-07-17 20:39:55 -07:00
Dan Mills
112006ce5f rollback last commit (1843a139184a), it causes cookie unit test to fail 2008-07-16 21:11:18 -07:00
Dan Mills
76d45e6917 Bug 443489: Use nsICookie2 interface instead of nsICookie. Patch by fabrice@bellet.info 2008-07-16 20:51:25 -07:00
Dan Mills
f1bea5c26d allow deep copies of objects to optionally copy object properties in alphabetical order. This is useful to guarantee the order in which they would be serialized as json (which may depend on the order in which properties are added) 2008-07-16 19:36:06 -07:00
Dan Mills
610f300600 during version check don't attempt to wipe the server when the version file isn't found (that was a workaround for old clients, before the version file existed) 2008-07-16 19:34:35 -07:00
Dan Mills
01d4a7e2f7 fix a strict warning when onComplete is null 2008-07-16 19:33:07 -07:00
Dan Mills
839d464575 version bump to 0.2.4 2008-07-12 21:08:36 -07:00
Dan Mills
cf199a8cbf fix sanity checks in getKeypair, cause key 404s to be interpreted as a success condition in verifyPassphrase, re-fetch keys after generating them in initialize 2008-07-12 20:58:19 -07:00
Dan Mills
b3f94ea68a fix verifyPassphrase() 2008-07-12 20:31:27 -07:00
Dan Mills
41dc6fa440 version bump to 0.2.3 2008-07-11 19:01:36 -07:00
Dan Mills
cd8154bbd9 rethrow exceptions the fault tolerance module says are bad. catch lock exceptions in the notify wrapper and don't rethrow them (hack) 2008-07-11 19:01:06 -07:00
Dan Mills
84e9eed2ab merge upstream changes 2008-07-11 18:55:58 -07:00
Dan Mills
d734b12ae4 add last exception to fault tolerance module 2008-07-11 18:55:42 -07:00
Chris Beard
2288e1468b - adding modal sync dialog handling of lock condition 2008-07-11 18:52:04 -07:00
Chris Beard
cd12a21bba - in sync error notification changed "try again" to "sync now.." which will pop a modal sync. 2008-07-11 18:29:33 -07:00
Dan Mills
ffdc89548f login code refactoring 2008-07-11 17:40:52 -07:00
Dan Mills
f6d457946c beef up fault tolerance module and hook it up to the service 2008-07-11 14:47:15 -07:00