aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Inventory (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-19/+43
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-12/+12
2017-01-02Create a generic way for passing constructor args to pluginsMelanie Thielker1-2/+10
The old syntax didn't allow for any parameters except for services listed in the ServiceList. Now, services loaded by other services can also be made to use different ini sections or have additional paramters. Syntax is: [<ExtraParam>@]...<DllName>[:<ClassName>]
2016-12-29Add a MaxRetries option to the inventory connector.Melanie Thielker1-2/+15
If clustered services are used, another try would go to another server and may succeed.
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-128/+277
2016-07-04Finally remove the requirement for an InventoryItem/FolderBase object toMelanie Thielker1-6/+8
be passed into inventory queries. This makes the API more homogenous and also will more clearly show coding errors related to HG inventory where the .Owner field has a meaning for a query but wasn't always set.
2015-09-11 put back diva's cache with her recent fix but also avoid duplicated ↵UbitUmarov1-1/+8
InventoryService.UpdateItem call in case of m_uploadState is complete. In that case CompleteItemUpload will do it
2015-09-11 inventory messUbitUmarov1-66/+219
2015-09-11Mantis #7720: AssetXferUploader was setting AssetID to UUID.Zero. Before ↵Diva Canto1-1/+9
that wouldn't matter (item would be a terminal object) but with the introduction of the item cache, it matters, because the object in the cache was being modified to have AssetID=UUID.Zero. Also keeping the item cache consistent when item properties change.
2015-09-11 remove diva's inventory cache since it seems to cause mantis 7720, broken ↵UbitUmarov1-219/+66
items UUID. Guess it doesn't cover all paths
2015-09-04Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto1-1/+1
OpenSim.Framework.
2015-08-08WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto1-1/+1
inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
2015-06-05More on mantis #7567. Two things:Diva Canto1-2/+4
- Increase the inventory cache timeout to 20 secs, so that the items will still be there when they are needed by the sim for rezzing - Before rezzing attachs, make a call to GetMultipleItems so to fetch them all at the same time
2015-06-04Mantis #7600. The warning message was not a symptom of a problem, it was ↵Diva Canto1-9/+11
just that the HG client was trying to fetch folders that aren't in the Suitcase, so that fails. This should make the warning message go away in that situation. (fetching those folders will still fail, because they aren't available over HG)
2015-06-04Making the inventory cache static, so that there's less timers.Diva Canto1-1/+1
2015-06-04Mantis #7567. Once again, avoiding prefetching linked items within linked ↵Diva Canto1-1/+9
folders. Also fixing the inventory connector GetMultipleItems, so that if everything is in the cache, it returns successfully rather than unsuccessfully.
2015-06-03Mantis #7567: added an 8-sec expiring item cache to the inventory network ↵Diva Canto1-6/+31
connector. This fixed the problem on my local test grid and generally made things faster. This cache has been needed for a while... there are many parts in the code where the sim gets an item multiple times in a short amount of time (rezzing attachs and objects, for example). Other minor changes: - added the scene as a parameter to the constructor od FetchInvDescHandler, so that I could see in which scene the handler was being called - brought linked items in linked folders back to being prefetched
2015-05-11Added inventory tests to Robust.Tests.Diva Canto1-1/+5
2015-05-08Another major overhaul of inventory downloading, this time pertaining to ↵Diva Canto1-0/+37
inventory links. Added yet another function to IInventoryService to get multiple items at once, so that fetching collections of linked items is done once per folder instead of once per item.
2015-05-08I shouldn't write code this early in the morning... Fixing a 'duh' on ↵Diva Canto1-1/+1
previous commit.
2015-05-08Additional debug message to help diagnose a warning message and exception ↵Diva Canto1-0/+1
related to previous commit. See http://opensimulator.org/mantis/view.php?id=7054#c28282
2015-05-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto1-1/+80
IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
2014-08-09Move the inventory request lock introduced in git master a58152bd to ↵Justin Clark-Casey (justincc)1-7/+4
HGInventoryBroker to preserve that behaviour there but allow 2 simultaneous inv requests (chiefly WebFetch) rather than 1 This lock serialized all requests and made the inventory throttling in WebFetch redundant. By moving this lock, two simultaneous requests may now take place which may help with http://opensimulator.org/mantis/view.php?id=7054
2014-07-26Add inventory.<url>.RequestsMade stat.Justin Clark-Casey (justincc)1-0/+21
This gives a count of all requests made to the remote inventory service. This is finer grained than inventory.httpfetch.ProcessedFetchInventoryRequests since such a request can be comprised of many individual inv service calls. In addition, this will count requests that don't go through the HTTP inventory fetch (e.g. HG, archiving, etc.)
2014-07-25Add undocumented RemoteRequestTimeout seconds parameter to xinventory requestsJustin Clark-Casey (justincc)1-4/+14
This is for testing purposes (chiefly http://opensimulator.org/mantis/view.php?id=7054) so many not be permanent Setting this will change the xinventory request timeout from the simulator from the default 100 seconds
2014-05-23Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto1-2/+3
2014-04-29Improved HTTP loggingOren Hurvitz1-1/+6
2014-04-23Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz1-40/+1
because it's Obsolete.
2013-06-13Make XInventoryServicesConnector properly handle a RESULT = false return for ↵Justin Clark-Casey (justincc)1-68/+56
methods where this contains failure rather than throwing an exception. Result = False is generated for methods such as GetFolderForType() when the other end wants to signal a failure of the operation in methods such as GetFolderForType()
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-05-09Where necessary, rename OpenSim/Services/Connectors/*.cs files to reflect ↵Justin Clark-Casey (justincc)1-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-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto1-8/+39
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.
2011-04-25Addresses mantis #5449 -- crashing exception in SendInventoryFolderDetails.Diva Canto1-6/+4
2011-04-12Moved 3 request handlers from OpenSim.Framework.Servers.HttpServer up to ↵Diva Canto1-1/+0
OpenSim.Framework -- just pasted them in WebUtil. This is so that code that uses the Service connectors don't need to include the HttpServer dll -- that was odd.
2011-02-04Added an additional debug message, and removed a bunch of files that weren't ↵Diva Canto4-1253/+0
being used anymore -- the old RemotsInventory connectors stuff.
2010-11-23Fix some crashes caused by the addition of the CreatorData columnMelanie1-1/+8
2010-11-22Fix some crashes caused by the addition of the CreatorData columnMelanie1-1/+8
2010-11-21Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto1-0/+3
themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
2010-09-12Formatting cleanup.Jeff Ames1-1/+1
2010-06-11Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)2-10/+0
GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
2010-06-11Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)2-0/+10
GetFolder(InventoryFolderBase folder) This involves no wire changes since the methods often just construct an InventoryFolderBase under the hood. This is in line with other methods that alraedy allow requests via uuid
2010-04-30* XInventory fairly tested, including for HG. Almost ready to switch.Diva Canto1-65/+54
* Removed a few buglets and added better exception handling.
2010-04-27XInventory connector/handler showing signs of life. Tested, but needs more ↵Diva Canto1-50/+78
testing.
2010-04-26RemoteXInventoryServiceConnector, the plugin region module. Not active in ↵Diva Canto1-0/+29
default configs yet.
2010-03-10Formatting cleanup. Add copyright notices.Jeff Ames1-1/+1
2010-03-09* Typo fixesJohn Hurliman1-1/+1
* Performance improvement in the expensive GenerateClientFlags()
2010-02-07Finished implementing the XInventory connector. Untested.Diva Canto1-10/+10
2010-01-08The first 2 handlers for the XInventory system.Melanie1-2/+2