Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 1 | -0/+6 |
| | | | | as well | ||||
* | re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator() | Justin Clark-Casey (justincc) | 2011-03-10 | 1 | -3/+3 |
| | |||||
* | For objects loaded from an IAR, make sure the CreatorID points towards the ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 1 | -5/+5 |
| | | | | | | | | | 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-10 | 1 | -0/+6 |
| | | | | constructing the tar manually | ||||
* | Change existing users load iar test so that it fulfills it's original ↵ | Justin Clark-Casey (justincc) | 2011-03-10 | 1 | -10/+9 |
| | | | | | | 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-10 | 1 | -22/+0 |
| | | | | into a new test TestLoadIarToInventoryPaths() | ||||
* | Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately. | Justin Clark-Casey (justincc) | 2011-03-09 | 1 | -1/+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-09 | 1 | -531/+2 |
| | | | | test case parent | ||||
* | Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵ | Justin Clark-Casey (justincc) | 2011-03-09 | 1 | -50/+15 |
| | | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests | ||||
* | Construct test load iar only once and reuse for each test, rather than ↵ | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -8/+18 |
| | | | | recreating it every time | ||||
* | Remove the restriction that you have to be logged in when loading/saving iars | Justin Clark-Casey (justincc) | 2010-12-11 | 1 | -7/+7 |
| | | | | This is pointless as we're supplying the password on the command line | ||||
* | Fix unit test. | Diva Canto | 2010-11-29 | 1 | -5/+8 |
| | |||||
* | Preservation of creator information now also working in IARs. Cleaned up ↵ | Diva Canto | 2010-11-29 | 1 | -3/+2 |
| | | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function. | ||||
* | Formatting cleanup. | Jeff Ames | 2010-09-12 | 1 | -27/+27 |
| | |||||
* | Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item) | Justin Clark-Casey (justincc) | 2010-09-04 | 1 | -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. | ||||
* | very minor log message and var name tweaking for iar saving | Justin Clark-Casey (justincc) | 2010-08-28 | 1 | -1/+2 |
| | |||||
* | Improve liveness by operating on list copies of SOG.Children where appropriate | Justin Clark-Casey (justincc) | 2010-08-28 | 1 | -1/+1 |
| | |||||
* | allow inventory path specified in "load iar" to start with a / (e.g. ↵ | Justin Clark-Casey (justincc) | 2010-08-27 | 1 | -0/+24 |
| | | | | /Objects is now valid where it wasn't before) | ||||
* | refactor: Make IAR tests set up standard iar for loading | Justin Clark-Casey (justincc) | 2010-08-27 | 1 | -44/+60 |
| | |||||
* | Remove old test classes that don't actually test anything not done elsewhere | Justin Clark-Casey (justincc) | 2010-08-07 | 1 | -1/+1 |
| | | | | Also comment out log4net line in InventoryArchiverTests | ||||
* | Merge branch 'iar-merge' | Justin Clark-Casey (justincc) | 2010-08-04 | 1 | -5/+45 |
|\ | | | | | | | | | | | 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-30 | 1 | -5/+45 |
| | | | | | | | | | | | | 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 | ||||
* | | Fix obvious bug in XInventoryService.GetFolderItems() which was preventing ↵ | Justin Clark-Casey (justincc) | 2010-07-14 | 1 | -5/+120 |
|/ | | | | the iar module from being able to save single item iars | ||||
* | Fix problem where iar load would duplicate huge number of folders | Justin Clark-Casey (justincc) | 2010-06-18 | 1 | -26/+49 |
| | | | | | This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too | ||||
* | change TestPartExistingIarPath() to check appropriate folder creation | Justin Clark-Casey (justincc) | 2010-06-18 | 1 | -15/+23 |
| | | | | change some names in InventoryArchiveReadRequest in an effort to make the code more comprehendable | ||||
* | in IAR utils, return all folders that match a particular path rather than ↵ | Justin Clark-Casey (justincc) | 2010-06-18 | 1 | -5/+5 |
| | | | | just the first one | ||||
* | Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵ | Justin Clark-Casey (justincc) | 2010-06-11 | 1 | -2/+2 |
| | | | | | | GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd. | ||||
* | Allow IInventoryService.GetFolder(folderId, userId) as well as ↵ | Justin Clark-Casey (justincc) | 2010-06-11 | 1 | -2/+2 |
| | | | | | | | GetFolder(InventoryFolderBase folder) This involves no wire changes since the methods often just construct an InventoryFolderBase under the hood. This is in line with other methods that alraedy allow requests via uuid | ||||
* | create inactive test for iar folders/items merged with existing paths | Justin Clark-Casey (justincc) | 2010-06-11 | 1 | -2/+48 |
| | | | | add various helper functions for simplifying test readability | ||||
* | various refactorings on methods to replicate IAR paths to user inventory in ↵ | Justin Clark-Casey (justincc) | 2010-06-05 | 1 | -1/+1 |
| | | | | order to improve readability | ||||
* | refactor: do pathname trimming outside of ReplicateArchivePathToUserInventory() | Justin Clark-Casey (justincc) | 2010-06-04 | 1 | -1/+1 |
| | |||||
* | bring TestLoadIarV0_1AbsentUsers() back online | Justin Clark-Casey (justincc) | 2010-06-04 | 1 | -63/+56 |
| | |||||
* | bring TestIarV0_1WithEscapedChars() back online | Justin Clark-Casey (justincc) | 2010-06-04 | 1 | -89/+72 |
| | |||||
* | bring test TestLoadIarV0_1ExistingUsers() back online | Justin Clark-Casey (justincc) | 2010-06-04 | 1 | -81/+76 |
| | |||||
* | remove pointless mock user account service since the real one can now be ↵ | Justin Clark-Casey (justincc) | 2010-06-04 | 1 | -1/+1 |
| | | | | easily configured for test purposes | ||||
* | get TestSaveIarV0_1() working again by setting up an ↵ | Justin Clark-Casey (justincc) | 2010-06-04 | 1 | -2/+2 |
| | | | | | | OpenSim.Data.Null.UserAuthenticationData plugin additional tweaks to get this working properly | ||||
* | get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵ | Justin Clark-Casey (justincc) | 2010-05-28 | 1 | -106/+99 |
| | | | | didn't get the authentication server to work and my brain is about to fizzle out my ears | ||||
* | restore InventoryArchiverTests.TestReplicateArchivePathToUserInventory() to ↵ | Justin Clark-Casey (justincc) | 2010-05-28 | 1 | -51/+37 |
| | | | | work with the new UserAccountService/InventoryService | ||||
* | fission UserAccountService.HandleCreateUser() into two methods, one which ↵ | Justin Clark-Casey (justincc) | 2010-05-28 | 1 | -52/+50 |
| | | | | handles user command parsing and another which actually does the work | ||||
* | OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted. | Diva Canto | 2010-01-11 | 1 | -1/+1 |
| | |||||
* | * OMG! All but one references to UserProfileCacheService have been rerouted! | Diva Canto | 2010-01-10 | 1 | -474/+482 |
| | | | | | * HG is seriously broken here * Compiles. Untested. | ||||
* | Resolve issue where an iar load fails to preserve original item creators | Justin Clark-Casey (justincc) | 2009-11-26 | 1 | -1/+8 |
| | | | | | See http://opensimulator.org/mantis/view.php?id=4394 This change preserves the uuid when a profile is found rather than the ospa | ||||
* | Formatting cleanup. | Jeff Ames | 2009-11-23 | 1 | -4/+4 |
| | |||||
* | refactor some test asset creation into a helper class | Justin Clark-Casey (justincc) | 2009-11-12 | 1 | -8/+2 |
| | | | | remove mono compiler warning | ||||
* | minor: for now stop iar tests spewing log messages when running testsuite | Justin Clark-Casey (justincc) | 2009-11-12 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2009-11-09 | 1 | -4/+2 |
|\ | |||||
| * | Fixing the build break | John Hurliman | 2009-11-06 | 1 | -2/+1 |
| | | |||||
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | John Hurliman | 2009-11-05 | 1 | -9/+101 |
| |\ | |||||
| * | | Changing the AssetBase constructors to avoid initializing assets with an ↵ | John Hurliman | 2009-11-05 | 1 | -2/+1 |
| | | | | | | | | | | | | unknown asset type, and log an error if it ever does happen | ||||
* | | | * for iars, allow item names/folders including "/" to be escaped using "\/" | Justin Clark-Casey (justincc) | 2009-11-09 | 1 | -3/+5 |
| |/ |/| | | | | | | | * also, "\" has to be escaped as "\\" * add item name unit test for escaped characters |