aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-04Extend 'slow' request logging to other server outbound requests (forms, ↵Justin Clark-Casey (justincc)1-79/+194
rest, async rest) as well as the existing logging on outbound OSD requests. Also prints out the first 100 chars of any slow request data since this can contain useful info (such as agent ID).
2012-05-03Reinsert a 2000ms delay before closing a no longer required agent on the ↵Justin Clark-Casey (justincc)2-6/+17
source region after teleport to resolve Imprudence teleport problems. Viewers 1 and 3 are fine with doing this immediately. However, Imprudence has a small delay (<200ms, >500ms) after receiving the AgentCompleteMovement reply packet on the destination region before regarding that region as the currnet region. If Imprudence receives a DisableSimulator in this period, it quits. We are not restoring the full 5000ms delay since this brings back a bug where teleports permanently fail if an avatar tries to teleport back too quickly. This commit also sends the AgentCompleteMovement packet to the client before telling the source region to release its old agent, in order to further cut down any possibility of the DisableSimulator being recieved before the AgentMovementComplete.
2012-05-03Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause ↵Snoopy Pfeffer1-1/+1
a runtime error.
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-03minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)3-10/+5
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)38-217/+375
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-05-01Comment out the five second sleep in etm.DoTeleport() if the old agent needs ↵Justin Clark-Casey (justincc)1-1/+1
to be closed because it is no longer in the child's view distance. This sleep appears unnecessary since a sleep has already occurred in WaitForCallback() whilst waiting for the destination region to notify of teleport success. There are no async operations between this sleep and the WaitForCallback() If this sleep is present, then teleporting back to the source region within 5 seconds results in a disconnection. If this sleep is commented out then teleporting quickly back and forth between two simulators appears to work without issue. Tested on standalone, local grid and distributed grid. Please revert if there's something that I've missed.
2012-05-01Remove some test code that accidentally crept in with 9d2e1c67Justin Clark-Casey (justincc)1-3/+0
2012-05-01Add regression test for teleporting between neighbouring regions on the same ↵Justin Clark-Casey (justincc)10-33/+248
simulator This adds a non-advertised wait_for_callback option in [EntityTransfer]. Default is always true. Teleport tests disable the wait for callback from the destination region in order to run within a single thread.
2012-05-01Move max teleport distance check down into etm.DoTeleport() since this ↵Justin Clark-Casey (justincc)1-40/+41
should apply to all teleport calls, not just those through Teleport()
2012-05-01refactor: Split most of EntityTransferModule.Teleport() into its same region ↵Justin Clark-Casey (justincc)4-130/+198
and different region teleport components. DoTeleport() now retrives IEventQueue itself rather than requiring it to be passed in.
2012-04-30Create TestHelpers.EnableLogging() and DisableLogging() to turn logging on ↵Justin Clark-Casey (justincc)4-4/+55
and off within tests. This makes *.Tests.dll.config files no longer needed, hence deleted.
2012-04-30llGenerateKey implementation. Creates a random UUID I.E: ↵TBG Renfold3-0/+13
UUID.Random().ToString(); Signed-off-by: TBG Renfold <tbg.renfold@g2mv.co.uk>
2012-04-30refactor: Simplify by combining SafeSendControlsToScripts() from fe8e835 ↵Justin Clark-Casey (justincc)1-73/+75
into SendControlsToScripts() (instead of SendControlToScripts()).
2012-04-30Fixed: scripted controls didn't work if the avatar was sitting downOren Hurvitz1-9/+15
This fixes a bug introduced in 6473674bbf6ce006512083902e8ff1796d8c8b22
2012-04-30If there are no new prim items to store then don't bother opening the ↵Justin Clark-Casey (justincc)1-3/+3
MySqlConnection only to do nothing with it.
2012-04-30Consistently use using() to make sure we dispose of used MySqlCommands where ↵Justin Clark-Casey (justincc)9-431/+446
this is not already being done.
2012-04-28Comment out debug [ASYNC DELETER] messages for now.Justin Clark-Casey (justincc)1-5/+5
2012-04-28Remove mono compiler warning. Adjust message log to error from infoJustin Clark-Casey (justincc)1-2/+2
2012-04-28Add text about using double quotes to surround console command arguments ↵Justin Clark-Casey (justincc)1-2/+8
containing spaces to "help" text. e.g. show object name "My long object name"
2012-04-28Put scene object related console commands into new "Objects" help category ↵Justin Clark-Casey (justincc)2-13/+17
rather than "Regions"
2012-04-27Revert "Revert "Implement bulk inventory update over CAPS (not recursive by ↵Justin Clark-Casey (justincc)1-1/+47
design,"" This reverts commit a90b0e302c110068cec0ee7109e796d2d5fdab4d. Sorry, accidentally reverted this completely by mistake, reverting the revert.
2012-04-27Revert "Log the full exception when errors occur in BaseHttpServer"Justin Clark-Casey (justincc)1-19/+19
This reverts commit e31e7c68c8abfd61fed6dabac5403d8adf42ae87. Applied for patch assessment and accidentally committed too early.
2012-04-27Revert "Implement bulk inventory update over CAPS (not recursive by design,"Justin Clark-Casey (justincc)1-47/+1
This reverts commit 6e7f13a72d4e43f8ca564247e0b56bf5706bbdb1.
2012-04-27Add flags information (phantom, physics, etc.) to "show object" and "show ↵Justin Clark-Casey (justincc)1-0/+2
part" console commands
2012-04-27Log the full exception when errors occur in BaseHttpServerOren Hurvitz1-19/+19
2012-04-27Fixed: custom walking animations didn't stop when the avatar stopped walking.Oren Hurvitz2-20/+32
This happened because the scripts were notified about control changes (e.g., the user stopped pressing the Forward key) when the animation was still WALK, so the script didn't stop the walking animation. Fixing this required: a) Update the movement animation *before* notifying the script; b) Add locking to prevent clashes with the Heartbeat thread (which also updates the animations); c) Handle the case of a user who stops walking just as the avatar is in the air: the avatar should STAND in that case, not WALK. This reverts commit feef1dd73243cfdd5322632fb67e64cabc1ad4bc.
2012-04-27If a Grid God teleports then include the Godlike teleport flag. This can ↵Oren Hurvitz3-9/+45
affect the starting position in the destination region.
2012-04-27Use DotNetZip to compress OARs and IARs.Oren Hurvitz2-2/+8
DotNetZip provides much better compression than standard .NET.
2012-04-27minor: style adjustments in SensorRepeat, mainly related to patch from stoehrJustin Clark-Casey (justincc)1-3/+4
2012-04-27Fixing wrong position of llSensor, SensePoint wasnt following the rotation ↵Stefan_Boom1-8/+22
of the root prim.
2012-04-27MapImageService: changed the event at which the map tiles are uploaded, ↵Diva Canto2-5/+14
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-27Minor change in error message (HG teleport failures)Diva Canto1-1/+1
2012-04-27MapImageService: added an additional security check for OSGrid and other ↵Diva Canto1-5/+43
grids like it.
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)49-307/+268
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
2012-04-26OSSL: Removed check for CanRunConsoleCommand() in osKickAvatar.Oren Hurvitz1-13/+12
OSSL permissions are now controlled in OpenSim.ini.
2012-04-26Refactored how asset/inventory types are associated with content types: ↵Oren Hurvitz2-228/+177
gathered all the knowledge into a single class. Added the Mesh content type.
2012-04-26When creating an OAR, objects where the user is the Creator are always ↵Oren Hurvitz1-2/+7
included, regardless of their permissions. The purpose of the permission checks is to prevent the unauthorized copying of assets, but users can always copy assets that they created.
2012-04-26Tweak log messages on local region to region teleport path to help with ↵Justin Clark-Casey (justincc)5-25/+48
problem resolution.
2012-04-26Add a version of osNpcSay that takes a channel number Mantis 5747Talun6-10/+144
osNpcSay(UUID npc, string message) left untouched New functions:- osNpcSay(UUID npc, int channel, string message) osNpcShout(UUID npc, int channel, string message) osNpcWhisper(UUID npc, int channel, string message) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-26Comment out old Scene.HandleLogOffUserFromGrid() to reduce client closing ↵Justin Clark-Casey (justincc)1-35/+35
analysis complexity
2012-04-26minor: Add more detail to unauthorized caps client messageJustin Clark-Casey (justincc)1-1/+4
2012-04-26minor: Add region name to dropped inbound packet messageJustin Clark-Casey (justincc)1-1/+3
2012-04-26Add request verb and url to error messages in WebUtil that lack this.Justin Clark-Casey (justincc)1-17/+38
Make exception printing consistent across windows and mono.
2012-04-26minor: Add avatar name to removing agent log messageJustin Clark-Casey (justincc)1-2/+2
2012-04-25Comment out avatar move to target message for now.Justin Clark-Casey (justincc)1-3/+3
2012-04-25Add a configuration switch to turn on/off the use of the trashMic Bowman2-1/+3
folder when deleting objects from a scene. The use of the trash folder causes assets to be created and stored everytime you delete an object from the scene (slows down the delete and adds mostly useless assets to your database). Default is on (use the trash folder) which is the standard behavior.