Edward Lee
5e9d07e643
Use places utils to find an existing bookmark dupe for an incoming record.
2009-08-31 17:29:47 -07:00
Edward Lee
5468320159
Convert uses of recordLike/findLikeId to findDupe except Bookmarks is unimplemented.
2009-08-31 17:27:30 -07:00
Edward Lee
ca002d3239
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
e6e554073c
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
94e6abd74c
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
a4b22bc213
Remove old dumping code for debugging bug 476903.
2009-08-21 14:29:35 -07:00
Edward Lee
381bdb6576
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
2906267e0c
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
e6732d5263
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
19f12428d3
Remove unused cancelRequested code that causes JS strict warnings.
2009-08-20 16:26:22 -07:00
Anant Narayanan
e77295f6f7
Correct network handling in findCluster
...
--HG--
extra : rebase_source : 7e5d2eee8927d95d17d8449bc6789619a1ac8af8
2009-08-20 12:14:34 -07:00
Dan Mills
23f2e1ae15
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
5dfda076bb
Try/catch in checkUsername if resource throws and default to generic-server-error.
2009-08-20 10:20:01 -07:00
Edward Lee
83920494dc
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
352bc015d3
Merge weave to about-weave.
2009-08-20 01:10:55 -07:00
Edward Lee
0976a18604
Add Myk's StringBundle to modules/ext
2009-08-20 01:09:28 -07:00
Edward Lee
63dcaed8c6
Switch to the new about page.. currently empty.
2009-08-20 01:09:23 -07:00
Edward Lee
d368cdd88b
Remove trailing whitespace in service.js and util.js.
2009-08-20 00:49:09 -07:00
Edward Lee
c29ee791ce
Resolve commit conflicts from merging in weave.
2009-08-19 22:53:04 -07:00
Edward Lee
144a9195b9
Merge weave to about-weave.
2009-08-19 22:46:50 -07:00
Edward Lee
c9b2732fbe
Merge weave to weave-relative.
2009-08-19 22:16:10 -07:00
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
Mike Connor
f600de80bc
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
b475610101
merge upstream changes
2009-08-19 20:13:53 -07:00
Edward Lee
c4393b5e3b
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
096dd8c74d
Handle 401s from the server correctly. (bug #509552 )
2009-08-19 18:22:22 -07:00
Edward Lee
4bb37a06d2
Add tests to make sure bookmarks are in the right position after creating/updating.
2009-08-19 18:15:12 -07:00
Edward Lee
6b910e2590
Share the logging _ code for tests.
2009-08-19 18:01:06 -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
87f47c35a6
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
fae8b93210
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
b264174b42
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
0435aca087
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
7a297f3b5f
Simplify the debug output when creating bookmarks and include the parent and position.
2009-08-16 12:39:30 -07:00
Edward Lee
014c01848d
Print out the stack when failing to apply an incoming record.
2009-08-16 12:39:23 -07:00
Edward Lee
7c3bc745a0
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
96a4461af4
Set the predecessorid when creating records for upload.
2009-08-16 12:39:00 -07:00
Edward Lee
4cb51d9bde
Remove the missing parent annotation after reparenting an orphan.
2009-08-15 14:43:10 -07:00
Edward Lee
306fc8507b
Reparent orphans when creating the parent folder.
2009-08-15 01:07:40 -07:00
Edward Lee
7cc5c17773
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
004fdf436d
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
31270d064c
Move _preprocess to before applyIncoming to share code for create/update/remove.
2009-08-15 01:00:32 -07:00
Edward Lee
cbba430108
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
fae7aaa071
Temporarily append everything and don't use sortindex for ordering within a folder.
2009-08-15 00:57:09 -07:00
Edward Lee
2335b057db
Get rid of depth and sort on index instead.
2009-08-15 00:56:27 -07:00
Edward Lee
3ca750f464
Remove meta/mini records. Bye!
2009-08-13 18:50:54 -07:00
Edward Lee
39895d48b2
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
983afb76a9
Remove unused bookmark annotations/constants.
2009-08-13 17:43:20 -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