Edward Lee
0a32933db7
Bug 493004 - Create stubs of unimplemented engines to list them as disabled (extension, microformat, plugin, theme)
...
Add the 4 engines with just the base code to set their name and register them for Firefox.
2009-05-14 11:50:59 -05:00
Edward Lee
93847aa32d
Bug 493002 - List partially implemented engines (cookies, input history) as disabled
...
Import the outdated engines, but delete their pref so they show up as disabled. Clean up the old engines a little bit so they don't allocate unnecessarily and to not use syncCore.
2009-05-14 11:43:56 -05:00
Anant Narayanan
c07e95bbc7
Remove OAuth (we don't use it anymore)
2009-04-28 20:46:02 +02:00
Igor Velkov
8d61cb76a8
Bug 484982 - Weave should support SeaMonkey. r=thunder, r=Mardak
...
Add seamonkey bits for manifest/install. Start with Form, History, Password engines.. No places bookmarks and tabs seem to have issues applying(?)
2009-04-14 11:05:30 -05:00
Edward Lee
b7a138755c
Bug 488142 - Make it easier to add simple deferred cleartext/payload values
...
Add a couple Utils helper to create a pair of simple [gs]etters that use a hash property instead. Apply this to various records: WBORecord, {Priv,Pub}Key, Crypto{Meta,Wrapper}, and every engine's type records. Migrate by making sure key data exists (name change).
2009-04-13 16:39:29 -05:00
Edward Lee
fba6986892
Bug 487523 - Scheduled sync fires while a sync is running
...
Just skip the scheduled sync if we're already syncing
2009-04-08 19:23:14 -05:00
Edward Lee
a7b212ab0b
Bug 486810 - Engines (and their trackers) are created with every new window. r=thunder
...
Register the built-in engines on service start-up instead of from the overlay, and have Engines.register check if the engine has already been registered.
2009-04-08 14:39:14 -05:00
Edward Lee
75bacf714f
Bug 487308 - Allow registering of an array of engines
...
Import engines to the Weave global object and use them to register engines, which checks if the arg is an array. To support handling of errors (unused), the engine is returned on register failure.
2009-04-07 16:45:41 -05:00
Edward Lee
6431d3cb64
Backed out changeset 430ce13b63f3 (bug 482878)
...
Bug 482670 restored un-wrapped payloads, so until a version bump, those using trunk will need to do a manual server wipe.
2009-04-03 13:49:22 -05:00
Edward Lee
4f6ebe6be5
Bug 481741 - Switch to JSON from nsIJSON
2009-03-31 14:09:38 -05:00
Dan Mills
112832c1bc
shorten status messages
2009-03-27 20:57:38 -07:00
Dan Mills
b5a77fe555
fix missing yield in createAccount
2009-03-27 00:56:38 -07:00
Dan Mills
549745a59e
style police; split findCluster into two, findCluster (no side-effects) and setCluster (saves it); fix verifyLogin to work with any login, not just the saved one; add a createAccount call which creates an account on the server
2009-03-27 00:46:10 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
73387c906a
Bug 481319: Weave.Service can now be queried for top-level status (OK, failed, partial success), and also for an object that gives detailed status (what caused sync to abort, server status codes, status of each engine, etc.)
2009-03-24 19:23:53 -07:00
Edward Lee
75994bc68f
Bug 482898 - Allow an optional array of engines for wipeRemote, wipeServer, resetClient, etc.. r=thunder
2009-03-20 00:13:16 -07:00
Edward Lee
bbb0fa332f
More services cleanup; Expose a Utils.openWindow/openDialog
2009-03-19 14:00:57 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
cf045921fe
Never wipe the server if key generation is disabled; in case of version mismatch, describe the error and abort. This fixes 482062.
2009-03-18 13:22:40 -07:00
Edward Lee
46d43f7ad3
Bug 483037 - Need to wrap sync callback for timer callback - scheduled syncs don't work
2009-03-12 15:41:46 -05:00
Edward Lee
6fa9711450
Start sync timer after manually logging in
2009-03-12 15:01:04 -05:00
Edward Lee
ce257df07f
Fix whitespace in service.js
2009-03-12 10:34:12 -05:00
Edward Lee
bf5663b3cd
Bug 482793 - Process commands sent by remote clients. r=thunder
2009-03-12 01:33:14 -05:00
Edward Lee
2b8d95f026
Bug 482792 - Provide a wipeClient, wipeRemote, resetService for weave service. r=thunder
2009-03-12 01:33:14 -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
Edward Lee
d62dd55e52
Bug 482878 - service (_remoteSetup) needs to migrate payload formats. r=thunder
2009-03-11 23:37:47 -05:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
6c4a4743b0
Fixed tabs in services.js.
2009-03-11 18:29:18 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
2ecc2b01e1
Fennec now updates status line to show what engine is syncing and what it's doing. This fixes bug 481323.
2009-03-11 18:27:44 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
3615b62fdd
Was failing on Fennec because private browsing doesn't exist there -- now more gracefully handles missing components.
2009-03-10 17:12:59 -07:00
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