aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-23Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto43-116/+480
2014-05-24Fix issues where reported LSL compiler error line numbers do not match the ↵Justin Clark-Casey (justincc)2-16/+16
script. This is probably due to changes in the layout of the generated script preamble (using statements etc, ) in c8afc852 (Jan 17 2013). Re-enabled existing regression test that exercises at least one case of this.
2014-05-23Get regression test TestUseUndeclaredVariable() functional again, though not ↵Justin Clark-Casey (justincc)1-8/+19
yet enabled. This reveals the position map problems and will make the fix (and subsequent continual checking) easier.
2014-05-23Reactivate regression test TestCastAndConcatString() in CompilerTests.Justin Clark-Casey (justincc)2-10/+18
2014-05-23Compile the regex that extract categories for colourization just once rather ↵Justin Clark-Casey (justincc)1-5/+7
than on every single log. Compiling every time is unnecessary since Regex is thread-safe.
2014-05-23Allow console output to be multiline by making colourization regex ↵Justin Clark-Casey (justincc)1-1/+1
RegexOptions.SingleLine
2014-05-23Fix possible infinite recursion in ↵Justin Clark-Casey (justincc)1-108/+56
MessageTransferModule.SendGridInstantMessageViaXMLRPCAsync() whilst preserving retry lookup behaviour. This is based on heavily mikemig's original patch in http://opensimulator.org/mantis/view.php?id=7149 but instead of exiting after the first IM delivery failure to presence information retrieved from the presence service it will retry the lookup until the result matches the previous lookup. This is to deal with the case where the agent is sent an IM whilst they are teleporting.
2014-05-23If one is sitting on a child with an unset camera-eye and so using one set ↵Justin Clark-Casey (justincc)1-3/+7
in a root prim, the focus should remain on the root prim. Matches behaviour just tested on the Linden grid.
2014-05-23Add any camera at compensation for sat upon child prims to any existing ↵Justin Clark-Casey (justincc)1-1/+1
camera-at value, rather than replace.
2014-05-23Compensate camera-at and camera-eye for child prim rotation when sitting on ↵Justin Clark-Casey (justincc)1-0/+12
child prim with camera-eye set
2014-05-22If a script calls llSetCameraAtOffset() or llSetCameraEyeOffset() on a child ↵Justin Clark-Casey (justincc)1-0/+6
prim and the root prim has no corresponding value set, then also set the root prim. This matches behaviour just tested on the Linden Lab grid.
2014-05-22If the root prim has a camera-at or camera-eye setting and a sat upon child ↵Justin Clark-Casey (justincc)1-0/+7
prim does not, use the root prim offsets. This matches behaviour just tested on the Linden Lab grid.
2014-05-22Fix issue where llSetCameraAtOffset() and llSetCameraEyeOffset() in non-root ↵Justin Clark-Casey (justincc)1-0/+4
prims moved camera/focus to wrong position. For non-root prim, eye offsets now need to be made relative to root prim if either camera-at or camera-eye are set. Probably a regression since November 2013 when all sits were made relative to root prim to match viewer expections (and fix other bugs). Addresses http://opensimulator.org/mantis/view.php?id=7176
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)2-8/+11
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)4-1/+203
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-22Fix mantis 6973. Prevent BOM being prefixed to message XML which was causing ↵AliciaRaven1-2/+2
an exception when the service tried to read the data later on. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2014-05-22Store the Teleport Flags in the Circuit. This doesn't seem to be necessary, ↵Oren Hurvitz1-0/+2
because everything has worked so far, but it's the right thing to do.
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)2-5/+5
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)2-26/+108
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)4-5/+50
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 Hurvitz7-12/+18
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-19Log the user when an inventory operation is blocked because the item/folder ↵Oren Hurvitz1-14/+14
isn't in the Suitcase
2014-05-19Return more specific error messages if an attempt to enter a region fails ↵Oren Hurvitz4-17/+36
due to permissions (in QueryAccess and IsAuthorizedForRegion)
2014-05-19Better error-handling and logging in case User Profile requests failOren Hurvitz2-12/+21
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-15minor: eliminate now unnecessary string.Format in postgresql RetrieveGroups ↵Justin Clark-Casey (justincc)1-1/+1
method
2014-05-15Don't warn on not seeing [Groups] Robust section for core groups as this ↵Justin Clark-Casey (justincc)1-2/+2
does not contain any mandatory parameters and won't be present on older installations.
2014-05-15Escape find string in PgSQL core groups pluginJustin Clark-Casey (justincc)2-3/+25
2014-05-15Escape find string in MySQL core groups pluginJustin Clark-Casey (justincc)1-1/+1
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-14Fix recent asset request timeout issue by commenting out (for now) the ↵Justin Clark-Casey (justincc)1-10/+14
m_maxAssetRequestConcurrency mistakenly passed in as a timeout to SynchronousRestObjectRequester.MakeRequest() For a long time, possibly forever, the m_maxAssetRequestConcurrency was mistakenly passed in as a 30 ms timeout rather than as a concurrent connection limiter. This didn't come to light until the timeout was actually used in recent commit faf9ba53 Since this hasn't been operational for a long time and in release candidate phase, commenting it out for now though will need to revisit this. Relates to http://opensimulator.org/mantis/view.php?id=7165
2014-05-13Fix behaviour change in recent commit bbc1dc6 so that ↵Justin Clark-Casey (justincc)1-5/+10
SynchronousRestObjectRequester.MakeRequest() calls with no timeout specified use the default HttpWebRequest timeout as previously. I mistakenly thought that that default request timeout was inifite rather than 100 seconds, restoring previously behaviour. As per http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.timeout%28v=vs.100%29.aspx Relates to http://opensimulator.org/mantis/view.php?id=7165
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