Dan Mills
5f77a79129
inhibit caching, since we bypass the cache anyway
2009-03-12 00:35:54 -07:00
Edward Lee
a45ed6623b
Bug 482178 - Clean up services -> lazy services. r=thunder
2009-03-10 06:30:30 -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
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
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
08d4b718f3
upgrade to latest Observers.js version
2009-02-20 01:50:26 -08:00
Anant Narayanan
57fc13f195
Ignore bad HTTPS certificates (bug #476758 )
2009-02-11 18:11:18 +01: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
078387cb07
move Observers.js and Preferences.js into an ext/ directory, to make it clear they are externally-mantained libraries
2009-01-22 11:48:36 -08:00
Anant Narayanan
de382c7b72
Make RecordParser interface little easier to use
2009-01-08 06:39:39 +01:00
Anant Narayanan
0134157f37
Basic record parsing in place
2009-01-08 06:29:55 +01: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
4874eb740f
limit json filter's debug output
2009-01-02 13:35:40 -08:00
Dan Mills
676e05f069
don't filter downloads on a PUT; fail permanently on http status 400-499, 501, 505
2008-12-19 15:24:37 -08:00
Anant Narayanan
c5ece4c18e
Use stream based communication instead of XHR
2008-12-19 00:42:12 +01:00
Dan Mills
a422bdb9b3
print http status, even for successful requests
2008-12-01 14:18:12 -08:00
Dan Mills
45c250d767
make it so filters can be called (to e.g. manually copy resource data out
2008-11-20 09:19:51 +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
7091144051
make sure records always have a data field that represents their state (e.g. for serialization); add some pki routines (createKeypair); add incoming/outgoing queue to NewEngine
2008-11-06 23:23:35 -08:00
Dan Mills
77c85160e0
updates to resource class, use a new Auth service with pluggable 'authenticator' objects
2008-11-03 14:36:29 -08:00