aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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-05-08Another major overhaul of inventory downloading, this time pertaining to ↵Diva Canto1-0/+17
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-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto1-0/+19
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-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
2014-06-15Manual change as per patch in mantis #7212. (the patch failed to apply, but ↵Diva Canto1-1/+1
the fix was good) Thanks FreakyTech.
2014-04-23Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz1-23/+0
because it's Obsolete.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-1/+1
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-06-05Strengthen some assumptions.Diva Canto1-0/+5
2012-11-13Last 27 modules' directives (service connectors out).Diva Canto1-0/+2
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto1-5/+38
2012-03-09More on inventory transfer hold ups:Diva Canto1-2/+18
- 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-12-29Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto1-2/+2
region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
2011-09-07When a region is added to the HG Inventory Broker, also pass this through to ↵Justin Clark-Casey (justincc)1-3/+24
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.
2011-09-06Add temporary debugging in HGInventoryBroker and ↵Justin Clark-Casey (justincc)1-14/+22
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
2011-09-05Allow the HGInventoryBroker to set the UserManager when it instantiates a ↵Justin Clark-Casey (justincc)1-2/+9
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
2011-08-17For now, supress 'OH NOES' warnings given by ↵Justin Clark-Casey (justincc)1-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
2011-05-27HG inventory transfers over the profile working.Diva Canto1-2/+9
2011-05-24Added necessary code to drop inventory on hg friends using the profile ↵Diva Canto1-0/+16
window, but can't test because this mechanism doesn't seem to work without a profile service.
2011-02-04Added an additional debug message, and removed a bunch of files that weren't ↵Diva Canto1-0/+5
being used anymore -- the old RemotsInventory connectors stuff.
2010-09-08Made the HG asset and inventory brokers use the Helo service in order to ↵Diva Canto1-6/+9
instantiate the right network connectors. Tested on Robust only.
2010-09-03minor: remove mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2010-07-14Removed some more debug messages.Diva Canto1-18/+16
2010-07-05Fixes additional bug reported in mantis #4841.Diva Canto1-6/+6
2010-06-11Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-10/+5
GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
2010-06-11Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-5/+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-05-02Renamed HGInventoryBroker2 to HGInventoryBroker.Diva Canto1-2/+2
2010-04-30* XInventory fairly tested, including for HG. Almost ready to switch.Diva Canto1-137/+75
* Removed a few buglets and added better exception handling.
2010-04-29Simplified RemoteXInventoryServiceConnector and HGBroker (2) by a lot.Diva Canto1-221/+250
2010-04-29Started redoing HGInventoryBroker for XInventory and with multi-protocol in ↵Diva Canto1-34/+83
mind. Unfinished.
2010-03-19Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake1-2/+2
Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
2010-01-30Bug fix: change HGBroker to a INonSharedRegionModuleDiva Canto1-66/+69
2010-01-29On the way to making HG inventory work. Inventory can now be accessed again. ↵Diva Canto1-110/+66
Assets are still broken.
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-10NetworkServersInfo removed from CommsManager.Diva Canto1-3/+5
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-38/+43
* HG is seriously broken here * Compiles. Untested.
2010-01-08Inching ahead... This compiles, but very likely does not run.Diva Canto1-1/+0
2009-12-21Bug fix: in standalone, HGInventoryBroker needs to get the local inventory ↵Diva Canto1-2/+13
server URL from NetworkServersInfo.
2009-10-12* Fixes http://opensimulator.org/mantis/view.php?id=4225Diva Canto1-0/+2
* Fixes http://opensimulator.org/mantis/view.php?id=3959 * Allows for viewing inventory textures outside home grid
2009-09-26Moved all HG1 operations to HGGridConnector.cs and ↵Diva Canto1-2/+7
HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo. Fixed small bugs with hyperlinked regions' map positions.
2009-08-22* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto1-0/+17
folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set. * Removed left-overs from AssetInventoryServer.
2009-08-19Added MoveItems, which is most useful upon viewer-delete inventory ↵Diva Canto1-0/+17
operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
2009-08-19A better purge of trash folder.Diva Canto1-7/+11
2009-08-18GetFolderItems implemented. It's not being called, but it might.Diva Canto1-2/+9
2009-08-18jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024Diva Canto1-2/+1
2009-08-16Making attachments work again. Tons of debug more. This needs more testing ↵Diva Canto1-1/+1
and a lot of cleaning.
2009-08-14Changed the way to get to the profile service. Changed GetSystemsFolder in ↵Diva Canto1-2/+14
HGBroker.
2009-08-14Doing session lookup in the right way.Diva Canto1-4/+5
2009-08-14Additional debug messages, and bug fix in ↵Diva Canto1-1/+10
RemoteInventoryServiceConnector.cs, where the scene reference wasn't being set.
2009-08-13Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.Diva Canto1-4/+13
2009-08-13Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' ↵Diva Canto1-4/+4
starting to get on my nerves.