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

1463 Коммитов

Автор SHA1 Сообщение Дата
Edward Lee 60f942b3ea Implement multiple ids deletion for use with 0.3 APIs. 2009-08-31 17:50:23 -07:00
Edward Lee d09d8a37e6 Switch end-of-sync deletes to something SyncEngine is aware of and runs at _syncFinish. 2009-08-31 17:30:34 -07:00
Edward Lee 8df3731ca9 Use places utils to find an existing bookmark dupe for an incoming record. 2009-08-31 17:29:47 -07:00
Edward Lee 6fc3d9dd75 Convert uses of recordLike/findLikeId to findDupe except Bookmarks is unimplemented. 2009-08-31 17:27:30 -07:00
Edward Lee 5d218c258c Create records with the correct parent/pred if it's still waiting for them to sync. 2009-08-24 16:17:59 -07:00
Edward Lee 31daa66e01 Bug 512001 - Kill the Wizard! (and Account Pane + Login)
Remove the Wizard Dialog, Account Pane, Login Dialog, Add-ons Pane, Advanced Dialog and their related xul/js/css/strings/images. Clean up some unused functions, xul:preferences, css, strings. Orphaned functionality: autoconnect preference, reset/forgot password/passphrase.
2009-08-21 17:32:41 -07:00
Edward Lee b306cc77ab Extend Utils.anno to handle pages and clean up GUID code for history engine. Also fix a bug where changeItemID would set annotations to expire on session. 2009-08-21 14:29:37 -07:00
Edward Lee 56a601c631 Remove old dumping code for debugging bug 476903. 2009-08-21 14:29:35 -07:00
Edward Lee a482f14d1f Bug 511794 - Always use _view instead of _temp + table or just table
Also use subqueries instead of multiple queries and drop the query count down to 2.
2009-08-21 14:29:30 -07:00
Edward Lee 23814e9c87 Use the plain get/set for wbo.modified because it's not needed anymore and was causing JS strict warnings: reference undefined property. 2009-08-20 17:10:14 -07:00
Edward Lee aec89471ca Conditionally log trace records to avoid always doing record.toString().
--HG--
extra : rebase_source : 65d8025324ed95eac29d530e2699a2f29c8a2cb7
2009-08-20 17:00:15 -07:00
Edward Lee 0f1121ec90 Remove unused cancelRequested code that causes JS strict warnings. 2009-08-20 16:26:22 -07:00
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 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