Commit Graph

40 Commits

Author SHA1 Message Date
Gregory Szorc
d5206a38a4 Bug 733987 - API to remove records from Sync's test HTTP server; r=rnewman 2012-03-08 13:50:09 -08:00
Gregory Szorc
2e24613c22 Bug 733601 - Add onRequest hook to Sync's test HTTP server; r=rnewman 2012-03-07 10:42:39 -08:00
Gregory Szorc
0c2550b3e8 Bug 733237 - Make test HTTP sync server behave more properly; r=rnewman 2012-03-05 17:36:45 -08:00
Gregory Szorc
11e6746349 Bug 710448 - Rewritten Sync record reconciling to handle edge cases; r=rnewman, r=philikon
This patch rewrites Sync's record reconciling logic to properly handle
edge cases. Before, there were a few cases where data loss could occur
because of improperly handled and ignored timestamps.
2012-01-25 13:32:05 -08:00
Gregory Szorc
6574d253c9 Bug 704539 - Better handling of HTTP channels in Sync; r=rnewman 2012-01-17 11:51:45 -08:00
Richard Newman
a32624268e Bug 690170 - Part 1: Fix channel management to avoid nsIHTTPChannel.responseStatus => NS_ERROR_NOT_AVAILABLE in Sync HTTP requests. r=philikon 2011-10-28 14:43:18 -07:00
Richard Newman
4b54a00d2b Bug 684798 - Part 2: Sanitize wipeServer and catch all server maintenance errors. r=rnewman (reland) 2011-10-27 22:25:00 -07:00
Philipp von Weitershausen
974d53a1dc Merge backout on this CLOSED TREE 2011-10-20 16:21:52 -07:00
Philipp von Weitershausen
28bd994e45 Back out bug 684798 parts 1 thru 3. 2011-10-20 16:21:17 -07:00
Richard Newman
f84ae73562 Bug 694744 - Typo in JS Sync server. r=philikon 2011-10-15 15:29:11 -07:00
Richard Newman
acfc0ca0bb Bug 694657 - Part 1: Sync: test JS server 404 for GET on missing WBO. r=philikon 2011-10-15 15:29:11 -07:00
Richard Newman
0318bedf1a Bug 693864 - Implement /storage DELETE handling in test JS Sync server. r=philikon 2011-10-12 13:57:39 -07:00
Philipp von Weitershausen
d107d0f5f3 Bug 684798 - Part 2: Sanitize wipeServer and catch all server maintenance errors. r=rnewman 2011-10-12 13:53:13 -07:00
Richard Newman
9539717d8d Bug 691643 - part 0: add some utility accessors to SyncServer. r=philikon 2011-10-04 09:03:18 -07:00
Richard Newman
5817c7f37d Bug 691085 - Enhancements to ServerWBO and ServerCollection. r=philikon
* Return server.user() as the return value of registerUser.
    * Add modified time param to insert() and new ServerWBO.
2011-10-01 12:36:51 -07:00
Richard Newman
546a5f0200 Bug 673548 - Part 5: include X-Weave-Records header in ServerCollection GET responses. r=philikon
* * *
Bug 673548 - Part 6: test for X-Weave-Records header. r=philikon
2011-09-29 11:53:28 -07:00
Richard Newman
594f455e63 Bug 673548 - Part 2: implement JS SyncServer. r=philikon 2011-09-29 11:51:27 -07:00
Richard Newman
2387f6f944 Bug 673548 - Part 1: return deleted IDs from ServerCollection delete handler, use Log4Moz. r=philikon 2011-09-29 11:50:32 -07:00
Richard Newman
8c151daa46 Bug 673548 - Part 0a: set Content-Type in ServerWBO responses; enhance ServerCollection. r=philikon 2011-09-29 11:50:28 -07:00
Richard Newman
659d36d999 Bug 681840 - Fix whitespace that should have been right in 62177ac1ccad. r=philikon DONTBUILD 2011-08-26 15:31:19 -07:00
Richard Newman
f9af2f4771 Bug 681840 - Print helpful warning when starting test HTTP server fails. r=philikon DONTBUILD 2011-08-26 15:23:24 -07:00
Philipp von Weitershausen
2fed606d34 Bug 669547 - Implement RESTRequest and related components to replace [Async]Resource. r=rnewman 2011-07-06 17:20:36 -07:00
Richard Newman
37cec0ea9b Bug 650208: add test for freshStart behavior, improve collection tracking in tests. r=philiKON 2011-04-19 12:56:46 -07:00
Richard Newman
6e6815e668 Bug 650208: part 2b: clean up basic auth mess in tests. r=philiKON 2011-04-18 13:26:03 -07:00
Richard Newman
d906518cf3 Bug 650208: part 0: refactor timestamp logic in tests. r=philiKON 2011-04-18 13:25:08 -07:00
Philipp von Weitershausen
3bf3b1074c Bug 646347 - Use Sync API version 1.1. r=rnewman 2011-04-08 14:52:08 -07:00
Richard Newman
23ab949c38 Bug 629463: delete bad server-side clients records. r=philiKON a=beltzner 2011-03-01 11:56:29 -08:00
Richard Newman
bdc5390864 Bug 626796: Bookmark sync: restore from backup should trigger reupload. r=philiKON 2011-01-24 23:06:42 -08:00
Philipp von Weitershausen
370ffe57dd Bug 591103 - Ensure the client record is refreshed. r=mconnor 2011-01-14 13:22:20 -08:00
Philipp von Weitershausen
38927cc3e0 Bug 591103 - Sanitize WBO tests. r=mconnor 2011-01-14 13:22:20 -08:00
Philipp von Weitershausen
4cb107444e Get rid of old-crypto test helpers that are no longer used (no bug) 2010-12-28 13:31:01 -08:00
Richard Newman
b3a296aa95 Bug 617709: download and reset when server bulk keys change. r=mconnor 2010-12-09 10:32:03 -08:00
Richard Newman
98051adf04 Bug 616265: Add download limit for history, lift magic number. r=mconnor 2010-12-06 17:25:35 -08:00
Philipp von Weitershausen
c29a0e55af Bug 578671 - Sync which engines are enabled across clients, wipe data for disabled engines [r=mconnor] 2010-09-07 18:44:01 +02:00
Philipp von Weitershausen
a2466ae2e3 Bug 582083 - Should inspect POST responses for failed WBOs [r=Mardak]
Make sure records that failed to upload continue to be marked in the tracker so that they'll be uploaded again in the next sync.
2010-07-31 13:28:00 +02:00
Edward Lee
80fc412879 Bug 573679 - Fix tests to pass on trunk
Use do_load_httpd_js for xpcshell tests and have consumers directly call new nsHttpServer().
2010-06-22 13:18:10 -07:00
Philipp von Weitershausen
721e3fa637 Bug 557596 - code audit and create unit test plan for resource.js [r=mconnor]
Lots of resource tests, Resource.serverTime initialized to null, Resource.headers normalized to lowercase.
2010-06-01 15:15:53 -07:00
Philipp von Weitershausen
ceaa8fab03 Bug 557588 - code audit and create unit test plan for engines.js [r=mconnor]
Tests for SyncEngine.sync(), incl some additions to harness.
2010-06-01 15:07:50 -07:00
Myk Melez
e54cec2631 bug 476539: use a XULRunner-based test harness for unit testing; r=thunder 2009-03-20 00:14:21 -07:00
Dan Mills
e94731682b add http js server for unit tests; add tests for resources, auth manager, base weave record types (WBOs, keys, crypto wrappers/crypto meta) 2008-11-03 14:41:39 -08:00