aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2012-03-292-21/+47
| | | | | | | | functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
* Committing the Avination calling card moduleMelanie2012-03-291-0/+286
|
* Pushing the Avination Calling card hooks. Module to follow.Melanie2012-03-291-4/+17
|
* Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2012-03-282-47/+21
| | | | | | | | require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
* Add "friends show cache <first-name> <last-name>" command for debugging ↵Justin Clark-Casey (justincc)2012-03-281-2/+76
| | | | | | purposes. This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
* HG Friends: don't notify if the server isn't there.Diva Canto2012-03-221-7/+10
|
* HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2012-03-212-7/+26
| | | | that they can scale better. They were previously being handled by the UAS; that is still there, but it's now obsolete and will be removed in a future release.
* HG Friends: pulled sim-bound notification code to HGStatusNotifier, so that ↵Diva Canto2012-03-213-20/+58
| | | | we can better manage this traffic.
* Removed extraneous debug messageDiva Canto2012-03-211-3/+0
|
* Removed extraneous debug messages. Added a check for UUID.Zero.Diva Canto2012-03-201-16/+23
|
* HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2012-03-202-119/+202
| | | | co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
* HG Friends: fixed bug introduced by 571efeddb20f38bb4164074b3c217be5387ca2e0 ↵Diva Canto2012-01-101-2/+2
| | | | (r/17672)
* Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto2011-12-291-22/+59
| | | | region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-051-2/+2
| | | | | | | | of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
* Comment out the vebose logging on HGFriendsModule.Justin Clark-Casey (justincc)2011-11-161-12/+11
| | | | Recent issues in http://opensimulator.org/mantis/view.php?id=5794 were not related to HG friends
* temporarily increasing logging in HGFriendsModule for debuggingJustin Clark-Casey (justincc)2011-11-151-1/+24
|
* Add comments about trying to avoid synchronous work off the ↵Justin Clark-Casey (justincc)2011-11-151-1/+4
| | | | EventManager.OnMakeRootAgent event since this is on the critical path for transfer of avatars from one region to another.
* remove SceneCommunicationService.OnAvatarCrossingIntoRegion. This stuff is ↵Justin Clark-Casey (justincc)2011-11-151-1/+0
| | | | not being used any more - it's now IEntityTransferModule and SimulationService instead
* Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> ↵Justin Clark-Casey (justincc)2011-11-152-15/+13
| | | | RecacheFriends() to reflect their intended function
* refactor: rename m_NeedsListOfFriends => m_NeedsListOfOnlineFriends to ↵Justin Clark-Casey (justincc)2011-11-151-5/+5
| | | | better reflect its actual function
* For clients that are entering a simulator from initial login, stop executing ↵Justin Clark-Casey (justincc)2011-11-151-5/+27
| | | | | | | | FriendsModule.FetchFriendslist() asychronously. Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated. Changing this to synchronous may improve issues where a user does not see friends as online even though they are. I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
* refactor: Don't create a new UUID for passing uuids to client - UUIDs are ↵Justin Clark-Casey (justincc)2011-11-151-4/+6
| | | | structs are so not passed by reference (and they're immutable!)
* Add test for removing a friendship.Justin Clark-Casey (justincc)2011-11-142-11/+31
|
* Improved method doc for AddFriend() - it actually does set up a two-way ↵Justin Clark-Casey (justincc)2011-11-142-4/+5
| | | | | | relationship. Rename IFriendsModule.AddFriend() to AddFriendship()
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-11-142-7/+1
|
* Add test for adding a friend whilst onlineJustin Clark-Casey (justincc)2011-11-142-6/+30
|
* Add very simple FriendsModuleTests.TestNoFriends()Justin Clark-Casey (justincc)2011-11-142-1/+81
|
* If a friends identifier which is too short is given to ↵Justin Clark-Casey (justincc)2011-11-141-1/+8
| | | | | | HGFriendsModule.GetOnlineFriends() then spit out a warning rather than failing on the String.Substring(). This is to progress http://opensimulator.org/mantis/view.php?id=5789
* Port the Avination offline messaging system to CoreMelanie2011-11-021-3/+1
|
* Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2011-10-251-0/+1
| | | | | | | | | of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
* minor: temporarily comment out the local status notify friends messages seen ↵Justin Clark-Casey (justincc)2011-06-271-1/+1
| | | | | | on login/logout, since it's a bit noisy on the console. Please uncomment if/when this is still needed.
* A few more cleanups on the way to close ↵Diva Canto2011-06-111-11/+3
| | | | http://opensimulator.org/mantis/view.php?id=5516 once and for all. Moral of the story: don't send AgentOnline/Offline to viewers with a zero-length array.
* Only send AgentOnline to the client if the friendsOnline list has elements. ↵Diva Canto2011-06-111-1/+1
| | | | Also, increased the timeout on UserAgentServiceConnector, StatusNotification again.
* Added a Sleep in between each site call, to slow the xml-rpc requests down.Diva Canto2011-06-101-37/+40
|
* More tweaking on the UserAgentServiceConnector: add constructor that does ↵Diva Canto2011-06-101-1/+1
| | | | not do DNS lookup, and use that for friends notification.
* This hopefully fixes all issues with online/offline notifications across ↵Diva Canto2011-06-072-3/+10
| | | | grids. http://opensimulator.org/mantis/view.php?id=5528
* More on the hunt for the slow down on HGFriendsModule. - Don't requests the ↵Diva Canto2011-06-061-48/+71
| | | | online friends on foreign grids. If this works, there's another way of getting that info.
* Moved the Mono Addins declaration of the HGFriendsModule to where the one ↵Diva Canto2011-06-061-1/+0
| | | | for FriendModule is -- CoreModulePlugin.addin.xml (trying to hunt down the slowness reported by Nebadon related to HGFriends)
* HG friends: Status notifications working. Also initial logins get the online ↵Diva Canto2011-05-232-47/+207
| | | | friends in other grids.
* More on HG Friends. Added Delete(string, string) across the board. Added ↵Diva Canto2011-05-222-107/+212
| | | | security to friendship identifiers so that they can safely be deleted across worlds. Had to change Get(string) to use LIKE because the secret in the identifier is not always known -- affects only HG visitors. BOTTOM LINE SO FAR: HG friendships established and deleted safely across grids, local rights working but not (yet?) being transmitted back.
* Fixed permissions bug related to friends in PermissionsModule. Added ↵Diva Canto2011-05-212-208/+154
| | | | FriendsData[] GetFriends(string principalID) to IFriendsData and FriendInfo[] GetFriends(string PrincipalID) to IFriendsService. Refactored some more in the FriendsModule. Made client get notification of local friends permissions upon HGLogin. HG Friends object permissions work.
* HG Friends working to some extent: friendships offered and accepted ↵Diva Canto2011-05-192-39/+550
| | | | correctly handled. Friends list showing correct foreign names. TODO: GrantRights.
* Moved 3 request handlers from OpenSim.Framework.Servers.HttpServer up to ↵Diva Canto2011-04-121-1/+1
| | | | OpenSim.Framework -- just pasted them in WebUtil. This is so that code that uses the Service connectors don't need to include the HttpServer dll -- that was odd.
* Allow cross-scope friendships to work, and also allow other cross scope nameMelanie2011-01-032-2/+2
| | | | resolution
* Formatting cleanup.Jeff Ames2010-10-041-6/+6
|
* Revert "* Changed 11 calls for session info to the more optimized API method"root2010-09-171-32/+71
| | | | | This reverts commit 5dc9ea2f2487804d788b4b80d40d91bd792de4c2. Also makes online indicators and IM more robust
* Over a dozen thread safety fixes in FriendsModuleJohn Hurliman2010-09-091-167/+163
|
* * Changed 11 calls for session info to the more optimized API methodJohn Hurliman2010-09-081-68/+32
|
* One more bug fix in FriendsModule: GrantRights. One of the caches was not ↵Diva Canto2010-06-281-0/+7
| | | | being updated.
* Bug fix: wrong name of requester in local friendship offer.Diva Canto2010-06-191-1/+4
|