aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2012-11-12Remove any mention of IRegionModule from region names and comments to aidMelanie1-1/+1
grepping for remaining uses
2012-09-25Move UDP update task item code to AssetXferUploader to match existing create ↵Justin Clark-Casey (justincc)1-1/+1
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)1-7/+2
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-09-23Fix avatar parameter updating for viewer 3 and maybe 2.Justin Clark-Casey (justincc)1-15/+10
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.
2010-12-04Convert the agent asset transactions module to a new style module.Melanie1-78/+88
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-07-02Clean up IMoneyModule and adjust the other modules to the changesMelanie Thielker1-1/+1
2010-02-12Fix http://opensimulator.org/mantis/view.php?id=4224Justin Clark-Casey (justincc)1-2/+6
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>
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
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-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-5/+5
* 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-12* optimized usings.lbsa711-1/+1
2009-02-09starting phase 2 of the OpenSim.Region.Environment commit: relocatingDr Scofield1-1/+1
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-3/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-11-24Some refactoring from about a week ago that I forgot to commit, of ↵MW1-39/+180
AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler
2008-11-14* Implements terrain raw upload. You can now upload your .raw terrain files ↵Teravus Ovares1-1/+8
using the Estate Tools. * Could this be extended in the future to support .oar uploads too? Only time will tell!
2008-09-26* refactor: split out AgentAssetTransactionsManagerJustin Clarke Casey1-192/+0
2008-09-26* Implment task inventory item asset update for the old non CAPS transaction ↵Justin Clarke Casey1-15/+38
system * This means that saving notecards in prim inventories should now work. * Not the nicest code in the world - the transactions system is pretty fugly right now * PLEASE NOTE: Currently, the prim will not repersist until up to 15 seconds after it is unselected. * What we really need is a proper mechanism so that any prim updates still waiting when the simulator is quit are performed before exit.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-12/+12
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-23Change to no longer check funds on temp texture uploads.Melanie Thielker1-2/+3
This fixes the "no funds" message on rebake.
2008-08-23Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker1-0/+1
It is now possible to use module interfaces without referencing Scene. Place those interfaces in OpenSim/Region/Interfaces. They may not use any refs from OpenSim.Region.Environment as parameters. This resolves a circular library ref introduced in r5949
2008-08-23Patch #9171Melanie Thielker1-1/+18
Disallow bulk uploads if money module is present and upload cost is set and the user hasn't got sufficient funds.
2008-05-16Formatting cleanup.Jeff Ames1-3/+3
2008-05-01* Rolled back a few changes.Adam Frisby1-4/+9
2008-05-01* Spring cleaning on Region.Environment. Adam Frisby1-9/+4
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
2008-05-01Update svn properties. Minor formatting cleanup.Jeff Ames1-290/+290
2008-04-30* Cruft removal step #1. Cleaning Modules directory.Adam Frisby1-25/+30
2008-04-30* Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby1-286/+286
directory with any associated module-specific classes. * Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.) * This should be moved into a seperate project file.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+4
(this took a while to run).
2008-04-07Refactor InventoryItemBase to do the following:Sean Dague1-1/+1
* wrap fields as Properties * rename some fields/properties to more sensible names * set style to PropName to match more standard C# approach
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-03* Removed and sorted using clauses in a number of files.Adam Frisby1-1/+0
* Cleaned up ITerrainChannel * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes * Implemented Export functionality for RAW32 terrain loader * Implemented Import/Export for SLRAW terrain loader * Implemented Export for JPEG terrain loader
2008-02-20some changes to the initialising of AgentAssetTransactionModule to see if ↵MW1-9/+23
they help with the xfer/grey avatar problems.
2008-02-17Added copyright notices.Jeff Ames1-1/+29
2008-02-16Renamed AgentAgentTransactionModule to the correct name of ↵MW1-1/+1
AgentAssetTransactionModule
2008-02-16Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of ↵MW1-70/+111
CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though. But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-13Commenting and a spelling correctionJustin Clarke Casey1-3/+13
2008-02-13* Clean up the agent's asset transactions when it is removed from the sceneJustin Clarke Casey1-2/+17
* This may or may not help with the memory leak, need to assess
2008-02-13* Refactor: Move last commit's refactor back to AgentAssetTransactionsManagerJustin Clarke Casey1-35/+81
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others * I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you. * Add/correct comments
2008-02-12Refactor: factor a method out of AgentAssetTransactionsManagerJustin Clarke Casey1-13/+2
2008-02-12* Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and ↵Justin Clarke Casey1-11/+26
align classes with file names * Small amount of ndoc * This will probably require a prebuild and nant clean
2008-02-11Re-enabled Inventory creation of body partsMW1-2/+5
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames1-1/+1
2008-02-09* Change logger to handle [<entry>] where <entry> contains non alphabetic ↵Justin Clarke Casey1-1/+1
characters * Change logger to not print extra line if [<entry>] <text> like string is not logged * Remove more of my previous chatty debugging statements