Dan Mills
a3d9640e3c
Make records not extend Resource, instead they have a serialize() method that can be used to create a Resource for uploading if necessary.
...
Use global service instances under Svc.*
Consolidate various record managers (caches/convenience factories) to extend the same base object
Log exceptions caught by notify wrapper
2009-01-27 13:35:10 -08:00
Dan Mills
03ff21c860
Bug 471076: make notify wrapper catch exceptions; don't use catchAll wrapper in service, and check return value of login/verifyLogin
2009-01-24 16:49:23 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
c681501e5c
Added callback to Weave.Service.onStartup, which the Fennec UI uses to notify user that Weave has connected, that it ran into an error, or that it's awaiting configuration. Started moving fennec preferences from HTML to XUL.
2009-01-14 11:23:08 -08:00
Dan Mills
3c8aa12c49
syncCores are gone
2009-01-13 16:11:31 -08:00
Dan Mills
d72b5b3b4d
make sure we return false if veryfyLogin fails
2009-01-08 16:55:30 -08:00
Dan Mills
ff240dd3ce
add clients sync (list of clients with names and types); make it simpler to create Engine subclasses; remove the 2nd 'authenticator' parameter for Resources; resetServer is now wipeServer; consider 0 an invalid place ID (fixes bug when calculating item depths); add a Svc global exported from utils.js where commonly used services can live
2009-01-06 13:54:18 -08:00
Dan Mills
b707751a28
partially re-enable client data (guid,name,type)
2009-01-03 01:40:22 -08:00
Dan Mills
ff39e896cf
really actually fix login errors this time
2008-12-27 12:15:45 -08:00
Dan Mills
9ac0dce95a
Bug 471076: explicitly check login succeeded
2008-12-26 16:08:55 -08:00
Dan Mills
aff056726e
change serverURL to use 0.3 url schema
2008-12-23 13:51:30 -08:00
jonathandicarlo@user-64-9-236-168.googlewifi.com
8f14709c66
Removed extra debug code from service.js
2008-12-21 14:59:33 -08:00
jonathandicarlo@user-64-9-236-168.googlewifi.com
dc02f68f49
Weave on Fennec will no longer attempt to generate SSH keys -- for this release, you need to have a Weave account already and then connect Fennec to it.
2008-12-21 14:41:17 -08:00
jonathandicarlo@localhost
4e59b0d4d7
Wrote some scaffolding for the Fennec-weave UI -- doesn't do anything yet.
2008-12-21 14:08:33 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
54d7de2ca4
Major rehaul/simplification of the Fennec UI for connecting to your Weave account
2008-12-19 15:48:40 -08:00
Dan Mills
3ef1c0d9b1
enable history sync (not working yet)
2008-12-09 12:26:14 -08:00
Dan Mills
c1a443df70
use callbacks instead of snapshot diffs to figure out what changes to send to the server
2008-12-05 00:39:54 -08:00
Dan Mills
c327476fcc
remove unused 'cleartext' payload property; add fixme comment to set a pref listener
2008-12-01 18:58:28 -08:00
Dan Mills
5e2d2cec11
reset default key URLs whenever username is set via the service
2008-12-01 18:43:43 -08:00
Dan Mills
73077fa65b
fix 'logging in' debug string so it prints the actual username being used
2008-12-01 14:17:44 -08:00
Dan Mills
74e4f48a70
sync engines unconditionally on timer (for now, heuristic sync is broken somehow)
2008-11-27 00:23:25 +09:00
Dan Mills
0ee5550418
attempt at fixing login/server setup, needs more work still
2008-11-20 09:18:35 +09:00
Dan Mills
b12787f2f2
crypto changes: private keys get their own iv and salt, crypto meta records get a separate iv and no salt. various fixes in crypto code and other wbo related objects. fix crypto tests to match.
2008-11-08 02:00:33 -08:00
Dan Mills
43d4c7b865
say sync complete when it is!
2008-11-06 19:19:32 -08:00
Dan Mills
f617e369b1
lots o' fixes
2008-11-06 17:37:17 -08:00
Dan Mills
11eb07f4eb
remove lots of code that will not be needed with new server
2008-11-03 14:59:45 -08:00
Anant Narayanan
c200956d6a
Syncing for Awesome bar (bug 437133, r=thunder)
2008-08-07 20:00:35 -07:00
Anant Narayanan
f21fbf8051
Client-side OAuth support (bug 444528, r=thunder)
2008-08-04 17:34:21 -07:00
Dan Mills
a0b0f5f888
sync client data when client prefs change
2008-07-31 01:02:41 -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
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
a4fb63a8a0
print exceptions that come from engines
2008-07-25 16:54:37 -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
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
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
d734b12ae4
add last exception to fault tolerance module
2008-07-11 18:55:42 -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
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
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
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
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
163332a45b
remove 'waitOnQuit.enabled' pref, always wait for a running sync before quitting
2008-07-08 19:35:20 -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