aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)2012-07-111-4/+4
| | | | | | | constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
* Remove some mono compiler warningsJustin Clark-Casey (justincc)2012-06-301-3/+1
|
* Removing unused handling of incoming create object by userID and itemID only.Justin Clark-Casey (justincc)2012-06-301-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.
* Make the "debug http" command available for robust as well as the simulator. ↵Justin Clark-Casey (justincc)2012-06-152-74/+30
| | | | | | This allows one to see incoming requests as they happen. This required making everything use the common MainServer class for registering and retrieving http servers, rather than duplicate structures.
* Add main instance to internal MainServer.m_Servers list to simplify internal ↵Justin Clark-Casey (justincc)2012-06-151-10/+3
| | | | | | logic. This does require the server to be added before it is set as the main Instance
* In remote QueryAccess, also receive the actual status (true|false) instead ↵Justin Clark-Casey (justincc)2012-05-251-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.
* Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)2012-05-242-3/+3
| | | | lookup rather than the region handle.
* Escape and unescape xml element names if necessary in ↵Justin Clark-Casey (justincc)2012-05-091-3/+3
| | | | | | | | | | ServerUtils.BuildXmlData() and ParseElement() If AvatarService appearance data is retrieved over the network, then ServerUtils was attempting to transfer names such as "Wearable 0:0" directly to xml element names, resulting in an exception. Space is not valid in xml element names. Neither is : in this case since the intention is not to namespace. Using names directly as keys is not a good idea. To get around this problem this patch escapes and unescapes the element names as appropriate. This has no impact on existing xml (since it had to be valid in the first place) but allows AvatarService data to be used over the network. Setting appearance (from simulator to AvatarService) did not suffer this problem since the values are passed in the query string which is already properly escaped.
* Remove the somewhat misleading logging of the string length of some unknown ↵Justin Clark-Casey (justincc)2012-05-033-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.
* Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)2012-05-031-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.
* MapImageService: changed the event at which the map tiles are uploaded, ↵Diva Canto2012-04-271-2/+2
| | | | because they were being uploaded before the region was registered with the grid
* MapImage security issue. Compare strings instead of IPAddresses.Diva Canto2012-04-271-1/+1
|
* MapImage security issue: better error messagesDiva Canto2012-04-271-3/+5
|
* Amend to last commit: account for the existence of proxies.Diva Canto2012-04-271-3/+32
|
* MapImageService: added an additional security check for OSGrid and other ↵Diva Canto2012-04-271-5/+43
| | | | grids like it.
* Minor improvements to loggingOren Hurvitz2012-04-241-1/+4
| | | | Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
* Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto2012-04-061-13/+59
|
* Send the config section name up to the service classes themselves ↵Diva Canto2012-03-272-2/+2
| | | | (XInventory and Assets).
* Comment out login parameters debug output accidentally included with c4b2d24Justin Clark-Casey (justincc)2012-03-221-11/+13
|
* Add llGiveInventory() test from object to object where both objects are ↵Justin Clark-Casey (justincc)2012-03-222-1/+12
| | | | owned by the same user.
* HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2012-03-212-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.
* Removed extraneous debug messageDiva Canto2012-03-211-1/+0
|
* HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2012-03-203-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.
* Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto2012-03-171-2/+30
| | | | direct user connections.
* Minor sanity check on simulation agent handler (content type)Diva Canto2012-03-131-7/+12
|
* Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-082-7/+7
| | | | | | | | | | | <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.
* OpenID auth needs hashing before authenticatingBlueWall2012-03-021-1/+1
|
* Add a position parameter to region crossing of objects. This avoids theMelanie2012-02-231-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.
* OpenID: server connector had a copy-and-paste error that made identity ↵Diva Canto2012-02-021-1/+1
| | | | queries fail.
* Make errors reported by OpenSim when it halts because it can't find certain ↵Justin Clark-Casey (justincc)2012-01-241-4/+3
| | | | config sections or files a bit more user friendly.
* Change URI to lowercase to match existingBlueWall2012-01-191-1/+1
|
* Add fetching of SRV_HomeURI to "/json_grid_info"BlueWall2012-01-191-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.
* Merge branch 'master' of /home/opensim/lib/osgrid/opensimBlueWall2012-01-172-0/+17
|\
| * Add json handler for GridInfoBlueWall2012-01-172-0/+17
| |
* | Allow retrival of multiple user records in one operation, analog to presenceMelanie2012-01-161-0/+42
|/
* Make "show asset" command available simulator side. Actually make the ↵Justin Clark-Casey (justincc)2012-01-051-5/+5
| | | | | | service command be "show asset" instead of "show digest" this time. Last time I accidnetally just changed the usage message.
* Add size and temporary information to "show asset" commandJustin Clark-Casey (justincc)2012-01-051-0/+2
|
* Rename 'show digest' console command to 'show asset'Justin Clark-Casey (justincc)2012-01-051-1/+1
|
* Move asset commands from AssetService to AssetServerConnector so that we can ↵Justin Clark-Casey (justincc)2012-01-051-1/+126
| | | | | | harmonise the same commands on the simulator side. No functional change.
* Profile UpdatesBlueWall2012-01-031-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.
* Fixed mix-up in UserAccount fields when passing UserAccounts remotely.Diva Canto2011-12-291-1/+1
|
* HG minor bug fix and marked one method obsolete in UAS.Diva Canto2011-12-161-0/+1
|
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-0522-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.
* HG: Added HEAD method to Helo service. This is the preferred method, but its ↵Diva Canto2011-12-041-1/+33
| | | | wide use will have to wait a few releases. So the sims are still calling GET for now.
* HG: Renamed one methodDiva Canto2011-12-041-1/+1
|
* Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for ↵Justin Clark-Casey (justincc)2011-11-191-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.
* Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)2011-11-191-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
* Remove mono compiler warnings. Fix problem with co-ordinate given in ↵Justin Clark-Casey (justincc)2011-11-192-4/+4
| | | | deregister region message
* Improve some grid region log messages to express regions at co-ordinate ↵Justin Clark-Casey (justincc)2011-11-191-5/+9
| | | | (e.g. 1000, 1000) rather than meter positions (256000, 256000)
* Catch any exceptions exiting the top of the robust console, as we already do ↵Justin Clark-Casey (justincc)2011-11-021-1/+8
| | | | | | for the main simulator. This prevents issues such as transient mono console problems from crashing the server.