aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dump OpenSim 0.9.0.1 into it's own branch.onefang2019-05-191-47/+122
|
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-031-12/+38
|
* Another 21 modules' directives moved out of .addin.xmlDiva Canto2012-11-131-0/+2
|
* Improve efficiency of friends notification by only make one PresenceService ↵Justin Clark-Casey (justincc)2012-10-201-29/+24
| | | | | | call for all friends rather than one for each friend. However, large groups could still take a very long time since we still need to message each avatar on different simulators.
* minor: Comment out friends notification log spam for now.Justin Clark-Casey (justincc)2012-09-121-3/+3
|
* refactor: Instead of performing a ScenePresence lookup twice over ↵Justin Clark-Casey (justincc)2012-05-071-18/+2
| | | | LocateClientObject() and GetClientScene(), do the lookup just once in LocateClientObject()
* Fix a bug in FriendsModule.StatusNotify() where all subsequent friends would ↵Justin Clark-Casey (justincc)2012-05-071-2/+7
| | | | not be notified once a non-local friend was found.
* HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto2012-04-111-2/+2
| | | | to HG friendships. Snoopy take it from here.
* Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)2012-03-301-2/+2
| | | | | | friends service. There is no a --cache option which will show friends from the local cache if available.
* refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)2012-03-301-86/+12
| | | | | | FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
* Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)2012-03-301-23/+27
| | | | | | | for granting rights via a module call. Rename IFriendsModule.GetFriendPerms() -> GetRightsGrantedByFriend() to be more self-documenting and consistent with friends module terminology. Add some method doc.
* refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)2012-03-291-18/+22
| | | | listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
* Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)2012-03-291-0/+3
| | | | | | | caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
* Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2012-03-291-18/+44
| | | | | | | | 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.
* 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-281-44/+18
| | | | | | | | 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: pulled sim-bound notification code to HGStatusNotifier, so that ↵Diva Canto2012-03-211-1/+1
| | | | we can better manage this traffic.
* Removed extraneous debug messageDiva Canto2012-03-211-3/+0
|
* HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2012-03-201-7/+24
| | | | 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.
* 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-151-12/+11
| | | | 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-141-6/+6
|
* Improved method doc for AddFriend() - it actually does set up a two-way ↵Justin Clark-Casey (justincc)2011-11-141-2/+2
| | | | | | relationship. Rename IFriendsModule.AddFriend() to AddFriendship()
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-11-141-6/+0
|
* Add test for adding a friend whilst onlineJustin Clark-Casey (justincc)2011-11-141-5/+10
|
* Add very simple FriendsModuleTests.TestNoFriends()Justin Clark-Casey (justincc)2011-11-141-1/+3
|
* 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.
* This hopefully fixes all issues with online/offline notifications across ↵Diva Canto2011-06-071-1/+1
| | | | grids. http://opensimulator.org/mantis/view.php?id=5528
* HG friends: Status notifications working. Also initial logins get the online ↵Diva Canto2011-05-231-45/+47
| | | | friends in other grids.
* More on HG Friends. Added Delete(string, string) across the board. Added ↵Diva Canto2011-05-221-46/+61
| | | | 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-211-35/+68
| | | | 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-191-39/+112
| | | | 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-031-1/+1
| | | | 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
|
* Better friends notification: get rid of OnLogout and use OnClientClose for ↵Diva Canto2010-06-111-23/+14
| | | | sending notifications. This takes care of crashed sessions. Also, made the notifications themselves asynchronous.
* Bug fix on friends notifications. OnClientClose and OnLogout ordering are ↵Diva Canto2010-06-101-8/+33
| | | | unpredictable; when OnClientClosed happened first, it was removing the friends list, which would prevent OnLogout notifications to go out.
* Bug fix: update the list of friends upon MakeRoot, because child agents ↵Diva Canto2010-06-051-1/+1
| | | | don't get notified of new friendships.