Commit Graph

1006 Commits

Author SHA1 Message Date
Dan Mills
d49465a6b0 disable scheduled sync when login fails 2009-02-03 15:50:41 -08:00
Dan Mills
edee72864d merge upstream changes 2009-02-02 11:44:40 -08:00
Dan Mills
7fcbc34c4c server returns a json object for user root now, modify checkLogin() accordingly 2009-02-02 11:44:07 -08:00
Dan Mills
c723a70134 ignore all events when tracker.ignoreAll is true; ignore most bookmark annotations (except for the ones we sync) 2009-02-02 11:43:06 -08:00
Myk Melez
acb485077d bug 475855: make the test_auth_manager and test_resource tests work again with recent changes to the Resource object 2009-01-28 17:51:23 -08:00
Dan Mills
3d81402b9d merge upstream changes 2009-01-27 17:23:51 -08:00
Dan Mills
813afa9b10 set record ID for bookmark deletes too 2009-01-27 17:23:23 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
a43c54ab30 Added id argument to definition of createRecord in base Store class -- all subclasses must override this and must take the id argument. 2009-01-27 17:23:18 -08:00
Dan Mills
4a1427278e set record ID in history store when creating a record 2009-01-27 17:08:47 -08:00
Dan Mills
ec75cd2b3d set record IDs inside the store; fix bookmarks tracker, it was ignoring change events (e.g., changed title and such) 2009-01-27 16:54:54 -08:00
Dan Mills
cb5343de85 only url-encode weave IDs when constructing a URL with them 2009-01-27 16:36:00 -08:00
Dan Mills
9c9ddb6eb2 don't encrypt empty payloads 2009-01-27 15:25:16 -08:00
Dan Mills
03efd591ff initialize wbo records' uri property correctly 2009-01-27 15:12:35 -08:00
Dan Mills
3cedb09d82 Make records not extend Resource, instead they have a serialize() method that can be used to create a Resource for uploading if necessary.
Use global service instances under Svc.*
Consolidate various record managers (caches/convenience factories) to extend the same base object
Log exceptions caught by notify wrapper
2009-01-27 13:35:10 -08:00
Dan Mills
ee92f117a0 add more flexible descriptions for login errors 2009-01-26 10:00:00 -08:00
Dan Mills
04d0f7d7ae Bug 471076: make notify wrapper catch exceptions; don't use catchAll wrapper in service, and check return value of login/verifyLogin 2009-01-24 16:49:23 -08:00
Dan Mills
7e8166c629 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
fbb1804eb8 WBO toString will serialize 'payload', CryptoWrapper overrides that and will serialize 'cleartext' 2009-01-23 15:08:12 -08:00
Dan Mills
4931df8a3a move Observers.js and Preferences.js into an ext/ directory, to make it clear they are externally-mantained libraries 2009-01-22 11:48:36 -08:00
Dan Mills
3dec5d4605 wrap microsummary creation code in try/catch; catch unknown items during onItemMoved (should not happen, but...) 2009-01-21 19:04:13 -08:00
Dan Mills
64399820c2 cast modified timestamp to an int if it's a string 2009-01-21 19:02:38 -08:00
Dan Mills
18c1b82a81 simpler reconciliation for history 2009-01-20 13:13:31 -08:00
Dan Mills
f4fddb65c1 fix url vs uri typo 2009-01-15 18:43:44 -08:00
Dan Mills
3123be1d68 merge upstream changes 2009-01-15 15:53:51 -08:00
Dan Mills
946642420d fix typo 2009-01-15 15:53:34 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
0b5d7072fd Merged 2009-01-15 14:06:00 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
bb5eead71b Added a method to historyStore called tempTableExists which does a SELECT (rather than using tableExists) to correctly tell whether a temp table is there or not, so that historyEngine will work correctly on both Fennec and Firefox (See bug 472963) 2009-01-15 14:05:50 -08:00
Dan Mills
476672bf55 Bug 468671: Don't synchronize livemarks. Based on patch by Jorge Alves <jag.alves@gmail.com> 2009-01-15 13:58:59 -08:00
Dan Mills
1420201b13 add some extra log info to engine; have tracker ignore all changes when applying a change to prevent the tracker from generating new guids for new items before the store has a chance to set the right one 2009-01-14 22:01:04 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
ce64889074 Added callback to Weave.Service.onStartup, which the Fennec UI uses to notify user that Weave has connected, that it ran into an error, or that it's awaiting configuration. Started moving fennec preferences from HTML to XUL. 2009-01-14 11:23:08 -08:00
jonathandicarlo@h-221.office.mozilla.org
13ccc3082f Merged 2009-01-13 17:42:44 -08:00
Dan Mills
c8f1c3219e 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
jonathandicarlo@h-221.office.mozilla.org
4380a843a0 Merged 2009-01-13 16:45:01 -08:00
Dan Mills
f6a53f5067 syncCores are gone 2009-01-13 16:11:31 -08:00
Dan Mills
2729d012ee make tracker return true/false when adding a changed ID to indicate if it was a valid add or not; change bookmarks & history trackers to match; fix some problems in bookmarks tracker 2009-01-13 15:55:35 -08:00
Dan Mills
5a6cb633ba ignore/unignore specific weave IDs instead of a blanket enable/disable of the tracker during sync. 2009-01-13 14:43:21 -08:00
Dan Mills
f5012bd4b8 small getchildren/getsiblings cleanup 2009-01-13 13:40:40 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
664b9ae0c8 Made the label inside the Weave pref on the main Fennec preferences screen into a dynamic status indicator 2009-01-12 17:52:06 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
0e897fc3cb History sync now works in Fennec, by simply skipping all the temp tables that don't exist in Fennec. This should also fix bug 472853 for weave in Firefox. 2009-01-09 15:44:27 -08:00
Dan Mills
636534da50 merge upstream changes 2009-01-08 21:34:43 -08:00
Dan Mills
f93e31391a when an orphan bookmark is found, reparent it to the unfiled bookmarks folder 2009-01-08 21:33:59 -08:00
Dan Mills
928336472f skip part of reconciliation for incoming deleted records 2009-01-08 21:33:37 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
55d3388e52 Merged 2009-01-08 16:59:56 -08:00
Dan Mills
f6e8ce42c6 merge upstream changes 2009-01-08 16:57:49 -08:00
Dan Mills
d96cdb6eb1 commit so hg will let me merge 2009-01-08 16:57:35 -08:00
Dan Mills
e1662d73d7 make sure we return false if veryfyLogin fails 2009-01-08 16:55:30 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
6bb955a067 The Weave check box on the Fennec preferences screen now logs you in/out when you click it in addition to enabling/disabling the scheduler. Improved the fennec-connect page by making the text fields auto-select when you click in them and turning the 'accept TOS' check box into a button. 2009-01-08 16:37:36 -08:00
Anant Narayanan
d5f74a090d Make RecordParser interface little easier to use 2009-01-08 06:39:39 +01:00
Anant Narayanan
fce5c06b3f Basic record parsing in place 2009-01-08 06:29:55 +01:00
Dan Mills
81cdb36c28 set guid when creating history entries 2009-01-07 17:46:31 -08:00