aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-10Added unit tests for FetchInventoryDescendents ↵Diva Canto4-0/+217
http://wiki.secondlife.com/wiki/Linden_Lab_Official:Inventory_API#Fetch_Inventory_Descendents Also, consolidated the location of the files that handle inventory capabilities.
2015-05-09Fix mantis #7054: AO in Firestorm and Kokua stopped loading after new ↵Diva Canto1-9/+17
inventory code in place. Cause: # of descendants was wrong.
2015-05-08Another major overhaul of inventory downloading, this time pertaining to ↵Diva Canto1-102/+140
inventory links. Added yet another function to IInventoryService to get multiple items at once, so that fetching collections of linked items is done once per folder instead of once per item.
2015-05-08Restore handling of bad folders. I'm not entirely sure this is part of the ↵Diva Canto1-9/+48
protocol -- I don't see it here: http://wiki.secondlife.com/wiki/Linden_Lab_Official:Inventory_API#Fetch_inventory_descendents But who knows!
2015-05-08Apparently Firestorm sometimes sends duplicate folder ids on the same ↵Diva Canto1-2/+8
request (see http://opensimulator.org/mantis/view.php?id=7054#c28297). This was throwing the new inventory download code off. Firestorm also sends requests for folder UUID.Zero, which doesn't exist, but doesn't cause any problems either -- it just fails. I'm leaving the warning message for now, just to keep an eye on which folders can't be found, but may remove it in the future.
2015-05-08Additional debug message to help diagnose a warning message and exception ↵Diva Canto1-0/+3
related to previous commit. See http://opensimulator.org/mantis/view.php?id=7054#c28282
2015-05-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto1-84/+365
IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto1-1/+1
AssemblyVersion("0.8.2.*")
2015-03-05revised GetMesh to not use intermediate base64 coding schemeFreaky Tech2-52/+195
it delivers binary and has binary as input. base64 intermediate coding makes no sense. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected bug that viewer cannot correctly fetch ItemData when being a HG ↵Freaky Tech2-81/+4
visitor Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected response when a not existing folder is requested by a viewer in ↵Freaky Tech1-9/+28
that case the response has to report it as bad_folders with uuid instead of returning some dummy Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-01-31As per advice from Singularity devs, set is_display_name_default = true in ↵Justin Clark-Casey (justincc)1-1/+1
GetDisplayName cap return data to make the single name appear. This is still always your avatar name - code to set a different display is not yet implemented. This works from my testing with current Firestorm and Singuarity releases.
2015-01-31Revert "Stop currently unsettable display names from appearing when ↵Justin Clark-Casey (justincc)1-1/+1
[ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username." This reverts commit 2d574c3036964d95dbf914d5f5858a3c39f0c16e.
2015-01-24Revert "In GetDisplayNames, if user last name is Resident then only send ↵Justin Clark-Casey (justincc)1-1/+1
first name for display." Reverting at this point since it may not work well with all viewers. Requires further investigation. This reverts commit a29d53986aa3ca9bfd6759789c8a6f434b78d627.
2015-01-23In GetDisplayNames, if user last name is Resident then only send first name ↵Justin Clark-Casey (justincc)1-1/+1
for display. This is to match existing behaviour with UDP behaviour where this is masked out. And to make it consistent with other places where viewers mask this out themselves. Relates to http://opensimulator.org/mantis/view.php?id=7408
2015-01-21Stop currently unsettable display names from appearing when ↵Justin Clark-Casey (justincc)1-1/+1
[ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username. Unexpectedly, not setting user name achieves this whereas one might have expected it to be done by not setting display_name in the cap OSD. Emulates LL behaviour when no display name is set. Relates to http://opensimulator.org/mantis/view.php?id=7408
2015-01-13And finally renamed the classes themselves.Diva Canto2-9/+9
2015-01-13Renamed the folder too.Diva Canto2-0/+0
2015-01-13Renamed these 2 files, because their names are misleading. This is no longer ↵Diva Canto2-0/+0
called WebFetchInventoryDescendents, and we no longer use that cap; the viewers use FetchInvventoryDescendents2.
2015-01-09Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto2-0/+191
names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2014-11-25Allow GetMesh capability to be served directly by a server like GetTextureJustin Clark-Casey (justincc)2-40/+31
To do this required GetMesh to be converted to a BaseStreamHandler Unlike GetTexture connector, no redirect URL functionality yet (this wasn't present in the first place).
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)1-1/+0
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-07-26Fix issue with TestTextureNotFound in previous commit 1e3027aJustin Clark-Casey (justincc)1-1/+1
Stop failure by actually giving the test handler a path instead of null
2014-07-21Revert "Removed unused files: Texture/Mesh server connectors"root2-0/+150
This reverts commit f6ea5088f4cc76eddb05b20b5d768f761b0fbd15.
2014-07-21Removed unused files: Texture/Mesh server connectorsOren Hurvitz2-150/+0
2014-07-21Close streams immediately when we finish using themOren Hurvitz1-12/+17
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-05-08Fix test breakageDiva Canto1-1/+1
2014-05-08Make the URL for texture redirects match the path of the resource that we ↵Diva Canto1-1/+1
use in OpenSim.
2014-05-07Finished implementing redirects in GetTexture.Diva Canto3-6/+12
2014-03-17Add regression test for http inventory fetch.Justin Clark-Casey (justincc)1-2/+5
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
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.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-1/+1
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-07-15Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)1-6/+87
handlers. This adds explicit cap poll handler supporting to the Caps classes rather than relying on callers to do the complicated coding. Other refactoring was required to get logic into the right places to support this.
2013-07-13Added UploadBakedTexture/UploadBakedTextureServerConnector, so that this can ↵Diva Canto1-0/+76
eventually be served by a robust instance. NOT FINISHED YET.
2013-07-08minor: Add back commented out logging message in Caps.RegisterHandler() that ↵Justin Clark-Casey (justincc)1-0/+1
I accidentally removed.
2013-07-08For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)1-1/+0
not set
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)4-5/+17
to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
2013-06-30Revert "A little more debug for the Unknown User problem mantis #6625"Diva Canto1-3/+0
This reverts commit ff47cf77ab52d42195fb0f089599618511d4919b.
2013-06-29A little more debug for the Unknown User problem mantis #6625Diva Canto1-0/+3
2013-06-20minor: fix mono compiler warning in FetchInventory2HandlerJustin Clark-Casey (justincc)1-2/+2
2013-06-10Remove Temporary from use to shortcut asset stores. The Local propertyMic Bowman1-0/+1
differentiates between local & grid storage. The Temporary property just says that which service handles the it, the asset can be safely removed in the future.
2013-05-07Added AvatarPickerSearch capability handler.Diva Canto2-0/+167
2013-04-30Fix CAPS to work like they should - do not send caps to the viewer if ↵Melanie1-2/+5
they're not in the requested caps list. The previous wrong behavior caused the debug setting "UseHTTPInventory" to fail on all viewers when turned off. UDB inventory would not be correctly used in that case.
2013-02-19Deleted all AssemblyFileVersion directivesDiva Canto1-1/+1
2013-02-05Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)2-2/+2
This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
2013-02-01Revert "Update assembly version numbers"BlueWall2-2/+2
This reverts commit 141ad829f448b9138b12be7cf99c834c1f3977ec.
2013-02-01Update assembly version numbersBlueWall2-2/+2
2012-12-06minor: change method doc on GetTextureHandler.TryParseRange(), mainly to ↵Justin Clark-Casey (justincc)1-2/+2
trigger another build