aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-11-21Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto1-3/+7
themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
2010-11-21Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto1-2/+19
Creator name properly shown on the viewer as first.last @authority. New option added to save oar -profile=url. Migration on RegionStore making CreatorID be 255 chars. Moved Handling of user UUID -> name requests to a new module UserManagement/UserManagementModule.
2010-11-20Fix unit tests and save problemsJustin Clark-Casey (justincc)1-1/+1
(note; contrary to previous commits, saving 0.4 OARs is actually broken since serialized objects in inventories are not yet converted properly). Firstly, if you can save a version 1.0 OAR then you can load it too. Secondly, closing the save stream even on success before assets/objects are saved is a bad idea
2010-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-1/+1
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+1
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-10-22slightly simplify oar control file loading codeJustin Clark-Casey (justincc)1-10/+3
2010-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-1/+1
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+1
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-10-22slightly simplify oar control file loading codeJustin Clark-Casey (justincc)1-10/+3
2010-10-16Drop max oar loading version back to 0 from 1Justin Clark-Casey (justincc)1-1/+1
2010-10-16change --old-guids switch on the save oar command line to --version=<x>Justin Clark-Casey (justincc)1-1/+1
if x is 0, then an old version 0.3 archive is saved. If it is anything else or missing, then a version 1.0 archive is saved version 1.0 archives cannot be loaded on OpenSim 0.7.0.2 and earlier also add various informational notices about what version we've saving/loading
2010-10-16Have OpenSim throw a strop if it tries to load an OAR with a major version ↵Justin Clark-Casey (justincc)1-0/+22
that is too high for it to handle
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-5/+1
MapAndArray collection
2010-08-28Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)1-28/+29
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)1-26/+29
conditions in linking and unlinking
2010-05-28refactor: move GetStream and URI methods from ArchiveReadRequest -> ↵Justin Clark-Casey (justincc)1-63/+1
ArchiveHelpers
2010-05-21Fix a problem where SceneGraph.AddSceneObject() would return false on ↵Justin Clark-Casey (justincc)1-1/+0
successfully adding an object rather than true, in defiance of its method documentation This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
2010-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)1-1/+0
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie1-0/+1
is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
2010-04-16minor: use the static ascii and utf8 encodings instead of instantiating our ownJustin Clark-Casey (justincc)1-6/+3
2010-04-16Add --skip-assets option to load oar.Justin Clark-Casey (justincc)1-15/+25
This allows you to load an oar without loading its assets. This is useful if you know that the required assets are already in the asset service, since loading without assets is quicker. This option will become more useful when the ability to save oars without assets is added, which should happen fairly soon. At this point there will also be better documentation.
2010-02-26fix bug where region settings loaded via an oar (water height, terrain ↵Justin Clark-Casey (justincc)1-0/+2
textures, etc.) were not being persisted to the database this meant that the loaded settings would disappear after a restart
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-02-19forestall bug reports about the Command error: ↵Justin Clark-Casey (justincc)1-1/+13
System.EntryPointNotFoundException: CreateZStream save/load oar/iar issue by telling the user what the likely problem is
2010-01-22Allow oar loading to work even if an estate module is not presentJustin Clark-Casey (justincc)1-2/+4
Write bare bones unit test for region setting loads
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-10Remove all references to master avatar, replacing with estate owner whereMelanie1-10/+6
appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-2/+3
* HG is seriously broken here * Compiles. Untested.
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-1/+1
2009-11-27remove stringent content type checking to make it easier to load oars ↵Justin Clark-Casey (justincc)1-2/+5
directly from urls
2009-11-24make save and load oar slightly more robust by always closing the archive ↵Justin Clark-Casey (justincc)1-7/+8
streams even if there has been an error
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-2/+4
unknown asset type, and log an error if it ever does happen
2009-10-29* Log progress messages when loading OAR files with a lot of assetsJohn Hurliman1-0/+3
* Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars * Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)1-7/+27
- adding LandDataSerializer to OAR mechanics
2009-10-01Formatting cleanup.Jeff Ames1-4/+4
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-06-29From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-10/+5
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* 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 Casey1-17/+12
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+58
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-01* Fix race condition in save oarJustin Clarke Casey1-0/+2
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
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-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-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-1/+1
-- 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-04-28* Get rid of some extraneous debug log output from the last commitJustin Clarke Casey1-2/+2
2009-04-28* Stop oar loading barfing if the archive contains directory entriesJustin Clarke Casey1-8/+10