aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-31OpenSim found a new way for archiving to be spammy.onefang1-15/+9
The few resources that I have checked are actually missing from the database. All the ones I tried in world are not missing anything.
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang8-397/+541
2016-11-03Even OpenSim removed the silly IAR avatar presence check. Purge it with fire.David Walter Seikel1-139/+70
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel8-415/+706
2013-02-08On IAR loading, if loading of a coaleseced item entirely fails, then ↵Justin Clark-Casey (justincc)1-0/+18
continue with the IAR load rather than failing completely.
2012-11-17Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)2-5/+4
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
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto1-1/+1
2012-11-11One more module converted: InventoryArchiverModule.Diva Canto1-8/+31
2012-11-01Comment out checks not to overwrite existing IAR/OAR files for now on "save ↵Justin Clark-Casey (justincc)1-2/+2
iar/oar" since this causes problems for some backup systems. Needs more thought, maybe an explicit --force/--overwrite switch Comments on http://opensimulator.org/mantis/view.php?id=6389
2012-10-27minor: Fix verbose IAR save message to make it a bit clearer that item data ↵Justin Clark-Casey (justincc)1-1/+1
is being saved at that point, not asset data.
2012-10-26Fix "save iar" hanging permanently if the asset request phase times out.Justin Clark-Casey (justincc)3-14/+29
Unlike "save oar", this was happening on the same thread as the original request. The timeout happens on another so the original thread is never aborted. On "save oar" this leaves the thread hanging (still bad) but on "save iar" it left the console thread hanging. Temporary fix is to make "save iar" do asset request on a separate thread, like "save oar". Longer term fix will be to restructure asset save to use a ManualResetEvent rather than a separate timeout timer.
2012-10-24Get "save oar" and "save iar" to tell you in a more friendly manner if the ↵Justin Clark-Casey (justincc)1-0/+4
filename to save already exists, rather than exception throwing. Also changes ConsoleUtil.CheckFileExists to CheckFileDoesNotExist() since this is more meaningful in the context, even though it does result in double negatives.
2012-08-29Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)1-32/+32
folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.
2012-06-27Fix issue in InventoryArchiveTestCase where it didn't call down to ↵Justin Clark-Casey (justincc)1-1/+2
OpenSimTestCase.SetUp()
2012-06-27Automatically disable log4net before each regression test so that logging is ↵Justin Clark-Casey (justincc)1-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.
2012-04-27Use DotNetZip to compress OARs and IARs.Oren Hurvitz1-1/+4
DotNetZip provides much better compression than standard .NET.
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)3-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.
2012-04-13Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens2-84/+128
2012-03-17Clean up "save iar" helpJustin Clark-Casey (justincc)1-8/+8
2012-03-10minor: In IAR save, log when we start adding the control file rather than ↵Justin Clark-Casey (justincc)1-2/+3
saying afterwards that we added it.
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-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.
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