Commit Graph

248 Commits

Author SHA1 Message Date
Marina Samuel
95fbe9cf81 Bug 732147 - Send tab to device: receiving pushed tabs on Android. r=rnewman 2012-03-27 20:09:14 -07:00
Nick Alexander
43bafca2f7 Bug 709310 - Implement Handling of 5xxs, X-Weave-Backoff, Retry-After. r=rnewman 2012-03-27 18:41:34 -07:00
Richard Newman
647d01776d Bug 731024 - Part 5: Safer handling of deleted items. r=nalexander 2012-03-27 10:47:26 -07:00
Richard Newman
e9e87ba8ed Bug 731024 - Part 4: Handle additional types. Test for livemarks. r=nalexander 2012-03-27 10:47:26 -07:00
Richard Newman
fe13627f8a Bug 739515 - Defensive coding for Fennec history entries. r=emtwo,nalexander 2012-03-27 10:47:26 -07:00
Richard Newman
957fb3bce7 Bug 738516 - Auth cache should be set for all requests, not just authenticated requests. r=msamuel 2012-03-23 11:03:48 -07:00
Nick Alexander
bed5e12d59 Bug 709402 preparation. r=rnewman 2012-03-23 11:03:48 -07:00
Marina Samuel
42310ccae9 Bug 715792 - Process client record commands (but don't act on them). r=rnewman 2012-03-23 11:03:48 -07:00
Richard Newman
dfdeb24b2a Bug 731024 - Part 1: Unsupported record types causes Android Sync to reorder folders containing livemarks/queries/separators…. r=nalexander 2012-03-23 11:03:47 -07:00
Richard Newman
7fedd1792d Bug 736352 - Aborting… doesn't. r=nalexander 2012-03-20 13:35:09 -07:00
Richard Newman
2595310051 Bug 734316 - Part 5: fix some more checkstyle warnings. r=trivial 2012-03-20 10:17:23 -07:00
Richard Newman
0d311964f4 Bug 736972 - java.lang.OutOfMemoryError: at java.io.BufferedReader.<init>(BufferedReader.java). r=nalexander 2012-03-20 10:17:23 -07:00
Richard Newman
2bae0007d2 Bug 737265 - Correct creation of special folders. r=nalexander 2012-03-20 10:17:23 -07:00
Lucas Rocha
5bc3cacd8f Bug 708149 - Replace folder column with type in bookmarks table (r=rnewman) 2012-03-20 11:44:32 +00:00
Nick Alexander
44c5374559 Bug 736007 - avoid Server11RepositorySession NullPointerException. r=rnewman 2012-03-16 17:06:58 -07:00
Richard Newman
28c94725b6 Bug 736391 - Don't store places record. r=nalexander 2012-03-16 09:44:30 -07:00
Richard Newman
fac1749d77 Bug 735996 - HTTP layer improvements. r=nalexander 2012-03-15 16:19:29 -07:00
Marina Samuel
cda5278a43 Bug 734469 - Clients stage table missing during sync. r=rnewman 2012-03-15 16:19:28 -07:00
Marina Samuel
b61cb251be Bug 729248 - Smarter upload of our clients record. r=rnewman 2012-03-15 01:25:14 -07:00
Richard Newman
aeb6314721 Bug 735475 - Invert AndroidBrowserRepositorySession.checkRecordType into shouldIgnore. r=nalexander 2012-03-13 15:48:26 -07:00
Richard Newman
b6f6933fe4 Bug 735297 - Documentation for RepositorySession. r=nalexander 2012-03-13 15:48:26 -07:00
Richard Newman
e76a02e4dd Bug 734211 - Part 1: extract account creation and querying into SyncAccounts class. r=liuche 2012-03-13 08:15:43 -07:00
Nick Alexander
015d227d94 Bug 734521 - ensure response entities are always consumed. r=rnewman 2012-03-12 19:17:56 -07:00
Nick Alexander
086d49b6b3 Bug 709329 - 401 node reassignment. r=rnewman 2012-03-12 19:17:56 -07:00
Richard Newman
6879d2daaa Bug 709403 - Parts 3-6: tabs repository and stage. r=nalexander 2012-03-09 15:53:23 -08:00
Richard Newman
7457e01ca9 Bug 734487 - Part 1. r=trivial 2012-03-09 13:30:57 -08:00
Richard Newman
50463b886b Bug 734487 - Part 0. r=trivial 2012-03-09 13:30:50 -08:00
Richard Newman
4bf8d237b1 Bug 729530 - Log a scary error if you fail to set up Sync with more than one version of Firefox installed. r=trivial 2012-03-08 22:43:17 -08:00
Richard Newman
58dbac75eb Bug 734316 - Part 4: incorrect JavaDoc parameter, commenting, MPL in RepositorySessionFetchRecordsDelegate.java. r=trivial 2012-03-08 22:43:16 -08:00
Richard Newman
07e906e9a8 Bug 734316 - Part 3: remove incorrect JavaDoc tags from JPakeCrypto.java. r=trivial 2012-03-08 22:43:16 -08:00
Richard Newman
c3c2347e1f Bug 734316 - Part 2: fix JavaDoc warnings. r=trivial 2012-03-08 22:43:16 -08:00
Richard Newman
86c5d725e5 Bug 734316 - Part 1: Fix some PMD warnings. r=trivial 2012-03-08 22:43:16 -08:00
Richard Newman
64d545768e Bug 709329 - Part 0, Part 1: clarify SyncResponse, modernize TestMetaGlobal. r=rnewman 2012-03-08 22:43:16 -08:00
Marina Samuel
8a833d0163 Bug 733965 - Cursor not closed in ClientsDatabaseAccessor. r=rnewman 2012-03-07 18:01:33 -08:00
Marina Samuel
c1c8975239 Bug 715796 - Clients engine. r=rnewman 2012-03-05 20:53:14 -08:00
Nick Alexander
e089a1dcba Bug 732114 - Untangle Bookmark specific code in AndroidBrowserRepositoryTest. r=rnewman 2012-03-05 20:53:14 -08:00
Richard Newman
74e76719c8 Bug 732768 - Eliminate shared state and concurrency problems in tests. r=nalexander 2012-03-05 20:53:14 -08:00
Richard Newman
d47fddee0c Bug 732640 - Part 1: fix some Cobertura warnings. r=trivial 2012-03-05 20:53:13 -08:00
Richard Newman
bb89d62434 Bug 732611 - Add channel (Aurora, Beta, etc.) to Android Sync user agent. r=rnewman 2012-03-02 17:36:16 -08:00
Richard Newman
4c7381602e Bug 709403 - Part 2: add TabsRecord. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
86e7f5967c Bug 709403 - Part 1: refactor envelope/payload logic in Record. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
82c8deae66 Bug 709403 - Part 0: Add getString to ExtendedJSONObject. r=nalexander 2012-03-02 17:36:16 -08:00
Nick Alexander
9797526ddb Bug 722553 - uniformize JPakeClientStage error handling. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
83f368c28e Bug 722570 - make BaseResource.{getConnectionManager,enableTLSConnectionManager} thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
b81d67db7c Bug 722575 - make SerialRecordConsumer.consumerIsDone() thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
7ca96b8ebd Bug 715796 - Part 1: client name. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
d36abee0da Bug 715796 - Part 0: extract SQLiteOpenHelper cache from AndroidBrowserHistoryDataExtender. r=rnewman 2012-03-02 17:36:15 -08:00
Richard Newman
256a80185a Bug 731125 - Use correct X-If-Unmodified-Since header. r=rnewman 2012-03-02 17:36:15 -08:00
Richard Newman
624c527d14 Bug 730557 - Part 3: bend Sync's Authorities.java into GlobalConstants. r=rnewman 2012-02-27 10:23:33 -08:00
Richard Newman
6cacabe5a3 Bug 730557 - Part 2: Stub out parts of BrowserContractHelpers that reflect unlanded parts of Fennec. r=nalexander 2012-02-27 10:23:33 -08:00
Richard Newman
f94f8fb14b Bug 730557 - Part 1: Use Fennec BrowserContract directly. r=nalexander 2012-02-27 10:23:33 -08:00
Chenxia Liu
fff098c79e Bug 730189 - Fix internet connection check. r=rnewman 2012-02-26 13:56:29 -08:00
Richard Newman
6f4f5cf379 Bug 730000. r=rnewman 2012-02-23 09:48:54 -08:00
Richard Newman
bae76fcd28 Bug 718238 - Part 6: don't reupload folders when their children array is already accurate. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
0703071718 Bug 718238 - Part 5: allow access to the tracked GUIDs in RepositorySession. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
07d0c7ff6a Bug 718238 - Part 4: Safety in checkRecordType. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
076e7f363d Bug 718238 - Part 3: correct handling of deletion. Generate valid records for deleted bookmarks and history items. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
4f730b8bb6 Bug 718238 - Part 2: parenting and ordering of bookmarks. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
6c76915705 Bug 718238 - Part 1: Safety for logging after computeParentFields returns null. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
b05fc603ee Bug 718238 - Part 0: Cleanup and basic improvements. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
719502e994 Bug 729410 - Part 1: Implement basic automatic backoff unless a sync is forced. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
dc4b114462 Bug 729410 - Part 0: We don't use extras to store clusterURL any more. r=nalexander 2012-02-23 08:14:05 -08:00
Chenxia Liu
eb6dcedb1c Bug 727958 - Sync set-up screen results in StrictMode policy violation. r=rnewman 2012-02-21 14:58:22 -08:00
Richard Newman
9cb08acd9b Bug 729273 - Don't impose modified times on stored records. r=nalexander 2012-02-21 13:29:38 -08:00
Richard Newman
7b989e8c03 Bug 728636 - Conversion of email address to account should lowercase. r=nalexander 2012-02-21 13:29:38 -08:00
Richard Newman
6ab40d5936 Bug 728272 - tests for Crypto5MiddlewareRepositorySession. r=rnewman 2012-02-21 13:29:38 -08:00
Marina Samuel
d98bf6181b Bug 727718 - Tidy up safeQuery/query. r=rnewman 2012-02-21 11:07:59 -08:00
Chenxia Liu
47688649e0 Bug 729170 - Restructuring of J-PAKE into stages. r=rnewman 2012-02-21 11:07:56 -08:00
Chenxia Liu
f9bc5d98dd Bug 717137: enable landscape view in J-PAKE. r=rnewman 2012-02-21 11:07:55 -08:00
Nick Alexander
26f5714506 Bug 722007 - update row in place in AndroidBrowserHistoryDataExtender. r=rnewman 2012-02-21 11:07:55 -08:00
Richard Newman
2e559f3eca Bug 727725 - Incorrect assertion in GlobalSession. 2012-02-16 14:58:31 -08:00
Richard Newman
c81fc34cc6 Bug 726194 - Sync pairing succeeds, but is OFF. 2012-02-16 14:28:04 -08:00
Richard Newman
94c07221e5 Bug 724328 - Bump Android Sync version to 0.5. r=rnewman 2012-02-15 22:05:53 -08:00
Richard Newman
9665a99694 Bug 726054 - Desktop parity: track last sync time from final upload, not final fetch. r=nalexander 2012-02-15 22:05:53 -08:00
Nick Alexander
85f96cdaf4 Bug 709408 - Part 2: Remove Cryptographer. r=rnewman 2012-02-15 22:05:53 -08:00
Nick Alexander
5132193c2f Bug 709408 - Part 1: Remove SyncCryptographer. r=rnewman 2012-02-15 22:05:53 -08:00
Richard Newman
f063b94ddc Bug 725913 - Don't log credentials during setup. 2012-02-15 22:05:53 -08:00
Richard Newman
da45fa6769 Bug 725525 - Part 2: make Logger cache log levels. 2012-02-15 22:05:52 -08:00
Richard Newman
4751f6e47e Bug 724328 - misc Sync cleaning. 2012-02-15 22:05:52 -08:00
Richard Newman
4a77a5d489 Bug 725525 - Part 1: simplify and remove excess logging in Sync. 2012-02-15 22:05:52 -08:00
Nick Alexander
63ed618279 Bug 722561 - remove isSecure override; default from SSLSocketFactory. r=rnewman 2012-02-15 22:05:52 -08:00
Marina Samuel
3f050d0fe5 Bug 722520. r=rnewman 2012-02-15 22:05:52 -08:00
Nick Alexander
1d6512b0f9 Bug 722496, Bug 722579, Bug 722482, Bug 722541. r=rnewman 2012-02-15 22:05:52 -08:00
Marina Samuel
f1fc04ddc2 Bug 724200 - SyncStorageRequest.delete() results in NullPointerException. r=rnewman 2012-02-15 22:05:52 -08:00
Richard Newman
27a94094c7 Bug 722524. r=rnewman 2012-02-15 22:05:51 -08:00
Richard Newman
701d9e41cf Bug 726045 - Match Fennec history limit. 2012-02-15 22:05:51 -08:00
Kartikaya Gupta
e518a4e4ab Bug 727121 - Attempt to trick Java 1.7 compiler into not being stupid. r=rnewman 2012-02-14 12:02:01 -08:00
Richard Newman
a57cbdd2fe Bug 723235, Bug 720304, Bug 723240 - Request bookmarks and history items sorted by sortindex/frecency, with limits.
• Bug 720304 - Limit number of processed history records, with a hard limit of 500 history items per request.
• Bug 723235 - Request history items sorted by sortindex/frecency.
• Bug 723240 - Request bookmark items sorted by sortindex/frecency.

And imposes a sanity limit of 5,000 bookmarks per fetch.

(Note that batching is outside the scope of these bugs.)
2012-02-03 13:09:29 -08:00
Richard Newman
5eaaa0a16f Bug 720934 - Part 2: Collected Android Sync 0.4 code drop (Bug 722945, Bug 709348). a=mobile
Includes:
Bug 722945 - Transactional behavior for store (don't return stored records in subsequent fetch).
Bug 709348 - Refactor and improve reconciling and storing of records.
2012-02-03 13:09:29 -08:00
Richard Newman
e5ef3394a1 Bug 722430 - Propagate NoSuchAlgorithmException and InvalidKeyException; wrap in CryptoException higher up the call stack. r=rnewman 2012-02-03 13:09:28 -08:00
Richard Newman
fc3249a330 Bug 722434 - check for failure after JSON parsing. r=rnewman 2012-02-03 13:09:28 -08:00
Richard Newman
8ea74e7f50 Bug 720934 - Part 1: Collected Android Sync 0.4 code drop (Bug 721305, Bug 709348, Bug 719693, Bug 709660, Bug 718703). a=mobile
Includes:
3ad57f4 Bug 718703 - Pair a Device crashes. r=rnewman
3c530d1 Bug 709660 - Fixed blurry icons used in SyncAdapter. r=rnewman
bde287a Bug 719693 - Compatibility for JDK < 6.
91c5e23 Bug 719693 - Effect review comments on 6ffb7d72f.
6ffb7d7 Bug 719693 - Handle date-format HTTP Retry-After headers.
6df289e Bug 709348 - Trace logging and fixed logging of visit equality.
71580df Bug 709348 - Include Fennec visits and counts in HistoryRecord androidID equivalence.
8f6a106 Bug 709348 - Equality work.
f40bf4a Bug 709348 - Part 5: Rework handling of certain cases of incoming deletion, including history visits.
0dd004d Bug 709348 - Part 4: Reworking equality tests between records.
2210717 Bug 709348 - Part 3: Better commenting for ignored bookmark records.
c05236b Bug 709348 - Part 2: Introduce trace log method.
a34f4aa Bug 709348 - Part 1: Introduce copyWithIDs to clone records.
796b15f Bug 721305 - sync.link.advancedsetup.label should use …, not ....
adf7586 Bump AndroidSync User-Agent version.
2012-02-03 13:09:28 -08:00
Richard Newman
76758c862d Bug 720471 - Missing Arrays and SharedPreferences.Editor methods in Android SDK <= 8. r=rnewman 2012-01-25 15:53:13 -08:00
Richard Newman
0e67648d8e Bug 721129 - Incorrect BigInteger comparison in JPakeCrypto. r=dchan 2012-01-25 15:53:13 -08:00
Richard Newman
9df179cae9 Bug 720933 - Android Sync 0.3 code drop. a=mobile
Bug 718848 - Part 7: More link styling, pin display styling, alignment per UI feedback.
 Bug 718848 - Part 6: Fixed regression of progressbar layout.
 Bug 718848 - Part 5: Indentation alignment.
 Bug 718848 - Part 4: Fixes for links, icon blurriness, PIN display.
 Bug 718848 - Part 3: Whitespace changes.
 Bug 718848 - Part 2: Setting theme on start of Sync setup.
 Bug 718848 - Part 1: Theme and layout changes, per UI meeting.
 Bug 717075 - make classic setup hint text visible. Added basic SyncTheme.
 Bug 717691 - Part 1: fall back to supported cipher suites for older Android releases.
 Bug 717691 - Part 0: Specify HTTP 1.1 in HTTP requests.
 Bug 718848 - Part 2: fixed string revision: "computer" not "desktop".  r=rnewman
 Bug 719669 - Part 1: throw IncorrectZkpException when g^x^q % p = 1 in J-PAKE.
 Bug 719669 - Part 0: code reformatting and string tidying.
 Bug 718149 - go somewhere useful after Firefox Sync set up, on launch.
2012-01-25 15:53:13 -08:00
Richard Newman
21ac5270c0 Bug 709339 - First mostly functional drop of native Sync. a=mobile 2012-01-14 09:20:31 -08:00
Richard Newman
8bb119825d Bug 709391 - hide Sync setup task in Launcher, make syncs return immediately. a=java-only. 2011-12-21 08:44:08 -08:00
Richard Newman
2d22741616 Bug 709391 - initial import of Android Sync code (Git tag: v0.1.2-fixes). a=java-only 2011-12-21 08:44:08 -08:00