aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-17minor: In AttachmentsModule.UpdateKnownItem use the existing ↵Justin Clark-Casey (justincc)1-3/+2
IInventoryAccessModule reference that other methods are already using rather than fetching its own copy.
2015-01-16minor: Suppress the log messages when user profiles data is requested for an ↵Justin Clark-Casey (justincc)1-3/+10
NPC or an HG user with no set server URI to avoid log spam. Messages concerning failure to contact a given user profiles service are preserved by logging within called code with the agent ID. If the "No Presence - foreign friend" log message is important then please revert. Relates to http://opensimulator.org/mantis/view.php?id=7414
2015-01-09Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto1-0/+1
names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2015-01-08Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)1-8/+6
This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes.
2014-12-20In XBakesModule.Get() use using() to always dispose of RestClient which ↵Justin Clark-Casey (justincc)1-31/+35
disposes the stream rather than disposing the stream directly
2014-12-20Use using() semantics in XBakesModule to ensure disposable objects are alway ↵Justin Clark-Casey (justincc)1-39/+42
disposed no matter what
2014-12-17Fix recent regression where a race condition meant SP.MakeRootAgent() would ↵Justin Clark-Casey (justincc)1-5/+11
sometimes look to start attachment scripts before ETM.HandleIncomingSceneObject() had added them. Probably a regression since ghosts branch merge on Nov 26 2014
2014-12-10Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)1-0/+7
their own or as attachments) with AppDomainLoading = false would create the new state in the source region area rather than the dest. This was beause the code was finding the script DLL compiled for the source region as everything is in the same appdomain and using this as the location for the destination script state, etc. This resolves the regression by passing the proper destination separately from the DLL retrieved. Probably a regression since commit d7b92604 (11 July 2014). Added regression test for this case. At least partly addresses http://opensimulator.org/mantis/view.php?id=7278
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)1-1/+1
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)6-9/+11
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25Just for now, don't alert the user or log if we couldn't change their ↵Justin Clark-Casey (justincc)1-2/+2
server-side preferences due to no e-mail address being sent. This is to avoid user confusion in the oscc rehearsal as they are often not aware that this fails because no e-mail is set. Also may be failing in the hypergrid case, though this may also be a config issue. This is meant as a temporary solution.
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)9-9/+0
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-11-10minor: correct console response when setting attachments logging levelJustin Clark-Casey1-1/+1
2014-10-27Add hypergrid teleporting support to user profiles picksBlueWall1-16/+97
2014-10-02Don't unnecessarily remove from backup objects that were not directly ↵Justin Clark-Casey (justincc)2-5/+18
attached from the scene. These are never in region backup in the first place since recent 11830c43 Extend regression test to check backup status.
2014-09-28Improve on the last commit to InventoryArchiver: put back the original ↵Diva Canto3-10/+23
constructor (3rd party modules use it), change order of new parameters to make it more consistent.
2014-09-23Modifications to previous IAR commits to bring them more inline with ↵AliciaRaven2-7/+10
existing OpenSim code conventions. Also include new IAR save switch in console help print out.
2014-09-23Add an event callback for loading IAR files. The callback for creating them ↵AliciaRaven7-45/+133
already existed but not for loading. This is of interest for use by region modules. Also includes reporting numbers of items saved and items filtered to the completed log printout.
2014-09-23Change existing IAR save to use UUID for its callback reference instead of ↵AliciaRaven5-17/+17
Guid. This is for uniformity as discussed on IRC.
2014-09-23Include same content filters for IAR file exports that already exist for OAR ↵AliciaRaven2-0/+54
files. Adds new console switch --perm=CTM to save iar command.
2014-09-05For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)1-1/+2
a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
2014-08-15On teleport to a region that already has a child agent established (e.g. a ↵Justin Clark-Casey (justincc)1-1/+1
neighbour) don't resend all the initial avatar and object data again. This is unnecessary since it has been received (and data continues to be received) in the existing child connection.
2014-07-21XBakes: store the assets only in the sim's local assets cache; not in the ↵Oren Hurvitz1-1/+2
main assets server. Also, some cleanup.
2014-07-21Close streams immediately when we finish using themOren Hurvitz1-13/+2
2014-06-05Amend to previous commit -- write down the problematic Profile server URL.Diva Canto1-0/+3
2014-06-05May fix mantis #7133Diva Canto1-7/+12
2014-05-23Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto1-3/+5
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-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)1-0/+158
to west.
2014-05-22Fixed a problem with detaching attachments in situations where the user's ↵Diva Canto1-7/+2
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-19Better error-handling and logging in case User Profile requests failOren Hurvitz1-0/+9
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)2-7/+7
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-12Eliminate subsequently unused scene finding in UndeliveredMessage() method ↵Justin Clark-Casey (justincc)1-4/+0
of xmlrpc and core offline IM modules
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-06fix infinite recursion loop in SendGridInstantMessageViaXMLRPCAsync()Kunta Kinte1-99/+79
2014-05-06Show more meaningful error messages when failed to give an item to another userOren Hurvitz1-6/+5
2014-05-01Fix issue where only one of multiple attachments on the same attachpoint for ↵Justin Clark-Casey (justincc)1-0/+7
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-24Changed how UserProfile performs a fallback call using the OpenProfile API, ↵Oren Hurvitz1-30/+37
because now JsonRpcRequest() returns an error result instead of throwing an exception
2014-04-24Refactored: moved OpenProfileClient to a location where it can be used by ↵Oren Hurvitz2-193/+1
both the Simulators and Robust
2014-04-23Eliminated many warningsOren Hurvitz2-1/+3
2014-04-21Fixed: when a user logged-in, sometimes he didn't get notified of the Online ↵Oren Hurvitz2-2/+24
status of friends, so they continued to appear Offline. This happened because these notifications (the UDP packets) can only be sent to Root Agents. But the notifications were done in OnClientLogin(), at which point the client is still a Child Agent. Since a FireAndForget is used, it became a race condition as to whether the packets would be sent before or after the client became a Root Agent. To fix this, we now only send the notifications once the client becomes a Root Agent for the first time.
2014-04-19Catch empty url errorBlueWall1-0/+3
2014-04-07Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a userOren Hurvitz1-5/+1
2014-04-06When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz1-1/+7
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/+12
case of error