Commit Graph

739 Commits

Author SHA1 Message Date
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 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
1cf2bb8b65 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
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
5d2591dac9 use just 'Darwin' for the platform dir on OSX. 'Darwin-gcc3' does not appear to work correctly 2008-07-17 20:38:42 -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
a8f5952d90 Bug 442931: Create a universal (x86/PPC) component on mac. Patch by Godwin Chan <godwinchan@hotmail.com>, with tweaks by me 2008-07-16 20:47:16 -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
d52c57db3a Bug 442679: Add support for compiling on 64-bit linux systems. Patch by Mark Wilkinson <mhw@kremvax.net> 2008-07-13 04:06:44 -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
83a044888c merge upstream changes 2008-07-11 18:55:58 -07:00
Dan Mills
8610bc7831 add last exception to fault tolerance module 2008-07-11 18:55:42 -07:00
Chris Beard
f689241aa2 - adding modal sync dialog handling of lock condition 2008-07-11 18:52:04 -07:00
Chris Beard
9d136721e3 - 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
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
767489d1f8 - s/out/our and server timeout from 10s to 15s (from originally 30s, which was causing people to think the app was locked up) 2008-07-11 09:44:17 -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
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
641eb1a7b6 Restored a line in bookmarkSharingManager.js which I took out by accident when removing debugging dumps and stuff, changeset 969. It should not have been taken out; without it you get 'mounts undefined' error. 2008-07-09 13:24:49 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
bd20494b4e Removed a special menu item that I had installed in the main Weave menu just for debugging purposes. 2008-07-08 22:40:52 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
667ff6a599 Merged 2008-07-08 22:39:12 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
f85ccd8e03 I think I have fixed updateIncomingShare now. So everything should work, if I share with a user not myself. 2008-07-08 22:39:05 -07:00
Dan Mills
dec3de3f43 bump version to 0.2.2 2008-07-08 21:25:15 -07:00
Dan Mills
56d15bb003 sync every 5 minutes (up from 1); start the score threshold at 75 (down from 100); decrement threshold by 25 each iteration (up from 5). these changes guarantee even small changes will sync in no more than 15 minutes (down from 20) 2008-07-08 21:24:59 -07:00
Dan Mills
57c0a00aea add WINNT-5.1 to makefile 2008-07-08 20:57:05 -07:00
Dan Mills
e52df6465a version bump to 0.2.1 2008-07-08 19:40:55 -07:00
Dan Mills
c99c4a380e remove 'waitOnQuit.enabled' pref, always wait for a running sync before quitting 2008-07-08 19:35:20 -07:00
Atul Varma
dca3df0b8e Automated merge with http://hg.mozilla.org/labs/weave 2008-07-08 16:51:08 -07:00
Atul Varma
c2a871ca90 If an exception is raised by a notification button callback, it is now logged. Also added a unit test for this new behavior. 2008-07-08 16:50:59 -07:00
Dan Mills
292500626c merge upstream changes 2008-07-08 16:34:52 -07:00
Dan Mills
40960d1ed6 Bug 444119: catch errors during a lock and avoid a deadlock 2008-07-08 16:34:27 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
ce41859570 Removed a bunch of dump statements that were in bookmarkSharingManager for old debugging stuff that is now done; they were just cluttering up the log. 2008-07-08 15:05:24 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
03f88e3999 updateOutgoingShare now explicitly encodes data to json before encrypting and uploading. 2008-07-08 14:52:31 -07:00