Dan Mills
8c671b69c9
Wrap.notify now takes the topic prefix as an argument, instead of requiring this._osPrefix to be set; use Observers.js in several places (sync.js, status.js, etc); some event topics have changed, beware; fix up status window, now prints some useful status as sync progresses
2009-02-22 00:04:58 -08:00
Dan Mills
f719914f62
Bug 479232: don't wipe tabs engine when it hasn't loaded
2009-02-19 16:41:53 -08:00
Dan Mills
99f6e5c581
make a more concerted attempt at doing a fresh start on various server conditions, such as missing keys, etc. clear local caches (makes it so Fx doesn't need to be restarted after a server wipe). set the lastsync pref here instead of having the window do it
2009-02-19 04:09:55 -08:00
Dan Mills
d5fc9b632c
reset engine lastSync prefs when wiping the server
2009-02-17 13:21:14 -08:00
Dan Mills
9f78bbf372
add version checking at startup using a global metadata record; wipe server on incompatible versions
2009-02-11 23:54:20 -08:00
Dan Mills
7265e3b754
use catchAll wrapper, remove wipeClient from the service
2009-02-11 22:08:56 -08:00
Dan Mills
8a6053f8d5
...chknode is returning a hostname again
2009-02-11 19:21:06 -08:00
Dan Mills
db63c19c3e
ldap chknode returns full url now
2009-02-11 19:16:15 -08:00
Dan Mills
57c5368d7a
remove sm-weave-proxy01 hack
2009-02-11 13:47:51 -08:00
Dan Mills
26f33178e3
ignore sync if weave is disabled
2009-02-11 13:38:50 -08:00
Dan Mills
12b9ddbbd1
add missing setter for the weave enabled pref
2009-02-11 11:24:16 -08:00
Dan Mills
d8982c5477
oops fix syntax error
2009-02-10 17:57:29 -08:00
Dan Mills
a53adc5e28
catch exceptions when trying to find out user's cluster
2009-02-10 17:50:40 -08:00
Dan Mills
a6a5e2c58e
automatically try to detect if the server supports the multi-cluster call (hack hack hack)
2009-02-10 15:56:37 -08:00
Dan Mills
a2ec312908
allow multi-cluster support to be turned off
2009-02-10 13:29:04 -08:00
Dan Mills
8dca51ec38
remove unused code; add multi-cluster support; use Svc.Prefs branch for prefs; move some code from the window overlay into onStartup (print weave version and user agent string); automatically disable weave if crypto module is not working
2009-02-10 00:56:42 -08:00
Dan Mills
d1d31b3bc4
disable scheduled sync when login fails
2009-02-03 15:50:41 -08:00
Dan Mills
a3802a68ed
server returns a json object for user root now, modify checkLogin() accordingly
2009-02-02 11:44:07 -08:00
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