aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Resolve some mono compiler warnings.Justin Clark-Casey (justincc)2012-05-251-4/+9
|
* HGFriendsModule: Type casts to fix compile errorSnoopy Pfeffer2012-04-111-1/+1
|
* HGFriendsModule: Added optional user level based restriction to send ↵Snoopy Pfeffer2012-04-111-4/+20
| | | | friendship invitations to foreign users.
* HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto2012-04-111-0/+30
| | | | 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/+1
| | | | | | 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-7/+7
| | | | | | FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
* refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)2012-03-291-2/+2
| | | | listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
* Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2012-03-291-3/+3
| | | | | | | | 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.
* Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2012-03-281-3/+3
| | | | | | | | 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.
* HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2012-03-211-1/+1
| | | | 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-211-19/+10
| | | | we can better manage this traffic.
* 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-201-112/+178
| | | | 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.
* 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
|
* Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> ↵Justin Clark-Casey (justincc)2011-11-151-3/+2
| | | | RecacheFriends() to reflect their intended function
* 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
* 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-071-2/+9
| | | | 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-231-2/+160
| | | | friends in other grids.
* More on HG Friends. Added Delete(string, string) across the board. Added ↵Diva Canto2011-05-221-61/+151
| | | | 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-173/+86
| | | | 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-0/+438
correctly handled. Friends list showing correct foreign names. TODO: GrantRights.