aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-15Add a skeleton for a name value storage associated with regionsMelanie1-0/+14
2012-08-01Change exception log messages in XInventoryService connector to error rather ↵Justin Clark-Casey (justincc)1-9/+8
than debug, since these signal real problems. Also outputs full exception instead of just the message to aid diagnostics.
2012-07-30If we're fetching active gestures via the XInventoryServiceConnector, then ↵Justin Clark-Casey (justincc)1-1/+1
properly look at the ITEMS dictionary already returned rather than the level above this.
2012-07-13Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)1-2/+1
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-12OnConnectionClosed listeners, retrieve data from IClientAPI.SceneAgent ↵Justin Clark-Casey (justincc)1-21/+7
rather than scanning all scene for the presence with the right id Stop checking IsLoggingOut on these listeners, if called with a root agent then we always want to perform these actions. This covers cases where the client is closed due to manual kick, simulator shutdown, etc.
2012-05-25Fix bug where a failed QueryAccess to a remove region would always have the ↵Justin Clark-Casey (justincc)1-13/+20
reason "Communications failure" no matter what the destination region actually returned
2012-05-25In remote QueryAccess, also receive the actual status (true|false) instead ↵Justin Clark-Casey (justincc)1-0/+4
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)1-1/+1
lookup rather than the region handle.
2012-05-23Environment Module - allows Environment settings for Viewer3 warning: ↵PixelTomsen1-0/+16
includes database region store migrations for mssql, mysql, sqlite enable/disable this module: Cap_EnvironmentSettings = "localhost" (for enable) Cap_EnvironmentSettings = "" (for disable) at ClientStack.LindenCaps section (OpenSimDefaults.ini file) or owerwrite in OpenSim.ini mantis: http://opensimulator.org/mantis/view.php?id=5860 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-09Where necessary, rename OpenSim/Services/Connectors/*.cs files to reflect ↵Justin Clark-Casey (justincc)15-0/+0
the actual class names. This is usually because the file name was singular (*Service*) but the class name was plural (*Services*). This is to make configuration easier rather than having to look in the c# code itself to find the slightly different name of the connector. This does not affect existing configuration since the files are being renamed rather than the classes.
2012-04-20Remember to dispose of the bitmap opened from a file in ↵Justin Clark-Casey (justincc)1-4/+11
GatekeeperServiceConnector.GetMapImage()
2012-04-10Add uri to various log messages when region registration fails. Upgrade ↵Justin Clark-Casey (justincc)1-8/+15
some debug log messages to error.
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto1-8/+39
2012-03-21Updated the UserAccountsClient a little bit, plus some more sanity checks on ↵Diva Canto1-1/+8
the service connector.
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2-0/+53
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-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2-11/+76
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-1/+60
direct user connections.
2012-03-12Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream().Robert Adams1-1/+1
.NET 4.0 added the method Stream.CopyTo(stream, bufferSize). For .NET 3.5 and before, WebUtil defined an extension method for Stream with the signature Stream.CopyTo(stream, maxBytesToCopy). The meaning of the second parameter is different in the two forms and depending on which compiler and/or runtime you use, you could get one form or the other. Crashes ensue. This change renames the WebUtil stream copy method to something that cannot be confused with the new CopyTo method defined in .NET 4.0.
2012-03-09More on inventory transfer hold ups:Diva Canto1-3/+7
- Added an inventory cache for caching root and system folders - Synchronized the remote inventory connector, so that all the remote inventory calls are serialized This will not make much difference in the hold ups. We'd have to move the FireAndForget high up to AddInventoryItem, but that opens up a can of worms regarding the notification of the recipient... the recipient would be notified of the offer before the items are effectively in his inventory, which could lead to surprises.
2012-03-08HG inventory/asset transfers: serialize asset posts. I'm using the same ↵Diva Canto1-1/+20
pattern as suggested in the patch mantis #5921. Testing it in this smaller context to see how it works.
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie1-1/+2
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-20Amend to last commit: synchronize access to queues.Diva Canto1-2/+5
2012-02-20More improvements on agent position updates: if the target sims fail, ↵Diva Canto1-6/+14
blacklist them for 2 min, so that we don't keep doing remote calls that fail.
2012-02-16Correct a bug introduced in 1f402fdf (Feb 7 2012) where the delete friends ↵Justin Clark-Casey (justincc)1-1/+1
grid call would try and contact the wrong uri. Also fixes the build from df960d5
2012-02-07Add url to logging if SynchronousRestFormsRequester.MakRequest() throws an ↵Justin Clark-Casey (justincc)9-103/+120
exception in service connectors
2012-01-16Allow retrival of multiple user records in one operation, analog to presenceMelanie2-0/+64
2012-01-07minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2012-01-05Move simulator asset info commands to an optional module from the connector. ↵Justin Clark-Casey (justincc)1-43/+2
Make them conform with service side commands. This stops them appearing twice when Hypergrid is enabled.
2012-01-03Profile UpdatesBlueWall1-0/+54
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.
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)1-0/+6
hunting. No functional changes.
2011-12-29Set the local grid flag in the user account through the simian connectorMic Bowman1-0/+4
This should make bi-directional hypergrid work.
2011-12-29HG: more adjustments for making HG Simian work. Added server_uri as new key ↵Diva Canto2-1/+4
on get_agent_home in UAS.
2011-12-24HG: more / love for XmasDiva Canto2-4/+44
2011-12-23HG: AAdded a few missing /'s at the end of URLsDiva Canto3-1/+6
2011-12-22Enables processing of hypergrid links through simiangrid services. ThanksMic Bowman1-25/+56
otakup0pe
2011-12-16HG minor bug fix and marked one method obsolete in UAS.Diva Canto1-0/+1
2011-12-04HG: Added HEAD method to Helo service. This is the preferred method, but its ↵Diva Canto1-0/+2
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-23Append asset ID to URL for storage requests to allow caching proxies to work ↵Dan Lake1-1/+3
with Simian
2011-11-21Improve the error messages returned if the HelloNeighbour call fails.Justin Clark-Casey (justincc)1-19/+46
This is the message a region sends to its neighbours when it comes up
2011-11-19Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)1-1/+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-19Don't register a region twice on both official registration and maptile ↵Justin Clark-Casey (justincc)1-1/+3
regeneration. Maptile storage appears orthogonal to region registration
2011-11-15distinguish between FriendsSimConnector and FriendsServiceConnector in logJustin Clark-Casey (justincc)2-17/+17
2011-11-02Drop the CopyTo parameter from Int32.MaxValue to 4096. This is a buffer sizeMic Bowman1-1/+1
not a target size. Mono 2.10 appears to try to allocate the full buffer which immediately crashes. Tested on mono 2.6.7 and 2.10.5
2011-11-03Revert "fix CopyTo call that was breaking under mono 2.10"Melanie1-1/+1
This reverts commit d30971fdc243886b8fc614c7f869530db87e10f2.
2011-11-02fix CopyTo call that was breaking under mono 2.10Mic Bowman1-1/+1
2011-10-24Add optional getauthinfo and setauthinfo authentication service calls.Justin Clark-Casey (justincc)2-0/+22
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-09-16Reattaching a region was failing if the estate name had not changed (issue ↵Kevin Houlihan1-1/+6
5035). Using the RemoteAdmin API to close then recreate a region would fail if the estate name had not changed. If the estate name /was/ changed then the existing estate would be renamed rather than a new one being created. The problem really arose from a lack of distinction in the data storage layer between creating new estates and loading existing ones.
2011-09-08Increase information in logging for UserAgentServiceConnector.Justin Clark-Casey (justincc)1-12/+12
Done for http://opensimulator.org/mantis/view.php?id=5669
2011-08-11comment out some of the currently less useful debug log messagesJustin Clark-Casey (justincc)1-1/+1