Edward Lee
5e62ecc193
Pushed too early :( really match up signatures
2009-03-10 14:13:18 -05:00
Edward Lee
65ef5fc7c7
Make method signatures for sync and _sync match up. (followup for bug 482003)
2009-03-10 14:12:05 -05:00
Edward Lee
6bb65722d3
Bug 481345 - Weave should be disabled while offline or private browsing mode is active. r=thunder
2009-03-10 06:30:36 -05:00
Edward Lee
a45ed6623b
Bug 482178 - Clean up services -> lazy services. r=thunder
2009-03-10 06:30:30 -05:00
Edward Lee
57435a08e9
Bug 482007 - Refactor "should sync" and schedule sync logic. r=thunder
2009-03-10 06:15:52 -05:00
Edward Lee
2f5bacad1e
Bug 482003 - Refactor _sync and _syncAsNeeded. r=thunder
2009-03-10 06:07:24 -05:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
02d92a86ca
Fennec now launches first run page, and updates extensions.weave.lastversion, so that it's no longer resetting syncId and therefore resetting the server every single time it tries to sync. Also set the download in resource.js to use LOAD_BYPASS_CACHE. Together these changes seem to fix bug 480270.
2009-03-07 00:55:47 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
1bff582b35
Added a mostRecentError field to Weave.Service, which gets set to a string on any error that the user might need to know about; this is queried by the Fennec UI code to disply better error messages.
2009-03-04 15:49:58 -08:00
Edward Lee
a1d5234eea
Bug 480490 - Expose a wipeServer API for weave service. r=thunder
2009-02-26 22:14:32 -08:00
Edward Lee
edda1db597
Bug 480457 - Expose a resetClient API for weave service and engines. r=thunder
2009-02-26 22:36:14 -08:00
Dan Mills
2b3da2beec
don't fail when client metadata record doesn't exist, or has an empty payload. Reset last sync after a werver wipe on all clients
2009-03-03 11:57:30 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
5cb6c7a434
Added more logging to service.js to help me figure out the caching problem.
2009-03-02 23:55:05 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
bb6846ecc2
Added favicons to Firefox tabs-from-other-computers menu.
2009-03-02 14:15:46 -08:00
Anant Narayanan
ecd8d4576c
Print meta information only if present
2009-03-02 19:25:50 +01:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
ff833098f5
Resource.js now always validates the cache (VALIDATE_ALWAYS) when downloading stuff. This seems to fix bug 480270 on Firefox but not on Fennec.
2009-02-27 18:28:26 -08:00
Edward Lee
9911ce923a
Bug 480480 - Finding cluster with api/register/chknode has trailing newline
2009-02-26 20:52:56 -08:00
Edward Lee
fe2b72924b
Bug 480381 - "lastsync" pref is sometimes a number and sometimes a string
2009-02-26 12:34:54 -08:00
Edward Lee
b8a8dd5c93
Bug 480271 - On first sign in, username is initialized with "undefined". r=thunder
2009-02-26 00:47:30 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
09db19632c
Fixed a typo in service.js ('paylaod' for 'payload')
2009-02-25 15:06:28 -08:00
Dan Mills
53f8ce9bb3
better logging about why the server is wiped when it does
2009-02-23 16:56:23 -08:00
Dan Mills
1ea15a3193
fix bad logic when checking metadata record
2009-02-23 16:27:41 -08:00
Dan Mills
aad93f5efc
use Gecko's version comparison API, don't clobber the server if the remote version > local client version
2009-02-23 12:36:55 -08:00
Dan Mills
db3eba2c39
fix 'last sync' date in weave menu
2009-02-22 00:21:15 -08:00
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