aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make changes to a friend rights reach him on another sim; find on map does ↵UbitUmarov2015-10-262-17/+78
| | | | show the region. Issues: precise location on region still not avaiable and object edit permitions on viewers edit are not being updated (but are enforced by region). friends information is updated, and warnings are displayed. Only did minor testing...
* Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto2015-09-041-1/+0
| | | | OpenSim.Framework.
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-081-2/+2
| | | | | | | inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
* Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2014-11-252-3/+5
| | | | | | problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
* refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)2014-11-251-1/+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
* Close streams immediately when we finish using themOren Hurvitz2014-07-211-13/+2
|
* 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.
* * Refactorteravus2013-10-071-2/+2
| | | | * Break out common BasicDOSProtector code into separate class.
* * Added a Basic DOS protection container/base object for the most common ↵teravus2013-10-071-2/+10
| | | | | | | | | HTTP Server handlers. XMLRPC Handler, GenericHttpHandler and <Various>StreamHandler * Applied the XmlRpcBasicDOSProtector.cs to the login service as both an example, and good practice. * Applied the BaseStreamHandlerBasicDOSProtector.cs to the friends service as an example of the DOS Protector on StreamHandlers * Added CircularBuffer, used for CPU and Memory friendly rate monitoring. * DosProtector has 2 states, 1. Just Check for blocked users and check general velocity, 2. Track velocity per user, It only jumps to 2 if it's getting a lot of requests, and state 1 is about as resource friendly as if it wasn't even there.
* Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2013-07-081-1/+1
| | | | | | | | | to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
* Delete some verbose debug messagesDiva Canto2013-07-042-5/+5
|
* More debug, same issueDiva Canto2013-07-042-1/+3
|
* More debug, same issueDiva Canto2013-07-041-2/+4
|
* More debug related to the previous commitDiva Canto2013-07-041-1/+1
|
* Now trying to find a cause of freeze at login related to friends status ↵Diva Canto2013-07-041-2/+5
| | | | notifications.
* HG Friends: this was commented some commits ago, but it shouldn't have been.Diva Canto2013-07-041-25/+24
|
* Revert "HG Friends: debug an issue where the friends data stored in the DB ↵Diva Canto2013-07-041-1/+0
| | | | | | is incomplete." This reverts commit 27cdfb7b840423cf8cee08988dc487eeb34d71c7.
* HG Friends: debug an issue where the friends data stored in the DB is ↵Diva Canto2013-07-041-0/+1
| | | | incomplete.
* Revert "One more debug mantis #6625"Diva Canto2013-06-301-1/+0
| | | | | | | This reverts commit 8fa5d12fcb73ffcc7144009e0147febcfa3ce704. Conflicts: OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
* Fixed previous debug messageDiva Canto2013-06-291-1/+1
|
* One more debug mantis #6625Diva Canto2013-06-291-0/+1
|
* More debug for mantis #6625. It looks like the home friends list is being ↵Diva Canto2013-06-291-20/+21
| | | | fetched on HG TPs.
* In LocalFriendshipTerminated, send the original client's agentId to the ↵Donnie Roberts2013-06-072-4/+4
| | | | friend being removed instead of the friend's own id.
* To further help with tracking down the apperance of too much "Unknown User" ↵Justin Clark-Casey (justincc)2013-05-212-3/+3
| | | | | | | in chatlogs, etc. temporarily change each instance of this in OpenSimulator so we can identify where it's coming from For instance, the "Unknown User" in Util.ParseUniversalUserIdenitifer becaomes "Unknown UserUPUUI (class initials + method initials) This is to help with http://opensimulator.org/mantis/view.php?id=6625
* Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie2013-03-261-0/+1
| | | | with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
* Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)2012-11-241-1/+1
| | | | automatically turns off any logging enabled between tests
* Another 21 modules' directives moved out of .addin.xmlDiva Canto2012-11-132-0/+3
|
* 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.
* On receiving TaskInventoryAccepted with a destination folder in the binary ↵Justin Clark-Casey (justincc)2012-10-061-1/+1
| | | | | | | | | | | bucket slot for RLV, notify the viewer about inventory folder updates. The viewer would not see the folder move without this, either on accept or decline. This commit also updates the TaskInventoryOffered message to better conform with the data LL uses Changes are, agentID is prim owner rather than prim id, agent name is now simply object name rather than name with owner detail, message is just folder name in single quotes, message is not timestamped. However, folder is not renamed "still #RLV/~<name>". Long term solution is probably not to do these operations server-side. Notes will be added to http://opensimulator.org/mantis/view.php?id=6311
* minor: Comment out friends notification log spam for now.Justin Clark-Casey (justincc)2012-09-121-3/+3
|
* Resolve some mono compiler warnings.Justin Clark-Casey (justincc)2012-05-251-4/+9
|
* 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.
* Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2012-04-271-1/+1
| | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
* 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-112-2/+32
| | | | 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-302-4/+3
| | | | | | 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-302-93/+19
| | | | | | 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-302-50/+73
| | | | | | | 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-293-20/+52
| | | | listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
* Add simple regression test for logging in with offline friends. Don't ↵Justin Clark-Casey (justincc)2012-03-291-1/+46
| | | | expect to receive any in this instance.
* 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.
* Change namespace on CallingCardModule and correct interface file placemant. ↵Melanie2012-03-291-2/+29
| | | | Also ass OpenSource header
* 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
|