aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-20If GetFolderContent called by WebFetchInvDescHandler.Fetch() fails for some ↵Justin Clark-Casey (justincc)1-1/+9
reason and returns null, log and return empty contents rather than throwing an exception that ends up terminating the simulator.
2012-06-29If a link points to a non-existing item in FetchInventory caps, then don't ↵Justin Clark-Casey (justincc)1-1/+2
try to add it to the return data rather than suffering an exception later on
2012-06-20As with LLSDInventoryItem from commit 01a2b0b, send type values in ↵Justin Clark-Casey (justincc)1-6/+2
LLSDInventoryFolder for inventory CAPs as integers rather than strings. Should also resolve some issues with exceptions being thrown in some inventory fetches.
2012-06-02Fix build break whree accidentally did inv.Folders rather than ↵Justin Clark-Casey (justincc)1-1/+1
inv.Folders.Count in a minor change.
2012-06-02minor: tidy up some commentsJustin Clark-Casey (justincc)1-4/+2
2012-06-02Fix various issues with http inventoryJustin Clark-Casey (justincc)1-47/+78
1) The return messages were being wrongly populated with the names of asset, inventory and sale types when their corresponding integers should have been used instead. 2) Folders with links were including the linked items in the descendents figure, when only the links should be included. 3) Links and linked items in link folders were not being included in the return data, and not in the correct order. Now that these issues have been addressed, outfits and attachments appear to work consistently when HTTP inventory is enabled (as is now the default).
2012-04-06Guard against null inventory contents.Diva Canto1-2/+2
2012-01-06Implement the FetchInventory2 capability. This accompanies the existing ↵Justin Clark-Casey (justincc)1-1/+1
FetchInventoryDescendents2 capability. Not yet enabled by default. You can enable this by setting Cap_FetchInventory2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini Enabling both FetchInventory2 and FetchInventoryDescendents2 improves the situation with properly fetching attachments and hud objects Probably because viewers are never expecting the odd situation where FetchInventoryDescendents2 is present but not FetchInventory2 However, for some reason attachments and hud objects occasionally fail to appear, though their status is correct in inventory For attachments, focussing on the avatar makes them appear. Hud objects have to be reattached.
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)1-71/+77
hunting. No functional changes.
2011-12-09Add commented log lines to FetchInventoryDescendents2 path for future use.Justin Clark-Casey (justincc)1-1/+84
Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-1/+1
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-11-26Rip out unused Scene.HandleFetchInventoryDescendentsCAPS().Justin Clark-Casey (justincc)1-0/+13
This has been handled by WebFetchInvDescHandler.Fetch() for some time.
2011-11-26Stop locking the requests coming in to WebFetchInvDecHandler.Justin Clark-Casey (justincc)1-8/+8
There's no technical reason for this as the methods are thread safe. However, it might have served to slow down requests.
2011-11-25Resolve error where an unknown asset type would cause the fetch inventory ↵Justin Clark-Casey (justincc)1-40/+43
descendents cap to fail. Introduced just a few commits ago in 0688861
2011-11-25Implement the FetchInventoryDescendents2 capability using the same code as ↵Justin Clark-Casey (justincc)1-1/+1
WebFetchInventoryDescendents. Enabling this by setting Cap_FetchInventoryDescendents2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini downloads inventory via http rather than udp in later viewers.
2011-11-25Use the more extensive Utils.AssetTypeToString()/InventoryTypeToString() ↵Justin Clark-Casey (justincc)1-2/+3
conversion rather than the arrays in TaskInventoryItem
2011-11-25Fix WebFetchInventoryDescendents cap to use ↵Justin Clark-Casey (justincc)1-8/+15
Utils.AssetTypeTostring/InventoryTypeToString to convert types to strings These cover a wider range of types.
2011-05-02WebFetchInventoryDescendents working. Tested with robust.Diva Canto1-0/+299