Commit Graph

73 Commits (3ab22b201529d029482033aba3ddd2876657c72f)

Author SHA1 Message Date
Justin Clark-Casey (justincc) ed97a42664 backport iar version checking 2010-12-11 02:45:30 +00:00
Justin Clark-Casey (justincc) ecd46c881e uncomment a load iar code line I accidentally commented in the last commit
hooray for automated tests
2010-07-14 03:24:56 -07:00
Justin Clark-Casey (justincc) d55d6949fe comment out a lot of the debug log messages when loading an iar
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-07-14 03:24:40 -07:00
Justin Clark-Casey (justincc) 165429ff4d Fix problem where iar load would duplicate huge number of folders
This was http://opensimulator.org/mantis/view.php?id=4770
Extend unit tests to check for this scenario too
2010-06-18 18:08:54 +01:00
Justin Clark-Casey (justincc) 701cc35c9f change TestPartExistingIarPath() to check appropriate folder creation
change some names in InventoryArchiveReadRequest in an effort to make the code more comprehendable
2010-06-18 18:08:47 +01:00
Justin Clark-Casey (justincc) e98109765c in IAR utils, return all folders that match a particular path rather than just the first one 2010-06-18 18:08:37 +01:00
Justin Clark-Casey (justincc) 1a16a92a62 create inactive test for iar folders/items merged with existing paths
add various helper functions for simplifying test readability
2010-06-11 21:18:09 +01:00
Justin Clark-Casey (justincc) 63797445be various refactorings on methods to replicate IAR paths to user inventory in order to improve readability 2010-06-05 00:48:33 +01:00
Justin Clark-Casey (justincc) 3c3df9f3e9 refactor: do pathname trimming outside of ReplicateArchivePathToUserInventory() 2010-06-04 23:34:42 +01:00
Justin Clark-Casey (justincc) fff5459f4d Add ability to load IARs directly from URIs
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-05-28 20:07:15 +01:00
John Hurliman df76e95aa2 Changed asset CreatorID to a string 2010-02-22 14:18:59 -08:00
John Hurliman 7665aad002 * Adds CreatorID to asset metadata. This is just the plumbing to support CreatorID, it doesn't modify database backends or OAR files to support storing/loading it 2010-02-22 13:27:17 -08:00
Diva Canto c5ea783526 OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted. 2010-01-11 07:51:33 -08:00
Diva Canto 1e1b2ab221 * OMG! All but one references to UserProfileCacheService have been rerouted!
* HG is seriously broken here
* Compiles. Untested.
2010-01-10 10:40:07 -08:00
Diva Canto 25fdbd6cbc Less refs to UserProfileCacheService. Compiles but likely doesn't run. 2010-01-09 09:09:32 -08:00
Jeff Ames 70d5b1c34c Formatting cleanup. Add copyright headers. 2010-01-04 06:17:30 +09:00
Melanie f2d2073f2b Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-12-23 21:21:22 +00:00
Melanie c05a35cc71 Fix a bounds exception I came across in IAR restore 2009-12-23 21:20:48 +00:00
Diva Canto f45a69821b Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the stream can be closed. 2009-12-22 21:00:46 -08:00
Justin Clark-Casey (justincc) 2bc19a1e23 Resolve issue where an iar load fails to preserve original item creators
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-26 16:39:30 +00:00
Justin Clark-Casey (justincc) f605d59136 Make load/save iar slightly better in the face of io failures by always attempting to close the streams 2009-11-24 18:27:31 +00:00
Jeff Ames 9f5c2acd12 Formatting cleanup. 2009-11-23 11:26:06 +09:00
Justin Clark-Casey (justincc) 96be5e5a88 minor: A further minor tweak to reduce iar load logging verbosity 2009-11-13 20:24:45 +00:00
Justin Clark-Casey (justincc) 7f5d0a6735 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-11-09 17:36:28 +00:00
Justin Clark-Casey (justincc) 716f70cd31 refactor out iar escaping 2009-11-09 17:34:07 +00:00
Justin Clark-Casey (justincc) 1ded7edde2 minor: correct slightly over-enthusiastic load iar logging message 2009-11-09 17:24:06 +00:00
Justin Clark-Casey (justincc) 7c5dc94cc8 fix load iar regression accidentally introduced in last commit 2009-11-09 17:22:18 +00:00
Justin Clark-Casey (justincc) 3c1f50127c minor: tweak load iar messages to be slightly less verbose 2009-11-09 17:20:30 +00:00
Justin Clark-Casey (justincc) fbcf6ffc18 minor: provide updates on number of assets loaded while executing "load iar" 2009-11-09 17:17:25 +00:00
Justin Clark-Casey (justincc) ae92bbcb95 refactor: break actual item load in iar into separate method 2009-11-09 17:04:05 +00:00
Justin Clark-Casey (justincc) a0c1836fde minor: remove some old commented out load iar code 2009-11-09 16:43:35 +00:00
John Hurliman dfe4dc735a Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-11-05 23:50:42 -08:00
John Hurliman afef1ac191 Changing the AssetBase constructors to avoid initializing assets with an unknown asset type, and log an error if it ever does happen 2009-11-05 13:10:58 -08:00
Justin Clark-Casey (justincc) 345ddcd0d8 * Escape / character when saving items and folders in an iar so that the loader doesn't barf 2009-11-05 18:53:25 +00:00
Jeff Ames ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Justin Clark-Casey (justincc) 212efc0c76 Remove bug where iar created folders could not be deleted after relog
New folders need to be created with AssetType.Unknown rather than AssetType.Folder!
2009-09-11 16:51:57 +01:00
Justin Clark-Casey (justincc) f5feb25dd1 fix spurious loading... messages on iar load by creating folders as version 1 rather than version 0 2009-09-10 17:08:26 +01:00
Justin Clark-Casey (justincc) 0683cf6e0d Add test to check behaviour if an iar is loaded where no user profile exists for the creators
Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-09 18:03:49 +01:00
Justin Clark-Casey (justincc) b7256f2567 extend load iar test to loading into a deeply nested directory
correct bug associated with this
2009-09-08 17:42:07 +01:00
Justin Clark-Casey (justincc) 36a40e0295 refactor: change method argument name 2009-09-08 16:29:31 +01:00
Justin Clark-Casey (justincc) 61c286f5d6 change iar load to make discrete inventory service requests rather than the cache 2009-09-06 22:07:35 +01:00
Justin Clark-Casey (justincc) 79c22651d7 refactor: use direct scene reference in inventory archive read request 2009-09-06 20:16:56 +01:00
Justin Clark-Casey (justincc) 2dbdb7e036 Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on the NRE for now
Add temporarily logging for diagnosis
2009-08-11 17:49:52 +01:00
Arthur Valadares d4ed7b03af * Fixed a few more async calls. Still not uncommented, some asserts still failing 2009-06-11 20:50:23 +00:00
Jeff Ames 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
diva 5e4fc6e91e Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems: 
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Justin Clarke Casey f8e0653e73 * If an item creator id contains an iar loaded name, create a temporary profile and hashed UUID to represent the user 2009-05-05 16:45:21 +00:00
Justin Clarke Casey 3a27a05607 * refactor: move OspResolver to a different namespace 2009-05-04 17:32:20 +00:00
Justin Clarke Casey a61cbab799 * Insert profile references for creators for items saved into iars 2009-05-04 16:15:30 +00:00
Justin Clarke Casey 52d5628806 * Add preliminary code for resolving iar profile names
* Not yet active
2009-04-28 17:47:09 +00:00