aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-10re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)1-2/+3
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)1-3/+37
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-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)1-0/+2
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2010-12-18Raise maximum iar version that master can load to 1.x, so that it can load ↵Justin Clark-Casey (justincc)1-1/+1
its own iars (oops)
2010-11-29Fix unit test.Diva Canto1-1/+1
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto1-5/+6
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-10-27Formatting cleanup.Jeff Ames1-4/+4
2010-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-2/+19
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+19
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-2/+19
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+19
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-09-12Formatting cleanup.Jeff Ames1-9/+9
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)1-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.
2010-08-27minor: reduce log chattiness of "load iar" for IARs with lots of foldersJustin Clark-Casey (justincc)1-1/+1
2010-07-14improve closing of load/save iar streams in the event of a problemJustin Clark-Casey (justincc)1-39/+41
2010-07-12uncomment a load iar code line I accidentally commented in the last commitJustin Clark-Casey (justincc)1-1/+1
hooray for automated tests
2010-07-12comment out a lot of the debug log messages when loading an iarJustin Clark-Casey (justincc)1-10/+10
these are very redundant now and cause issues when loading large iars diva, you may want to cherry pick this for 0.7-post-fixes since it only comments out log lines and nothing else
2010-06-30Add --merge switch to load iar.Justin Clark-Casey (justincc)1-49/+61
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
2010-06-18Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)1-3/+3
This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
2010-06-18change TestPartExistingIarPath() to check appropriate folder creationJustin Clark-Casey (justincc)1-17/+22
change some names in InventoryArchiveReadRequest in an effort to make the code more comprehendable
2010-06-18in IAR utils, return all folders that match a particular path rather than ↵Justin Clark-Casey (justincc)1-5/+8
just the first one
2010-06-11create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)1-34/+0
add various helper functions for simplifying test readability
2010-06-05various refactorings on methods to replicate IAR paths to user inventory in ↵Justin Clark-Casey (justincc)1-81/+127
order to improve readability
2010-06-04refactor: do pathname trimming outside of ReplicateArchivePathToUserInventory()Justin Clark-Casey (justincc)1-10/+7
2010-05-28Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)1-2/+1
So, something like load iar Justin Clark-Casey / PASSWORD http://justincc.org/downloads/iars/my-great-items.iar Will load my IAR directly from the web.
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+1
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-7/+7
* HG is seriously broken here * Compiles. Untested.
2010-01-09Less refs to UserProfileCacheService. Compiles but likely doesn't run.Diva Canto1-1/+1
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-2/+2
2009-12-23Fix a bounds exception I came across in IAR restoreMelanie1-0/+5
2009-12-22Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the ↵Diva Canto1-1/+7
stream can be closed.
2009-11-26Resolve issue where an iar load fails to preserve original item creatorsJustin Clark-Casey (justincc)1-0/+8
See http://opensimulator.org/mantis/view.php?id=4394 This change preserves the uuid when a profile is found rather than the ospa
2009-11-24Make load/save iar slightly better in the face of io failures by always ↵Justin Clark-Casey (justincc)1-31/+37
attempting to close the streams
2009-11-23Formatting cleanup.Jeff Ames1-3/+3
2009-11-13minor: A further minor tweak to reduce iar load logging verbosityJustin Clark-Casey (justincc)1-2/+2
2009-11-09refactor out iar escapingJustin Clark-Casey (justincc)1-8/+1
2009-11-09minor: correct slightly over-enthusiastic load iar logging messageJustin Clark-Casey (justincc)1-2/+1
2009-11-09fix load iar regression accidentally introduced in last commitJustin Clark-Casey (justincc)1-1/+1
2009-11-09minor: tweak load iar messages to be slightly less verboseJustin Clark-Casey (justincc)1-4/+5
2009-11-09minor: provide updates on number of assets loaded while executing "load iar"Justin Clark-Casey (justincc)1-2/+9
2009-11-09refactor: break actual item load in iar into separate methodJustin Clark-Casey (justincc)1-28/+46
2009-11-09minor: remove some old commented out load iar codeJustin Clark-Casey (justincc)1-30/+0
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-3/+4
unknown asset type, and log an error if it ever does happen
2009-11-05* Escape / character when saving items and folders in an iar so that the ↵Justin Clark-Casey (justincc)1-2/+11
loader doesn't barf
2009-10-01Formatting cleanup.Jeff Ames1-6/+6
2009-09-11Remove bug where iar created folders could not be deleted after relogJustin Clark-Casey (justincc)1-2/+6
New folders need to be created with AssetType.Unknown rather than AssetType.Folder!
2009-09-10fix spurious loading... messages on iar load by creating folders as version ↵Justin Clark-Casey (justincc)1-1/+1
1 rather than version 0
2009-09-09Add test to check behaviour if an iar is loaded where no user profile exists ↵Justin Clark-Casey (justincc)1-0/+2
for the creators Disable generation of temporary profiles for now, instead record loading user as creator