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
973beec8dd
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
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
ac4811ceae
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
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
83b7f6a21f
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
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
Dan Mills
94709c6381
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
0c474a106e
Automated merge with http://hg.mozilla.org/labs/weave
2008-07-11 12:59:36 -07:00
Chris Beard
94d6680f64
- 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
bfde197997
- 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
0d444333bb
* 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
5a0524b185
merge upstream changes
2008-07-09 17:37:09 -07:00
Dan Mills
15995cac06
cosmetic cleanup to yield calls in the reconciler
2008-07-09 17:36:40 -07:00
Chris Beard
e9ac166a41
* 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
98215f2fc8
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
436fb329bb
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
3cc4b5541f
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
3e2ccbce0c
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
1ebd8b0a44
Merged
2008-07-08 22:39:12 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
a0611ee8e1
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
c2bdb5473d
bump version to 0.2.2
2008-07-08 21:25:15 -07:00
Dan Mills
e7a43d3f19
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
3a20cd63cc
add WINNT-5.1 to makefile
2008-07-08 20:57:05 -07:00
Dan Mills
011f9243a4
version bump to 0.2.1
2008-07-08 19:40:55 -07:00
Dan Mills
163332a45b
remove 'waitOnQuit.enabled' pref, always wait for a running sync before quitting
2008-07-08 19:35:20 -07:00
Atul Varma
899b6df522
Automated merge with http://hg.mozilla.org/labs/weave
2008-07-08 16:51:08 -07:00
Atul Varma
33c970ec5e
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
33bac67100
merge upstream changes
2008-07-08 16:34:52 -07:00
Dan Mills
1a6a8397c4
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
7f36e552e6
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
cfe420f221
updateOutgoingShare now explicitly encodes data to json before encrypting and uploading.
2008-07-08 14:52:31 -07:00