aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-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-13Added UploadBakedTexture/UploadBakedTextureServerConnector, so that this can ↵Diva Canto1-0/+76
eventually be served by a robust instance. NOT FINISHED YET.
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2-2/+2
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 Canto1-0/+116
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)1-1/+1
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"BlueWall1-1/+1
This reverts commit 141ad829f448b9138b12be7cf99c834c1f3977ec.
2013-02-01Update assembly version numbersBlueWall1-1/+1
2012-12-06minor: change method doc on GetTextureHandler.TryParseRange(), mainly to ↵Justin Clark-Casey (justincc)1-2/+2
trigger another build
2012-12-06Allow GetTexture calls with no second value in the range header (e.g. just ↵Justin Clark-Casey (justincc)1-1/+34
5333-) It looks like the latest Kokua is doing this. As per http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, leaving off the second value is legal This indicates the caller wants the rest of the entity.
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)1-1/+1
automatically turns off any logging enabled between tests
2012-11-13Added a few more AssemblyInfos. (Plus added the one in OptionalModules, ↵Diva Canto1-0/+33
which had been forgotten.)
2012-10-12minor: Comment out "Client requested range for texture ... but" message. ↵Justin Clark-Casey (justincc)1-3/+3
This is not useful during normal operation.
2012-09-06If the GetTexture capability receives a request for a range of data beyond ↵Justin Clark-Casey (justincc)1-5/+29
that of an otherwise valid asset, return HTTP PartialContent rather than RequestedRangeNotSatisfiable. This is because recent viewers (3.2.1, 3.3.4) and probably earlier ones using the http GetTexture capability will sometimes make such invalid range requests. This appears to happen if the viewer's estimate of texture sizes at discard levels > 0 (chiefly 2) exceeds the total texture size. I believe this does not normally happen but can occur for dynamic textures with are large but mainly blank. If this happens, returning a RequestedRangeNotSatisfiable will cause the viewer to not render the texture at the final resolution. However, returning a PartialContent (or OK) even with 0 data will allow the viewer to render the final texture.
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-13Don't include time to transmit response back to requester when assessing ↵Justin Clark-Casey (justincc)1-2/+0
slow handling of requests. This is to avoid logging a 'slow' request when the source of delay is the viewer in processing a response. This is not something we can do much about on the server end - it's server-side delay that we're interested in. To ensure consistency, this commit also had to refactor and simplify inbound non-poll network request handling, though there should be no functional change. IOSHttpResponse no longer exposes the Send() method, only classes in OpenSim.Framework.Servers.HttpServer should be doing this. Only the GetTextureHandler was sending its own response. Now it leaves this to BaseHttpServer, like all other core handlers.
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)2-74/+81
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-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)7-17/+25
can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)1-1/+1
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
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)3-1/+219
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-19Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)1-2/+2
AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
2011-12-09Add commented log lines to FetchInventoryDescendents2 path for future use.Justin Clark-Casey (justincc)2-4/+93
Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost
2011-12-08Revert "Revert "Stop performing the asset save part of baked texture ↵Justin Clark-Casey (justincc)1-5/+9
uploading on the UploadBakedTexture cap asynchronously."" This turned out not to be the upload texture issue. This reverts commit 8721841fc3944ce0cdf5ce76297e73f9ed269751.
2011-12-06Stop accidentally setting up the UploadTexture caps handler with the same ↵Justin Clark-Casey (justincc)1-2/+0
url for all users This meant that if a user exited the region, the UploadTexture handler would be effectively removed for everyone, causing subsequent failures. This hopefully resolves the recent UploadTexture LLSD problems This was a regression in 5640f2e (Thu Dec 1 23:24:15 2011 +0000)
2011-12-06Revert "Stop performing the asset save part of baked texture uploading on ↵Justin Clark-Casey (justincc)1-9/+5
the UploadBakedTexture cap asynchronously." This is a possible cause of the dramatic upswing in "Unable to upload... No handler registered for LLSD requests..." Needs more investigation. This reverts commit 1854c52ea3c60d0a47f9793a7f5ec405e15489ca.
2011-12-05Add test for not found response from GetTexture cap handler.Justin Clark-Casey (justincc)1-0/+63
Add OpenSim.Region.Capabilities.Handlers.Tests.dll into test suite