aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MapImageService: changed the event at which the map tiles are uploaded, ↵Diva Canto2012-04-271-3/+12
| | | | because they were being uploaded before the region was registered with the grid
* Tweak log messages on local region to region teleport path to help with ↵Justin Clark-Casey (justincc)2012-04-261-5/+5
| | | | problem resolution.
* Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto2012-04-063-12/+97
|
* Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)2012-03-301-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.
* Let grided simulators retrieve the user's inventory skeletonDiva Canto2012-03-271-1/+1
|
* Fix a bug where logins to standalones would fail if the RegionReady module ↵Justin Clark-Casey (justincc)2012-03-191-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
* Region access control! Region operators can now specify things like ↵Diva Canto2012-03-172-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.
* More on inventory transfer hold ups:Diva Canto2012-03-092-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.
* Merge branch 'xassetservice'Justin Clark-Casey (justincc)2012-03-091-2/+5
|\
| * Start by adding XAssetService as a copy of the existing AssetService.Justin Clark-Casey (justincc)2012-03-021-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.
* | Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-081-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.
* | Remove static m_MainInstance in LocalGridServiceConnector.Justin Clark-Casey (justincc)2012-03-061-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.
* Add a position parameter to region crossing of objects. This avoids theMelanie2012-02-232-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.
* This should smooth movement in heteregeneous networks by a lot: cache the ↵Diva Canto2012-02-182-2/+40
| | | | region by position instead of looking it up all the time -- this was being done during the main update loop!
* Allow retrival of multiple user records in one operation, analog to presenceMelanie2012-01-162-0/+9
|
* Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)2012-01-021-0/+2
| | | | hunting. No functional changes.
* Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto2011-12-291-2/+2
| | | | region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
* Deleted two obsolete files in Inventory modules.Diva Canto2011-12-292-460/+0
|
* Deleted unused methods from HGAssetBrokerDiva Canto2011-12-291-18/+0
|
* Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)2011-12-031-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.
* Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for ↵Justin Clark-Casey (justincc)2011-11-191-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.
* minor: Make HelloNeighbour messages more informativeJustin Clark-Casey (justincc)2011-11-191-5/+10
|
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-11-141-2/+1
|
* Add optional getauthinfo and setauthinfo authentication service calls.Justin Clark-Casey (justincc)2011-10-241-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
* Don't try and resolve user account for authorization if the agent has come ↵Justin Clark-Casey (justincc)2011-09-241-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.
* refactor: move estate owner setup code into separate methodJustin Clark-Casey (justincc)2011-09-161-0/+2
|
* Correctly create a freshly created estate owner's default items and avatar ↵Justin Clark-Casey (justincc)2011-09-161-11/+15
| | | | entries on standalone if applicable.
* Shuffle order of code in invnetory connector GetFolderContent() calls to ↵Justin Clark-Casey (justincc)2011-09-152-12/+18
| | | | avoid a possible race condition
* Use a copy of the inventory items list to register users in the thread ↵Justin Clark-Casey (justincc)2011-09-092-2/+8
| | | | | | started by GetFolderContent(), to protect ourselves against callers modifying lists Hopefully this addresses http://opensimulator.org/mantis/view.php?id=5681
* When a region is added to the HG Inventory Broker, also pass this through to ↵Justin Clark-Casey (justincc)2011-09-073-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.
* Add temporary debugging in HGInventoryBroker and ↵Justin Clark-Casey (justincc)2011-09-062-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
* Allow the HGInventoryBroker to set the UserManager when it instantiates a ↵Justin Clark-Casey (justincc)2011-09-052-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
* Don't set a GridUser entry for NPCs.Justin Clark-Casey (justincc)2011-08-311-1/+4
| | | | Resolves http://opensimulator.org/mantis/view.php?id=5665
* Fix bug in persisting saved appearances for npcsJustin Clark-Casey (justincc)2011-08-301-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
* remove mono compiler warningsJustin Clark-Casey (justincc)2011-08-234-7/+2
|
* For now, supress 'OH NOES' warnings given by ↵Justin Clark-Casey (justincc)2011-08-171-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
* comment out some of the currently less useful debug log messagesJustin Clark-Casey (justincc)2011-08-112-2/+3
|
* Change GridService.GetRegionByName() to only return info if there is an ↵Justin Clark-Casey (justincc)2011-08-021-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.
* Pass the first name and last name from the agent circuit data to the ↵Justin Clark-Casey (justincc)2011-07-232-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
* stop the local inventory services connector from logging an error when an ↵Justin Clark-Casey (justincc)2011-07-081-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.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2011-06-162-2/+169
|\
| * Added an expiring cache for region information to theMic Bowman2011-06-152-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.
* | Added a couple of guards and warnings to the MapImage/MapImageServiceModule.Diva Canto2011-06-161-2/+12
|/
* First pass at making the V2 map work. Standalones only for now. There are ↵Diva Canto2011-06-121-0/+232
| | | | some issues with the zoom level -- TBD.
* HG inventory transfers over the profile working.Diva Canto2011-05-271-2/+9
|
* Added necessary code to drop inventory on hg friends using the profile ↵Diva Canto2011-05-241-0/+16
| | | | window, but can't test because this mechanism doesn't seem to work without a profile service.
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-212-2/+0
| | | | OpenSim.Tests.Common instead
* Check for RegionID instead of RegionHandle. Other minor tweaksDiva Canto2011-04-301-2/+2
|
* Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto2011-04-282-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.
* Made things consistent between LocalInventoryServiceConnector and ↵Diva Canto2011-04-252-11/+32
| | | | RemoteXInventoryServiceConnector on GetFolderContent.