aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/UserManagement (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-23Eliminated many warningsOren Hurvitz1-2/+0
2014-03-24When searching for users, don't add users from the local cache if they have ↵Oren Hurvitz1-2/+3
an invalid UUID Resolves http://opensimulator.org/mantis/view.php?id=6935
2014-02-14Change warns associated with UserAgentServiceConnector to debugs, as this is ↵Justin Clark-Casey (justincc)2-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
2014-02-14If calls to UserAgentServiceConnector fail then throw an exception. This ↵Justin Clark-Casey (justincc)2-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.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-2/+2
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-09-25Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's ↵Justin Clark-Casey (justincc)1-2/+1
also called by HGUserManagementModule
2013-09-20Make UUID.Zero resolve to "Unknown User" in user cache.Justin Clark-Casey (justincc)1-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.
2013-09-17Reinstate insertion of "Unknown UserUMMAU4" now, as naive removing may be ↵Justin Clark-Casey (justincc)1-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.
2013-09-17Comment out warning about no grid user found in ↵Justin Clark-Casey (justincc)1-4/+4
UMM.TryGetUserNamesFromServices() for now
2013-09-17Fix issue in recent 3f0fa9f7 where the code start adding unknown user cache ↵Justin Clark-Casey (justincc)1-2/+3
entries with no name
2013-09-16To avoid viewers (particularly on the Hypergrid) from permanently caching a ↵Justin Clark-Casey (justincc)1-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.
2013-09-05Restore group membership check for HG users in QueryAccess.Diva Canto1-4/+10
2013-07-28Added BasicSearchModule.cs which handles OnDirFindQuery events. Removed that ↵Diva Canto1-39/+0
handler from both Groups modules in core, and replaced them with an operation on IGroupsModule.
2013-07-28This makes people search work.Diva Canto1-0/+41
2013-07-23For unknown user issue, bump GUN7 to GUN8 and UMMAU3 to UMMAU4 to assess ↵Justin Clark-Casey (justincc)1-2/+2
what looks like a very significant reducing in GUN occurrances
2013-07-16Improvements to the ServiceThrottleModule: added a category and an itemid to ↵Diva Canto1-1/+1
the interface, so that duplicate requests aren't enqueued more than once.
2013-07-16UserManagementModule: in the continuation, call the method that also looks ↵Diva Canto1-2/+2
up the cache, because the resource may be here in the meantime
2013-07-16Deleted a couple of verbose messagesDiva Canto1-3/+1
2013-07-16Eliminated the UserManagement/UserManagementModule throttle thread. Made the ↵Diva Canto1-117/+60
other one generic, taking any continuation.
2013-07-16In the pursuit of using less CPU: now trying to avoid blocking queues ↵Diva Canto1-7/+57
altogether. Instead, this uses a timer. No sure if it's better or worse, but worth the try.
2013-07-16Actually use DoubleQueue in UserManagement/UserManagementModuleDiva Canto1-1/+1
2013-07-16High CPU hunt: try a different blocking queue, DoubleQueueDiva Canto1-0/+1
2013-07-15Protect against null requestsDiva Canto1-8/+10
2013-07-08Placed a throttle on UserManagementModule for name lookups. Singularity ↵Diva Canto2-11/+57
apparently is flooding the sims with name requests.
2013-07-06Revert "WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMIT"Diva Canto1-3/+1
This reverts commit 9b75d757241e87408c50b1f92996bf667960c348.
2013-07-06Some more fixes on strange behaviors of Unknown User, esp. related to large ↵Diva Canto1-3/+2
messy inventories and esp. related to kokua
2013-07-06WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMITDiva Canto1-1/+3
2013-07-04Guard against completely unknown user UUIDs.Diva Canto1-3/+6
2013-07-04With diva's permission, temporarily reinsert Unknown UserUMMAU3 to make sure ↵Justin Clark-Casey (justincc)1-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
2013-07-02Squoosh one last opportunity for Unknown Users to creep in.Diva Canto1-7/+5
2013-07-02Deleted debug messages. Fixed a null ref exception on the POST handler of ↵Diva Canto1-3/+2
GridUserServerPostHandler.cs
2013-07-02More debug messagesDiva Canto1-1/+6
2013-07-02This should have a strong effect on the Unknown User issue mantis #6625Diva Canto1-2/+18
2013-07-01Update debug unknown user name UserUMMTGUN3 to UserUMMTGUN4 and UserUMMAU -> ↵Justin Clark-Casey (justincc)1-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
2013-06-25Update temporary "Unknown UserUMMTGUN2" name to "Unknown UserUMMTGUN3" to ↵Justin Clark-Casey (justincc)1-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
2013-06-11Removed the lock entirelyDiva Canto1-56/+52
2013-06-11Really bad idea to lock m_UserCache for so long in UserManagementModule. ↵Diva Canto1-13/+17
Added a special lock object instead, if we really want to avoid concurrent executions of that code.
2013-05-29Try caching the user name for a new agent earlier on in the process of ↵Justin Clark-Casey (justincc)2-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
2013-05-29Add HG regression TestCachedUserNameForNewAgent()Justin Clark-Casey (justincc)1-0/+76
2013-05-23Fix bug where both ordinary UserManagementModule and HGUserManagementModules ↵Justin Clark-Casey (justincc)1-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.
2013-05-21To further help with tracking down the apperance of too much "Unknown User" ↵Justin Clark-Casey (justincc)1-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
2013-05-21Fix compile failure from recent git master 434c3cfJustin Clark-Casey (justincc)1-1/+1
2013-05-21Make "show name" command display HomeURL like "show names"Justin Clark-Casey (justincc)1-4/+11
2013-05-21minor: Change "show names" command to use consistent console display tableJustin Clark-Casey (justincc)1-15/+9
2013-05-21Add "show name" console command to make it possible to show a single binding ↵Justin Clark-Casey (justincc)1-0/+34
of a UUID to a name.
2013-05-21Log when "Unknown User" is sent to a user because the UMM had no binding for ↵Justin Clark-Casey (justincc)1-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
2013-05-21Lock m_UserCache whilst iterating over it in ↵Justin Clark-Casey (justincc)1-4/+9
UserManagementModule.GetUserData() to avoid concurrency exceptions
2013-05-07Added AvatarPickerSearch capability handler.Diva Canto2-35/+39
2013-04-24Bug fix: compare tolower. This should fix the issue where HG visitors ↵Diva Canto1-1/+1
currently in the region were not being found by the avatar picker window.
2013-04-02Fix what appears to be a bug in HGUserManagementModule where it enables on ↵Justin Clark-Casey (justincc)1-2/+1
the base.Name rather than its own Name.