aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-11-02Catch any exceptions exiting the top of the robust console, as we already do ↵Justin Clark-Casey (justincc)1-1/+8
for the main simulator. This prevents issues such as transient mono console problems from crashing the server.
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2-1/+3
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
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
2011-10-19Add option to allow remote http calls to setpassword in the ↵Justin Clark-Casey (justincc)2-23/+46
AuthenticationService. This is switched on by setting AllowSetPassword = true in the [AuthenticationService] section of Robust.ini or Robust.HG.ini Default is false as before.
2011-10-19Make ScopeID optional for http GetAccount and GetAccountsJustin Clark-Casey (justincc)1-11/+6
If not specified then it assumes UUID.Zero. as occurs elsewhere in the codebase
2011-10-19Make PrincipalID a synonym for UserID in GetUserAccountJustin Clark-Casey (justincc)1-0/+6
2011-10-19Get new NewUser and SetUserAccount calls to accept PrincipalID instead of ↵Justin Clark-Casey (justincc)1-3/+3
UserID for consistency with output
2011-10-19Allow an http call to set account details if AllowSetAccount = true in ↵Justin Clark-Casey (justincc)1-3/+59
[UserAccountService]. As before, default is false to not allow these calls.
2011-10-18Provide an option to allow remote calls to the CreateUser method on the ↵Justin Clark-Casey (justincc)2-4/+62
UserAccountService Default is false, as before. Enabling AllowCreateUser in [UserAccountService] for ROBUST allows avatars to be created via an http call, with viewer 2 appropriate bits and pieces. Only Ruths can be created at present. Please don't rely on the config since at some point CreateUser will be moved to a separate co-ordinating service.