aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons/Groups/Hypergrid (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-2/+2
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-051-2/+3
| | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
* If REMOVEAGENTFROMGROUP core groups call fails because requesting agent does ↵Justin Clark-Casey (justincc)2014-07-311-3/+4
| | | | | | | not have sufficient permission, return null failure result rather than true. On non-HG this is on the only recognized failure state so we can return more information in the error result. On HG there are multiple failure states which would require more work to distinguish, so currently return the unsatisfying "Internal Error" like some other existing calls.
* Don't overwrite the null result with the true result is groups service ↵Justin Clark-Casey (justincc)2014-07-311-1/+2
| | | | REMOVEAGENTFROMGROUP call has failed because of missing parameters
* - Increased the threadpool timeout to 10 minutesOren Hurvitz2014-03-261-3/+3
| | | | - Changed a few places that launch long-lasting threads to skip the timeout altogether
* Better error messagesOren Hurvitz2014-03-241-2/+2
| | | | This resolves http://opensimulator.org/mantis/view.php?id=6936
* 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
* Restore group membership check for HG users in QueryAccess.Diva Canto2013-09-051-3/+6
|
* minor: Eliminate one of the duplicate 'have's in the HG message telling the ↵Justin Clark-Casey (justincc)2013-08-131-1/+1
| | | | user if no GroupsServerURI has been given in user data by the home grid
* Groups: Better warning messages to the user.Diva Canto2013-07-281-3/+7
|
* Changing the visibility test in groups service to be UUID.Zero.ToString() ↵Diva Canto2013-07-281-1/+4
| | | | instead of "all" because some paths in the code assume there's a UUI in the RequestingAgent string.
* Several major improvements to group (V2) chat. Specifically: handle ↵Diva Canto2013-07-271-22/+0
| | | | | | join/drop appropriately, invitechatboxes. The major departure from flotsam is to send only one message per destination region, as opposed to one message per group member. This reduces messaging considerably in large groups that have clusters of members in certain regions.
* minor: remove some mono compiler warnings in new groups codeJustin Clark-Casey (justincc)2013-07-082-3/+0
|
* 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
* Groups V2 -- fix mantis #6666Diva Canto2013-06-081-0/+3
|
* Fixes mantis #6636 -- GroupsDiva Canto2013-05-131-1/+0
|
* Switched to using the other Util function with a default value.Diva Canto2013-02-271-1/+2
|
* Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto2013-02-271-1/+1
| | | | [Hypergrid] in *Common.ini.example. Backwards compatible for now.
* Added new Util function for reading config vars that's more generic than the ↵Diva Canto2013-02-221-1/+1
| | | | one I added yesterday -- this is for helping move config vars out of [Startup]
* Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto2013-02-211-4/+4
| | | | default under [Startup]. They can then be overwritten in the other sections (but probably shouldn't). I kept the existing code for backwards compatibility, so this should not cause any breaks from people's current configurations. But people should move to have these 2 vars under [Startup] -- see OpenSim.ini.example and Robust.HG.ini.example. And yes, both names now end with "URI" for consistency.
* First commit of Diva Groups. The Data bits went to OpenSim.Data core, the ↵Diva Canto2013-02-193-0/+1449
rest to Addons.Groups.dll.