aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server (unfollow)
Commit message (Collapse)AuthorFilesLines
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-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)1-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.
2012-07-08Address map lag issue seen with non-avination viewersMelanie1-1/+14
2012-06-30Remove some mono compiler warningsJustin Clark-Casey (justincc)1-3/+1
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-06-15Make the "debug http" command available for robust as well as the simulator. ↵Justin Clark-Casey (justincc)2-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.
2012-06-15Add main instance to internal MainServer.m_Servers list to simplify internal ↵Justin Clark-Casey (justincc)1-10/+3
logic. This does require the server to be added before it is set as the main Instance
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-09Escape and unescape xml element names if necessary in ↵Justin Clark-Casey (justincc)1-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.
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-24Minor improvements to loggingOren Hurvitz1-1/+4
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
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)2-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.
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-24Make errors reported by OpenSim when it halts because it can't find certain ↵Justin Clark-Casey (justincc)1-4/+3
config sections or files a bit more user friendly.
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-16Add methods to allow the groups modules to query online status and last loginMelanie1-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