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

1459 Коммитов

Автор SHA1 Сообщение Дата
Anant Narayanan 89948abfa1 Correct network handling in findCluster
--HG--
extra : rebase_source : 7e5d2eee8927d95d17d8449bc6789619a1ac8af8
2009-08-20 12:14:34 -07:00
Dan Mills 50556dbbd9 Always load about:weave, never the wizard; fix captcha to load in an iframe; fix password fields to be type text when the page is loaded (with the explanation text in them) 2009-08-20 11:49:50 -07:00
Edward Lee be2076114b Try/catch in checkUsername if resource throws and default to generic-server-error. 2009-08-20 10:20:01 -07:00
Edward Lee 79d8e03d4a Handle createAccount resource exceptions correctly (null ret, throw fail) and cleanup. Check for non-failure in the UI instead of only success 200. 2009-08-20 10:14:19 -07:00
Edward Lee 8c6bb091f1 Merge weave to about-weave. 2009-08-20 01:10:55 -07:00
Edward Lee 7d1b0ecb98 Add Myk's StringBundle to modules/ext 2009-08-20 01:09:28 -07:00
Edward Lee 161e5a233d Switch to the new about page.. currently empty. 2009-08-20 01:09:23 -07:00
Edward Lee aad14ce259 Remove trailing whitespace in service.js and util.js. 2009-08-20 00:49:09 -07:00
Edward Lee 0a9776bfba Resolve commit conflicts from merging in weave. 2009-08-19 22:53:04 -07:00
Edward Lee 6f2547d008 Merge weave to about-weave. 2009-08-19 22:46:50 -07:00
Edward Lee fdfbe8b470 Merge weave to weave-relative. 2009-08-19 22:16:10 -07:00
Mike Connor 1cd6748b11 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
Mike Connor ce19e59b95 bug 481733 - provide better error messages, handle errors better, make autoconnect more robust, r=edilee 2009-08-19 23:27:22 -04:00
Dan Mills 237e030f99 merge upstream changes 2009-08-19 20:13:53 -07:00
Edward Lee 012ffa961f Handle holes in bookmark folders and fix up bookmarks to be at an earlier position if a hole was detected. 2009-08-19 19:32:05 -07:00
Anant Narayanan 02a2121431 Handle 401s from the server correctly. (bug #509552) 2009-08-19 18:22:22 -07:00
Edward Lee 15fa5bc3d6 Add tests to make sure bookmarks are in the right position after creating/updating. 2009-08-19 18:15:12 -07:00
Edward Lee ed4fe0e311 Share the logging _ code for tests. 2009-08-19 18:01:06 -07:00
Dan Mills 31e6b4666f 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 27305124c1 initial commit of new about:weave 2009-08-18 20:03:11 -07:00
Edward Lee fffcd82ae9 Attach followers for both created items and updated items (call from applyIncoming) when it's under the right parent. Share logic for attaching followers when creating a folder then fixing the reparented children and when creating/updating an item in the right parent. 2009-08-18 18:42:15 -07:00
Edward Lee bd6e991aed Add the successor ids when adding/removing items as well as both old and new successors when moving. 2009-08-18 18:39:10 -07:00
Edward Lee 2e066edaf5 When updating the position of an item, move all of its followers with it. Share chain moving logic used for fixing followers on create and updating positions. 2009-08-18 18:36:31 -07:00
Edward Lee 02653b0e23 For items that have the correct parent, see if there's an item following it and reposition the chain of items to after the correct parented item. A chain of followers starts at the item with the predecessor annotation and goes until the end of the folder, an item that is looking for a predecessor, or ends up at where we started (the predecessor). 2009-08-17 02:34:03 -07:00
Edward Lee 34d7888b13 Simplify the debug output when creating bookmarks and include the parent and position. 2009-08-16 12:39:30 -07:00
Edward Lee 26702591c1 Print out the stack when failing to apply an incoming record. 2009-08-16 12:39:23 -07:00
Edward Lee ce014b37ed Use the predecessorid to figure out where to put the item or save the predecessor as an annotation. 2009-08-16 12:39:15 -07:00
Edward Lee a899e3fc64 Set the predecessorid when creating records for upload. 2009-08-16 12:39:00 -07:00
Edward Lee 24b24d90a8 Remove the missing parent annotation after reparenting an orphan. 2009-08-15 14:43:10 -07:00
Edward Lee 0930d522d8 Reparent orphans when creating the parent folder. 2009-08-15 01:07:40 -07:00
Edward Lee 3acf0af190 Use a shared setGUID for new items and changing guids so that the item always ends up with the GUID (because conflicts shouldn't have been Weave generated). 2009-08-15 01:04:06 -07:00
Edward Lee b01244308b Store the parent GUID as an annotation if the item is missing a parent and share some parent lookup code. 2009-08-15 01:00:46 -07:00
Edward Lee 367213495f Move _preprocess to before applyIncoming to share code for create/update/remove. 2009-08-15 01:00:32 -07:00
Edward Lee af37c0bc61 Rename weaveId to just GUID and share a id<->guid function across store and tracker. 2009-08-15 00:59:49 -07:00
Edward Lee ac3e6b761e Temporarily append everything and don't use sortindex for ordering within a folder. 2009-08-15 00:57:09 -07:00
Edward Lee 783223115f Get rid of depth and sort on index instead. 2009-08-15 00:56:27 -07:00
Edward Lee 5f6b7af2ff Remove meta/mini records. Bye! 2009-08-13 18:50:54 -07:00
Edward Lee b2bd7b5d10 Put Annotations in Svc and expose a get/set Utils.anno call to use from bookmarks. 2009-08-13 17:59:26 -07:00
Edward Lee 218cdffe7f Remove unused bookmark annotations/constants. 2009-08-13 17:43:20 -07:00
Edward Lee bea7925a6b 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 6bcc62c1dc Ask for password/passphrase before changing it (bug #507434) 2009-08-11 11:22:13 -07:00
Edward Lee c68e2d8159 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 a77e420a8a 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 96db27a500 WinCE crypto binary (bug #487171) 2009-07-28 17:14:52 -07:00
Anant Narayanan 0470244603 Backed out changeset 9e8936813ae1 2009-07-28 17:13:15 -07:00
Anant Narayanan d014c20001 WinCE crypto binary 2009-07-28 16:54:24 -07:00
Anant Narayanan f3887dcd50 Re-structure window utils 2009-07-28 14:30:32 -07:00
Edward Lee 8c9e2af36c 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 b0e99b50a1 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 dc5086b560 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