aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory (follow)
Commit message (Collapse)AuthorAgeFilesLines
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-084-9/+9
| | | | | | | 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!
* Another major overhaul of inventory downloading, this time pertaining to ↵Diva Canto2015-05-083-0/+30
| | | | 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.
* Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto2015-05-074-1/+38
| | | | 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.
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-2/+2
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-051-2/+3
| | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
* Move the inventory request lock introduced in git master a58152bd to ↵Justin Clark-Casey (justincc)2014-08-091-20/+43
| | | | | | | 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
* Manual change as per patch in mantis #7212. (the patch failed to apply, but ↵Diva Canto2014-06-151-1/+1
| | | | the fix was good) Thanks FreakyTech.
* Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz2014-04-234-51/+1
| | | | because it's Obsolete.
* Run slow operations in a separate thread, instead of using FireAndForget ↵Oren Hurvitz2014-03-251-2/+2
| | | | | | (which has a 1-minute timeout) Resolves http://opensimulator.org/mantis/view.php?id=6945
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-1/+1
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Some more fixes on strange behaviors of Unknown User, esp. related to large ↵Diva Canto2013-07-061-13/+14
| | | | messy inventories and esp. related to kokua
* MORE DEBUG. DON"T USE THIS.Diva Canto2013-07-061-3/+3
|
* Same fix to LocalInventoryServiceConnector.csDiva Canto2013-06-301-1/+2
|
* More on mantis #6625Diva Canto2013-06-291-1/+2
|
* Add the standard OpenSimulator copyright notice to the top of InventoryCache.csJustin Clark-Casey (justincc)2013-06-151-1/+28
|
* Adjust the locking on InventoryCache. Locking for r/w of the ExpiringCache ↵Justin Clark-Casey (justincc)2013-06-151-14/+23
| | | | isn't needed since it's thread safe but r/w of contained dictionaries isn't thread-safe
* Strengthen some assumptions.Diva Canto2013-06-051-0/+5
|
* Last 27 modules' directives (service connectors out).Diva Canto2012-11-133-0/+6
|
* Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2012-07-251-1/+1
| | | | This better reflects the long-term purpose of that project and matches Monitoring modules.
* Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto2012-04-063-12/+97
|
* Let grided simulators retrieve the user's inventory skeletonDiva Canto2012-03-271-1/+1
|
* 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.
* 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
|
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-11-141-2/+1
|
* 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
* remove mono compiler warningsJustin Clark-Casey (justincc)2011-08-231-1/+1
|
* 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
* 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.
* 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.
* Made things consistent between LocalInventoryServiceConnector and ↵Diva Canto2011-04-252-11/+32
| | | | RemoteXInventoryServiceConnector on GetFolderContent.
* Added an additional debug message, and removed a bunch of files that weren't ↵Diva Canto2011-02-042-362/+5
| | | | being used anymore -- the old RemotsInventory connectors stuff.
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-212-3/+46
| | | | | | 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).
* Removed a couple of very verbose debug messages.Diva Canto2010-10-311-2/+2
|
* Formatting cleanup.Jeff Ames2010-09-123-3/+3
|
* Made the HG asset and inventory brokers use the Helo service in order to ↵Diva Canto2010-09-081-6/+9
| | | | instantiate the right network connectors. Tested on Robust only.
* Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)2010-09-042-53/+1
| | | | | | | folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
* Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)2010-09-041-3/+3
| | | | The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2010-09-031-1/+1
|
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-242-3/+21
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* Add system lookup folder fix to the RemoveXInventoryServiceConnector as well ↵Justin Clark-Casey (justincc)2010-08-231-0/+17
| | | | since this presumably suffers from the same problem.
* Fix bug in llGiveInventory() where items were disappearing on relogJustin Clark-Casey (justincc)2010-08-232-9/+18
| | | | | This was a regression - the code to look up the correct type folder was no longer being called if items were added without a parent folder set This may have been broken since commit bd49985a on 2010-05-02
* Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)2010-08-234-5/+11
|
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2010-08-132-6/+4
|
* Removed some more debug messages.Diva Canto2010-07-141-18/+16
|