aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-01Formatting cleanup.Jeff Ames6-24/+24
2009-09-16 Stop a loaded OAR from generating on_rez events. This bringsAlan M Webb1-1/+1
the OAR loader in line with region restart (and the correct behavior).
2009-09-07make oar module logging a little less noisyJustin Clark-Casey (justincc)1-2/+2
2009-08-31switching Archiver to "new" region module schemedr scofield (aka dirk husemann)1-6/+24
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares1-1/+1
inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality. * SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize. * With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-10Removed IAssetCache.Diva Canto1-3/+4
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-06-29From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2-13/+8
Attached is a patch that changes the oar file saving of creation date/time to an integer instead of a string. I did this after justincc emailed me saying there is a problem with internationalisation doing it the old way and I said I'd fix it. Its been tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-12* Temporarily resolve another problem in ↵Justin Clarke Casey1-2/+4
http://opensimulator.org/mantis/view.php?id=3741 by disabling the loading of OAR creation information
2009-06-12* minor: remove one mono warningJustin Clarke Casey1-1/+0
2009-06-12* fix build break: sigh, must remember to build before committingJustin Clarke Casey1-2/+1
2009-06-12* minor: make control file loading code consistentJustin Clarke Casey2-18/+12
2009-06-12* minor: if OAR saving receives assets after timeout, just print warning, ↵Justin Clarke Casey1-0/+2
don't accidentally go on to process them
2009-06-12* minor: remove warning from unused fieldJustin Clarke Casey1-5/+0
2009-06-05* Fix problem where known missing assets would stop save oar ever completingJustin Clarke Casey1-1/+3
* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response * So make asset service return http status NOT FOUND rather than OK in accordance with REST * and interpret this correctly in the async response so that a null object is sent back * This means that this fix won't be active until both region simulator and server reach this revision
2009-06-05* Add oar saving timeoutJustin Clarke Casey2-1/+128
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds * Timeout executes abort, since missing assets in an OAR seems bad * This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service * This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2-0/+66
This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.
2009-06-02* Add simple original xml serialization testJustin Clarke Casey1-8/+2
2009-06-01* minor: change the name of one serialization method to match its counterpartJustin Clarke Casey1-1/+1
2009-06-01* Fix race condition in save oarJustin Clarke Casey3-28/+46
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames8-8/+8
LICENSE.txt.
2009-05-29* Add xml2 load testJustin Clarke Casey1-2/+0
2009-05-19* Take another attempt at http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey1-12/+14
* Return something more sensible if a file isn't found
2009-05-18* minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey1-1/+1
* didn't realize that we were getting back plain old exceptions
2009-05-18* Resolve http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey1-4/+4
* Catch directory exception on load oar as well as file exception
2009-05-18* Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey1-120/+120
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-18From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-0/+1
Fixes: [1] Sharing exception on remote OAR management [2] Occasional 505 error talking to Tomcat [3] Occasional mono aborts caused by mlog in the script engine's app domain (mono 2.4)
2009-05-15* Resolve bug where save oar would never complete if any assets were missingJustin Clarke Casey3-17/+11
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva4-130/+136
-- 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-14* When saving an oar, save assets when immediately received rather than ↵Justin Clarke Casey4-121/+122
storing them all up in memory * Hopefully this will remove out of memory problems when saving large oars on machines without much memory * It may also speed up saving of large oars
2009-05-14* refactor: break some of xml2 serialization out of sogJustin Clarke Casey1-1/+2
2009-05-07remove misleading commentSean Dague1-3/+0
2009-05-07instrument most of the tests with a new InMethod function that may help us ↵Sean Dague1-0/+3
figure out where that pesky deadlock is during test runs.
2009-05-07minor: Inconsquential change to provoke another buildJustin Clarke Casey1-1/+1
2009-04-28* Get rid of some extraneous debug log output from the last commitJustin Clarke Casey2-4/+4
2009-04-28* Stop oar loading barfing if the archive contains directory entriesJustin Clarke Casey2-12/+44
2009-04-24* Write separate unit test for replicating iar structure to a user inventoryJustin Clarke Casey1-3/+2
2009-04-24* Write basic, incomplete load iar testJustin Clarke Casey1-6/+0
2009-04-23* refactor: move archive user inventory item serialization out to a separate ↵Justin Clarke Casey1-1/+1
file
2009-04-22From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-4/+11
Changes to enable script state persistence across non-restart serialization situations (inventory/OAR/attachments) Also fixing test cases for OAR and IAR so they don't barf with the new code.
2009-04-17 fixes System.UnauthorizedAccessExceptions when trying to load OARs fromDr Scofield1-2/+2
read-only files on linux.
2009-04-15* Make it possible to add a request id to load and save oar requestsJustin Clarke Casey5-23/+51
* This allows specific requests to be identified.
2009-04-14* Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey1-1/+6
normal runtime thread * This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset quque
2009-04-09* Tagged long running tests with LongRunningAttribute.lbsa711-2/+4
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever. * Feel free to run the unit tests as you code, and the rest before commit.
2009-03-27* minor: move RegionSettingsSerializer into OpenSim.Framework.SerializationJustin Clarke Casey3-257/+2
2009-03-24* minor: remove load oar logging I accidentally left in a few commits agoJustin Clarke Casey1-8/+4
* reduce noisiness of uuid gatherer * stop bothering to pointless complain about directory tar entries when loading an oar
2009-03-24* Use memory more efficiently when loading oarsJustin Clarke Casey1-11/+19
* This change starts the script immediately after an object is loaded, rather than waiting till they are all loaded * This should be okay, but please report any new errors
2009-03-16Rename OpenSim.Framework.Archive to OpenSim.Framework.SerializationMike Mazur5-102/+102
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-13* Support loading empty folders in an iarJustin Clarke Casey2-7/+12
2009-03-12* Move SceneObject tests into their proper namespaceJustin Clarke Casey1-0/+6
* Add some more debug code to narrow down where the tests are freezing
2009-03-12Move ArchiveConstants to OpenSim.Framework.ArchiveMike Mazur2-123/+1
- move a couple constants from InventoryArchiveConstants to ArchiveConstants, now only one of these is needed - change InventoryArchiveConstants references to ArchiveConstants - remove InventoryArchive AssetInventoryServer plugin dependency on OpenSim.Region.CodeModules - trim trailing whitespace