aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Asset (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-07* Remove a test *cleanup*teravus1-10/+2
2013-10-07* Refactorteravus1-1/+1
* Break out common BasicDOSProtector code into separate class.
2013-10-07* Added a Basic DOS protection container/base object for the most common ↵teravus1-2/+10
HTTP Server handlers. XMLRPC Handler, GenericHttpHandler and <Various>StreamHandler * Applied the XmlRpcBasicDOSProtector.cs to the login service as both an example, and good practice. * Applied the BaseStreamHandlerBasicDOSProtector.cs to the friends service as an example of the DOS Protector on StreamHandlers * Added CircularBuffer, used for CPU and Memory friendly rate monitoring. * DosProtector has 2 states, 1. Just Check for blocked users and check general velocity, 2. Track velocity per user, It only jumps to 2 if it's getting a lot of requests, and state 1 is about as resource friendly as if it wasn't even there.
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)3-3/+3
to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
2013-06-28Remove "Asset deletion not supported by database" message from "delete ↵Justin Clark-Casey (justincc)1-7/+5
asset" robust/standalone console command since it actually was implemented and performed. Improve other associated messages.
2012-11-22If an asset POST does not contain well-formed XML, return a 400 (Bad ↵Justin Clark-Casey (justincc)2-3/+38
Request) HTTP status rather than simply dropping the request.
2012-11-21Add regression test for a good request made to the asset service post handler.Justin Clark-Casey (justincc)1-0/+84
Adds new OpenSim.Server.Handlers.Tests.dll to test suite
2012-11-02Add [AssetService] AllowRemoteDeleteAllTypes (default false).Justin Clark-Casey (justincc)2-15/+52
This allows a closed grid to delete asset types other than maptile remotely. Only operational if AllowRemoteDelete = true also. Defaults to false - do not enable if anybody other than you can make asset service requests.
2012-11-02Move check to allow only deletion of maptiles up to AssetServerDeleteHandler ↵Justin Clark-Casey (justincc)1-3/+14
from AssetService. This allows us to use a common check for both AssetService and XAssetService. It also allows future console commands to delete an asset. As before, deletion of maptile assets is not allowed remotely unless this is explicitly configured.
2012-10-24Get "save oar" and "save iar" to tell you in a more friendly manner if the ↵Justin Clark-Casey (justincc)1-0/+3
filename to save already exists, rather than exception throwing. Also changes ConsoleUtil.CheckFileExists to CheckFileDoesNotExist() since this is more meaningful in the context, even though it does result in double negatives.
2012-03-27Send the config section name up to the service classes themselves ↵Diva Canto1-1/+1
(XInventory and Assets).
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-3/+3
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-01-05Make "show asset" command available simulator side. Actually make the ↵Justin Clark-Casey (justincc)1-5/+5
service command be "show asset" instead of "show digest" this time. Last time I accidnetally just changed the usage message.
2012-01-05Add size and temporary information to "show asset" commandJustin Clark-Casey (justincc)1-0/+2
2012-01-05Rename 'show digest' console command to 'show asset'Justin Clark-Casey (justincc)1-1/+1
2012-01-05Move asset commands from AssetService to AssetServerConnector so that we can ↵Justin Clark-Casey (justincc)1-1/+126
harmonise the same commands on the simulator side. No functional change.
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)3-3/+3
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2010-11-25WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto1-1/+4
capability to preserve creator information on HG asset transfers. Added a new HGAssetService that is intended to be the one outside the firewall. It processes and filters the assets that go out of the grid. Also fixed the normal AssetService to do special things for the main instance (console commands, etc). Moved HGInventoryService to OpenSim.Services.HypergridService. Changed the way the login service gets the ServiceURL configs.
2010-05-09Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie2-4/+8
asset deletion in robust handler.
2010-02-20* Added a sanity check for missing asset data in LLClientViewJohn Hurliman1-2/+2
* Moved the SL asset type to content type conversion methods from ServerUtils to OpenSim.Framework.SLUtil * Linked content type to asset type in AssetMetadata
2010-01-18Comment the asset deletion handler. It can be abused and is not currentlyMelanie1-1/+1
needed.
2009-09-29Fix loading modules with alternate configurations and ports into ROBUST.Melanie1-5/+8
Make all current modules support the configuration name option
2009-09-29Fix loading modules with alternate configurations and ports into ROBUST.Melanie1-5/+8
Make all current modules support the configuration name option
2009-07-07Make the asset IN connector return HTTP 404 if an asset is not found, andMelanie Thielker1-3/+21
also make it return a non-xml content type so a browser can be used for testing it.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames4-4/+4
LICENSE.txt.
2009-05-22cleaning out warnings.Dr Scofield3-9/+3
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22Cleaning up a few HG things. HG Posts may now work in grids, but if the home ↵diva1-0/+1
grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
2009-05-20Add copyright headers, formatting cleanup.Jeff Ames1-1/+1
2009-05-18This commit changes the way the new server works. There is no longer a serverMelanie Thielker1-2/+4
exe for each function, rather each function is a connector and the server ini loads them. If you like your multiple processes, use -inifile with the server. Otherwise, you get one server process that serves all configured funcions, see example .ini. The new exe is OpenSim.Server.exe. Clean your bin, loads of names have changed!
2009-05-18Refactor: Change "Servers" to "Server", since the can only be one. BreakMelanie Thielker4-0/+327
the handlers out of the asset server context into a generic scope.