Commit Graph

488 Commits

Author SHA1 Message Date
Dan Mills
2486e65567 have RemoteStore inherit from Store 2008-07-30 22:53:11 -07:00
Dan Mills
feddcff67b fix snapshot typos in SyncEngine 2008-07-30 22:52:49 -07:00
Dan Mills
40357d6963 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
820b732ed5 get tab sync halfway working again, with fileengine 2008-07-30 00:05:09 -07:00
Dan Mills
893bbb5609 use client GUID (from ClientData) for FileEngine 2008-07-29 18:38:58 -07:00
Dan Mills
f4e8d5b2f6 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
6965a649ec ClientData fixes; export to chrome as well 2008-07-29 18:15:13 -07:00
Dan Mills
34c0adde08 Remote.put doesn't require the data arg anymore 2008-07-29 17:35:10 -07:00
Dan Mills
9ad12df38a mostly finish up ClientData impl 2008-07-29 17:34:21 -07:00
Dan Mills
71ee248930 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
5eaf61e96f initial client data module from chris+me 2008-07-29 15:44:36 -07:00
Dan Mills
5243e7a653 Keychain's constructor doesn't need an identity anymore 2008-07-29 15:39:09 -07:00
Dan Mills
856921abd1 sync the *latest* 10 back-button entries per tab (not the earliest ones) 2008-07-29 15:37:59 -07:00
Dan Mills
3cc3c36b0b get crypto working with FileEngine 2008-07-29 12:04:41 -07:00
Dan Mills
dea3f0cad7 initial try to get crypto working with FileEngine 2008-07-29 11:03:06 -07:00
Dan Mills
c9220f8d0f Implement FileEngine 2008-07-25 17:02:43 -07:00
Dan Mills
eb368a0e98 print exceptions that come from engines 2008-07-25 16:54:37 -07:00
Dan Mills
cadfaec0d3 split Engine into SyncEngine and FileEngine 2008-07-25 01:06:23 -07:00
Dan Mills
bf0fbff313 Default to not doing anything for resetGUIDs. Define an observer for subclasses to use 2008-07-24 19:29:11 -07:00
Dan Mills
39b90d3639 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
94bb10dca1 only wrap the first 10 entries in a tab 2008-07-23 15:46:13 -07:00
Dan Mills
298c978e1e merge upstream changes 2008-07-21 18:24:35 -07:00
Dan Mills
713d7b5015 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
67abd828bf 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
9c15468557 version bump to 0.2.5 2008-07-17 21:27:50 -07:00
Dan Mills
c8127f0d15 fixes to request timeout code 2008-07-17 21:27:01 -07:00
Dan Mills
9f0826260d time out requests after 30 seconds 2008-07-17 20:40:29 -07:00
Dan Mills
6360e435d6 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
3b80869547 rollback last commit (1843a139184a), it causes cookie unit test to fail 2008-07-16 21:11:18 -07:00
Dan Mills
1881fb20f5 Bug 443489: Use nsICookie2 interface instead of nsICookie. Patch by fabrice@bellet.info 2008-07-16 20:51:25 -07:00
Dan Mills
d01bd7d888 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
ad42e1f155 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
54b69b59c8 fix a strict warning when onComplete is null 2008-07-16 19:33:07 -07:00
Dan Mills
ab7300dfcb version bump to 0.2.4 2008-07-12 21:08:36 -07:00
Dan Mills
54261819d3 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
1314f77fd5 fix verifyPassphrase() 2008-07-12 20:31:27 -07:00
Dan Mills
b777b12006 version bump to 0.2.3 2008-07-11 19:01:36 -07:00
Dan Mills
75cfafcd2e 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
8610bc7831 add last exception to fault tolerance module 2008-07-11 18:55:42 -07:00
Dan Mills
a545a2fe69 login code refactoring 2008-07-11 17:40:52 -07:00
Dan Mills
e0932c9eb0 beef up fault tolerance module and hook it up to the service 2008-07-11 14:47:15 -07:00
Dan Mills
115e70bcba move formatAsyncFrame to utils, don't print 'regular' stack trace when we have an async exception (it's not useful) 2008-07-11 13:40:06 -07:00
Atul Varma
0640d43c73 Automated merge with http://hg.mozilla.org/labs/weave 2008-07-11 12:59:36 -07:00
Chris Beard
ae91da4fe7 - added checks to see if registration is closed, and if so, shows a message to the user on the account creation pane.
- added description to 423 locking warnings, as they are not necessarily a bad thing.  temporary as we really need more reobust management of locking when multiple clients are potentially syncing at once.
- minor clean up of passphrase verification in the wizard. passphrase verification is still a bit buggy though...
2008-07-11 09:38:44 -07:00
Chris Beard
0864124335 * sync on quit is now also skipped when there is a forced restart of the browser (e.g. updates, extension installs, etc.)
* formatting tweaks and cleanup for modal sync UI
2008-07-10 17:03:56 -07:00
Dan Mills
8ea82588a1 merge upstream changes 2008-07-09 17:37:09 -07:00
Dan Mills
07413564b5 cosmetic cleanup to yield calls in the reconciler 2008-07-09 17:36:40 -07:00
Chris Beard
d8dd14adc2 * major revision to the login dialog to be more robust, adding error handling, styling and a help link
* some minor hacking of the login progress to improve performance
* expanded the application exit sync dialog to be a general modal sync dialog that will display whenever appropriate (e.g. during initial setup, on manual "sync now" requests, and on application exit)
* added a progress meter and status messages to the modal sync dialog to provide users with a better understanding of what's going on, and to assist in debugging
* added ability to cancel a modal sync request, including on application exit. when cancel is clicked on by the user, it will attempt to cancel the sync at the next opportunity (i.e. before the next sync engine is processed)
2008-07-09 17:17:24 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
3958272f2f Made bookmarkSharingManager._updateOutgoingShare tolerant of outgoing shares that are lacking a server path annotation: it will warn that they're invalid and return, rather than dying. 2008-07-09 16:57:55 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
3b9c5862fe Made wrapping of outgoing shares not crash if an outgoing share is missing an exptected annotation. 2008-07-09 13:45:10 -07:00