aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent/AssetTransaction (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang3-48/+289
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel3-8/+24
2013-02-08minor: Tidy up disabled logging on AssetTransactionModule for future use. ↵Justin Clark-Casey (justincc)1-8/+10
Make it clear that transaction parameter to HandleUDPUploadRequest is an ID.
2013-02-08Prevent items being destroyed by rename operations. Renaming of a wearable alsoMelanie1-1/+2
sends an asset transaciton but it is empty. So we can't ignore name data when a transaction is present and can't treat every transaction as valid. Conflicts: OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
2012-11-12Remove any mention of IRegionModule from region names and comments to aidMelanie1-1/+1
grepping for remaining uses
2012-09-25Fix very recently introduced race condition where a CreateNewItem outracing ↵Justin Clark-Casey (justincc)1-19/+18
an UploadAsset request could throw an exception because m_asset did not yet exist. This was accidentally introduced in 4fc0cfb This commit also consistently removes the AssetXferUploader when the transaction completes, no matter if it completed on asset upload or item operation. The amount of data being retained was small, since this was clothing/bodypart metadata in the asset rather than textures themselves.
2012-09-25Comment out old m_storeLocal from AssetXferUploader.Justin Clark-Casey (justincc)1-6/+6
This was only used if none of new item, update item or update task item had been set. But since all transactions go through these paths this old code is redundant.
2012-09-25Insert transaction ID into AssetXferUploader constructor rather than at ↵Justin Clark-Casey (justincc)2-36/+49
UploadAsset() to prevent item creation failure when NewInventoryItem thread reachs the object first. This was preventing the previous race condition fix in 4fc0cfb from actually working. This commit also removes some of the pointless transaction id checks - these conditions are already being enforced in AgentAssetsTransactions.
2012-09-25Move UDP update task item code to AssetXferUploader to match existing create ↵Justin Clark-Casey (justincc)3-64/+52
user item and update user item mechanisms This is done for consistency and to allow removal or some access methods that increase code complexity. However, this path has not been used for a long time, not even by LL 1.23 - viewers use caps http upload for this instead
2012-09-25Fix occasional race condition failure when creating new clothing/body parts ↵Justin Clark-Casey (justincc)3-110/+94
in the viewer or updating existing assets. On creating these items, the viewer sends a UDP AssetUploadRequest followed by a CreateInventoryItem. It was possible for the CreateInventoryItem/UpdateInventoryItem to occasionally outrace the AssetUploadRequest and fail to find an initialized Xfer object, at which point the item create would fail. So instead we always set up a Xfer object on either the asset or inventory item update request. This does not introduce a new race because code already exists to delay the item operation until the asset is uploaded if necessary (but this only worked if the xfer object already existed)
2012-06-07Record the fact that child agents can have asset transactions.Justin Clark-Casey (justincc)1-8/+7
Also change code to grab the agent asset transaction module once.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-1/+21
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-01-28Remove IClientAPI from the money module. It was only used to pass in theMelanie1-1/+1
agent id anyway
2011-11-14minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2011-09-23Fix avatar parameter updating for viewer 3 and maybe 2.Justin Clark-Casey (justincc)3-82/+238
When a slider parameter is changed, the viewer uploads a new shape (or other asset) and the item is updated to point to it. Viewer 1 uploaded the data in the initial request itself, so the asset references was almost always correctly updated. However, viewer 3/2 always uploads data in a subsequent xfer, which exposed a race condition where the viewer would make the item update before the asset had uploaded. This commit shuffles the order of operations to avoid this race, the item is updated with the new asset id instead of the old one while the upload was still taking place. A second race had to be fixed where avatar appearance would also be updated with the old asset id rather than the new one. This was fixed by updating the avatar appearance ids when the appearance was actually saved, rather than when the wearables update was made.
2011-04-28Stop CHANGED_INVENTORY firing twice if a notecard is edited in prim.Justin Clark-Casey (justincc)1-4/+5
Addresses http://opensimulator.org/mantis/view.php?id=5444 Fix is to stop the asset transaction calling UpdateInventoryItem() since the caller is doing it anyway, which is more correct. This did not effect scripts.
2011-01-21remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+2
2010-12-04Simplify updating of agent inventory assets. Make newly created asset IDsMelanie1-19/+6
random rather than using IDs known by the client ahead of time.
2010-12-04Convert the agent asset transactions module to a new style module.Melanie3-168/+156
Refactor to remove the property "MyScene" and the pointless circular refs to the managing classes. Converted the module to a non-shared module. Reformatted source for 80 columns. Removed the special role the module had in the old loader.
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)1-3/+1
folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
2010-07-14Fixes mantis #4870.Diva Canto1-1/+7
2010-07-02Clean up IMoneyModule and adjust the other modules to the changesMelanie Thielker1-1/+1
2010-04-19Make the "notecard saved" text appear in the saver rather than the notecard ↵Justin Clark-Casey (justincc)1-0/+3
owner, if the notecard is saved by a permitted group member This means moving the alert up to a place where the IClientAPI is available. One can also argue that such client messages shouldn't be sent directly from the scene data model
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-12minor: remove completely commented out and unused classJustin Clark-Casey (justincc)1-226/+0
2010-02-12Fix http://opensimulator.org/mantis/view.php?id=4224Justin Clark-Casey (justincc)2-3/+8
This resolves the problem where eyes and hair would turn white on standalone configurations When a client receives body part information, for some insane reason or other it always ends up uploading this back to the server and then immediately re-requesting it. This should have been okay since we stored that asset in cache. However, the standalone asset service connector was not checking this cache properly, so every time the client made the request for the asset it has just loaded it would get a big fat null back in the face, causing it to make clothes and hair white. This bug did not affect grids since they use a different service connector.
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-27/+8
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-23Updates all IRegionModules to the new style region modules.Revolution1-8/+27
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2-2/+2
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+1
unknown asset type, and log an error if it ever does happen
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-08-12Redirected all calls to CachedUserProfile methods to the inventory service. ↵Diva Canto2-58/+40
Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames4-4/+4
LICENSE.txt.
2009-05-19Add initializing m_scene if it's not null. Marking MyScene as [Obsolete]Melanie Thielker1-0/+7
because it will be removed soonish. This is NOT the way to go. Thanks, mpallari, for pointing this out. Fixes Mantis #3684
2009-05-18Remove the old asset cache and local services and the configurations for themMelanie Thielker1-18/+0
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2-7/+6
-- 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-08* Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey1-2/+1
as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
2009-03-25* Appearance patches suite: These patches are applied to allow libomv bots ↵Sean Dague1-1/+3
to wear outfits in the future. This functionality will be upstreamed later. ** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas ** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run ** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads ** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better. *** TODO: Set better VisualParams value then 150 to everything
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2-8/+8
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-19Thank you, Snowdrop, for a patch that makes the callback ID parameterMelanie Thielker1-4/+4
usable. Applied with formatting changes, please don't introduce K&R style indentations into OpenSim Fixes Mantis #3190
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur2-23/+23
properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
2009-02-12* optimized usings.lbsa714-11/+5
2009-02-09starting phase 2 of the OpenSim.Region.Environment commit: relocatingDr Scofield4-0/+1018
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules