aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-22Factor out command script code.Justin Clark-Casey (justincc)1-39/+0
This also allows comments in command scripts (lines starting with ;, # or //) to be used across all servers
2012-11-22Make "config show/set/get/save" console commands available on all serversJustin Clark-Casey (justincc)2-15/+6
2012-11-22Factor out common pid file creation and removal code.Justin Clark-Casey (justincc)1-22/+3
Log path at which pid file is created or reason for failure to create.
2012-11-22Make "set log level" command available across all serversJustin Clark-Casey (justincc)1-1/+0
2012-11-22Make "show info" command available across all serversJustin Clark-Casey (justincc)1-42/+1
This helpfully lists version information, startup location and console log level
2012-11-22Factor out common registration of "show uptime" commandJustin Clark-Casey (justincc)1-5/+2
2012-11-22factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)1-16/+2
2012-11-22refactor: Factor out copy/pasted server uptime report codeJustin Clark-Casey (justincc)1-23/+4
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 ↵teravus5-138/+10
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-14The last few AssemblyInfos. Finished!Diva Canto1-0/+33
2012-11-14Added AssemblyInfos in the OpenSim.Server namespace dlls.Diva Canto2-0/+66
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-08Fix build breakMelanie1-1/+1
2012-10-08Add a ServiceList section to Robust .ini to get rid of the long stringMelanie1-0/+18
2012-10-08Allow other whitespace characters than spaces in Robust connection stringMelanie1-2/+2
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-09-06pasting in show uptime codeSignpostMarv1-0/+41
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
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).
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)1-4/+4
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
2012-07-08Address map lag issue seen with non-avination viewersMelanie1-1/+14
2012-06-30Remove some mono compiler warningsJustin Clark-Casey (justincc)1-3/+1
2012-06-30Removing unused handling of incoming create object by userID and itemID only.Justin Clark-Casey (justincc)1-48/+0
It appears this was never actually used since attachments were rezzed in other code. This was never available on remote simulator comms, only local.
2012-06-15Make the "debug http" command available for robust as well as the simulator. ↵Justin Clark-Casey (justincc)2-74/+30
This allows one to see incoming requests as they happen. This required making everything use the common MainServer class for registering and retrieving http servers, rather than duplicate structures.
2012-06-15Add main instance to internal MainServer.m_Servers list to simplify internal ↵Justin Clark-Casey (justincc)1-10/+3
logic. This does require the server to be added before it is set as the main Instance
2012-05-25In remote QueryAccess, also receive the actual status (true|false) instead ↵Justin Clark-Casey (justincc)1-2/+5
of always true no matter what the callee actually returned. This was due to two things 1) SimulationServiceConnector.QueryAccess was always looking to the outer result["success"]. But if a "_Result" map is returned (which is certainly the case right now), then the true success is _Result["success"], result["success"] is always true no matter what 2) If QueryAccess was false at the destination, then AgentHandlers.DoQueryAccess() was never putting this in the result. The default action of SerializeJsonString() is not to put false booleans in the JSON!!!, so this has to be explicitly set.
2012-05-24Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)2-3/+3
lookup rather than the region handle.
2012-05-09Escape and unescape xml element names if necessary in ↵Justin Clark-Casey (justincc)1-3/+3
ServerUtils.BuildXmlData() and ParseElement() If AvatarService appearance data is retrieved over the network, then ServerUtils was attempting to transfer names such as "Wearable 0:0" directly to xml element names, resulting in an exception. Space is not valid in xml element names. Neither is : in this case since the intention is not to namespace. Using names directly as keys is not a good idea. To get around this problem this patch escapes and unescapes the element names as appropriate. This has no impact on existing xml (since it had to be valid in the first place) but allows AvatarService data to be used over the network. Setting appearance (from simulator to AvatarService) did not suffer this problem since the values are passed in the query string which is already properly escaped.
2012-05-03Remove the somewhat misleading logging of the string length of some unknown ↵Justin Clark-Casey (justincc)3-4/+5
requests, as this appeared to be some kind of numbered error code. This brings these messages into line with similar messages that did not do this.
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)1-0/+2
can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
2012-04-27MapImageService: changed the event at which the map tiles are uploaded, ↵Diva Canto1-2/+2
because they were being uploaded before the region was registered with the grid
2012-04-27MapImage security issue. Compare strings instead of IPAddresses.Diva Canto1-1/+1
2012-04-27MapImage security issue: better error messagesDiva Canto1-3/+5
2012-04-27Amend to last commit: account for the existence of proxies.Diva Canto1-3/+32
2012-04-27MapImageService: added an additional security check for OSGrid and other ↵Diva Canto1-5/+43
grids like it.
2012-04-24Minor improvements to loggingOren Hurvitz1-1/+4
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto1-13/+59
2012-03-27Send the config section name up to the service classes themselves ↵Diva Canto2-2/+2
(XInventory and Assets).
2012-03-22Comment out login parameters debug output accidentally included with c4b2d24Justin Clark-Casey (justincc)1-11/+13
2012-03-22Add llGiveInventory() test from object to object where both objects are ↵Justin Clark-Casey (justincc)2-1/+12
owned by the same user.
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2-0/+57
that they can scale better. They were previously being handled by the UAS; that is still there, but it's now obsolete and will be removed in a future release.
2012-03-21Removed extraneous debug messageDiva Canto1-1/+0
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto3-57/+133
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-17Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto1-2/+30
direct user connections.
2012-03-13Minor sanity check on simulation agent handler (content type)Diva Canto1-7/+12
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2-7/+7
<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.