aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-27Let grided simulators retrieve the user's inventory skeletonDiva Canto1-1/+1
2012-03-19Fix a bug where logins to standalones would fail if the RegionReady module ↵Justin Clark-Casey (justincc)1-7/+2
was not active Unfortunately, the OnLoginsEnabled event is currently only guaranteed to fire if the RegionReady module is active. However, we can instantiate the AuthorizationService in the module RegionLoaded method since by this time all other modules will have been loaded
2012-03-17Region access control! Region operators can now specify things like ↵Diva Canto2-27/+140
DisallowForeigners (means what it says) and DisallowResidents (means that only admins and managers can get into the region). This puts the never-completed AuthorizationService to good use. Note that I didn't implement a grid-wide Authorization service; this service implementation is done entirely locally on the simulator. This can be changed as usual by pluging in a different AuthorizationServicesConnector.
2012-03-09More on inventory transfer hold ups:Diva Canto2-2/+77
- 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-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-1/+1
<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-06Remove static m_MainInstance in LocalGridServiceConnector.Justin Clark-Casey (justincc)1-24/+10
I believe this was originally required back when there could be two LocalGridServiceConnectors but this is no longer the case. Having such statics makes performance testing much more difficult since they prevent GC of objects unless static references are explicitly nulled.
2012-03-02Start by adding XAssetService as a copy of the existing AssetService.Justin Clark-Casey (justincc)1-2/+5
This is the start of exploring the creation of a bundled OpenSimulator asset service that does de-duplication and possibly file storage of assets. Along the lines of coyled's SRAS, but not intended to replace, merely to act as a more performant bundled default. Might end up nicking stuff from kcozen's patch at http://opensimulator.org/mantis/view.php?id=5429 More details at http://opensimulator.org/wiki/Feature_Proposals/Deduplicating_Asset_Service Feedback and discussion welcome as commits are made.
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie2-6/+6
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-18This should smooth movement in heteregeneous networks by a lot: cache the ↵Diva Canto2-2/+40
region by position instead of looking it up all the time -- this was being done during the main update loop!
2012-01-16Allow retrival of multiple user records in one operation, analog to presenceMelanie2-0/+9
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)1-0/+2
hunting. No functional changes.
2011-12-29Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto1-2/+2
region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
2011-12-29Deleted two obsolete files in Inventory modules.Diva Canto2-460/+0
2011-12-29Deleted unused methods from HGAssetBrokerDiva Canto1-18/+0
2011-12-03Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)1-4/+5
This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
2011-11-19Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for ↵Justin Clark-Casey (justincc)1-1/+0
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-19minor: Make HelloNeighbour messages more informativeJustin Clark-Casey (justincc)1-5/+10
2011-11-14minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+1
2011-10-24Add optional getauthinfo and setauthinfo authentication service calls.Justin Clark-Casey (justincc)1-1/+10
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-24Don't try and resolve user account for authorization if the agent has come ↵Justin Clark-Casey (justincc)1-1/+11
in via hypergrid. If a user account isn't available, this just passes on the name given by the agent instead. I'm not sure this is particularly useful since I believe that agent names could be faked in this context - it might be no more useful than a viewer agent string. In fact, there might even be an argument that passing on this name provides a false expectation of authenticity. However, I will apply for now. Patch applied from http://opensimulator.org/mantis/view.php?id=5696 Thanks Michelle Argus.
2011-09-16refactor: move estate owner setup code into separate methodJustin Clark-Casey (justincc)1-0/+2
2011-09-16Correctly create a freshly created estate owner's default items and avatar ↵Justin Clark-Casey (justincc)1-11/+15
entries on standalone if applicable.
2011-09-15Shuffle order of code in invnetory connector GetFolderContent() calls to ↵Justin Clark-Casey (justincc)2-12/+18
avoid a possible race condition
2011-09-09Use a copy of the inventory items list to register users in the thread ↵Justin Clark-Casey (justincc)2-2/+8
started by GetFolderContent(), to protect ourselves against callers modifying lists Hopefully this addresses http://opensimulator.org/mantis/view.php?id=5681
2011-09-07When a region is added to the HG Inventory Broker, also pass this through to ↵Justin Clark-Casey (justincc)3-21/+41
the embedded local inventory connector to prevent an NRE when that connector tries to lookup the UserManager through the scene. This is to address http://opensimulator.org/mantis/view.php?id=5669 However, if this failure was happening I'm kind of surprised that local HG inventory was working at all..... We probably weren't seeing these exceptions previously because we weren't logging them when the reached the top of a FireAndForget thread.
2011-09-06Add temporary debugging in HGInventoryBroker and ↵Justin Clark-Casey (justincc)2-17/+33
RemoveXInventoryServiceConnector This is for http://opensimulator.org/mantis/view.php?id=5669 If we can't retrieve an IUserManagement module we complain, and we also warn in the log when its manually set in XISC by HGInventoryBroker
2011-09-05Allow the HGInventoryBroker to set the UserManager when it instantiates a ↵Justin Clark-Casey (justincc)2-3/+15
RemoteXInventoryServiceConnector for a visiting HG user. Not doing this causes NREs whenever that user tries to access inventory when Hypergrid is turned on since the Remote connector does not have a scene (which is only used to fetch the UserManager) Aims to address http://opensimulator.org/mantis/view.php?id=5669
2011-08-31Don't set a GridUser entry for NPCs.Justin Clark-Casey (justincc)1-1/+4
Resolves http://opensimulator.org/mantis/view.php?id=5665
2011-08-30Fix bug in persisting saved appearances for npcsJustin Clark-Casey (justincc)1-5/+20
Assets have to be marked non-local as well as non-temporary to persist. This is now done. Hopefully addresses http://opensimulator.org/mantis/view.php?id=5660
2011-08-23remove mono compiler warningsJustin Clark-Casey (justincc)4-7/+2
2011-08-17For now, supress 'OH NOES' warnings given by ↵Justin Clark-Casey (justincc)1-5/+5
HGInventoryBroker.CacheInventoryServiceURL when it tries to cache it for an NPC This concept is meaningless for NPCs. However, it might be better to make NPCism an actual property on ScenePresence and check. Addresses http://opensimulator.org/mantis/view.php?id=5643
2011-08-11comment out some of the currently less useful debug log messagesJustin Clark-Casey (justincc)2-2/+3
2011-08-02Change GridService.GetRegionByName() to only return info if there is an ↵Justin Clark-Casey (justincc)1-2/+5
exact region name match, unlike GetRegionsByName() This should fix the first part of http://opensimulator.org/mantis/view.php?id=5606, and maybe 5605. Thanks to Melanie for helping with this.
2011-07-23Pass the first name and last name from the agent circuit data to the ↵Justin Clark-Casey (justincc)2-17/+24
authorization service rather than from the account. This is to accomodate situations where the authorization service is being used by the hypergrid, where visitors have no user account. See http://opensimulator.org/mantis/view.php?id=5517, this code is somewhat adapted/cleaned up from Michelle's patch I'm a little ambivalent about this since visitors could put anything in firstname/lastname so it's not much of an auth measure. It's up to the auth service to decide which data it actually uses. Possibly we should be passing through other info such as agent circuit ip
2011-07-08stop the local inventory services connector from logging an error when an ↵Justin Clark-Casey (justincc)1-3/+3
item id isn't found. making this query is legitimate and so the log line can cause false positivies. It is up to callers to log an error if appropriate.
2011-06-16Added a couple of guards and warnings to the MapImage/MapImageServiceModule.Diva Canto1-2/+12
2011-06-15Added an expiring cache for region information to theMic Bowman2-2/+169
RemoteGridService connector. Timeout is currently set at five minutes. Negative results are not cached. The result is that operations like send an instant message do not have to go through the grid service every time.
2011-06-12First pass at making the V2 map work. Standalones only for now. There are ↵Diva Canto1-0/+232
some issues with the zoom level -- TBD.
2011-05-27HG inventory transfers over the profile working.Diva Canto1-2/+9
2011-05-24Added necessary code to drop inventory on hg friends using the profile ↵Diva Canto1-0/+16
window, but can't test because this mechanism doesn't seem to work without a profile service.
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2-2/+0
OpenSim.Tests.Common instead
2011-04-30Check for RegionID instead of RegionHandle. Other minor tweaksDiva Canto1-2/+2
2011-04-28Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto2-4/+9
the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service.
2011-04-25Made things consistent between LocalInventoryServiceConnector and ↵Diva Canto2-11/+32
RemoteXInventoryServiceConnector on GetFolderContent.
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)1-0/+2
IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2-2/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-03-04Changed order of checks for local regions when processingMic Bowman1-16/+6
AgentUpdate messages. Should improve throttles and reprioritization when an avatar is moving.
2011-02-16Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie2-5/+7
2011-02-07Thanks Tokeiito for noticing this bug. mantis #5366Diva Canto1-1/+1
2011-02-06Better output for show neighboursDiva Canto1-2/+6