aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-08Convert the enum to int before casting it to string for DB queryDiva Canto1-1/+1
2015-08-08WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto1-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!
2014-05-25When creating a new user, create the folders "Current Outfit", "Favorites", ↵Oren Hurvitz1-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.)
2014-05-19Log the user when an inventory operation is blocked because the item/folder ↵Oren Hurvitz1-14/+14
isn't in the Suitcase
2014-05-12Fixed error if a user didn't have a "Current Outfit" folder in their suitcase.Oren Hurvitz1-9/+12
This fixes http://opensimulator.org/mantis/view.php?id=7161
2014-05-06Log whenever an inventory operation is blocked because the item/folder isn't ↵Oren Hurvitz1-8/+52
in the Suitcase
2014-05-06- When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz1-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.)
2014-04-23Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz1-53/+0
because it's Obsolete.
2014-03-24When a user logs-in, automatically create the Suitcase folderOren Hurvitz1-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.
2014-03-20If we find an existing suitcase folder in ↵Justin Clark-Casey (justincc)1-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
2013-11-15If HGSuitcaseInventoryService.GetRootFolder() fails to create a suitcase ↵Justin Clark-Casey (justincc)1-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.
2013-07-21Better version of previous commitDiva Canto1-2/+6
2013-07-21Add the Current Outfit folder as an available folder in the SuitcaseInventory.Diva Canto1-0/+16
2013-07-09minor: remove mono compiler warnings from HGSuitcaseInventoryServiceJustin Clark-Casey (justincc)1-3/+3
2013-06-12After calls to GetSuitcaseXFolder() in HGSuitcaseInventoryService, ↵Justin Clark-Casey (justincc)1-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
2013-02-27Switched to using the other Util function with a default value.Diva Canto1-1/+2
2013-02-27Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto1-1/+1
[Hypergrid] in *Common.ini.example. Backwards compatible for now.
2013-02-22Added new Util function for reading config vars that's more generic than the ↵Diva Canto1-1/+1
one I added yesterday -- this is for helping move config vars out of [Startup]
2013-02-21Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto1-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.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-69/+7
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-03HG Suitcase Inventory: if RootFolder type doesn't work, look for any folder ↵Diva Canto1-0/+9
with parentID=UUID.Zero
2012-11-02HG: flip all configs to HG2.0. PLEASE CHECK YOUR EXISTING HG CONFIGS AGAINST ↵Diva Canto1-5/+5
THESE.
2012-09-15More on HG2.0: added the possibility of controlling the appearance that ↵Diva Canto1-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.
2012-09-13Restarting to work on HGSuitcaseInventoryService: added the ability for the ↵Diva Canto1-4/+56
outside world to retrieve appearance items. Not ACLed yet.
2012-06-30Remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+2
2012-04-07A few more minor improvements on Suitcase inventory service.Diva Canto1-7/+6
2012-04-06Better Suitcase Inventory Service.Diva Canto1-48/+55
2012-04-06Deleted the unused and commented code from 2 commits ago.Diva Canto1-594/+0
2012-04-06WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto1-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.
2012-03-29Finish up the SuitcaseInventory service.Diva Canto1-120/+218
2012-03-28HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto1-52/+104
hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.
2012-03-27Amend to previous commit regarding the config name. Bugs bite.Diva Canto1-2/+0
2012-03-27Send the config section name up to the service classes themselves ↵Diva Canto1-34/+6
(XInventory and Assets).
2012-01-26HG Inventoty: Guard against items not found.Diva Canto1-6/+7
2012-01-12HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto1-3/+6
location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
2011-05-27HG inventory transfers over the profile working.Diva Canto1-0/+2
2011-01-17Put the 'new' back to avoid a warning. Yes, we want to hide it.Diva Canto1-1/+1
2011-01-18minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2010-12-01Added some comments. Better than listening to the boring speaker...Diva Canto1-0/+7
2010-11-25WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto1-8/+39
capability to preserve creator information on HG asset transfers. Added a new HGAssetService that is intended to be the one outside the firewall. It processes and filters the assets that go out of the grid. Also fixed the normal AssetService to do special things for the main instance (console commands, etc). Moved HGInventoryService to OpenSim.Services.HypergridService. Changed the way the login service gets the ServiceURL configs.
2010-09-03minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2010-06-29Buglet fix in HG inventory. Make sure that GetRootFolder for non-HG ↵Diva Canto1-2/+2
xinventory is the folder "My Inventory". Also changed the Suitcase folder name to "My Suitcase".
2010-01-31* Simplified the configuration by having [DatabaseService] in itDiva Canto1-1/+1
* Fixed configuration issue for HGInventoryServerInConnector * Corrected typos in debug messages
2010-01-31* Added a few files that were missing in the repo.Diva Canto1-0/+302
* New HGInventoryService which allows restricted access to inventory while outside
2009-06-15Moving these nice HG connectors to their homes.diva1-242/+0
2009-06-10Heart surgery no.2: the inventory service hooks. diva1-18/+82
Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-07First draft of inventory service connectors, and service implementation. No ↵diva1-58/+57
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-22Bug fix in HGAssetService. POSTs back home (standalone) should now work.diva1-1/+1
2009-05-22cleaning out warnings.Dr Scofield1-1/+1
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?