aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-23If GridUserService is asked for a nonexistent user, bail gracefullyMelanie Thielker1-0/+3
2014-08-23If GridUserService is asked for a nonexistent user, bail gracefullyMelanie Thielker1-0/+3
2014-08-23Change the map tile system to be multi-grid hosting compatibleMelanie Thielker3-2/+267
Conflicts: OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs
2014-08-23Change the map tile system to be multi-grid hosting compatibleMelanie Thielker3-3/+19
2014-06-21Add forgotten fileMelanie Thielker1-0/+249
2013-12-07Revert "Add support for user preferences (im via email)"Melanie2-55/+0
This reverts commit 1842388bb4dcf5ecd57732ffa877b6ca1a3dec7b.
2013-12-06Add support for user preferences (im via email)BlueWall2-0/+55
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 ↵teravus3-3/+35
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-10-04* Added a unique and interesting WebSocket grid login processor by hijacking ↵teravus2-0/+57
the LLSD login code. This sends the data through the normal login channels and spits out a JSON object back that mimics the login response. Feel free to comment on the best way to set this up as a config option.
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-09-02Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)1-0/+33
allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
2013-08-17Remove some mono compiler warnings from OpenSim/Server/HandlersJustin Clark-Casey (justincc)3-10/+4
2013-07-14Change the auth token to be the user's sessionid.Diva Canto1-1/+4
2013-07-13Guard against unauthorized agent deletes.Diva Canto1-5/+11
2013-07-13Deleted GET agent all around. Not used.Diva Canto1-59/+2
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)21-42/+35
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-07-07Print out caller IP when unusual requests are received.Diva Canto1-1/+1
2013-07-02Deleted debug messages. Fixed a null ref exception on the POST handler of ↵Diva Canto1-2/+4
GridUserServerPostHandler.cs
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.
2013-06-22Change IsLocalRegion from using region handle to using regionID. This was ↵Diva Canto1-1/+0
affecting UpdateAgent and CloseAgent in cases where the foreign region is on the same coordinates as *some* local region.
2013-06-21Finally moved HG agent transfers to use agent fatpacks.Diva Canto4-180/+100
2013-06-12After calls to GetSuitcaseXFolder() in HGSuitcaseInventoryService, ↵Justin Clark-Casey (justincc)1-1/+1
consistently check for null return and log warning rather than throw exception. This was being done already in some places. If an exception is thrown it is now an error rather than debug
2013-06-05CleanupBlueWall1-5/+0
2013-05-31Adding standard OpenSim header to source filesBlueWall2-0/+54
2013-05-30UserProfilesBlueWall2-0/+526
UserProfiles for Robust and Standalone. Includes service and connectors for Robust and standalone opensim plus matching region module.
2013-05-16Where this is not already happening, trigger asychoronous calls to ↵Justin Clark-Casey (justincc)1-1/+1
CloseChildAgent() above the LocalSimulationConnector level. This is so that other callers (such as SceneCommunicationService.SendCloseChildAgentConnections() can perform all closes asynchronously without pointlessly firing another thread for local closes). No functional change apart from elimination of unnecessary chaining of new threads.
2013-05-13Fixed mantis #6609 -- LoadPlugin error messages on Robust.Diva Canto4-6/+25
2013-02-27Switched to using the other Util function with a default value.Diva Canto1-1/+2
2013-02-27Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto1-1/+1
[Hypergrid] in *Common.ini.example. Backwards compatible for now.
2013-02-22Added new Util function for reading config vars that's more generic than the ↵Diva Canto1-1/+1
one I added yesterday -- this is for helping move config vars out of [Startup]
2013-02-21Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto1-9/+11
default under [Startup]. They can then be overwritten in the other sections (but probably shouldn't). I kept the existing code for backwards compatibility, so this should not cause any breaks from people's current configurations. But people should move to have these 2 vars under [Startup] -- see OpenSim.ini.example and Robust.HG.ini.example. And yes, both names now end with "URI" for consistency.
2013-02-19Deleted all AssemblyFileVersion directivesDiva Canto1-1/+1
2013-02-05Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)1-1/+1
This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
2013-02-01Revert "Update assembly version numbers"BlueWall1-1/+1
This reverts commit 141ad829f448b9138b12be7cf99c834c1f3977ec.
2013-02-01Update assembly version numbersBlueWall1-1/+1
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-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus3-77/+8
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-14Added AssemblyInfos in the OpenSim.Server namespace dlls.Diva Canto1-0/+33
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-10-19Move PluginManagerBlueWall1-3/+5
Move PluginManager out to OpenSimFramework for general use
2012-10-06Added parts to manage repositories and plugin managementBlueWall1-0/+4
This is working - more testing to follow, then soem documentation
2012-10-03Add modular configuration for Robust connectorsBlueWall1-0/+61
We can provide modular ini for connectors... look for our configuration in the following places... 1) in the default ini/-inifile 2) in the named file (ConfigName) located in the configured directory (see Robust[.HG].ini [Start] section for ConfigDirectory) 3) in the repository named in the connector (ConfigURL) In this case, the file will be written into the configured directory with the specified See example connector/service @ https://github.com/BlueWall/SlipStream for testing.
2012-09-16Make agent creation at destination asynchronous. Failures here are prettyMelanie1-1/+9
much guaranteed to be fatal and the few times this would dosconnect an agent are more than made up for by the increased throughput of replying and closing the connection vs. keeping it open during the heavy work. Also causes better feedback to the viewer as the time is now split between Requesting Teleport and Connectiong to Destination.
2012-09-14Don't store the unnecessary VERSIONMIN. VERSIONMAX, METHOD or UserID ↵Justin Clark-Casey (justincc)1-0/+18
(present as column PrincipalID) parameters in the Avatars table. These are used to invoke avatar service calls but are not in themselves persistable avatar data.
2012-07-13Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)9-74/+61
the BOM, use a single Util.UTF8NoBomEncoding. This class is thread-safe (as evidenced by the provision of the system-wide Encoding.UTF8 which does not suppress BOM on output).