aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor: make boolean load indicators on load iars instance fieldsJustin Clark-Casey (justincc)2011-03-121-8/+11
|
* introduce iar load checks which make sure archive.xml comes first, then ↵Justin Clark-Casey (justincc)2011-03-121-1/+32
| | | | | | inventory nodes, then assets this is necessary for correct loading. "save iar" always saves in this order so there shouldn't be any problems - these checks are to give better feedback to other systems that may construct IARs.
* Add test for simple case where creator account with appropriate uuid exists ↵Justin Clark-Casey (justincc)2011-03-101-0/+32
| | | | on the target system for an iar load
* refactor: rename test user account fieldsJustin Clark-Casey (justincc)2011-03-103-35/+35
|
* factor out common scene setup code in InventoryArchiveTestCaseJustin Clark-Casey (justincc)2011-03-102-41/+33
|
* extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId ↵Justin Clark-Casey (justincc)2011-03-101-0/+6
| | | | as well
* re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)2011-03-102-5/+6
|
* For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)2011-03-102-8/+42
| | | | | | | | | OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
* When setting up default iar for testing, use iar archiving code rather than ↵Justin Clark-Casey (justincc)2011-03-103-13/+17
| | | | constructing the tar manually
* Change existing users load iar test so that it fulfills it's original ↵Justin Clark-Casey (justincc)2011-03-102-11/+15
| | | | | | intention (i.e. OSPA resolution, which is still active). Will need to write a separate test for the simplest case where creator accounts with appropriate uuids exist on iar load.
* Split the inventory path testing parts of TestLoadIarV0_1ExistingUsers() ↵Justin Clark-Casey (justincc)2011-03-102-23/+46
| | | | into a new test TestLoadIarToInventoryPaths()
* Make the item created in the default test iar an object rather than a scriptJustin Clark-Casey (justincc)2011-03-091-2/+27
|
* minor: change the order of some default iar setup in test caseJustin Clark-Casey (justincc)2011-03-091-5/+7
|
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-093-3/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* Split out path tests from InventoryArchiveTests. Factor common code into ↵Justin Clark-Casey (justincc)2011-03-093-531/+562
| | | | test case parent
* Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2011-03-092-50/+17
| | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
* Make -m shortcut option for --merge on load iar specific. Correct some log ↵Justin Clark-Casey (justincc)2011-03-081-7/+7
| | | | message origins.
* Construct test load iar only once and reuse for each test, rather than ↵Justin Clark-Casey (justincc)2011-03-051-8/+18
| | | | recreating it every time
* Addresses mantis #5360: CreatorData was being written as long as it wasn't ↵Diva Canto2011-02-031-0/+2
| | | | null. This made iars backwards incompatible when some items had non-null foreign creators. This patch adds an explicit option (-c) to preserve foreign creator information.
* Added a -v|verbose option to save iar.Diva Canto2011-01-082-1/+9
|
* uncomment "load iar" help lines which added the --merge optionJustin Clark-Casey (justincc)2010-12-181-5/+3
|
* minor: add [-p|--profile=<url>] to usage line that pops up if save iar ↵Justin Clark-Casey (justincc)2010-12-181-3/+3
| | | | console command isn't valid
* Raise maximum iar version that master can load to 1.x, so that it can load ↵Justin Clark-Casey (justincc)2010-12-181-1/+1
| | | | its own iars (oops)
* Remove the restriction that you have to be logged in when loading/saving iarsJustin Clark-Casey (justincc)2010-12-112-72/+70
| | | | This is pointless as we're supplying the password on the command line
* If we're saving an IAR with --profile information, then label this a version ↵Justin Clark-Casey (justincc)2010-12-111-5/+22
| | | | 1.0 IAR since it isn't compatible with older OpenSim releases.
* Fix unit test.Diva Canto2010-11-293-9/+16
|
* Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2010-11-294-35/+63
| | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
* minor: remove some old commented out codeJustin Clark-Casey (justincc)2010-10-301-22/+0
|
* Formatting cleanup.Jeff Ames2010-10-272-6/+6
|
* print IAR version number on console when savingJustin Clark-Casey (justincc)2010-10-221-2/+6
|
* Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)2010-10-221-2/+19
|
* start parsing iar control fileJustin Clark-Casey (justincc)2010-10-221-1/+19
| | | | This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
* write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)2010-10-221-4/+6
|
* Stop the InventoryTransferModule logging every IM notification it receives, ↵Justin Clark-Casey (justincc)2010-10-191-3/+3
| | | | even if they are nothing to do with it.
* Formatting cleanup.Jeff Ames2010-09-125-56/+56
|
* Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)2010-09-041-2/+1
| | | | | | | folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
* Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)2010-09-041-3/+3
| | | | The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2010-09-031-1/+1
|
* very minor log message and var name tweaking for iar savingJustin Clark-Casey (justincc)2010-08-282-5/+8
|
* Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)2010-08-281-1/+1
|
* minor: reduce log chattiness of "load iar" for IARs with lots of foldersJustin Clark-Casey (justincc)2010-08-271-1/+1
|
* allow inventory path specified in "load iar" to start with a / (e.g. ↵Justin Clark-Casey (justincc)2010-08-272-1/+33
| | | | /Objects is now valid where it wasn't before)
* refactor: Make IAR tests set up standard iar for loadingJustin Clark-Casey (justincc)2010-08-271-44/+60
|
* minor: change log message from info to debugJustin Clark-Casey (justincc)2010-08-261-1/+1
|
* Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)2010-08-231-10/+7
|
* refactor: remove Scene.SetRootAgentScene() in favour of existing event with ↵Justin Clark-Casey (justincc)2010-08-131-7/+8
| | | | same name
* Remove old test classes that don't actually test anything not done elsewhereJustin Clark-Casey (justincc)2010-08-071-1/+1
| | | | Also comment out log4net line in InventoryArchiverTests
* Merge branch 'iar-merge'Justin Clark-Casey (justincc)2010-08-043-80/+134
|\ | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs
| * Add --merge switch to load iar.Justin Clark-Casey (justincc)2010-06-303-83/+137
| | | | | | | | | | | | When this switch is used, iar folders are merged with existing same-name user inventory folders. This makes it a little easier to back and restore entire individual user inventories, among other things Added unit test to check behaviour
* | improve closing of load/save iar streams in the event of a problemJustin Clark-Casey (justincc)2010-07-144-157/+213
| |