Commit Graph

801 Commits

Author SHA1 Message Date
Dan Mills
2e61ae02f3 remove dump() debug statements 2009-03-10 01:20:50 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
820bf3015e Fixed bug 480420 by using url.spec instead of url as key for the cache in RecordManager. 2009-03-07 11:04:42 -08: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
Myk Melez
ac6c002aea integrate latest version of Preferences.js module, which features a variety of fixes for various issue and also adds support for pref observers 2009-03-06 17:58:22 -08:00
Edward Lee
55ce4fb8af Bug 481873 - Failed login notifications remain after successful login 2009-03-06 09:18:50 -06: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
Dan Mills
bf29e922ae disable recordLike for clients 2009-03-03 11:53:56 -08:00
Dan Mills
47ac6a5d0c create new records with correct guid set 2009-03-03 01:48:13 -08:00
Dan Mills
d80bdb5dc0 merge upstream changes 2009-03-03 01:32:44 -08:00
Dan Mills
26e63650e6 override _recordLike for passwords; add logging calls; make getAllIDs return full nsLoginInfos 2009-03-03 01:32:10 -08:00
Dan Mills
01ab4aa284 add some trace-level debugging to reconciler; ignore old (changed) IDs while reconciling 2009-03-03 01:29:35 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
ce4df15c1b Merged 2009-03-02 23:55:12 -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
Dan Mills
3e1235a9e5 Switch away from __defineGetter__ due to bug 481104; explicitly cache logins in password engine; whitespace fixes 2009-03-02 18:55:26 -08:00
Anant Narayanan
0f6fdde06c Remove getter that fixes the 'two-store' problem 2009-03-03 01:15:48 +01:00
Anant Narayanan
088a5457a5 Rename methods to be less confusing 2009-03-03 00:57:37 +01:00
Anant Narayanan
97731e4239 Automated merge with ssh://anarayanan@mozilla.com@hg.mozilla.org/labs/weave 2009-03-03 00:43:16 +01:00
Anant Narayanan
05dfbc7c8a Password sync for 0.3 (bug #468697) 2009-03-03 00:42:57 +01: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
Edward Lee
3f5a371b30 Bug 480528 - Color Weave logs to help find errors, engine problems, etc. 2009-02-28 11:11:36 -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
Edward Lee
9911ce923a Bug 480480 - Finding cluster with api/register/chknode has trailing newline 2009-02-26 20:52:56 -08:00
Dan Mills
f17dafb475 fix args list for observe() 2009-02-26 17:37:49 -08:00
Dan Mills
bfa22eed1a Bug 480461: skip items that cannot be decrypted 2009-02-26 17:31:06 -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
50621a1889 remove unused observer service getter 2009-02-26 13:52:12 -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
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
85f96743c6 Changed how firefox populates tabs-from-other-computers menu and how it opens a tab picked from that menu, so that it can restore the history of the tab and not just the latest URL. 2009-02-25 00:56:46 -08:00
Dan Mills
edcaabd226 reset lastSync pref before setting it, as some clients have mismatched types saved 2009-02-23 19:33:40 -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
2d767ee976 try/catch in FileAppender.remove(), sometimes that fails 2009-02-23 16:55:41 -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
1e1dde71bc Add method call for removing an appender. Patch by kixx 2009-02-20 01:54:45 -08:00
Dan Mills
c46ffd1071 random fixes, actually syncs client data now :) 2009-02-20 01:52:07 -08:00
Dan Mills
1490d0c250 shorten engine logging pref names, set defaults for them 2009-02-20 01:51:20 -08:00
Dan Mills
08d4b718f3 upgrade to latest Observers.js version 2009-02-20 01:50:26 -08:00
Dan Mills
bc248c608c don't load old crypto module 2009-02-20 01:49:00 -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
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
94e49ca097 Tab sync now skips empty tabs. This fixes bug 479216. 2009-02-19 11:20:23 -08:00
Myk Melez
ffa7799219 bug 479248: integrate new version of Preferences.js module 2009-02-19 07:50:04 -08:00
Dan Mills
e02564b7c2 make lastsync pref an int; don't set it in sync.js 2009-02-19 04:10:52 -08:00