aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-22If an asset POST does not contain well-formed XML, return a 400 (Bad ↵Justin Clark-Casey (justincc)2-3/+38
Request) HTTP status rather than simply dropping the request.
2012-11-21Add regression test for a good request made to the asset service post handler.Justin Clark-Casey (justincc)1-0/+84
Adds new OpenSim.Server.Handlers.Tests.dll to test suite
2012-11-14Added AssemblyInfos in the OpenSim.Server namespace dlls.Diva Canto1-0/+33
2012-11-02Add [AssetService] AllowRemoteDeleteAllTypes (default false).Justin Clark-Casey (justincc)2-15/+52
This allows a closed grid to delete asset types other than maptile remotely. Only operational if AllowRemoteDelete = true also. Defaults to false - do not enable if anybody other than you can make asset service requests.
2012-11-02Move check to allow only deletion of maptiles up to AssetServerDeleteHandler ↵Justin Clark-Casey (justincc)1-3/+14
from AssetService. This allows us to use a common check for both AssetService and XAssetService. It also allows future console commands to delete an asset. As before, deletion of maptile assets is not allowed remotely unless this is explicitly configured.
2012-10-24Get "save oar" and "save iar" to tell you in a more friendly manner if the ↵Justin Clark-Casey (justincc)1-0/+3
filename to save already exists, rather than exception throwing. Also changes ConsoleUtil.CheckFileExists to CheckFileDoesNotExist() since this is more meaningful in the context, even though it does result in double negatives.
2012-09-14Don't store the unnecessary VERSIONMIN. VERSIONMAX, METHOD or UserID ↵Justin Clark-Casey (justincc)1-0/+18
(present as column PrincipalID) parameters in the Avatars table. These are used to invoke avatar service calls but are not in themselves persistable avatar data.
2012-07-13Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)9-74/+61
the BOM, use a single Util.UTF8NoBomEncoding. This class is thread-safe (as evidenced by the provision of the system-wide Encoding.UTF8 which does not suppress BOM on output).
2012-06-30Removing unused handling of incoming create object by userID and itemID only.Justin Clark-Casey (justincc)1-48/+0
It appears this was never actually used since attachments were rezzed in other code. This was never available on remote simulator comms, only local.
2012-05-25In remote QueryAccess, also receive the actual status (true|false) instead ↵Justin Clark-Casey (justincc)1-2/+5
of always true no matter what the callee actually returned. This was due to two things 1) SimulationServiceConnector.QueryAccess was always looking to the outer result["success"]. But if a "_Result" map is returned (which is certainly the case right now), then the true success is _Result["success"], result["success"] is always true no matter what 2) If QueryAccess was false at the destination, then AgentHandlers.DoQueryAccess() was never putting this in the result. The default action of SerializeJsonString() is not to put false booleans in the JSON!!!, so this has to be explicitly set.
2012-05-24Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)2-3/+3
lookup rather than the region handle.
2012-05-03Remove the somewhat misleading logging of the string length of some unknown ↵Justin Clark-Casey (justincc)3-4/+5
requests, as this appeared to be some kind of numbered error code. This brings these messages into line with similar messages that did not do this.
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)1-0/+2
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-27MapImageService: changed the event at which the map tiles are uploaded, ↵Diva Canto1-2/+2
because they were being uploaded before the region was registered with the grid
2012-04-27MapImage security issue. Compare strings instead of IPAddresses.Diva Canto1-1/+1
2012-04-27MapImage security issue: better error messagesDiva Canto1-3/+5
2012-04-27Amend to last commit: account for the existence of proxies.Diva Canto1-3/+32
2012-04-27MapImageService: added an additional security check for OSGrid and other ↵Diva Canto1-5/+43
grids like it.
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto1-13/+59
2012-03-27Send the config section name up to the service classes themselves ↵Diva Canto2-2/+2
(XInventory and Assets).
2012-03-22Comment out login parameters debug output accidentally included with c4b2d24Justin Clark-Casey (justincc)1-11/+13
2012-03-22Add llGiveInventory() test from object to object where both objects are ↵Justin Clark-Casey (justincc)2-1/+12
owned by the same user.
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2-0/+57
that they can scale better. They were previously being handled by the UAS; that is still there, but it's now obsolete and will be removed in a future release.
2012-03-21Removed extraneous debug messageDiva Canto1-1/+0
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto3-57/+133
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-17Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto1-2/+30
direct user connections.
2012-03-13Minor sanity check on simulation agent handler (content type)Diva Canto1-7/+12
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-3/+3
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-02OpenID auth needs hashing before authenticatingBlueWall1-1/+1
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie1-3/+7
potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
2012-02-02OpenID: server connector had a copy-and-paste error that made identity ↵Diva Canto1-1/+1
queries fail.
2012-01-19Change URI to lowercase to match existingBlueWall1-1/+1
2012-01-19Add fetching of SRV_HomeURI to "/json_grid_info"BlueWall1-1/+36
Make SRV_HomeURI available on the GridInfoService through the "/json_grid_info" URI. This i s mainly to service OSSL, but can be seen externally via the URI.
2012-01-17Add json handler for GridInfoBlueWall2-0/+17
2012-01-16Allow retrival of multiple user records in one operation, analog to presenceMelanie1-0/+42
2012-01-05Make "show asset" command available simulator side. Actually make the ↵Justin Clark-Casey (justincc)1-5/+5
service command be "show asset" instead of "show digest" this time. Last time I accidnetally just changed the usage message.
2012-01-05Add size and temporary information to "show asset" commandJustin Clark-Casey (justincc)1-0/+2
2012-01-05Rename 'show digest' console command to 'show asset'Justin Clark-Casey (justincc)1-1/+1
2012-01-05Move asset commands from AssetService to AssetServerConnector so that we can ↵Justin Clark-Casey (justincc)1-1/+126
harmonise the same commands on the simulator side. No functional change.
2012-01-03Profile UpdatesBlueWall1-0/+33
Update basic profile to use the replaceable interface, making configuration less error-prone. Add support to query avatar's home user account and profile service for regions usng the updated OpenProfileModule with Hypergrid.
2011-12-29Fixed mix-up in UserAccount fields when passing UserAccounts remotely.Diva Canto1-1/+1
2011-12-16HG minor bug fix and marked one method obsolete in UAS.Diva Canto1-0/+1
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)22-29/+29
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-12-04HG: Added HEAD method to Helo service. This is the preferred method, but its ↵Diva Canto1-1/+33
wide use will have to wait a few releases. So the sims are still calling GET for now.
2011-12-04HG: Renamed one methodDiva Canto1-1/+1
2011-11-19Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for ↵Justin Clark-Casey (justincc)1-2/+2
SendCreateChildAgent" message This is misleading since a simulator will call this method before successfully trying remote regions. Also comments out spammy "[SIMULATION]: Stream handler called" AgentHandlers messages for now.
2011-11-19Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)1-2/+1
57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly
2011-11-19Remove mono compiler warnings. Fix problem with co-ordinate given in ↵Justin Clark-Casey (justincc)2-4/+4
deregister region message
2011-11-19Improve some grid region log messages to express regions at co-ordinate ↵Justin Clark-Casey (justincc)1-5/+9
(e.g. 1000, 1000) rather than meter positions (256000, 256000)
2011-10-24Add optional getauthinfo and setauthinfo authentication service calls.Justin Clark-Casey (justincc)2-3/+73
These are disabled by default, as before. Please only turn these on in secure grids, since they allow the same facilities as the existing SetPassword call (also disabled by default) These facilities can be helpful when integrating external systems, in addition to the existing option of adapting an IAuthenticationService or using WebLoginKey