aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-13Another 21 modules' directives moved out of .addin.xmlDiva Canto1-0/+1
2012-05-25Resolve some mono compiler warnings.Justin Clark-Casey (justincc)1-4/+9
2012-04-11HGFriendsModule: Type casts to fix compile errorSnoopy Pfeffer1-1/+1
2012-04-11HGFriendsModule: Added optional user level based restriction to send ↵Snoopy Pfeffer1-4/+20
friendship invitations to foreign users.
2012-04-11HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto1-0/+30
to HG friendships. Snoopy take it from here.
2012-03-30Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)1-2/+1
friends service. There is no a --cache option which will show friends from the local cache if available.
2012-03-30refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)1-7/+7
FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
2012-03-29refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)1-2/+2
listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)1-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.
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)1-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.
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto1-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.
2012-03-21HG Friends: pulled sim-bound notification code to HGStatusNotifier, so that ↵Diva Canto1-19/+10
we can better manage this traffic.
2012-03-20Removed extraneous debug messages. Added a check for UUID.Zero.Diva Canto1-16/+23
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto1-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.
2012-01-10HG Friends: fixed bug introduced by 571efeddb20f38bb4164074b3c217be5387ca2e0 ↵Diva Canto1-2/+2
(r/17672)
2011-12-29Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto1-22/+59
region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
2011-11-16Comment out the vebose logging on HGFriendsModule.Justin Clark-Casey (justincc)1-12/+11
Recent issues in http://opensimulator.org/mantis/view.php?id=5794 were not related to HG friends
2011-11-15temporarily increasing logging in HGFriendsModule for debuggingJustin Clark-Casey (justincc)1-1/+24
2011-11-15Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> ↵Justin Clark-Casey (justincc)1-3/+2
RecacheFriends() to reflect their intended function
2011-11-14If a friends identifier which is too short is given to ↵Justin Clark-Casey (justincc)1-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
2011-06-11A few more cleanups on the way to close ↵Diva Canto1-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.
2011-06-11Only send AgentOnline to the client if the friendsOnline list has elements. ↵Diva Canto1-1/+1
Also, increased the timeout on UserAgentServiceConnector, StatusNotification again.
2011-06-10Added a Sleep in between each site call, to slow the xml-rpc requests down.Diva Canto1-37/+40
2011-06-10More tweaking on the UserAgentServiceConnector: add constructor that does ↵Diva Canto1-1/+1
not do DNS lookup, and use that for friends notification.
2011-06-07This hopefully fixes all issues with online/offline notifications across ↵Diva Canto1-2/+9
grids. http://opensimulator.org/mantis/view.php?id=5528
2011-06-06More on the hunt for the slow down on HGFriendsModule. - Don't requests the ↵Diva Canto1-48/+71
online friends on foreign grids. If this works, there's another way of getting that info.
2011-06-06Moved the Mono Addins declaration of the HGFriendsModule to where the one ↵Diva Canto1-1/+0
for FriendModule is -- CoreModulePlugin.addin.xml (trying to hunt down the slowness reported by Nebadon related to HGFriends)
2011-05-23HG friends: Status notifications working. Also initial logins get the online ↵Diva Canto1-2/+160
friends in other grids.
2011-05-22More on HG Friends. Added Delete(string, string) across the board. Added ↵Diva Canto1-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.
2011-05-21Fixed permissions bug related to friends in PermissionsModule. Added ↵Diva Canto1-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.
2011-05-19HG Friends working to some extent: friendships offered and accepted ↵Diva Canto1-0/+438
correctly handled. Friends list showing correct foreign names. TODO: GrantRights.