aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In XBakesModule.Get() use using() to always dispose of RestClient which ↵Justin Clark-Casey (justincc)2014-12-201-31/+35
| | | | disposes the stream rather than disposing the stream directly
* Use using() semantics in XBakesModule to ensure disposable objects are alway ↵Justin Clark-Casey (justincc)2014-12-201-39/+42
| | | | disposed no matter what
* Fix recent regression where a race condition meant SP.MakeRootAgent() would ↵Justin Clark-Casey (justincc)2014-12-171-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
* Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)2014-12-101-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
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-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
* Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2014-11-256-9/+11
| | | | | | problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
* Just for now, don't alert the user or log if we couldn't change their ↵Justin Clark-Casey (justincc)2014-11-251-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.
* refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)2014-11-259-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
* minor: correct console response when setting attachments logging levelJustin Clark-Casey2014-11-101-1/+1
|
* Add hypergrid teleporting support to user profiles picksBlueWall2014-10-271-16/+97
|
* Don't unnecessarily remove from backup objects that were not directly ↵Justin Clark-Casey (justincc)2014-10-022-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.
* Improve on the last commit to InventoryArchiver: put back the original ↵Diva Canto2014-09-283-10/+23
| | | | constructor (3rd party modules use it), change order of new parameters to make it more consistent.
* Modifications to previous IAR commits to bring them more inline with ↵AliciaRaven2014-09-232-7/+10
| | | | existing OpenSim code conventions. Also include new IAR save switch in console help print out.
* Add an event callback for loading IAR files. The callback for creating them ↵AliciaRaven2014-09-237-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.
* Change existing IAR save to use UUID for its callback reference instead of ↵AliciaRaven2014-09-235-17/+17
| | | | Guid. This is for uniformity as discussed on IRC.
* Include same content filters for IAR file exports that already exist for OAR ↵AliciaRaven2014-09-232-0/+54
| | | | files. Adds new console switch --perm=CTM to save iar command.
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-051-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).
* On teleport to a region that already has a child agent established (e.g. a ↵Justin Clark-Casey (justincc)2014-08-151-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.
* XBakes: store the assets only in the sim's local assets cache; not in the ↵Oren Hurvitz2014-07-211-1/+2
| | | | main assets server. Also, some cleanup.
* Close streams immediately when we finish using themOren Hurvitz2014-07-211-13/+2
|
* Amend to previous commit -- write down the problematic Profile server URL.Diva Canto2014-06-051-0/+3
|
* May fix mantis #7133Diva Canto2014-06-051-7/+12
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2014-05-232-108/+342
|\
| * Fix possible infinite recursion in ↵Justin Clark-Casey (justincc)2014-05-231-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.
| * Add regression test for north-south chat across neighbour regions.Justin Clark-Casey (justincc)2014-05-221-52/+133
| |
| * Extend regression TestInterRegionChatDistanceEastWest() to test out of range ↵Justin Clark-Casey (justincc)2014-05-221-11/+38
| | | | | | | | chat
| * Extend regression TestInterRegionChatDistanceEastWest() to test in range ↵Justin Clark-Casey (justincc)2014-05-221-17/+38
| | | | | | | | chat both ways.
| * Simplify regression TestInterRegionChatDistanceEastWest() by making the ↵Justin Clark-Casey (justincc)2014-05-221-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.
| * Add regression test for in-range chat between neighbouring regions from east ↵Justin Clark-Casey (justincc)2014-05-221-0/+158
| | | | | | | | to west.
* | Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto2014-05-231-3/+5
|/
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2014-05-221-0/+9
|\
| * Better error-handling and logging in case User Profile requests failOren Hurvitz2014-05-191-0/+9
| |
* | Fixed a problem with detaching attachments in situations where the user's ↵Diva Canto2014-05-221-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.
* Make offline IM delivery to URL (pre recent Addons code) have a 10 second ↵Justin Clark-Casey (justincc)2014-05-121-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.
* For XmlRpcGroups (Flotsam) module, when MessageOnlineUsersOnly = true, ↵Justin Clark-Casey (justincc)2014-05-122-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.
* Eliminate subsequently unused scene finding in UndeliveredMessage() method ↵Justin Clark-Casey (justincc)2014-05-121-4/+0
| | | | of xmlrpc and core offline IM modules
* Revert "fix infinite recursion loop in SendGridInstantMessageViaXMLRPCAsync()"Justin Clark-Casey (justincc)2014-05-061-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.
* fix infinite recursion loop in SendGridInstantMessageViaXMLRPCAsync()Kunta Kinte2014-05-061-99/+79
|
* Show more meaningful error messages when failed to give an item to another userOren Hurvitz2014-05-061-6/+5
|
* Fix issue where only one of multiple attachments on the same attachpoint for ↵Justin Clark-Casey (justincc)2014-05-011-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
* Changed how UserProfile performs a fallback call using the OpenProfile API, ↵Oren Hurvitz2014-04-241-30/+37
| | | | because now JsonRpcRequest() returns an error result instead of throwing an exception
* Refactored: moved OpenProfileClient to a location where it can be used by ↵Oren Hurvitz2014-04-242-193/+1
| | | | both the Simulators and Robust
* Eliminated many warningsOren Hurvitz2014-04-232-1/+3
|
* Fixed: when a user logged-in, sometimes he didn't get notified of the Online ↵Oren Hurvitz2014-04-212-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.
* Catch empty url errorBlueWall2014-04-191-0/+3
|
* Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a userOren Hurvitz2014-04-071-5/+1
|
* When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2014-04-061-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.
* When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz2014-04-031-1/+12
| | | | case of error
* minor: Fix warning in AvatarFactoryModuleJustin Clark-Casey (justincc)2014-04-031-1/+1
|
* Fix issue with user picks creation. The snapshot id is UUID.Zero in new parcels.BlueWall2014-03-251-6/+0
|