aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/UserManagement (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Eliminated many warningsOren Hurvitz2014-04-231-2/+0
|
* When searching for users, don't add users from the local cache if they have ↵Oren Hurvitz2014-03-241-2/+3
| | | | | | an invalid UUID Resolves http://opensimulator.org/mantis/view.php?id=6935
* Change warns associated with UserAgentServiceConnector to debugs, as this is ↵Justin Clark-Casey (justincc)2014-02-142-2/+2
| | | | | | not necessarily a problen with the source simulator (e.g. someone else's remote simulator cannot be contacted). This is Oren Hurvitz's second patch from http://opensimulator.org/mantis/view.php?id=6956 with a small amount of correction
* If calls to UserAgentServiceConnector fail then throw an exception. This ↵Justin Clark-Casey (justincc)2014-02-142-2/+21
| | | | | | lets the caller decide whether to discard the error or not. This is Oren Hurvitz's 0001 patch from http://opensimulator.org/mantis/view.php?id=6956 but I ended up doing some tweaking to resolve patch application issues.
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-2/+2
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's ↵Justin Clark-Casey (justincc)2013-09-251-2/+1
| | | | also called by HGUserManagementModule
* Make UUID.Zero resolve to "Unknown User" in user cache.Justin Clark-Casey (justincc)2013-09-201-0/+2
| | | | | This is to avoid massive numbers of 'no user found' logs when user IDs are missing for some reason. UUID.Zero should not be used for any user ID.
* Reinstate insertion of "Unknown UserUMMAU4" now, as naive removing may be ↵Justin Clark-Casey (justincc)2013-09-171-35/+31
| | | | | | generating too many repeating user requests from other sources. Leaves in the dropping of the client GUN8 (now 9) uuid binding message, since this was the much more common case from the viewer-side and this can only affect viewers.
* Comment out warning about no grid user found in ↵Justin Clark-Casey (justincc)2013-09-171-4/+4
| | | | UMM.TryGetUserNamesFromServices() for now
* Fix issue in recent 3f0fa9f7 where the code start adding unknown user cache ↵Justin Clark-Casey (justincc)2013-09-171-2/+3
| | | | entries with no name
* To avoid viewers (particularly on the Hypergrid) from permanently caching a ↵Justin Clark-Casey (justincc)2013-09-161-35/+42
| | | | | | | UUID -> "Unknown User" binding, drop the binding request rather than replying with "Unknown User" By not binding UUID -> "Unknown User", we leave open the possibility that the binding may be correctly resolved at a later time, which can still happen in some Hypergrid situations. Observed behaviour of LL viewer 3.3.4 is that a dropped bind request is not retried until the next session.
* Restore group membership check for HG users in QueryAccess.Diva Canto2013-09-051-4/+10
|
* Added BasicSearchModule.cs which handles OnDirFindQuery events. Removed that ↵Diva Canto2013-07-281-39/+0
| | | | handler from both Groups modules in core, and replaced them with an operation on IGroupsModule.
* This makes people search work.Diva Canto2013-07-281-0/+41
|
* For unknown user issue, bump GUN7 to GUN8 and UMMAU3 to UMMAU4 to assess ↵Justin Clark-Casey (justincc)2013-07-231-2/+2
| | | | what looks like a very significant reducing in GUN occurrances
* Improvements to the ServiceThrottleModule: added a category and an itemid to ↵Diva Canto2013-07-161-1/+1
| | | | the interface, so that duplicate requests aren't enqueued more than once.
* UserManagementModule: in the continuation, call the method that also looks ↵Diva Canto2013-07-161-2/+2
| | | | up the cache, because the resource may be here in the meantime
* Deleted a couple of verbose messagesDiva Canto2013-07-161-3/+1
|
* Eliminated the UserManagement/UserManagementModule throttle thread. Made the ↵Diva Canto2013-07-161-117/+60
| | | | other one generic, taking any continuation.
* In the pursuit of using less CPU: now trying to avoid blocking queues ↵Diva Canto2013-07-161-7/+57
| | | | altogether. Instead, this uses a timer. No sure if it's better or worse, but worth the try.
* Actually use DoubleQueue in UserManagement/UserManagementModuleDiva Canto2013-07-161-1/+1
|
* High CPU hunt: try a different blocking queue, DoubleQueueDiva Canto2013-07-161-0/+1
|
* Protect against null requestsDiva Canto2013-07-151-8/+10
|
* Placed a throttle on UserManagementModule for name lookups. Singularity ↵Diva Canto2013-07-082-11/+57
| | | | apparently is flooding the sims with name requests.
* Revert "WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMIT"Diva Canto2013-07-061-3/+1
| | | | This reverts commit 9b75d757241e87408c50b1f92996bf667960c348.
* Some more fixes on strange behaviors of Unknown User, esp. related to large ↵Diva Canto2013-07-061-3/+2
| | | | messy inventories and esp. related to kokua
* WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMITDiva Canto2013-07-061-1/+3
|
* Guard against completely unknown user UUIDs.Diva Canto2013-07-041-3/+6
|
* With diva's permission, temporarily reinsert Unknown UserUMMAU3 to make sure ↵Justin Clark-Casey (justincc)2013-07-041-7/+18
| | | | | | | | that GUN7 failure has largely disappeared. Unknown UserUMMAU3 insertion should definitely be removed down the line. However, I would like a little more time to check the GUN* reduction first, since removing UMMAU3 will make these failures appear as GUN7 instead. Also bumps GUN6 -> GUN7 and UMMAU2 -> UMMAU3
* Squoosh one last opportunity for Unknown Users to creep in.Diva Canto2013-07-021-7/+5
|
* Deleted debug messages. Fixed a null ref exception on the POST handler of ↵Diva Canto2013-07-021-3/+2
| | | | GridUserServerPostHandler.cs
* More debug messagesDiva Canto2013-07-021-1/+6
|
* This should have a strong effect on the Unknown User issue mantis #6625Diva Canto2013-07-021-2/+18
|
* Update debug unknown user name UserUMMTGUN3 to UserUMMTGUN4 and UserUMMAU -> ↵Justin Clark-Casey (justincc)2013-07-011-2/+2
| | | | | | | | UserUMMAU2 to track any new occurences. This is to see the impact that Diva's fixes related to this issue (last one is currently commit c7383688) You will need to clear your viewer cache for this to have any effect Relates to http://opensimulator.org/mantis/view.php?id=6625
* Update temporary "Unknown UserUMMTGUN2" name to "Unknown UserUMMTGUN3" to ↵Justin Clark-Casey (justincc)2013-06-251-1/+1
| | | | | | | see if Diva's recent HG updates (post 6c7e33f) fix this issue. This string is returned if a UserManagementModule.TryGetUserNames() cannot find a server-side name binding or a user account for a given UUID. This is only called when the viewer requests a binding via the UDP UUIDNameRequest message
* Removed the lock entirelyDiva Canto2013-06-111-56/+52
|
* Really bad idea to lock m_UserCache for so long in UserManagementModule. ↵Diva Canto2013-06-111-13/+17
| | | | Added a special lock object instead, if we really want to avoid concurrent executions of that code.
* Try caching the user name for a new agent earlier on in the process of ↵Justin Clark-Casey (justincc)2013-05-292-2/+2
| | | | | | | | | | establishing a connection, to see if this helps with "Unknown UserUMMTGUN" issues. The UMMTGUN form of Unknown User seems to appear because a viewer sometimes sends a UUIDNameRequest UDP request that fails to find a binding. However, in theory the incoming agent should have made that binding before any such request is triggered. So moving this binding to an earlier point in the process to see if this makes a difference. Unknown user name is also updated to UserUMMTGUN2 - if you see the old name then you need to clear your viewer cache. This relates to http://opensimulator.org/mantis/view.php?id=6625
* Add HG regression TestCachedUserNameForNewAgent()Justin Clark-Casey (justincc)2013-05-291-0/+76
|
* Fix bug where both ordinary UserManagementModule and HGUserManagementModules ↵Justin Clark-Casey (justincc)2013-05-231-1/+1
| | | | | | | were being added to scenes if no UserManagementModule was specified. Without explicit config non-hg UMM is used - this is in common with other HG modules. This was causing a non-HG module to unpredictably use the UMM or HGUMM, though lack of bug reports suggest either UMM was always used or it didn't matter in this case.
* To further help with tracking down the apperance of too much "Unknown User" ↵Justin Clark-Casey (justincc)2013-05-211-2/+2
| | | | | | | 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
* Fix compile failure from recent git master 434c3cfJustin Clark-Casey (justincc)2013-05-211-1/+1
|
* Make "show name" command display HomeURL like "show names"Justin Clark-Casey (justincc)2013-05-211-4/+11
|
* minor: Change "show names" command to use consistent console display tableJustin Clark-Casey (justincc)2013-05-211-15/+9
|
* Add "show name" console command to make it possible to show a single binding ↵Justin Clark-Casey (justincc)2013-05-211-0/+34
| | | | of a UUID to a name.
* Log when "Unknown User" is sent to a user because the UMM had no binding for ↵Justin Clark-Casey (justincc)2013-05-211-17/+32
| | | | | | | that UUID and when a binding replaces a previous "Unknown User" entry. This is a temporary measure to hunt down issues where some but not all users see others as "Unknown user" in text chat, etc. http://opensimulator.org/mantis/view.php?id=6625
* Lock m_UserCache whilst iterating over it in ↵Justin Clark-Casey (justincc)2013-05-211-4/+9
| | | | UserManagementModule.GetUserData() to avoid concurrency exceptions
* Added AvatarPickerSearch capability handler.Diva Canto2013-05-072-35/+39
|
* Bug fix: compare tolower. This should fix the issue where HG visitors ↵Diva Canto2013-04-241-1/+1
| | | | currently in the region were not being found by the avatar picker window.
* Fix what appears to be a bug in HGUserManagementModule where it enables on ↵Justin Clark-Casey (justincc)2013-04-021-2/+1
| | | | the base.Name rather than its own Name.