aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert the enum to int before casting it to string for DB queryDiva Canto2015-08-081-1/+1
|
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-081-41/+41
| | | | | | | 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!
* When creating a new user, create the folders "Current Outfit", "Favorites", ↵Oren Hurvitz2014-05-251-7/+4
| | | | | | and the standard subfolders of "Calling Cards". (If we don't create them now then they'll be created later by the viewer, but why wait.)
* Log the user when an inventory operation is blocked because the item/folder ↵Oren Hurvitz2014-05-191-14/+14
| | | | isn't in the Suitcase
* Fixed error if a user didn't have a "Current Outfit" folder in their suitcase.Oren Hurvitz2014-05-121-9/+12
| | | | This fixes http://opensimulator.org/mantis/view.php?id=7161
* Log whenever an inventory operation is blocked because the item/folder isn't ↵Oren Hurvitz2014-05-061-8/+52
| | | | in the Suitcase
* - When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz2014-05-061-7/+7
| | | | Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
* Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz2014-04-231-53/+0
| | | | because it's Obsolete.
* When a user logs-in, automatically create the Suitcase folderOren Hurvitz2014-03-241-15/+7
| | | | | This is only done if the Suitcase Inventory Service is used. Previously the Suitcase was created at a later time, which meant that it wasn't shown in the viewer until the viewer was restarted.
* If we find an existing suitcase folder in ↵Justin Clark-Casey (justincc)2014-03-201-0/+4
| | | | | | | | HGSuitcaseInventoryService.GetRootFolder(), then return that as a response rather than null. Fixes a regression from commit 346644016c529db6ed63aa866c7cf91cec1b635f (Fri Nov 15 23:10:59 2013) This is actually the reverse of zadark's patch in http://opensimulator.org/mantis/view.php?id=6969 But I'm assuming that was a mistake since clearly we should be returning this data - this was original behaviour
* If HGSuitcaseInventoryService.GetRootFolder() fails to create a suitcase ↵Justin Clark-Casey (justincc)2013-11-151-6/+13
| | | | | | | folder when required, then don't try to store the null and perform other operations on it. Patch from http://opensimulator.org/mantis/view.php?id=6844 Thanks Kira.
* Better version of previous commitDiva Canto2013-07-211-2/+6
|
* Add the Current Outfit folder as an available folder in the SuitcaseInventory.Diva Canto2013-07-211-0/+16
|
* minor: remove mono compiler warnings from HGSuitcaseInventoryServiceJustin Clark-Casey (justincc)2013-07-091-3/+3
|
* After calls to GetSuitcaseXFolder() in HGSuitcaseInventoryService, ↵Justin Clark-Casey (justincc)2013-06-121-1/+23
| | | | | | | consistently check for null return and log warning rather than throw exception. This was being done already in some places. If an exception is thrown it is now an error rather than debug
* Switched to using the other Util function with a default value.Diva Canto2013-02-271-1/+2
|
* Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto2013-02-271-1/+1
| | | | [Hypergrid] in *Common.ini.example. Backwards compatible for now.
* Added new Util function for reading config vars that's more generic than the ↵Diva Canto2013-02-221-1/+1
| | | | one I added yesterday -- this is for helping move config vars out of [Startup]
* Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto2013-02-211-2/+1
| | | | default under [Startup]. They can then be overwritten in the other sections (but probably shouldn't). I kept the existing code for backwards compatibility, so this should not cause any breaks from people's current configurations. But people should move to have these 2 vars under [Startup] -- see OpenSim.ini.example and Robust.HG.ini.example. And yes, both names now end with "URI" for consistency.
* HG Suitcase Inventory: if RootFolder type doesn't work, look for any folder ↵Diva Canto2012-11-031-0/+9
| | | | with parentID=UUID.Zero
* HG: flip all configs to HG2.0. PLEASE CHECK YOUR EXISTING HG CONFIGS AGAINST ↵Diva Canto2012-11-021-5/+5
| | | | THESE.
* More on HG2.0: added the possibility of controlling the appearance that ↵Diva Canto2012-09-151-0/+1
| | | | avies use to visit other grids. Not as good as I wanted, but good enough. Unfortunately we can't switch the appearance from under the avie without getting into a lot of weirdnesses because appearance is viewer-controlled. So instead, when this control is on, I'm disallowing HG-TP unless the user is wearing an allowed HG appearance -- the user gets a warning and needs to switch appearance. WARNING: I'm still not committing the config vars because this is still not ready for ppl to test.
* Restarting to work on HGSuitcaseInventoryService: added the ability for the ↵Diva Canto2012-09-131-4/+56
| | | | outside world to retrieve appearance items. Not ACLed yet.
* Remove some mono compiler warningsJustin Clark-Casey (justincc)2012-06-301-2/+2
|
* A few more minor improvements on Suitcase inventory service.Diva Canto2012-04-071-7/+6
|
* Better Suitcase Inventory Service.Diva Canto2012-04-061-48/+55
|
* Deleted the unused and commented code from 2 commits ago.Diva Canto2012-04-061-594/+0
|
* WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto2012-04-061-36/+712
| | | | purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
* Finish up the SuitcaseInventory service.Diva Canto2012-03-291-120/+218
|
* HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto2012-03-281-0/+368
hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.