aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-02Another attempt at sorting out the auto group chicken and egg problems.onefang3-6/+11
Are you a local? Asking for a friend.
2019-07-25Gatekeeper -> GatekeeperURIonefang1-1/+1
Coz it says all over the source code - // Legacy. Remove soon! And has since later OpenSim 0.7s.
2019-06-03Add DefaultRegionAccess in [AuthorizationService] section.onefang1-1/+2
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang35-741/+1892
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel22-313/+919
2012-12-05minor: Fix more compiler warnings in CoreModules tests by properly ↵Justin Clark-Casey (justincc)1-1/+4
overriding OpenSimTestCase.SetUp()
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)1-2/+1
automatically turns off any logging enabled between tests
2012-11-20If GetAgents() is called with an empty userIDs array then don't bother with ↵Justin Clark-Casey (justincc)1-0/+4
a useless potentially network call on the scene presence service connector. This also eliminates the "[PRESENCE HANDLER]: GetAgents called without required uuids argument" which has started to pop up in the logs when a call is made with an empty uuid array as occasionally happens.
2012-11-20refactor: Move common presence connector code into BasePresenceServiceConnectorJustin Clark-Casey (justincc)4-193/+145
2012-11-13Last 27 modules' directives (service connectors out).Diva Canto26-4/+54
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto1-1/+1
2012-11-12Remove any mention of IRegionModule from region names and comments to aidMelanie2-6/+6
grepping for remaining uses
2012-09-26Use GridUser properly for foreign users.Diva Canto1-3/+3
2012-09-25TOS module. WARNING: migration in GridUser table.Diva Canto2-5/+54
2012-09-21Minor: may avoid crashes of sims that still don't have this configuration ↵Diva Canto1-1/+1
section.
2012-09-21HG 2.0: added asset import/export policies at the sim too.Diva Canto1-8/+15
2012-09-19Correctly override and call base OpenSimTestCase.SetUp() method in ↵Justin Clark-Casey (justincc)1-3/+5
GridConnectorsTests and ArchiverTests. Remove unrelated compile warning from AttachmentsModuleTests.
2012-09-15Add basic asset connector tests to check behaviour for normal, local and ↵Justin Clark-Casey (justincc)2-2/+141
temporary assets. Make AssetServiceConnector return more useful data on failure, such as what DLL it was trying to load Allow LocalAssetServiceConnector.GetData() to work without a cache present, as works for the other lasc Get* methods.
2012-09-06If reusing dynamic textures, do not reuse small data length textures that ↵Justin Clark-Casey (justincc)1-1/+1
fall below current viewer discard level 2 thresholds. Viewer LL 3.3.4 and before sometimes fail to properly redisplay dynamic textures that have a small data length compared to pixel size when pulled from cache. This appears to happen when the data length is smaller than the estimate discard level 2 size the viewer uses when making this GetTexture request. This commit works around this by always regenerating dynamic textures that fall below this threshold rather than reusing them if ReuseDynamicTextures = true This can be controlled by the [Textures] ReuseDynamicLowDataTextures config setting which defaults to false.
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)1-1/+1
race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)1-1/+1
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)1-6/+1
This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
2012-07-18Establish EventManager.OnRegionReady event. This will only be triggerred ↵Justin Clark-Casey (justincc)1-8/+2
once when the region is ready. Switch MapImageServiceModule to use this.
2012-07-18Pass entire scene object in OnLoginsEnabled event rather than just the ↵Justin Clark-Casey (justincc)1-11/+2
region name. This saves listeners from having to re-retrieve the scene from their own lists, which won't work anyway if multiple regions with the same name have been allowed
2012-07-13Remove a callstack print out I accidentally left in 2 commits ago in 9ccb578Justin Clark-Casey (justincc)1-1/+0
2012-07-13Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)1-1/+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-07-13Don't cache regions data on the other unused LocalGridServiceConnector that ↵Justin Clark-Casey (justincc)3-17/+25
the module code still sets up even if we're using one directly instantiated from the RemoteGridServiceConnector. Also improves log messages to indicate which regions are sending/receiving various neighbour protocol messages.
2012-06-30Removing unused handling of incoming create object by userID and itemID only.Justin Clark-Casey (justincc)2-26/+1
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-12OnConnectionClosed listeners, retrieve data from IClientAPI.SceneAgent ↵Justin Clark-Casey (justincc)2-23/+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-06-12In PresenceDetector.OnConnectionClose(), use the IsChildAgent check already ↵Justin Clark-Casey (justincc)1-12/+1
available on IClientAPI.SceneAgent rather than retrieving it again by scanning all scenes.
2012-05-25Resolve some mono compiler warnings.Justin Clark-Casey (justincc)1-1/+1
2012-05-25Fix bug where a failed QueryAccess to a remove region would always have the ↵Justin Clark-Casey (justincc)1-2/+1
reason "Communications failure" no matter what the destination region actually returned
2012-05-24Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)2-8/+16
lookup rather than the region handle.
2012-05-24If an agent is still registered as 'in transit' by the source region, don't ↵Justin Clark-Casey (justincc)1-91/+95
allow an immediate teleport back. This is to help relieve a race condition when an agent teleports then immediately attempts to teleport back before the source region has properly cleaned up/demoted the old ScenePresence. This is rare in viewers but much more possible via scripting or region module. However, more needs to be done since virtually all clean up happens after the transit flag is cleared . Possibly need to add a 'cleaning up' state to in transit. This change required making the EntityTransferModule and HGEntityTransferModule per-region rather than shared, in order to allow separate transit lists. Changes were also required in LocalSimulationConnector. Tested in standalone, grid and with local and remote region crossings with attachments.
2012-05-03minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)1-2/+2
2012-04-27MapImageService: changed the event at which the map tiles are uploaded, ↵Diva Canto1-3/+12
because they were being uploaded before the region was registered with the grid
2012-04-26Tweak log messages on local region to region teleport path to help with ↵Justin Clark-Casey (justincc)1-5/+5
problem resolution.
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto3-12/+97
2012-03-30Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)1-6/+3
for granting rights via a module call. Rename IFriendsModule.GetFriendPerms() -> GetRightsGrantedByFriend() to be more self-documenting and consistent with friends module terminology. Add some method doc.
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.