Commit Graph

20 Commits

Author SHA1 Message Date
Edward Lee
6bc0e717ec Clean up various engines to remove Async.sugar and random self/yields. 2009-06-05 15:34:40 -07:00
Edward Lee
d6a16ace0a Bug 487378 - Use the app name as the default client name
Use nsIXULAppInfo to get the name and remove Fennec specific bits.
2009-04-08 02:12:57 -05:00
Edward Lee
eebdf48521 Bug 486667 - Clients get amnesia -- forget who they are after a wipe
Set the local client info after resetting the clients store hash
2009-04-03 09:26:12 -05:00
Edward Lee
0d1e91ca16 Bug 482896 - Unify local client data and remote client data storage
Initialize unified client store from disk json and local prefs and update on pref changes + sync. Clean up client engine code (local vs inherited, alphabetical), and create a helper modify() to save snapshots.
2009-04-01 01:56:32 -05:00
Edward Lee
ba7af5037c Bug 486230 - Share json disk caching with Utils.json{Load,Save} 2009-03-31 19:52:16 -05:00
Edward Lee
4f6ebe6be5 Bug 481741 - Switch to JSON from nsIJSON 2009-03-31 14:09:38 -05:00
Edward Lee
dfc2d1f68a Bug 481266 - Provide a way to perform actions on remote clients. r=thunder 2009-03-03 17:29:35 -06:00
Dan Mills
2e61ae02f3 remove dump() debug statements 2009-03-10 01:20:50 -07: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
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
bf29e922ae disable recordLike for clients 2009-03-03 11:53:56 -08:00
Dan Mills
f17dafb475 fix args list for observe() 2009-02-26 17:37:49 -08:00
Dan Mills
7cdfbeed20 track local client data changes so we can upload it as necessary 2009-02-26 15:06:57 -08:00
Dan Mills
c46ffd1071 random fixes, actually syncs client data now :) 2009-02-20 01:52:07 -08:00
Dan Mills
128ac21239 go back to storing the local client name and type as prefs. also store a 'syncID' (gets reset upon a server wipe) 2009-02-19 04:07:23 -08:00
Dan Mills
d0e9169992 pass the cryptoMetaURL to the store's createRecord 2009-02-19 00:36:55 -08:00
Dan Mills
be7f853da4 make it so clients list can be modified from any client, and so it doesn't upload client info on every sync; clients list no longer stores data (except the local client's guid) in the firefox prefs 2009-01-23 15:09:21 -08:00
Dan Mills
23aaa6fcb7 disable unused engines; fix trackers trying to call enable which is gone now; improve bookmarks tracker logging 2009-01-13 16:55:51 -08:00
Dan Mills
793c17b023 commit so hg will let me merge 2009-01-08 16:57:35 -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