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
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
5d937affe2
Fixed a typo in sendXmppNotification call
2008-07-08 14:51:14 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
386784122b
Removed debugging dump statements from dav.js.
2008-07-08 14:37:51 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
2895b903a2
Fixed another trivial bug in BookmarkSharingManager._stopSharing that was making it fail at sending out the xmpp notification.
2008-07-08 14:19:26 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
55ec19cf3c
Fixed some trivial bugs in BookmarkStore._wrapMountOutgoing that were preventing the outgoing share from working properly.
2008-07-08 14:15:55 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
2b8d2d7cb3
Factored the sending of xmpp notifications in bookmarkSharingManager out into a separate function, to save some duplicated code and make it easier to break xmpp stuff into a separate class later. Also made the bookmarkSharingManager cache the current weave username, which it uses a lot. Finally it now prepends /user/this._myUsername/ to server URLs to make them into absolute paths before sending them to the sharing partner over xmpp, which fixes a leftover TODO from a copule days ago.
2008-07-08 14:11:21 -07:00
Dan Mills
b0bede9548
sigh, my previous unlock change actually breaks unlock. fix fix fix.
2008-07-08 13:56:03 -07:00
Dan Mills
13c049d2de
merge upstream changes
2008-07-08 11:59:28 -07:00
Dan Mills
31a5149a4c
check that we have a local lock token before trying to delete it (or 'delete' will fail)
2008-07-08 11:58:59 -07:00
Pazu
318f20223c
Sync on quit improvements.
...
A new preference called "waitOnQuit.enabled" was created. This preference controls whether Weave will perform any actions on quit. If false, Weave won't perform any actions on quit, nor wait for any running actions. If true, Weave will wait for any running sync to finish.
The old "syncOnQuit.enabled" preference now controls if Weave will actually perform a full sync on quit or not. If false, no sync is started, but we still wait for an active sync to finish, if waitOnQuit.enable is true.
Both options default to true.
2008-07-08 15:31:47 -03:00
Dan Mills
22d3e6a2d2
Move KeyPair object (which caches keys) to a property of the service. Clear it on logout
2008-07-08 18:37:14 -07:00
Pazu
e4dc334725
Clear KeyPair cache on server wipe, and make new key generation work again.
2008-07-08 17:06:21 -03:00
Pazu
795762882d
Performance improvements: keypair is now fetched only once, and cached in memory.
2008-07-08 15:33:17 -03:00
Dan Mills
5082e5e422
keep track of errors during sync and throw after trying all engines
2008-07-08 17:44:00 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
acf0d0ded8
Merged
2008-07-08 01:18:40 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
1cf9a1dea9
Fixed a bunch of bugs in bookmark share: stuf related to server-side paths being incorrect (because the defaultPrefix in DAV was getting reset to an empty string or was getting applied wrong). Discovered that updateOutgoingShare and updateIncomingShare were both calling the same _wrapMount() function, which was incorrect, so I broke that up and fixed what parts are meant to be outgoing and which incoming.
2008-07-08 01:18:30 -07:00
Dan Mills
54a2a8a785
Bug 443385: unconditionally remove saved local token, regardless of whether the UNLOCK command succeeded; also cleans up some variable naming re: local locks in dav.js; cosmetic changes in wrap.js
2008-07-07 22:30:32 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
9cfef4be35
Fixed a whole bunch of bugs in bookmark share, mostly related to adding in needed JsonFilters for remote Resources and fixing the server paths which are passed into DAV for the keyring file and encrypted share data files. (Also fixed a minor bug in DAV itself so that mkcol won't quit right away if you pass it something that starts with a slash.)
2008-07-03 17:57:21 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
6732077b30
Merged
2008-07-01 14:41:12 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
f11ad3f3e3
Updated a couple of comments in bookmark sharing
2008-07-01 14:41:04 -07:00
Atul Varma
d70f1743f8
Automated merge with http://hg.mozilla.org/labs/weave
2008-07-01 12:03:12 -07:00
Atul Varma
7303b375dc
Refactored the exception-handling code a bit and made traces produced by async look more like they used to.
2008-07-01 12:03:05 -07:00
Myk Melez
c5d6255581
make sure nsIObserverService notifications have subjects before accessing the subjects' wrappedJSObject properties
2008-07-01 11:29:20 -07:00
Atul Varma
0013cac9d2
Automated merge with http://hg.mozilla.org/labs/weave
2008-07-01 11:12:53 -07:00
Atul Varma
71372f5452
Tracebacks for async coroutines now provide a 'best guess' for where the coroutine was at the time that an exception was thrown, by showing the frame at which the generator's last continuation callback was created.
...
Added a 'location' property to RequestException, analogous to the 'location' property of wrapped nsIExceptions, so that tracebacks can be made for the exceptions if needed.
2008-07-01 11:12:00 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
11dda58df6
Fixed yet another typo: this._sharing._share, not this._sharing.share.
2008-07-01 10:35:15 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
b7f7372c9f
Fixed typo where undefined value was getting passed into share and stopSharing: should be node.itemId, not node.id
2008-07-01 10:31:16 -07:00