Melanie Thielker
|
ea8f3c83bf
Finally remove the requirement for an InventoryItem/FolderBase object to
|
8 роки тому |
Diva Canto
|
d9a9f6f43b
Convert the enum to int before casting it to string for DB query
|
9 роки тому |
Diva Canto
|
959872315f
WARNING: massive refactor to follow libomv's latest changes regarding 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.
|
9 роки тому |
Oren Hurvitz
|
1fa3a6f1bd
When creating a new user, create the folders "Current Outfit", "Favorites", and the standard subfolders of "Calling Cards".
|
10 роки тому |
Oren Hurvitz
|
78733b979f
Log the user when an inventory operation is blocked because the item/folder isn't in the Suitcase
|
10 роки тому |
Oren Hurvitz
|
bf8f64e40e
Fixed error if a user didn't have a "Current Outfit" folder in their suitcase.
|
10 роки тому |
Oren Hurvitz
|
df49196e17
Log whenever an inventory operation is blocked because the item/folder isn't in the Suitcase
|
10 роки тому |
Oren Hurvitz
|
0fe08c8799
- When sending the "My Suitcase" folder to the client, always claim it has 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.)
|
10 роки тому |
Oren Hurvitz
|
018832522c
Removed GetUserInventory(). It wasn't being used, and was creating warnings because it's Obsolete.
|
10 роки тому |
Oren Hurvitz
|
df9845a283
When a user logs-in, automatically create the Suitcase folder
|
10 роки тому |
Justin Clark-Casey (justincc)
|
7f027552ec
If we find an existing suitcase folder in HGSuitcaseInventoryService.GetRootFolder(), then return that as a response rather than null.
|
10 роки тому |
Justin Clark-Casey (justincc)
|
346644016c
If HGSuitcaseInventoryService.GetRootFolder() fails to create a suitcase folder when required, then don't try to store the null and perform other operations on it.
|
11 роки тому |
Diva Canto
|
df63bfafef
Better version of previous commit
|
11 роки тому |
Diva Canto
|
f81e289a1b
Add the Current Outfit folder as an available folder in the SuitcaseInventory.
|
11 роки тому |
Justin Clark-Casey (justincc)
|
76b2b20f7e
minor: remove mono compiler warnings from HGSuitcaseInventoryService
|
11 роки тому |
Justin Clark-Casey (justincc)
|
824a4b4808
After calls to GetSuitcaseXFolder() in HGSuitcaseInventoryService, consistently check for null return and log warning rather than throw exception.
|
11 роки тому |
Diva Canto
|
bb44758179
Switched to using the other Util function with a default value.
|
11 роки тому |
Diva Canto
|
f1010d7b15
Moved the HG default variables out of [Startup] and into their own section [Hypergrid] in *Common.ini.example. Backwards compatible for now.
|
11 роки тому |
Diva Canto
|
0e8289cd00
Added new Util function for reading config vars that's more generic than the one I added yesterday -- this is for helping move config vars out of [Startup]
|
11 роки тому |
Diva Canto
|
e515cdddec
Simplification of HG configs: HomeURI and GatekeeperURI now are defined as 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.
|
11 роки тому |
Diva Canto
|
783443705d
HG Suitcase Inventory: if RootFolder type doesn't work, look for any folder with parentID=UUID.Zero
|
12 роки тому |
Diva Canto
|
7412795a0b
HG: flip all configs to HG2.0. PLEASE CHECK YOUR EXISTING HG CONFIGS AGAINST THESE.
|
12 роки тому |
Diva Canto
|
de69a24574
More on HG2.0: added the possibility of controlling the appearance that 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.
|
12 роки тому |
Diva Canto
|
190f9c258b
Restarting to work on HGSuitcaseInventoryService: added the ability for the outside world to retrieve appearance items. Not ACLed yet.
|
12 роки тому |
Justin Clark-Casey (justincc)
|
1926de5a05
Remove some mono compiler warnings
|
12 роки тому |
Diva Canto
|
d4a370a5f2
A few more minor improvements on Suitcase inventory service.
|
12 роки тому |
Diva Canto
|
0d566aa385
Better Suitcase Inventory Service.
|
12 роки тому |
Diva Canto
|
6a9f36788d
Deleted the unused and commented code from 2 commits ago.
|
12 роки тому |
Diva Canto
|
25b3edc21c
WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on 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.
|
12 роки тому |
Diva Canto
|
30db0ac5e2
Finish up the SuitcaseInventory service.
|
12 роки тому |