Commit Graph

16 Commits

Author SHA1 Message Date
Dan Mills
7b9eedde66 Bug 478327: Send minimal '[null]' payload for deleted records 2009-03-11 01:40:04 -07:00
Dan Mills
c274581912 resolve using the baseUri, it's cheaper that way 2009-02-11 21:49:16 -08:00
Dan Mills
bc8fde0994 don't encrypt empty payloads 2009-01-27 15:25:16 -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
9c7bac20f5 WBO toString will serialize 'payload', CryptoWrapper overrides that and will serialize 'cleartext' 2009-01-23 15:08:12 -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
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
6b260498e0 switch to generating individual bookmark records directly from the places store, without using a cache (to improve memory performance); create objects for bookmark types; temporarily disable history sync 2008-12-28 19:59:44 -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
2deeacdab5 remove incorrect getter/setter for cleartext - it should not be stored inside the payload! 2008-12-01 18:08:59 -08:00
Dan Mills
a001a3f564 server api changes: encoding is gone (payload guaranteed to be utf-8 now), payload is guaranteed to be json so no need to wrap in an array to encode; change crypto object to place encrypted data in a 'cyphertext' property inside the payload, instead of replacing the payload 2008-12-01 18:07:07 -08:00
Dan Mills
14b5494b13 record import (cache) fix 2008-11-20 09:14:42 +09:00
Dan Mills
cf0df0d424 cache crypto meta objects 2008-11-08 20:24:12 -08: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
a8e372f80f add base record types for the new weave server api 2008-11-03 14:37:51 -08:00