aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Asset (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Remove a test *cleanup*teravus2013-10-071-10/+2
|
* * Refactorteravus2013-10-071-1/+1
| | | | * Break out common BasicDOSProtector code into separate class.
* * Added a Basic DOS protection container/base object for the most common ↵teravus2013-10-071-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.
* Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2013-07-083-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
* Remove "Asset deletion not supported by database" message from "delete ↵Justin Clark-Casey (justincc)2013-06-281-7/+5
| | | | | | asset" robust/standalone console command since it actually was implemented and performed. Improve other associated messages.
* If an asset POST does not contain well-formed XML, return a 400 (Bad ↵Justin Clark-Casey (justincc)2012-11-222-3/+38
| | | | Request) HTTP status rather than simply dropping the request.
* Add regression test for a good request made to the asset service post handler.Justin Clark-Casey (justincc)2012-11-211-0/+84
| | | | Adds new OpenSim.Server.Handlers.Tests.dll to test suite
* Add [AssetService] AllowRemoteDeleteAllTypes (default false).Justin Clark-Casey (justincc)2012-11-022-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.
* Move check to allow only deletion of maptiles up to AssetServerDeleteHandler ↵Justin Clark-Casey (justincc)2012-11-021-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.
* Get "save oar" and "save iar" to tell you in a more friendly manner if the ↵Justin Clark-Casey (justincc)2012-10-241-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.
* Send the config section name up to the service classes themselves ↵Diva Canto2012-03-271-1/+1
| | | | (XInventory and Assets).
* Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-081-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.
* Make "show asset" command available simulator side. Actually make the ↵Justin Clark-Casey (justincc)2012-01-051-5/+5
| | | | | | service command be "show asset" instead of "show digest" this time. Last time I accidnetally just changed the usage message.
* Add size and temporary information to "show asset" commandJustin Clark-Casey (justincc)2012-01-051-0/+2
|
* Rename 'show digest' console command to 'show asset'Justin Clark-Casey (justincc)2012-01-051-1/+1
|
* Move asset commands from AssetService to AssetServerConnector so that we can ↵Justin Clark-Casey (justincc)2012-01-051-1/+126
| | | | | | harmonise the same commands on the simulator side. No functional change.
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-053-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.
* WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto2010-11-251-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.
* Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie2010-05-092-4/+8
| | | | asset deletion in robust handler.
* * Added a sanity check for missing asset data in LLClientViewJohn Hurliman2010-02-201-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
* Comment the asset deletion handler. It can be abused and is not currentlyMelanie2010-01-181-1/+1
| | | | needed.
* Fix loading modules with alternate configurations and ports into ROBUST.Melanie2009-09-291-5/+8
| | | | Make all current modules support the configuration name option
* Make the asset IN connector return HTTP 404 if an asset is not found, andMelanie Thielker2009-07-071-3/+21
| | | | | | | also make it return a non-xml content type so a browser can be used for testing it.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-014-4/+4
| | | | LICENSE.txt.
* cleaning out warnings.Dr Scofield2009-05-223-9/+3
| | | | | | NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
* Cleaning up a few HG things. HG Posts may now work in grids, but if the home ↵diva2009-05-221-0/+1
| | | | grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
* Add copyright headers, formatting cleanup.Jeff Ames2009-05-201-1/+1
|
* This commit changes the way the new server works. There is no longer a serverMelanie Thielker2009-05-181-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!
* Refactor: Change "Servers" to "Server", since the can only be one. BreakMelanie Thielker2009-05-184-0/+327
the handlers out of the asset server context into a generic scope.