Commit Graph

1425 Commits

Author SHA1 Message Date
Mike Connor
1f94c8885f bug 481733 - provide better error messages, handle errors better, make autoconnect more robust, r=edilee
--HG--
extra : rebase_source : 3eb68a7b4be88c7bd7b9c2b02c96218298cce2f9
2009-08-19 23:27:22 -04:00
Dan Mills
b475610101 merge upstream changes 2009-08-19 20:13:53 -07:00
Anant Narayanan
096dd8c74d Handle 401s from the server correctly. (bug #509552) 2009-08-19 18:22:22 -07:00
Dan Mills
a3d13166a2 clean up weave events handling; add timed bubble after account creation; add status text below arrows 2009-08-19 17:10:17 -07:00
Dan Mills
bd35370bb3 initial commit of new about:weave 2009-08-18 20:03:11 -07:00
Edward Lee
11ce9c4f76 Bug 510152 - Check for failure onStopRequest and throw the error for extra debugging
Wrap the error code with a JS Error to track the stack, and re-wrap it to get the full stack trace. Also, remove args for __request for the stack because it's sometimes the whole record..
2009-08-12 20:28:46 -07:00
Anant Narayanan
e1144b86c4 Ask for password/passphrase before changing it (bug #507434) 2009-08-11 11:22:13 -07:00
Edward Lee
8a14a4dfd4 Bug 507691 - Server responds with json decode failure for fat unicode characters
Make sure we generate ASCII data for upload by escaping on serialize and unescaping on deserialize. Test to make sure serialized data is ASCII and the original records aren't modified by serialize.
2009-08-06 11:28:33 -07:00
Edward Lee
bc5f3d3be8 Bug 507296 - Sync bookmarks and history in batched mode. r=thunder
Wrap the original SyncEngine._sync function with a call to runInBatchMode, so SQL disk writes happen at the end of batch mode instead of on every change.
2009-07-30 11:52:26 -07:00
Anant Narayanan
45673ccb67 WinCE crypto binary (bug #487171) 2009-07-28 17:14:52 -07:00
Anant Narayanan
a79e153fb9 Backed out changeset 9e8936813ae1 2009-07-28 17:13:15 -07:00
Anant Narayanan
7a7c271cd7 WinCE crypto binary 2009-07-28 16:54:24 -07:00
Anant Narayanan
e299866ead Re-structure window utils 2009-07-28 14:30:32 -07:00
Edward Lee
1a4c241fc9 Change client engine to override findLikeId instead of recordLike to save on some work (iterating over changed ids). 2009-07-28 10:07:07 -07:00
Edward Lee
6ddbaa9a8e Bug 506795 - Handle adding duplicate logins. r=thunder
Refactor reconcile to call findLikeId that by default will look for recordLike in the outgoing queue as it does now. Override findLikeId for password engine to search local logins.
2009-07-28 10:06:02 -07:00
Edward Lee
cb7c477b9b Generate SunOS x86 binaries and put them under platform/SunOS because the contrib Firefox builds are SunOS_x86-sunc while we build SunOS_x86-cc. 2009-07-26 02:55:38 -07:00
Edward Lee
a14ea8d26f Add i86pc machine detection for crypto Makefile. Add SunOS for test Makefiles. 2009-07-26 02:55:38 -07:00
Gary Gendel
0a4c9c3664 Bug 501630 - OpenSolaris x86 support
Add SunOS for crypto Makefile to build a dynamic shared library.
2009-07-24 21:16:59 -07:00
Edward Lee
d02b8efc49 Bug 506302 - Shorten stack traces
Trim the full path from JS stacks and just show the file and convert nsIException traces to look like js stacks: func()@file:line. Only difference is js stacks show arguments while nsIException always shows just (). Fix up some places where we print the exception instead of the fixed up string.
2009-07-24 15:28:42 -07:00
Edward Lee
825e3789b2 Bug 506091 - New binary needed for Maemo devices
Rebuild Linux_arm-gcc3 (maemo) WeaveCrypto.so binary.
2009-07-23 23:05:24 -07:00
Anant Narayanan
7b33ae1109 Remove useless check for crypto methods 2009-07-23 17:12:32 -07:00
Anant Narayanan
77050fe32c Fix verifyPassphrase for cases when the key actually exits :-/ 2009-07-23 17:01:58 -07:00
Anant Narayanan
0a5e02179f Fix verifyPassphrase returning false on first login 2009-07-23 16:52:28 -07:00
Edward Lee
39607ef7b9 Bug 505940 - Unnecessarily uploading records on first sync
Remove short-circuit logic of comparing number of keys for deepEquals and iterate through each key on both objects to make sure both have the same value.
2009-07-22 23:49:15 -07:00
Edward Lee
551f097468 Convert various debug messages to trace. 2009-07-22 21:40:18 -07:00
Mike Connor
dd7f0c31ad bug 497938 - Client should back off server when it is busy, r=edilee
--HG--
extra : rebase_source : 347137310b0ff0bba8b5267632259645c516e56b
2009-07-22 23:48:41 -04:00
Edward Lee
5860298b5a Bug 504788 - Handle different weave versions by wiping, upgrading, updating. r=thunder
Store the most newest Weave version on the server and update it if necessary on each remoteSetup. Make a concept of a compatible version where this version of Weave can read but might change records with its full sync.

--HG--
extra : rebase_source : c11cada1e3ba07e00113fca439610d0b6fd78190
2009-07-22 18:49:07 -07:00
Dan Mills
db7966a67b Bug 505906: Don't do a last POST if there is nothing left to send. Regression from bug 481347. r=mardak 2009-07-22 17:48:47 -07:00
Edward Lee
a26f0b1166 Bug 485573 - Fennec runs out of memory and crashes if too many history items to sync. r=thunder
Incrementally process records as the collection finds record boundaries and converts them to records for the engine to use. Get rid of the collection iterator and original RecordParser. Add tests for incremental record parsing and remove old iter tests.
2009-07-22 16:38:34 -07:00
Anant Narayanan
5d621644ba Crypto binary for Linux_x86-64
--HG--
extra : rebase_source : ca27677a6fb08524f60e4a4ebae6fa338f5fd057
2009-07-22 16:33:50 -07:00
Dan Mills
90b770d36e merge upstream changes 2009-07-22 16:26:53 -07:00
Anant Narayanan
bc6f3ff63e Crypto binary for Windows 2009-07-22 16:22:08 -07:00
Dan Mills
7f9996ac73 Bug 481347: Split uploads into multiple chunks to get around server upload limit and curtail memory usage 2009-07-22 16:21:33 -07:00
Anant Narayanan
509e86b9b6 Crypto binary for Linux_x86 2009-07-22 15:30:16 -07:00
Anant Narayanan
bb5bad5e68 Verify passphrase on login (bug 505571) 2009-07-21 21:05:23 -07:00
Anant Narayanan
995121086c Make change password work (bug 505570) 2009-07-21 20:59:02 -07:00
Anant Narayanan
c6a90202ff Add ability to change passphrase (and merge XUL files) bug #443696 2009-07-21 16:54:46 -07:00
Anant Narayanan
3541ab1269 Expose rewrapPrivateKey & verifyPassphrase (bug #505401) 2009-07-21 15:02:30 -07:00
Anant Narayanan
1676f8958b Merge with backed out changeset 2009-07-21 14:33:26 -07:00
Anant Narayanan
0697eb1f5c Backed out changeset 5768a19f21d3 (crypto review not done yet) 2009-07-21 14:32:57 -07:00
Anant Narayanan
6a3dde2cd9 Reset passphrase code + UI (bug #443696)
--HG--
extra : rebase_source : 4905bf56bf8efc90b49f99f56603a93908efdd63
2009-07-21 14:31:16 -07:00
Anant Narayanan
1509f1d1cb Crypto changes
--HG--
extra : rebase_source : 0a953a43c01b95e7c467ec4ca7feeb0aaa00f5e1
2009-07-21 11:18:29 -07:00
Daniel Holbert
d04ec4df06 Bug 502293: Fix a string so that Weave will *actually* display error messages, instead of showing a percent sign. r=thunder 2009-07-21 12:35:12 -07:00
Edward Lee
c5690e2288 Bug 504256 - sync should observe idle service and only sync when the user is idle
Detect if the user has been recently active, and if so, skip the sync. Arbitrarily picking 30 seconds for now.
2009-07-17 16:55:15 -07:00
Edward Lee
2f261f5115 Bug 504389 - Don't automatically sync after clicking on wipe server
Remove description reference to automatically sending local data.
2009-07-17 12:23:03 -07:00
Edward Lee
baa48207f2 Bug 504387 - Cache keys after creating/PUTting them instead of after GETting. r=thunder
Set the record manager for CryptoMetas, PubKeys, PrivKeys after uploading keys.
2009-07-16 23:13:58 -07:00
Edward Lee
fd0528fc6b Bug 504389 - Don't automatically sync after clicking on wipe server
Don't open the sync status after wiping, and move the after-wipe sleep to inside freshStart with shorter wait.
2009-07-16 16:31:54 -07:00
Edward Lee
1bdb3a8ba8 Fix trailing spaces. 2009-07-16 15:17:28 -07:00
Edward Lee
4dad7bd344 $hare the $ub$titute command from root Makefile. 2009-07-16 14:07:07 -07:00
Edward Lee
7fadc4ce98 Re/Move substitute declarations. 2009-07-16 12:11:31 -07:00