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

1459 Коммитов

Автор SHA1 Сообщение Дата
Edward Lee 4a435195ca Switch Resource._request to Sync. (ChannelListener, filterUpload/Download) 2009-06-04 10:14:54 -07:00
Edward Lee 5ba0e54fec Add ext/Sync.js to do sync-async 2009-06-04 10:13:25 -07:00
Anant Narayanan cf75082f54 Branch merge 2009-06-03 15:36:07 -07:00
Anant Narayanan a460a8a98a Sync persona by default 2009-06-03 15:35:43 -07:00
Wladimir Palant 5dcfbd267f Bug 495996 - Bookmark observer doesn't implement onBeforeItemRemoved method. r=Mardak 2009-06-02 21:25:55 +02:00
Wladimir Palant 2441a6d598 Bug 495924 - TabTracker wrongly assumes that "this" pointer will be set correctly for event handlers 2009-06-02 11:25:37 +02:00
Wladimir Palant b8165dd6e3 Bug 495964 - Building WeaveCrypto.dll fails if Mercurial revision doesn't start with a number 2009-06-02 18:08:52 +02:00
Dan Mills 8299306c6f about:weave changes, add jquery 2009-06-02 09:29:58 -07:00
Dan Mills 5d883571a6 initial about:weave impl (does nothing) 2009-05-26 14:18:45 -07:00
Dan Mills 5f11ba4ef2 Bug 486259: correctly convert log messages with non-ascii encodings. Patch by Igor Velkov <mozdiav@aeons.lv> 2009-05-26 11:51:29 -07:00
Myk Melez 1e30f6b854 bug 492725: make chrome-based website authenticator use core Firefox form fill notifications 2009-05-26 07:29:17 -07:00
Anant Narayanan a0fa186445 Preference sync (bug #428370) 2009-05-24 02:11:05 +02:00
Anant Narayanan 08ffd3fefe Use first login found if there are multiple GUIDs 2009-05-24 00:25:30 +02:00
Anant Narayanan 40a03c75ba Use searchLogins instead of caching passwords (bug #489268) 2009-05-24 00:03:53 +02:00
Edward Lee 640fb8a7bf Add test for Utils.deepEquals 2009-05-19 14:24:26 -05:00
Edward Lee d611c2b661 Bug 493363 - Several issues in Utils.deepEquals()
Use triple-equals to determine if two things are the same; otherwise, check if both are objects with the same keys and same values for the keys.
2009-05-19 10:53:30 -05:00
Dan Mills f370ce60e9 Bug 493442: use app IDs instead of names to determine what engines to load 2009-05-18 11:11:07 -07:00
Edward Lee a76192895b Bug 493256 - Reconcile doesn't handle removed items correctly. r=thunder
Have engines check if the deleted flag is the same for _isEqual.
2009-05-15 13:18:16 -05:00
Edward Lee 0b1f211385 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 0348c64b04 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
Edward Lee a5f88e66c2 Bug 493001 - Dynamically generate weave prefs engine list based on registered engines
Remove existing hardcoded engine list + prefs and build checkboxes based on registered engines. Engines that give null for enabled (instead of true/false) are considered disabled. Update base Engine enabled get/set to give null and allow setting.
2009-05-14 11:38:15 -05:00
Edward Lee e176e6027b Fix form engine displayname to displayName 2009-05-14 11:09:08 -05:00
Myk Melez fcbed5b41e updated authenticator icons from Sean Martell
--HG--
extra : rebase_source : d82c96fd4126ffc5845a76a122a76d3f268fa57a
2009-05-14 00:50:05 -07:00
Edward Lee 8cb7b35b4c Remove old Firefox 3 places DB code.
Min version is 3.1/5, so we grab DBConnection from places directly now.
2009-05-13 16:31:42 -05:00
Myk Melez f22229f58f bug 492435: work around crasher bug 492442 by not calling isVisited for a history entry without a URL; r=thunder 2009-05-11 16:11:04 -07:00
Myk Melez ef2ddd95a3 remove more unused code in the Authenticator module 2009-05-11 01:42:47 -07:00
Myk Melez 72a137031d remove more unused code, make Authenticator use built-in nsILoginManager for stuff nsILoginManager makes public 2009-05-11 01:40:04 -07:00
Myk Melez 90ee28777d remove a bunch of login manager code that isn't being used by new Authenticator module 2009-05-11 01:30:46 -07:00
Myk Melez 992c81a96a move authenticator code into authenticator module
--HG--
rename : services/sync/modules/LoginManager.js => services/sync/modules/authenticator.js
2009-05-11 00:58:44 -07:00
Dan Mills 019f5ccb08 default openid/authenticator to on 2009-05-06 20:11:19 -07:00
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