aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-08Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)1-8/+6
This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes.
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)1-1/+1
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-09-23Modifications to previous IAR commits to bring them more inline with ↵AliciaRaven1-5/+6
existing OpenSim code conventions. Also include new IAR save switch in console help print out.
2014-09-23Add an event callback for loading IAR files. The callback for creating them ↵AliciaRaven1-2/+22
already existed but not for loading. This is of interest for use by region modules. Also includes reporting numbers of items saved and items filtered to the completed log printout.
2014-09-23Change existing IAR save to use UUID for its callback reference instead of ↵AliciaRaven1-3/+3
Guid. This is for uniformity as discussed on IRC.
2014-09-23Include same content filters for IAR file exports that already exist for OAR ↵AliciaRaven1-0/+53
files. Adds new console switch --perm=CTM to save iar command.
2014-09-05For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)1-1/+2
a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
2014-03-25Run slow operations in a separate thread, instead of using FireAndForget ↵Oren Hurvitz1-1/+1
(which has a 1-minute timeout) Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-01-20Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz1-2/+2
"Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'.
2013-02-16Make it so that "load iar / ..." does not save the 'root' "My Inventory" folder.Justin Clark-Casey (justincc)1-0/+6
Really "My Inventory" is just the name of the root, it isn't a folder in its own right. This also makes it more intuitive for users to save whole inventory iars for backup/later restoration, as they don't need to remember to use /* /* will still work and this is a special case just for the root If you want to save only the contents of other folders (rather than the folder itself), you still need to specify something like a/b/* Added a regression test for this case.
2013-02-16Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)1-1/+1
2013-01-02If Save OAR/IAR times-out while waiting for assets then notify the caller ↵Oren Hurvitz1-2/+8
that the operation failed
2012-10-27minor: Fix verbose IAR save message to make it a bit clearer that item data ↵Justin Clark-Casey (justincc)1-1/+1
is being saved at that point, not asset data.
2012-10-26Fix "save iar" hanging permanently if the asset request phase times out.Justin Clark-Casey (justincc)1-5/+8
Unlike "save oar", this was happening on the same thread as the original request. The timeout happens on another so the original thread is never aborted. On "save oar" this leaves the thread hanging (still bad) but on "save iar" it left the console thread hanging. Temporary fix is to make "save iar" do asset request on a separate thread, like "save oar". Longer term fix will be to restructure asset save to use a ManualResetEvent rather than a separate timeout timer.
2012-04-27Use DotNetZip to compress OARs and IARs.Oren Hurvitz1-1/+4
DotNetZip provides much better compression than standard .NET.
2012-04-13Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens1-29/+59
2012-03-10minor: In IAR save, log when we start adding the control file rather than ↵Justin Clark-Casey (justincc)1-2/+3
saying afterwards that we added it.
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer1-1/+1
corresponding RemoteAdmin parameter
2011-06-14tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)1-1/+3
as well as item id and asset id
2011-06-04insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)1-3/+0
rather than just the first one
2011-05-27When saving an iar, don't chase down link asset IDs (since these points to ↵Justin Clark-Casey (justincc)1-1/+4
other items rather than real assets) This bug had no practical effect other than to make "save iar" misreport the number of missing assets
2011-05-26Add --noassets option for "save iar"Justin Clark-Casey (justincc)1-10/+35
Like "save oar", this saves an iar without assets This can be useful for backup when you know the required assets will still be present (e.g. you're backing up the assets db separately). This also bumps the iar format version to 0.3 and 1.2 respectively. 0.3 is backward compatible with previous opensim versions 1.2 is used if the --profile switch is specified. It is only compatible with 0.7.1 presently.
2011-04-18bump default IAR version to 0.2 and 1.1 for the --profile version.Justin Clark-Casey (justincc)1-2/+2
There are no changes in this bump, they just signal a point at which the control file comes first in the archive.
2011-01-08Added a -v|verbose option to save iar.Diva Canto1-0/+6
2010-12-11If we're saving an IAR with --profile information, then label this a version ↵Justin Clark-Casey (justincc)1-5/+22
1.0 IAR since it isn't compatible with older OpenSim releases.
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto1-15/+13
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-10-30minor: remove some old commented out codeJustin Clark-Casey (justincc)1-22/+0
2010-10-27Formatting cleanup.Jeff Ames1-2/+2
2010-10-22print IAR version number on console when savingJustin Clark-Casey (justincc)1-2/+6
2010-10-22write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)1-4/+6
2010-10-22print IAR version number on console when savingJustin Clark-Casey (justincc)1-2/+6
2010-10-22write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)1-4/+6
2010-09-12Formatting cleanup.Jeff Ames1-5/+5
2010-08-28very minor log message and var name tweaking for iar savingJustin Clark-Casey (justincc)1-4/+6
2010-07-14improve closing of load/save iar streams in the event of a problemJustin Clark-Casey (justincc)1-70/+69
2010-06-18in IAR utils, return all folders that match a particular path rather than ↵Justin Clark-Casey (justincc)1-2/+3
just the first one
2010-05-28refactor: move GetStream and URI methods from ArchiveReadRequest -> ↵Justin Clark-Casey (justincc)1-1/+0
ArchiveHelpers
2010-03-15* UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman1-2/+2
types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-10* Starting to clean the house...Diva Canto1-1/+1
* Fixed circular dependency
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-8/+8
* 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-3/+3
2009-11-24Make load/save iar slightly better in the face of io failures by always ↵Justin Clark-Casey (justincc)1-32/+40
attempting to close the streams
2009-11-23Formatting cleanup.Jeff Ames1-3/+3
2009-11-09refactor out iar escapingJustin Clark-Casey (justincc)1-9/+2
2009-11-09Tell the user when a 'save iar' has failed because the inventory path could ↵Justin Clark-Casey (justincc)1-53/+21
not be found
2009-11-05* Escape / character when saving items and folders in an iar so that the ↵Justin Clark-Casey (justincc)1-0/+7
loader doesn't barf
2009-10-01Formatting cleanup.Jeff Ames1-10/+10
2009-09-25Don't preserve full user profile details within iars for nowJustin Clark-Casey (justincc)1-1/+3
This information was not being used in the load process