aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IInventoryService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-3/+3
2016-07-04Finally remove the requirement for an InventoryItem/FolderBase object toMelanie Thielker1-2/+2
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-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-1/+8
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/+8
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-04-23Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz1-17/+0
because it's Obsolete.
2014-02-20If GetFolderContent called by WebFetchInvDescHandler.Fetch() fails for some ↵Justin Clark-Casey (justincc)1-1/+1
reason and returns null, log and return empty contents rather than throwing an exception that ends up terminating the simulator.
2011-04-11minor: add a bit more method doc to IInventoryService.GetItem()Justin Clark-Casey (justincc)1-1/+1
2010-08-23Fix bug in llGiveInventory() where items were disappearing on relogJustin Clark-Casey (justincc)1-2/+5
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
2010-06-11Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-8/+0
GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
2010-06-11Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-0/+8
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-01-04Mark GetUserInventory as obsolete. It is still used in the defaultMelanie1-0/+2
avatars module and in the REST inventory service, but future inventory services and/or connector will not include this method anymore, because it is dangerous on large inventory servers. Marking as obsolete to give an incentive to rewrite these services to use the recursive fetching or more targeted retrieval.
2009-08-22* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto1-0/+8
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/+2
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-1/+2
2009-08-13Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.Diva Canto1-0/+20
2009-08-13Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' ↵Diva Canto1-2/+2
starting to get on my nerves.
2009-08-10Added two new methods to IIventoryService -- GetFolderForType and ↵Diva Canto1-7/+23
GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
2009-08-10Changed RequestRootFolder to GetRootFolderDiva Canto1-1/+1
2009-06-11Fixes mantis #3803. Thanks jhurliman.diva1-1/+2
2009-06-08Added more functions to IInventoryService. Unsure about whether all of these ↵diva1-0/+35
are really necessary.
2009-06-07First draft of inventory service connectors, and service implementation. No ↵diva1-25/+6
handlers yet, this is just the OUT part for now. It's not active and nothing in the simulator uses this yet. Just checking it in to start sharing with others. There are a couple of interesting software design points that could use other devs opinions. Hopefully I added all needed files.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-04* Enhance some internal inventory data plugin behaviour to match what was ↵Justin Clarke Casey1-1/+1
probably intended * (e.g returning combined results of plugin rather than always the first result) * This will not affect any existing functionality
2009-03-23Committing partial work on passing folders across instances. This may crash.Melanie Thielker1-0/+8
2009-03-21Add a QueryItem method to the inventory subsystem. Currently implemented forMelanie Thielker1-0/+8
MySQL only, stubs for the others. This allows updating the cache with a single item from the database.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-4/+4
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-18Formatting cleanup.Jeff Ames1-2/+2
2008-07-24* minor: Rename IInterGridInventoryServices since it's inter service rather ↵Justin Clarke Casey1-1/+1
than inter grid
2008-07-23* refactor: break out inter grid inventory services furtherJustin Clarke Casey1-0/+5
* more to follow
2008-07-23* refactor: split out inventory services which are only used between ↵Justin Clarke Casey1-19/+5
non-region services * more to follow
2008-06-28plumbing for multiple inventory servers. Mostly done on the region server side. MW1-0/+4
TODO next is to make the login server read/write a users inventory from the correct server (the inventory url set in a userprofile) On the region side, although not tested with multiple servers it should work if that inventory url was set, and the inventory servers urls have been added to the CommunicationsManager, using CommunicationsManager.AddInventoryService(string hostUrl)
2008-06-11Mantis#1514. Thank you kindly, Boscata for an InventoryServer patchCharles Krinke1-0/+7
to allow the InventoryServer to work with MSSQL..
2008-05-16Formatting cleanup.Jeff Ames1-11/+11
2008-05-01* Refactor: Remove redundant userID from further up the inventory request chainJustin Clarke Casey1-1/+2
2008-05-01* Refactor: Remove the unused userID parameter that was being passed into ↵Justin Clarke Casey1-16/+16
almost every inventory method * This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-04-30* Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. ↵Teravus Ovares1-0/+7
Thanks A_Biondi and Melanie! * This builds but might not work. JustinCC will examine.. it may work out of the box.
2008-04-23* Implement proper emptying of trashcan on standaloneJustin Clarke Casey1-0/+12
* 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.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+0
(this took a while to run).
2008-04-11* Minor inventory code cleanup following on from last patchJustin Clarke Casey1-4/+0
2008-04-11* Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey1-3/+16
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.
2008-04-10* Refactor GetUsersInventory()Justin Clarke Casey1-2/+2
2008-04-10* Minor: get CreateNewUserInventory() to return true on successJustin Clarke Casey1-2/+3
2008-03-29* Refactor: Remove unused inventory methods, some of which weren't properly ↵Justin Clarke Casey1-16/+0
implemented anyway.
2008-03-28* Send full inventory folder skeleton to standalone client logins rather ↵Justin Clarke Casey1-0/+8
than just the root child folders * This may resolve some current problems with non root child folders on standalone installations. * A fix for the same problem in grid mode will come soon.
2008-03-18Formatting cleanup.Jeff Ames1-27/+26
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-13Added a method to access a named folder in a users inventory, to the ↵MW1-0/+8
inventory Database interfaces. This could be useful for adding a item to a users inventory from say a web front end application or some other third party application. [note the method is only currently implemented in the sqlite provider]
2008-02-11Documenting and minor tweaksJustin Clarke Casey1-0/+35
2008-02-05some small changes, like adding a couple of extra methods to ↵MW1-0/+2
IInventoryServices so that a check can be done to see if a inventory set exists for a certain user.