Граф коммитов

1429 Коммитов

Автор SHA1 Сообщение Дата
Myk Melez 83857e3704 disable the authenticator unless it is enabled via the authenticator.enabled pref 2009-05-05 14:16:49 -07:00
Myk Melez 0c13a24259 make it possible to auto-auth using login info from the login manager; clean up terminology 2009-05-03 15:26:06 -07:00
Myk Melez f37ce3195b basic implementation of support for saved logins via login manager 2009-05-03 02:23:08 -07:00
Myk Melez fbf1e9e442 automatic sign-in with site-specific prefs 2009-05-02 16:20:08 -07:00
Anant Narayanan 2dd8680969 Remove OAuth (we don't use it anymore) 2009-04-28 20:46:02 +02:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local dbfbac0945 Added an openID munger. Turn on the pref extensions.weave.openId.enabled and then load any page with an OpenID login form; Weave alters the form and prefills a URI for a Weave-provided openID. 2009-04-27 19:50:24 -07:00
Igor Velkov 963c9803ae 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 f6367261d8 Bug 488190 - Use record properties instead of cleartext properties
Switch pretty much all references to cleartext in modules/engines/ to just use the record. Also clean up some references to null cleartext to use deleted. The only reference to cleartext is to iterate over that hash in bookmarks.
2009-04-13 16:39:29 -05:00
Edward Lee 5a136689fb Bug 488170 - Consistently set record cleartext URIs as text spec uris
Switch cleartext properties to Uri that always takes a text spec, so eventually URI refers to nsIURI. GeneratorURIs seems to have been broken either way.. makeURI of an already URI and storing of a URI into cleartext. This landed with changes to keys, so the server wipe also handles the local name changes.
2009-04-13 16:39:29 -05:00
Edward Lee aff1f185c3 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 73ea5a7a89 Bug 488182 - Use an Iterator to grab both key and values from cleartext for processing bookmarks
Get rid of extra record.cleartext references within the for/each/switch -- even for unused keys like incomingSharedAnno.
2009-04-13 16:18:11 -05:00
Edward Lee 3bd7c7fccf Bug 488165 - Correct set the record object type when processing records
Set _recordObj for Bookmarks/History engines and override PlacesItem.decrypt to switch itself to the right type after CryptoWrapper decrypts the payload.
2009-04-13 14:54:31 -05:00
Dan Mills ee1dca0813 oops fix missing .prototype 2009-04-10 17:30:05 -07:00
Dan Mills 72fe638ff7 Remove __proto__.__proto__ it's fail-prone 2009-04-10 16:08:31 -07:00
Dan Mills 240a108af3 can't get guid on expiration 2009-04-10 16:04:13 -07:00
Edward Lee cd2b9e8150 Bug 487541 - form submission caused exception 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]
Get rid of the QueryInterface and just use instanceof while copying the logic of nsFormHistory::Notify to avoid divergent logic until satchel provides a notification.
2009-04-08 22:48:26 -05:00
Dan Mills 9372000a56 don't track history deletes at all; don't built id->guid mapping hash for history tracker 2009-04-08 18:11:14 -07:00
Dan Mills 0d0030a423 skip getting meta records for records already in the meta list 2009-04-08 18:08:45 -07:00
Edward Lee 98d074f59c 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
Myk Melez 83c54d2014 switch from --utc to -u flag to enable UTC output for date command so it works on both Linux/Windows (which support --utc in addition to -u) and Mac OS X (which only supports -u) 2009-04-08 15:00:02 -07:00
Edward Lee d6b09727c8 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 a5332e83ca 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
Mikhail Stepura 1bb93a35bc Bug 486481 - Weird behavior when syncing the bookmark with tags
Add the remaining special top level folders and ignore them for certain behavior like getAllIDs and wipe. Have the tracker ignore changes to things in the tags folder.
2009-04-07 23:17:40 -05:00
Edward Lee 03950c261e Bug 487363 - Share bookmark tracker ignore logic
Share the ignore logic that takes a parent folder and ignore if the engine says so or it's a livemark.
2009-04-07 22:56:04 -05:00
Edward Lee ca8efb5327 Bug 487338 - Track special folder weave GUIDs <-> bookmark id mapping
Create a specialIds hash and use it to for getting weaveId/id, determine top level, if a folder is a root, getting all ids, wiping, and tracker ignoring.
2009-04-07 19:22:36 -05:00
Edward Lee 60afb4ea7c 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 9a4da9c571 Add a Utils.isArray and use it 2009-04-07 16:45:29 -05:00
Anant Narayanan 632de01bf7 Fix indentation 2009-04-06 19:31:39 +02:00
Anant Narayanan 21b13a7d8b Update form sync engine to work with Weave0.3/FF3.5 2009-04-06 19:05:16 +02:00
Edward Lee 20376d2bdc 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 a9b1c2cc31 Bug 482670 - WBORecord should implement a .deleted property
Expose a .deleted property that engines can set to true to store an even thinner deleted payload (empty string "" instead of "[null]") on the server. Handle deserializing of deleted records by setting the property. Note: Engines must set their payloads to something JSON-able if it's not a delete record.
2009-04-03 12:38:47 -05:00
Edward Lee c1e5c50285 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
Dan Mills 38dff4910c dos->unix line endings 2009-04-01 23:26:54 -07:00
Dan Mills c59c23b42f really fix pref pane typo 2009-04-01 22:53:09 -07:00
Dan Mills e29b1f435c fix typo in prefs pane 2009-04-01 21:21:27 -07:00
Edward Lee 2710fe8c11 Bug 445186 - Weave Sign-In Dialog "Cancel" button doesn't actually cancel anything, while I'm signing in
Just relabel Cancel to Hide (but keep around the original (localized) label in case we fail)
2009-04-01 19:00:28 -05:00
Edward Lee c0f5f6c0eb Bug 480929 - RSS names not synced
Set the title in the record just like any other bookmark (folder)
2009-04-01 17:12:08 -05:00
Edward Lee ff6f758608 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 8e8a01356e Bug 486234 - Give changes json file name for history, passwords 2009-03-31 20:07:43 -05:00
Edward Lee e9647a3977 Bug 486230 - Share json disk caching with Utils.json{Load,Save} 2009-03-31 19:52:16 -05:00
Edward Lee 3cead7f04b Bug 481741 - Switch to JSON from nsIJSON 2009-03-31 14:09:38 -05:00
Dan Mills e22f52680d Bug 478328: delete old history data from the server 2009-03-30 15:19:00 -07:00
Dan Mills 8c87c983c6 remove dump() debugging from tabs engine 2009-03-30 15:18:20 -07:00
Dan Mills de2b33001d shorten status messages 2009-03-27 20:57:38 -07:00
Dan Mills 289d685d95 remove more unused strings 2009-03-27 20:22:04 -07:00
Dan Mills f7eac40c2b fix passphrase help link; remove some unused strings 2009-03-27 20:17:10 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local a5941f8933 Bug 485539 - added guard to the tab engine to handle the case where there are undefined items in tabContainer.childNodes. 2009-03-27 11:06:43 -07:00
Dan Mills d278cedf1b fix missing yield in createAccount 2009-03-27 00:56:38 -07:00
Dan Mills c003e7c4b6 fix verify path + general polish 2009-03-27 00:46:39 -07:00
Dan Mills 312454680a 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