aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-25Remove EXPERIMENTAL tags from load iar/save iar commands.Justin Clark-Casey (justincc)1-3/+0
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer2-6/+6
corresponding RemoteAdmin parameter
2012-02-03Corrected console help texts for "save iar"Snoopy Pfeffer1-2/+2
2012-01-25Update save oar and save iar help responses to reflect new -h|--homenebadon1-2/+2
switches which replace -p|--profile ie: "save oar --home=http://hg.osgrid.org:80 region.oar"
2012-01-11If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)1-1/+4
rather than halting the IAR load with an exception.
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2-14/+14
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)3-20/+20
2011-06-14tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)1-1/+3
as well as item id and asset id
2011-06-04Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)1-4/+15
the same user. Extend TestGiveInventoryItem() to test giving back the same item.
2011-06-04insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)2-11/+37
rather than just the first one
2011-06-04create TestGetInventoryItem()Justin Clark-Casey (justincc)1-13/+7
2011-05-27When saving an iar, don't chase down link asset IDs (since these points to ↵Justin Clark-Casey (justincc)1-1/+4
other items rather than real assets) This bug had no practical effect other than to make "save iar" misreport the number of missing assets
2011-05-26Add --noassets option for "save iar"Justin Clark-Casey (justincc)3-18/+145
Like "save oar", this saves an iar without assets This can be useful for backup when you know the required assets will still be present (e.g. you're backing up the assets db separately). This also bumps the iar format version to 0.3 and 1.2 respectively. 0.3 is backward compatible with previous opensim versions 1.2 is used if the --profile switch is specified. It is only compatible with 0.7.1 presently.
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)3-3/+0
OpenSim.Tests.Common instead
2011-05-21rename UserInventoryTestsUtils -> UserInventoryHelpers for consistencyJustin Clark-Casey (justincc)1-4/+4
2011-05-21rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)3-15/+15
other test helper names
2011-04-18Move mesh on/off swtich from [Startup] to [Mesh] in anticipation of future ↵Justin Clark-Casey (justincc)1-0/+6
config parameters. Default remains true. OpenSimDefault.ini changed so if you haven't overriden this switch then you don't need to do anything.
2011-04-18bump default IAR version to 0.2 and 1.1 for the --profile version.Justin Clark-Casey (justincc)1-2/+2
There are no changes in this bump, they just signal a point at which the control file comes first in the archive.
2011-04-18Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)1-0/+3
2011-04-18add test to ensure that an IAR starts with the control fileJustin Clark-Casey (justincc)2-11/+39
2011-04-15get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)3-9/+9
2011-04-15extend TestLoadCoalesecedItem() to check loaded object ids and positionsJustin Clark-Casey (justincc)1-1/+7
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)3-26/+47
IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
2011-04-14implement stub TestLoadCoalesecedItem(). Doesn't do what it's meant to do yet.Justin Clark-Casey (justincc)2-4/+48
2011-04-14simplify InventoryArchiveTestCase setupJustin Clark-Casey (justincc)1-18/+2
2011-04-14simplify TestSaveItemToIarV0_1()Justin Clark-Casey (justincc)1-18/+2
2011-03-31suspend check that IAR control file is loaded for nowJustin Clark-Casey (justincc)1-1/+6
I was mistaken - some previous opensim versions don't save this file first. Will have to bump iar version number and only check iars after the bump
2011-03-12factor inventory file loading into its own methodJustin Clark-Casey (justincc)1-57/+80
2011-03-12factor out iar asset load code into its own methodJustin Clark-Casey (justincc)1-29/+40
2011-03-12refactor: make boolean load indicators on load iars instance fieldsJustin Clark-Casey (justincc)1-8/+11
2011-03-12introduce iar load checks which make sure archive.xml comes first, then ↵Justin Clark-Casey (justincc)1-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.
2011-03-10Add test for simple case where creator account with appropriate uuid exists ↵Justin Clark-Casey (justincc)1-0/+32
on the target system for an iar load
2011-03-10refactor: rename test user account fieldsJustin Clark-Casey (justincc)3-35/+35
2011-03-10factor out common scene setup code in InventoryArchiveTestCaseJustin Clark-Casey (justincc)2-41/+33
2011-03-10extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId ↵Justin Clark-Casey (justincc)1-0/+6
as well
2011-03-10re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)2-5/+6
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)2-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.
2011-03-10When setting up default iar for testing, use iar archiving code rather than ↵Justin Clark-Casey (justincc)3-13/+17
constructing the tar manually
2011-03-10Change existing users load iar test so that it fulfills it's original ↵Justin Clark-Casey (justincc)2-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.
2011-03-10Split the inventory path testing parts of TestLoadIarV0_1ExistingUsers() ↵Justin Clark-Casey (justincc)2-23/+46
into a new test TestLoadIarToInventoryPaths()
2011-03-09Make the item created in the default test iar an object rather than a scriptJustin Clark-Casey (justincc)1-2/+27
2011-03-09minor: change the order of some default iar setup in test caseJustin Clark-Casey (justincc)1-5/+7
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)3-3/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-03-09Split out path tests from InventoryArchiveTests. Factor common code into ↵Justin Clark-Casey (justincc)3-531/+562
test case parent
2011-03-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2-50/+17
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2011-03-08Make -m shortcut option for --merge on load iar specific. Correct some log ↵Justin Clark-Casey (justincc)1-7/+7
message origins.
2011-03-05Construct test load iar only once and reuse for each test, rather than ↵Justin Clark-Casey (justincc)1-8/+18
recreating it every time
2011-02-03Addresses mantis #5360: CreatorData was being written as long as it wasn't ↵Diva Canto1-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.
2011-01-08Added a -v|verbose option to save iar.Diva Canto2-1/+9
2010-12-18uncomment "load iar" help lines which added the --merge optionJustin Clark-Casey (justincc)1-5/+3