aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryItemBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-081-5/+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!
* - When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz2014-05-061-0/+4
| | | | 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.)
* When updating the CreatorId of an inventory item, automatically update the ↵Oren Hurvitz2014-03-241-1/+4
| | | | | | CreatorIdAsUuid field as well Resolves http://opensimulator.org/mantis/view.php?id=6933
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-1/+1
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)2012-11-171-17/+5
| | | | | This was necessary historically but hasn't been for many years. Can still get CreatorIdAsUuid, which is really just a UUID cached version of the string CreatorId
* Initialize InventoryItemBase.creatorData properly. Could throw.Diva Canto2010-11-231-1/+1
|
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-211-0/+50
| | | | | | themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
* Formatting cleanup.Jeff Ames2009-10-011-20/+20
|
* IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld ↵Diva Canto2009-08-161-0/+6
| | | | UUID.
* Redirected all calls to CachedUserProfile methods to the inventory service. ↵Diva Canto2009-08-121-1/+10
| | | | Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * reseparate inventory item creator id and creator uuidJustin Clarke Casey2009-05-251-6/+18
| | | | | | | | | * unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync * I think the problems last time were due to a serialization change * So the major inteface version has been bumped to take care of any lingering issues here. * This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
* another possible cause of some of the inventory wierdness is the 1/2 implementedSean Dague2009-05-081-9/+5
| | | | | | | OSP resolver, and the caching of the uuid seperate from the string that is a UUID. Change this behavior back to something that ensures the data for the 2 is the same. Put the 2 unit tests that depend on the new behavior into ignore state.
* * Change automatic properties back to manual get/setJustin Clarke Casey2009-05-051-22/+220
| | | | | | | * Automatic properties are only supported after .Net 2.0, causing these to fail when building via nant on Windows (and probably visual c# 2005 too) * Hopefully these can be used once building support in Visual C# 2005 is dropped.
* * If an item creator id contains an iar loaded name, create a temporary ↵Justin Clarke Casey2009-05-051-20/+12
| | | | profile and hashed UUID to represent the user
* * Fix http://opensimulator.org/mantis/view.php?id=3585Justin Clarke Casey2009-05-051-16/+22
| | | | | | * Make public variables properties instead, as there is a difference
* Add copyright header. Formatting cleanup. Ignore some generated files.Jeff Ames2009-05-051-8/+8
|
* Fix crash on loginMelanie Thielker2009-05-051-1/+1
|
* Fix the AsUuid thingyMelanie Thielker2009-05-041-4/+4
|
* Fox the InventoryItem.CreatorIdAsUuid propertyMelanie Thielker2009-05-041-1/+13
|
* * Insert profile references for creators for items saved into iarsJustin Clarke Casey2009-05-041-43/+32
|
* * minor: remove some mono compiler warnings, minor cleanupJustin Clarke Casey2009-05-041-1/+12
|
* * Refactor: Simplify InventoryFolderImpl. No functional change.Justin Clarke Casey2009-05-041-168/+63
|
* * Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey2009-04-081-4/+29
| | | | | | | | | as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
* * Establish InventoryArchiveSaved event for unit testsJustin Clarke Casey2009-02-171-1/+1
| | | | | | * This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
* * Establish a common InventoryNodeBase class from InventoryItemBase and ↵Justin Clarke Casey2009-02-111-32/+2
| | | | InventoryFolderBase
* Add group permissions to agent inventory.Melanie Thielker2008-11-141-0/+11
| | | | | | | | | | Contains a migration. May contain nuts. Please back up your inventory data store. This revision changes the interface version!! No older regions can connect to these new UGAIM, and the new regions can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss Currently persisted on MySQL only.
* Set a default creation date on inventory and task inventory itemsMelanie Thielker2008-10-211-0/+6
|
* reformat spacing on some property declarations. Take away the virtualSean Dague2008-09-121-73/+33
| | | | | | | attribute as that was a left over of an nhibernate approach that isn't used in the current nhibernate code anyway.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-13/+13
| | | | | | | * 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.
* make lots of properties virtual, which lets nhibernate doSean Dague2008-06-251-20/+20
| | | | | | some proxy object optimizations.
* Formatting cleanup.Jeff Ames2008-05-161-10/+10
|
* * Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. ↵Teravus Ovares2008-04-301-9/+109
| | | | | | | Thanks A_Biondi and Melanie! * This builds but might not work. JustinCC will examine.. it may work out of the box.
* * Spring cleaning.Adam Frisby2008-04-291-118/+79
| | | | | * Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
* replace hard tabs with 4 spaces to be consistant in the source.Sean Dague2008-04-241-78/+78
| | | | | | Please adjust your editors to not use hard tabs.
* * Implement proper emptying of trashcan on standaloneJustin Clarke Casey2008-04-231-2/+0
| | | | | | | * 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.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-3/+0
| | | | (this took a while to run).
* Refactor InventoryItemBase to do the following:Sean Dague2008-04-071-13/+132
| | | | | | | | * wrap fields as Properties * rename some fields/properties to more sensible names * set style to PropName to match more standard C# approach
* break out the 5 classes that were Sean Dague2008-04-071-197/+0
| | | | | | InventoryItemBase into seperate .cs files 1 per class
* * Send full inventory folder skeleton to standalone client logins rather ↵Justin Clarke Casey2008-03-281-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.
* Formatting cleanup.Jeff Ames2008-03-181-26/+26
|
* Correctly output library inventory folder type and version informationJustin Clarke Casey2007-12-311-2/+2
|
* * Optimized usingslbsa712007-12-271-1/+1
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Grid Inventory feature upgrade: renaming folders should now be correct, ↵Brian McBee2007-12-151-0/+6
| | | | | | | | subfolders work, moving folders works. Tested only in MYSQL, but may work in MSSQL and sqlite. Probably not working in standalone mode.
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-1/+1
| | | | notice of doom
* This patch fixes mantis 105. Basically, it stops the index exception whenSean Dague2007-12-081-2/+2
| | | | | | | | | no root folder is found and it makes the user server wait longer for the inventory server to do its work. From Justin Casey (IBM)
* Initial working Grid Inventory server. Only been tested on a very small ↵MW2007-12-011-0/+19
| | | | | | | grid, so likely to have problems on a larger grid with more people? To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
* * Diuerse beavtificatemslbsa712007-11-011-12/+8
|
* * Moved OpenSim/Framework/General to OpenSim/Framework for great justice.lbsa712007-10-311-0/+273