aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-23Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto24-44/+113
2014-05-19Tell QueryAccess explicitly whether the user is coming in via Teleport or ↵Oren Hurvitz1-1/+5
Cross, because the permission checks are different. Previously we used a heuristic of checking if the entry position is 0 to differentiate between Teleport and Cross, but that doesn't work anymore since we've started providing the precise entry position for cross, too. That's required in order to ensure that the user is allowed to enter the parcel that he's walking into.
2014-05-06Better error handling in AssetServerPostHandler. Invalid XML causes an ↵Oren Hurvitz1-1/+1
InvalidOperationException, not an XmlException
2014-05-04Please note: older simulators (0.7.6) still send the info about gzip in ↵Diva Canto1-2/+2
ContentType
2014-04-23Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz2-51/+0
because it's Obsolete.
2014-04-23Eliminated many warningsOren Hurvitz2-5/+3
2014-04-09In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz3-7/+26
referrer)
2014-04-07When sending QueryAccess to a region, also send the user's Home URIOren Hurvitz1-2/+6
2014-04-06When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz1-1/+8
entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.
2014-04-03When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz1-1/+8
case of error
2014-04-02Fixed the "Update Asset" handler: it was looking for the Asset ID in the ↵Oren Hurvitz1-7/+10
wrong parameter. This doesn't actually matter because the "Update Asset" operation isn't implemented in AssetsServer. But still, the handler should do the right thing...
2014-04-02Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz3-26/+131
list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
2014-03-25Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵Oren Hurvitz1-2/+2
OpenSims fail if they get an unknown "Content-Encoding"
2014-03-25Use the "Content-Encoding" header to indicate gzipped streamsOren Hurvitz1-11/+8
2014-03-24If updating a user's profile notes fails then return an errorOren Hurvitz1-4/+4
Resolves http://opensimulator.org/mantis/view.php?id=6938
2014-03-24Better error messagesOren Hurvitz1-1/+1
This resolves http://opensimulator.org/mantis/view.php?id=6936
2014-02-04Final code drop for appearance. Adding Avination's baked texture storage server.Melanie4-0/+364
2014-01-26varregion: enable teleporting to a varregion by clicking on the map andRobert Adams1-1/+2
pressing the 'teleport' button. This commit adds returning region map info for all the subregions of a varregion. This also handles the selection of the extra region and then the displacement of the postion so the teleport is to the correct location.
2014-01-24varregion: pass region size in more HG services.Robert Adams2-1/+5
2013-12-06Add support for user preferences (im via email)BlueWall2-0/+55
2013-11-28varregion: many replacements of in-place arithmetic with calls toRobert Adams1-5/+5
the Util functions for converting world addresses to region addresses and converting region handles to locations.
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.