aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue in InventoryArchiveTestCase where it didn't call down to ↵Justin Clark-Casey (justincc)2012-06-271-1/+2
| | | | OpenSimTestCase.SetUp()
* Automatically disable log4net before each regression test so that logging is ↵Justin Clark-Casey (justincc)2012-06-271-1/+1
| | | | | | | confined to a single test if it's turned on. This involves making test classes inherit from a common OpenSimTestCase. This will be applied to more classes as required.
* Use DotNetZip to compress OARs and IARs.Oren Hurvitz2012-04-271-1/+4
| | | | DotNetZip provides much better compression than standard .NET.
* Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2012-04-273-9/+9
| | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
* Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens2012-04-132-84/+128
|
* Clean up "save iar" helpJustin Clark-Casey (justincc)2012-03-171-8/+8
|
* minor: In IAR save, log when we start adding the control file rather than ↵Justin Clark-Casey (justincc)2012-03-101-2/+3
| | | | saying afterwards that we added it.
* Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-081-2/+2
| | | | | | | | | | | <category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
* Remove EXPERIMENTAL tags from load iar/save iar commands.Justin Clark-Casey (justincc)2012-02-251-3/+0
|
* Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer2012-02-032-6/+6
| | | | corresponding RemoteAdmin parameter
* Corrected console help texts for "save iar"Snoopy Pfeffer2012-02-031-2/+2
|
* Update save oar and save iar help responses to reflect new -h|--homenebadon2012-01-251-2/+2
| | | | | switches which replace -p|--profile ie: "save oar --home=http://hg.osgrid.org:80 region.oar"
* If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)2012-01-111-1/+4
| | | | rather than halting the IAR load with an exception.
* Comment out inventory folder bulk update code on InventoryAccepted message ↵Justin Clark-Casey (justincc)2011-10-271-12/+18
| | | | | | | | introduced in commit db91044 on Aug 22 2011 This should be unecessary since the folder update is already made at the time of the offer (and moved to trash if not accepted). This code was also not taking into account the situation where an item was accepted. Needs more fixing if this results in an aggression elsewhere.
* If the user receiving an inventory folder has left the scene by the time the ↵Justin Clark-Casey (justincc)2011-09-011-5/+4
| | | | | | acceptence message arrives, then don't send them an inventory update. Doing so causes a NullReferenceException
* Thanks Neil Canham for fixing bulk inventory updates, no sending ↵Snoopy Pfeffer2011-08-221-1/+12
| | | | BulkInventoryUpdate after accepting inventory items.
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-062-14/+14
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-063-20/+20
|
* tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)2011-06-141-1/+3
| | | | as well as item id and asset id
* Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)2011-06-041-4/+15
| | | | the same user. Extend TestGiveInventoryItem() to test giving back the same item.
* insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)2011-06-042-11/+37
| | | | rather than just the first one
* create TestGetInventoryItem()Justin Clark-Casey (justincc)2011-06-041-13/+7
|
* When saving an iar, don't chase down link asset IDs (since these points to ↵Justin Clark-Casey (justincc)2011-05-271-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
* Add --noassets option for "save iar"Justin Clark-Casey (justincc)2011-05-263-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.
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-213-3/+0
| | | | OpenSim.Tests.Common instead
* rename UserInventoryTestsUtils -> UserInventoryHelpers for consistencyJustin Clark-Casey (justincc)2011-05-211-4/+4
|
* rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)2011-05-213-15/+15
| | | | other test helper names
* Move mesh on/off swtich from [Startup] to [Mesh] in anticipation of future ↵Justin Clark-Casey (justincc)2011-04-181-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.
* bump default IAR version to 0.2 and 1.1 for the --profile version.Justin Clark-Casey (justincc)2011-04-181-2/+2
| | | | There are no changes in this bump, they just signal a point at which the control file comes first in the archive.
* Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)2011-04-181-0/+3
|
* add test to ensure that an IAR starts with the control fileJustin Clark-Casey (justincc)2011-04-182-11/+39
|
* get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)2011-04-153-9/+9
|
* extend TestLoadCoalesecedItem() to check loaded object ids and positionsJustin Clark-Casey (justincc)2011-04-151-1/+7
|
* Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)2011-04-153-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.
* implement stub TestLoadCoalesecedItem(). Doesn't do what it's meant to do yet.Justin Clark-Casey (justincc)2011-04-142-4/+48
|
* simplify InventoryArchiveTestCase setupJustin Clark-Casey (justincc)2011-04-141-18/+2
|
* simplify TestSaveItemToIarV0_1()Justin Clark-Casey (justincc)2011-04-141-18/+2
|
* suspend check that IAR control file is loaded for nowJustin Clark-Casey (justincc)2011-03-311-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
* factor inventory file loading into its own methodJustin Clark-Casey (justincc)2011-03-121-57/+80
|
* factor out iar asset load code into its own methodJustin Clark-Casey (justincc)2011-03-121-29/+40
|
* 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.