aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-22Add regression test for north-south chat across neighbour regions.Justin Clark-Casey (justincc)1-52/+133
2014-05-22Extend regression TestInterRegionChatDistanceEastWest() to test out of range ↵Justin Clark-Casey (justincc)1-11/+38
chat
2014-05-22Extend regression TestInterRegionChatDistanceEastWest() to test in range ↵Justin Clark-Casey (justincc)1-17/+38
chat both ways.
2014-05-22Simplify regression TestInterRegionChatDistanceEastWest() by making the ↵Justin Clark-Casey (justincc)1-7/+6
child presence connection directly rather than routing through TestClient. This code isn't relevant to this test and is already exercised by other tests.
2014-05-22Add regression test for in-range chat between neighbouring regions from east ↵Justin Clark-Casey (justincc)3-1/+163
to west.
2014-05-22Fixed a problem with detaching attachments in situations where the user's ↵Diva Canto4-9/+44
asset server is not the same as the simulator's asset server. Unfortunately this still continues to be wasteful -- new assets are created every time an attachment is detached, but the process of storing the new asset goes through the InventoryAccess module, which does all sorts of checks regarding the users' inventory.
2014-05-21Allow map searches for regions that contain the characters "!+|"Oren Hurvitz1-20/+24
These characters are used as placeholders for other characters: ": /". But we should search first for the exact string the user entered, and only if that fails then replace the characters and search again.
2014-05-20minor: Comment out currently unused log setup in TerrainCompressorJustin Clark-Casey (justincc)1-1/+1
2014-05-20minor: Remove some unused fields in ScenePresenceJustin Clark-Casey (justincc)1-3/+0
2014-05-20minor: remove compiler warning in SceneObjectPartInventoryJustin Clark-Casey (justincc)1-1/+1
2014-05-20Fix issue where avatar and script chat could sometimes be heard from ↵Justin Clark-Casey (justincc)1-3/+8
anywhere in neighbouring regions. This was due to a silent uint overflow in ScenePresence.UpdateChildAgent() corrupting child agent positions when the child agent was in a region with a greater x or y map co-ord than the root agent region Probably introduced in beeec1c. This still will not function properly with very high region map co-ords (in the millions) but other parts of the code don't handle this properly anyway. Looks to address http://opensimulator.org/mantis/view.php?id=7163
2014-05-19On verbose groups messaging logging, count all operations in reported time ↵Justin Clark-Casey (justincc)1-3/+3
when sending group messages, not just those after get group members and get presence status, as applicable
2014-05-19Split verbose groups messaging logging into its own setting separate from ↵Justin Clark-Casey (justincc)1-23/+77
that of the groups module. This is to allow us to get useful information on messaging without being overwhelmed by the rest of groups debug. Enabled with [Groups] DebugMessagingEnabled = true in config (default false) Or "debug groups messaging verbose true|false on the console" (similar to existing groups setting). Done for both xmlrpc and V2 groups.
2014-05-19Fix recent regression from 77e7bbc where an attachment on a received group ↵Justin Clark-Casey (justincc)3-4/+27
notice with XmlRpcGroups messaging did not appear in the user's inventory. This was because the "session ID" when the message template was copied was always replaced with the group ID, whereas a notice requires this to be the notice ID. Instead just copy the "session ID" as is - other callers already have this set properly so replacing with group ID was redundant anyway. Relates to http://opensimulator.org/mantis/view.php?id=7037
2014-05-19Tell QueryAccess explicitly whether the user is coming in via Teleport or ↵Oren Hurvitz4-9/+9
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-19Return more specific error messages if an attempt to enter a region fails ↵Oren Hurvitz3-16/+35
due to permissions (in QueryAccess and IsAuthorizedForRegion)
2014-05-19Better error-handling and logging in case User Profile requests failOren Hurvitz1-0/+9
2014-05-19When can't rez, show only one error message; not two. And show more specific ↵Oren Hurvitz2-3/+2
error messages.
2014-05-18Don't trigger ItemUploaded when no item has been uploaded.Diva Canto1-6/+9
2014-05-18Don't fetch assets from the server when doing simple inventory operations ↵Diva Canto2-52/+29
like copy-paste items in inventory.
2014-05-17BulletSim: adjust avatar step up parameters to better walk up smallRobert Adams2-4/+4
staircases. This change is required because of the change in the avatar default shape from the capsule to the rectangle.
2014-05-14On ScenePresence.MakeChildAgent(), reset the m_originRegionID as this is ↵Justin Clark-Casey (justincc)1-0/+5
currently being used as a flag to orchestrate destination simulator threads on teleport. If not reset, it's possible that teleports back and forth between simulators may not restart scripts in attachments.
2014-05-14Remove a race where the client's SP.CompleteMovement() thread could attempt ↵Justin Clark-Casey (justincc)1-3/+6
to restart attachment scripts before the source simulator's SP.UpdateAgent() thread had added them. This commit changes the order of code so that attachments are re-added before the CompleteMovement() thread is released. Relates to http://opensimulator.org/mantis/view.php?id=7148
2014-05-14minor: Clean up and make consistent some log file messages in ↵Justin Clark-Casey (justincc)1-6/+11
EstateManagementModule relating to RAW file uploading.
2014-05-12minor: Add some method doc to IMessageTransferModuleJustin Clark-Casey (justincc)1-0/+18
2014-05-12Make offline IM delivery to URL (pre recent Addons code) have a 10 second ↵Justin Clark-Casey (justincc)1-1/+1
rather than infinite timeout. This both signals a problem with the URL and eventually frees the thread, rather than hanging indefinitely with no information.
2014-05-12For XmlRpcGroups (Flotsam) module, when MessageOnlineUsersOnly = true, ↵Justin Clark-Casey (justincc)4-20/+35
handle notices to offline users directly as known undeliverable messages rather than discarding or attempting delivery. Offline notices can still be controlled with the [Messaging] ForwardOfflineGroupMessages setting. Looks to address more of http://opensimulator.org/mantis/view.php?id=7037 Only for Flotsam now for testing, but if approach works should be possible with core offline notices as well.
2014-05-12Add send group notice regression test for when MessageOnlineUsersOnly=trueJustin Clark-Casey (justincc)1-0/+71
2014-05-12Eliminate subsequently unused scene finding in UndeliveredMessage() method ↵Justin Clark-Casey (justincc)1-4/+0
of xmlrpc and core offline IM modules
2014-05-12minor: eliminate unused UUID in xmlrpc ↵Justin Clark-Casey (justincc)1-2/+0
GroupsMessagingModule.ProcessMessageFromGroupSession()
2014-05-09This little sucker had evaded my attention forever. As a consequence some ↵Diva Canto1-10/+28
assets associated with foreign users were being missed.
2014-05-07Finished implementing redirects in GetTexture.Diva Canto1-3/+6
2014-05-06Revert "fix infinite recursion loop in SendGridInstantMessageViaXMLRPCAsync()"Justin Clark-Casey (justincc)1-79/+99
There is a problem here with infinite recursion, but this patch loses the 'hunting' behaviour where the code will attempt multiple lookups if the avatar is teleporting rapidly around different simulators. This patch only does a single lookup before giving up. This reverts commit cecb446e0e91ede0b05ea9cf40c1313782241f3d.
2014-05-06Console commands for Estate MgmtDev Random3-0/+179
2014-05-06new version of patch to add default-user switch new version :qw :wq updated ↵Matt Lehmann1-0/+2
version of default user switch for load oar :q :q
2014-05-06updated version of default user switch for load oar :q :qMatt Lehmann3-6/+43
2014-05-06fix infinite recursion loop in SendGridInstantMessageViaXMLRPCAsync()Kunta Kinte1-99/+79
2014-05-06Fix avatars going to corner of region when they are sitting on a child prim ↵Vegaslon1-1/+1
and the prim is deleted.
2014-05-06Change llUnSit to be able to unsit any avatar that is currently sat on the ↵Vegaslon1-1/+2
object, not just avatars sitting on the sittarget in the object containing the script. or when the object is owned by the parcel, land group or estate owner.
2014-05-06Mantis 7146 The lsl function llGetMassMKS is not implementedTalun3-0/+13
This patch implements llGetMassMKS as it is described in the wiki http://wiki.secondlife.com/wiki/LlGetMassMKS
2014-05-06When moving an item from a prim to a user's inventory, don't delete the item ↵Oren Hurvitz1-4/+25
from the prim until it was successfully copied to the user
2014-05-06Show more meaningful error messages when failed to move an item from a prim ↵Oren Hurvitz4-29/+56
to a user's inventory. Also, actually show the error to the user in more cases. (Previously, sometimes the operation failed without telling the user anything.)
2014-05-06Show more meaningful error messages when failed to give an item to another userOren Hurvitz5-27/+56
2014-05-06- When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz1-1/+4
Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
2014-05-06Added range-checking for the parameters to PRIM_POINT_LIGHT (used in ↵Oren Hurvitz1-3/+3
llSetLinkPrimitiveParamsFast() )
2014-05-04Makes it possible to support grids in which all the simulators share all ↵Diva Canto2-22/+93
central services of a Robust server EXCEPT assets. In other words, grids where the simulators' assets are kept in one DB and the users' inventory assets are kept on another. When users rez items from inventory or take objects from world, an HG-like asset copy takes place between the 2 servers, the world asset server and the user's asset server. This makes the simulators independent of the central asset server. Note that this an advanced configuration and requires some security strengthening coming up.
2014-05-02minor: Comment out Cacheitems debug log lines for nowJustin Clark-Casey (justincc)1-6/+6
2014-05-01Mantis 7144 missing ATTACH_AVATAR_CENTER constantTalun1-0/+2
This patch adds ATTACH_AVATAR_CENTER and ATTACH_NECK
2014-05-01Fix issue where only one of multiple attachments on the same attachpoint for ↵Justin Clark-Casey (justincc)4-7/+74
NPCs would be seen by other viewers. It appears that at least Singularity 1.8.5 (but probably others) rely on attachment FromItemIDs being different to display more than one. This commit resolves this by generating random IDs instead of always using UUID.Zero for NPCs. Resolves http://opensimulator.org/mantis/view.php?id=7110
2014-04-30Change XEngine to call StateChange rather than RemoveScript on state changesMelanie1-1/+1