aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Implement full grid mode Trash emptyJustin Clarke Casey2008-04-232-15/+7
| | | | | | | | | * Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder. * This will only work once both the region and grid servers have reached this revision. * You may also need to clear your cache before this will work * Refactoring to follow.
* allow for Inventory database source to be specified in mainSean Dague2008-04-231-2/+2
| | | | | | | | configs. This works with sqlite and nhibernate backends, and stays with default seperate ini files for mysql and mssql until someone writes those.
* changes to allow asset_source to be specified in the opensim.iniSean Dague2008-04-231-4/+4
| | | | | | | | this will work for sqlite and nhibernate, but will be ignored for mysql and mssql (reverting to their ini files) until someone writes that bit.
* * Implement proper emptying of trashcan on standaloneJustin Clarke Casey2008-04-234-11/+83
| | | | | | | * On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items * An implementation for grid mode will follow.
* * Fix for mantis #1025 - Region always reports that location is unavailable. ↵Adam Frisby2008-04-231-2/+3
| | | | Thanks Lulurun.
* * Fix mantis #842 - folders which are created but left named "New Folder" in ↵Justin Clarke Casey2008-04-231-1/+14
| | | | places other than directly under "My Inventory" should now be stored
* * Add folders and items locking in external manipulations of ↵Justin Clarke Casey2008-04-221-20/+35
| | | | | | | | InventoryFolderImpl carried out by CachedUserInfo * These will do temporarily pending refactoring
* * Add DeleteAllContents() method to InventoryFolderImpl - not yet used but ↵Justin Clarke Casey2008-04-221-39/+109
| | | | | | | | will be soon * Add locking to InventoryFolderImpl class - need more though.
* * Extend functionality to better handle delayed inventory service transfers ↵Justin Clarke Casey2008-04-221-9/+30
| | | | | | | | to create folder, move folder and purge folder. * Old 1.18 get folder functionality requires a little more consideration
* * Replace previous specific inventory callback code with generic alternativeJustin Clarke Casey2008-04-222-30/+40
|
* * Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey2008-04-222-8/+90
| | | | | | | | | received by a region from the inventory service * This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding * This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the attached patch set is centered around RemoteAdminPlugin and focuses mainly on making it more robust (i.e. more parameter checking and better error reporting) but also we've re-implemented the LoadTerrain stuff that got disabled during the terrain code reworking: * missing PostInitialize() calls on region modules that were loaded for regions created via RemoteAdmin's CreateRegion XmlRpc call * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost during the TerrainModule rework) * adds lots more parameter checking and error reporting to RemoteAdmin * adds a read-only property to RegionApplicationBase so that we can access the CommsManager * adds Exceptions to TerrainModule so that we get better error case feedback (and can report more meaningful errors in turn) * adds a CheckForTerrainUpdate() call to TerrainModule.LoadFromFile() to make terrain changes effective * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can retrieve Scenes not only by name but also by LLUUID cheers, dr scofield
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-2130-88/+71
| | | | (this took a while to run).
* * Remove user profile from cache when they log out from a region.Justin Clarke Casey2008-04-202-2/+25
| | | | | | | * A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
* * Tweak inventory login failure message to point to the region owner as ↵Justin Clarke Casey2008-04-202-3/+3
| | | | first point of call rather than the grid owner
* * Change lazy user inventory creation on first login to synchronous rather ↵Justin Clarke Casey2008-04-201-1/+1
| | | | | | | | than async. * Add more error checking so that we don't proceed if there has been a problem with inventory retrieval
* * On grid mode, if the inventory service is responding but returning an ↵Justin Clarke Casey2008-04-201-2/+2
| | | | | | | | empty response to a whole agent inventory request, then post an inventory login failure message. IMO, this is better than allowing the agent to login with an apparantly blank inventory.
* * Re-Fixed caps Teravus Ovares2008-04-173-14/+10
| | | | | * This fixes chi11ken's/OpenViewer's libsl cap issue.
* Update svn properties. Add copyright info to some source files.Jeff Ames2008-04-172-2/+54
|
* * A tweak of the caps system so that new caps have random paths instead of a ↵Teravus Ovares2008-04-151-0/+13
| | | | | | | | | | fixed path * This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously. * This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'. * The first seed cap request fails, the second one works. (this generates an error message on the console) * Experimental.
* * Make it easier to follow logins on the user server by changing and tidying ↵Justin Clarke Casey2008-04-151-18/+22
| | | | up log messages
* * Send a meaningful response to both the user server console and the client ↵Justin Clarke Casey2008-04-152-13/+41
| | | | if a login fails because the inventory service has failed.
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | ansgar and i have been working on an asterisk voice module that will allow us to couple opensim with an asterisk VoIP gateway. the patch below consists of * AsteriskVoiceModule region module: alternative to the plain-vanilla VoiceModule, will make XmlRpc calls out to an asterisk-opensim frontend * asterisk-opensim.py frontend, living in share/python/asterisk, takes XmlRpc calls from the AsteriskVoiceModule * account_update: to update/create a new SIP account (on ProvisionVoiceAccountRequest) * region_update: to update/create a new "region" conference call (on ParcelVoiceInfo) * a asterisk-opensim test client, living in share/python/asterisk, to exercise astersik-opensim.py this still does not give us voice in OpenSim, but it's another step on this path...
* * Working towards notifying the client if the inventory service has failed, ↵Justin Clarke Casey2008-04-142-6/+35
| | | | | | | | | rather than simply returning 0 items. * This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner. Also, this only applies to the 1.19.1.4 client onwards * Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
* * Fixed a few warnings.Teravus Ovares2008-04-141-3/+3
| | | | | | | * Added license info to a few files it was missing from. * Fleshed out the landbuy interfaces * If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone. Structured gridmode requires a lot more work, see the documentation in the example money module. The example money module is not secure especially in standalone mode.
* * Correct comment from previous patch - I'm not reversing mantis #912 at ↵Justin Clarke Casey2008-04-131-1/+1
| | | | all, which was in an entirely different location
* * Reverse mantis #912 since it was causing inventory to disappear from the ↵Justin Clarke Casey2008-04-131-1/+10
| | | | | | | | root folder on 1.19.1.4 non-cache clear relog. * The folder version numbers probably do need to be non-zero, but there is a further subtlety of the protocol to understand first
* * Put in crude poll waiting for 60 seconds for delayed user inventory ↵Justin Clarke Casey2008-04-131-2/+27
| | | | | | | | | delivery from the inventory service * This will reduce failures where the inventory server is simply slow * Still need to properly inform the user if the inventory service has failed altogether
* * Remove the worst excesses of my inventory debugging codeJustin Clarke Casey2008-04-111-6/+6
|
* * Eliminate a class of errors where an inventory request could be made ↵Justin Clarke Casey2008-04-111-11/+20
| | | | | | | | | before the region had completely received the inventory for the user. * A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future. * This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
* * Minor inventory code cleanup following on from last patchJustin Clarke Casey2008-04-112-5/+1
|
* * Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey2008-04-114-43/+106
| | | | | | | | at once, rather than each individual * This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
* * minor: replace test of CachedUserInfo.RootFolder != null with something ↵Justin Clarke Casey2008-04-112-14/+20
| | | | more readable, and make RootFolder get only
* * minor documenting, cleanup, renaming in user profile cache serviceJustin Clarke Casey2008-04-112-12/+29
|
* * documenting and minor refactoring in UserProfileCacheServiceJustin Clarke Casey2008-04-111-14/+24
|
* refactor: eliminate method in UserProfileCacheServiceJustin Clarke Casey2008-04-111-14/+13
|
* * Minor: really just comment and subsequent indentation adjustment. ↵Justin Clarke Casey2008-04-101-41/+55
| | | | Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding
* * Refactor GetUsersInventory()Justin Clarke Casey2008-04-102-3/+3
|
* Thank you kindly, A_Biondi for a patch that:Charles Krinke2008-04-101-0/+13
| | | | | | Handles the CreateItem cap request for all wearables, setting the proper value in inType and assType.
* * Minor: get CreateNewUserInventory() to return true on successJustin Clarke Casey2008-04-102-3/+8
|
* * Minor inventory message cleanup and documentationJustin Clarke Casey2008-04-101-3/+4
|
* renaming of attributes in UserAgentData for readabilitySean Dague2008-04-101-17/+17
|
* changing UserAgentData to use properties. This caused moreSean Dague2008-04-102-38/+38
| | | | | | | grief than expected, as monodevelop doesn't like to refactor properties of properties.
* further renaming of properties for claritySean Dague2008-04-104-22/+22
|
* moved fields to properties for UserDataProfile, which wasSean Dague2008-04-104-69/+69
| | | | | | | actually a little more work than I expected given the copious use of out params.
* further refactor and rename of InventoryFolderBase propertiesSean Dague2008-04-085-26/+26
| | | | | | to reflect what they really are.
* * Adjust some inventory lookup failure messages to reduce confusion as to ↵Justin Clarke Casey2008-04-081-5/+7
| | | | what just went wrong
* * Update code to use patched libsecondlife.dll which removes the problem ↵Justin Clarke Casey2008-04-082-11/+2
| | | | | | | | | where the AssetType enum was 'Primitive' rather than 'Object' * The libsecondlife patch was also applied to libsecondlife itself in r1714 * Many, many thanks to Dr Schofield (IBM) for his help on this :)
* more refactoring, this time on InventoryFolderBaseSean Dague2008-04-077-182/+182
| | | | | | | | * wrap attributes in properties * clean up names a little bit * clean up name styles
* Refactor InventoryItemBase to do the following:Sean Dague2008-04-074-61/+61
| | | | | | | | * wrap fields as Properties * rename some fields/properties to more sensible names * set style to PropName to match more standard C# approach