aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-06-24 a few more changes to iar/oar assets save error/warning to show problems ↵UbitUmarov1-7/+11
known to be asset errors
2017-06-23 code actually has no ideia if a id is a asset or not and does try to handle ↵UbitUmarov1-4/+4
all as assets, it really can't report errors. Change messages to make more clear they are only warnings and may mean nothing at all
2017-06-23 coment out missing or damage assets messages in uuidgather that are not ↵UbitUmarov1-2/+27
very usefull. In IAR save display information about items that contain references to broken assets. Note that as explained on mantis 8195 this can't will not detect all problems
2017-06-23several changes to iar/oar assets error reportsUbitUmarov1-4/+6
2017-06-22 actually iar do it for iarUbitUmarov1-0/+3
2017-06-21 avoid some broken object assets present in osgrid inventories due to past ↵UbitUmarov2-2/+6
problems, etc
2017-06-21make oar/iar assets writer be done by caller thread like the rest of theUbitUmarov1-4/+2
oar/iar save. This may look more painfull but should reduce errors and threads fights. Fill lucky i just don't stop the entire simulation during this
2017-01-05Massive tab and trailing space cleanupMelanie Thielker9-377/+377
2016-10-25mantis 8041: check target user password on save/load IARUbitUmarov1-3/+0
2016-08-24 remove some dead codeUbitUmarov1-9/+0
2016-07-04Finally remove the requirement for an InventoryItem/FolderBase object toMelanie Thielker1-30/+12
be passed into inventory queries. This makes the API more homogenous and also will more clearly show coding errors related to HG inventory where the .Owner field has a meaning for a query but wasn't always set.
2015-09-16 remove bad merge from masterUbitUmarov1-12/+0
2015-09-04Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto5-5/+0
OpenSim.Framework.
2015-09-02seems to compile ( tests comented out)UbitUmarov1-9/+1
2015-08-08WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto3-11/+7
inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
2015-03-11minor: Remove windows build warning about CompressionLevel package ambiguity.Justin Clark-Casey (justincc)1-0/+1
Relates to http://opensimulator.org/mantis/view.php?id=7442 Thanks Fly-Man-
2015-02-21Fix cross-grid inventory delivery notifications, fixes ↵BlueWall1-0/+1
http://opensimulator.org/mantis/view.php?id=7113
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-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)5-5/+0
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-11-21Remove braindead "fix" that messed up intersim scripted giving.Melanie Thielker1-11/+0
2014-09-28Improve on the last commit to InventoryArchiver: put back the original ↵Diva Canto3-10/+23
constructor (3rd party modules use it), change order of new parameters to make it more consistent.
2014-09-23Modifications to previous IAR commits to bring them more inline with ↵AliciaRaven2-7/+10
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 ↵AliciaRaven7-45/+133
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 ↵AliciaRaven5-17/+17
Guid. This is for uniformity as discussed on IRC.
2014-09-23Include same content filters for IAR file exports that already exist for OAR ↵AliciaRaven2-0/+54
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-05-06Show more meaningful error messages when failed to give an item to another userOren Hurvitz1-6/+5
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-03-24Refactored Load IAR: created a generic mechanism to modify the SOG's as they ↵Oren Hurvitz1-47/+19
are being loaded Resolves http://opensimulator.org/mantis/view.php?id=6942
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-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-2/+2
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-09-21minor: Recomment out log message uncommented in previous cbdfe969Justin Clark-Casey (justincc)1-4/+4
2013-09-21When giving items between avatars in different simulators, only add the item ↵Oren Hurvitz1-9/+44
to the receiving avatar's inventory once. When a user gives an item, the user's client sends an InventoryOffered IM message to its simulator. This adds the item to the receiver's inventory. If the receiver isn't in the same simulator then XMLRPC is used to forward the IM to the correct simulator. The bug was that the receiving simulator handled the message by calling OnInstantMessage() again, which added a second copy of the item to the inventory. Instead, the receiving simulator should only notify the avatar that the item was offered.
2013-08-23Fix a printing of exception error in InventoryArchiveModule that onlyRobert Adams1-1/+1
printed the error message and not the call stack.
2013-07-05Changed a few bits in Inventory/Archiver/InventoryArchiveReadRequest.cs to ↵Diva Canto4-23/+27
be less dependent on a Scene.
2013-04-30Fix bug where an agent that declined an inventory offer and subsequently ↵Justin Clark-Casey (justincc)1-2/+8
emptied their trash would make the item invalid in the giver's inventory This was because the original item/folder ID was sent in the session slot of the offer IM rather than the copy.
2013-04-29Add TestRejectGivenFolder() and TestAcceptGivenFolder() regression testsJustin Clark-Casey (justincc)2-5/+198
2013-04-29Add regression test for inventory item give, reject and subsequent trash ↵Justin Clark-Casey (justincc)1-0/+256
folder purge by receiver. This commit also actually adds the InventoryTransferModuleTests file which I previously forgot
2013-04-29Add regression test for offer, accept and subsequent receiver delete of an ↵Justin Clark-Casey (justincc)1-80/+3
item offered via instant message.
2013-04-29Fix bug where an agent that declined an inventory offer and subsequently ↵Justin Clark-Casey (justincc)1-2/+8
emptied their trash would make the item invalid in the giver's inventory This was because the original item/folder ID was sent in the session slot of the offer IM rather than the copy.
2013-02-16Separate IAR tests into separate files for load/save/loadpath testsJustin Clark-Casey (justincc)3-245/+198
2013-02-16Make it so that "load iar / ..." does not save the 'root' "My Inventory" folder.Justin Clark-Casey (justincc)2-1/+60
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)5-27/+179
2013-02-08On IAR loading, if loading of a coaleseced item entirely fails, then ↵Justin Clark-Casey (justincc)1-0/+18
continue with the IAR load rather than failing completely.
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-12-08Re-enable code disabled in f605a62 to allow a TaskInventoryAccepted message ↵Justin Clark-Casey (justincc)1-70/+68
to nominate a non-root destination folder. This is in relation to http://opensimulator.org/mantis/view.php?id=6311 This is after further analysis which shows the viewer expects the server to move the folder for #RLV give but then should be renaming the folder itself. For some reason this is not happening, possibly because we are not sending BulkUpdates or because we are not using transaction IDs properly. This needs to be fixed in the future. However, moving the folder even if the rename isn't correctly triggered in the viewer seems preferable to disabling this code altogether.
2012-11-17Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)2-5/+4
This was necessary historically but hasn't been for many years. Can still get CreatorIdAsUuid, which is really just a UUID cached version of the string CreatorId
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus5-185/+124
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-13Another 21 modules' directives moved out of .addin.xmlDiva Canto1-0/+2