aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-20Relocate temporary debug message for sending group IMs to online members ↵Justin Clark-Casey (justincc)1-4/+12
only so that we can add ms it takes to send. This is chiefly to assess how long it may still take to send messages to such filtered groups.
2012-10-20Add experimental [Groups] MessageOnlineUsersOnly option for Flotsam XmlRpc ↵Justin Clark-Casey (justincc)1-7/+69
groups. This retrieves and caches information from the PresenceService to only send messages to online users. This is reported to much improve performance for large groups where most users are offline. Cache is 20 seconds to balance requests against users not receiving messages until cache updates. This is an alternative to an approach where login/logout notification is sent directly from simulator to groups service. However, I'm not convinced that this PresenceService approach is actually better. Needs more thought.
2012-10-20Fix build break from commit e469879Justin Clark-Casey (justincc)1-1/+1
2012-10-19Add "debug groups verbose <true|false>" region console commandJustin Clark-Casey (justincc)1-0/+29
This allows one to turn on super-verbose groups debug logging on and off whilst the region is in operation.
2012-09-30Revert "Added request.Proxy=null everywhere, as discussed in ↵Diva Canto1-1/+0
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow." But the patch is here, in case anyone wants to try it. This reverts commit 531edd51d82ecd6a842a2611c99e9919634491ef.
2012-09-30Added request.Proxy=null everywhere, as discussed in ↵Diva Canto1-0/+1
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow. Thanks R.Gunther (rigun@rigutech.nl) https://lists.berlios.de/pipermail/opensim-users/2012-September/010986.html
2012-08-03Save membership fee to the database when a group is created.Kevin Cozens1-25/+25
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)1-2/+1
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
2012-04-28Remove mono compiler warning. Adjust message log to error from infoJustin Clark-Casey (justincc)1-2/+2
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)1-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.
2012-04-05Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer1-1/+2
module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
2012-03-27Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer1-23/+99
osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-2/+20
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-02-13Fix a race condition in the simian groups connector. When requests wereMic Bowman1-8/+63
too slow they would circumvent the cache (piling up on the network service and making the problem even worse). This condition happens frequently during permission checks.
2012-01-28Remove IClientAPI from the money module. It was only used to pass in theMelanie1-1/+1
agent id anyway
2011-12-19Move HandleObjectGroupUpdate() from GroupsModule to Scene.PacketHandlers.cs ↵Justin Clark-Casey (justincc)1-30/+0
as this is updating SOG/SOP.GroupID, which is arguably generic.
2011-12-17Fix bug where objects couldn't be set back to the "none" group.Justin Clark-Casey (justincc)1-8/+13
This is handled by treating UUID.Zero as a special case. Currently, asking for the "none" group returns nothing because XMLRPC groups, at least, is not properly handling this case. It may be better in the future to have GroupsModule return an appropriate GroupsData structure instead or require the underlying services to behave appropriately. This is a further component of http://opensimulator.org/mantis/view.php?id=5588
2011-12-17Fix bug where objects could not be set to a new group if the group had been ↵Justin Clark-Casey (justincc)1-1/+26
created in that client session, or if no other action has been performed on the object. There were two problems here: 1) On object group update, we looked for the group is the IClientAPI group cache rather than in the groups service. This fails to groups created newly in that session 2) On object group update, we weren't setting the HasGroupChanged flag. This meant that the change was not persisted unless some other action set this flag. This commit fixes these issues and hopefully addresses http://opensimulator.org/mantis/view.php?id=5588 This commit also moves HandleObjectGroupUpdate() to the GroupsModule from the Scene.PacketHandlers.cs file
2011-12-16Tunnel [GroupsModule] DebugEnabled setting down into ↵Justin Clark-Casey (justincc)2-11/+10
XmlRpcGroupsServicesConnectorModule so that we can record cache misses
2011-11-02Port the Avination offline messaging system to CoreMelanie1-1/+1
2011-10-27Removed use of 'is' operator and casting to find the root ScenePresence in ↵Dan Lake2-14/+12
MessageTransfer modules and Groups module.
2011-10-12Change default groups messaging module in hardcode to the empty string.Melanie1-1/+1
Modules should not assume thet they are the one and only, but only be enabled when explicitly configured.
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-1/+1
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)1-2/+2
2011-06-24Changed actual default values of 'ServiceConnectorModule' and ↵Makopoppo3-3/+3
'MessagingModule' in [Groups] section in accordance with OpenSim.ini.example descriptions
2011-06-01a few minor formatting tweaksJustin Clark-Casey (justincc)1-3/+4
2011-06-01A final couple of tweaks to GroupsModule.cs. Remove unneeded delegate, and ↵James Stallings aka Hiro Protagonist1-9/+22
prettify codeing style/formatting
2011-06-01revert the prematurely included groups patch, yet againJustin Clark-Casey (justincc)1-22/+5
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)1-5/+22
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-05-31revert the patch that accidentally got added in the last commitJustin Clark-Casey (justincc)1-22/+5
2011-05-31update libomv libraries to 0.9.0Justin Clark-Casey (justincc)1-5/+22
this is a prerequisite to fixing llDialog issues for the latest Linden viewers, since they are now making use of a new OwnerData field in the ScriptDialog message
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)1-1/+0
OpenSim.Tests.Common instead
2011-04-30Renamed OpenSim.Framework.Capabilities.dll to OpenSim.Capabilities.dllDiva Canto2-3/+0
2011-04-30First stab at cleaning up Caps. Compiles. Untested.Diva Canto2-4/+2
2011-04-02Comment out some startup logging lines to make up for the one I added ↵Justin Clark-Casey (justincc)1-3/+0
earlier on. Most of these are where the region modules are telling us they are disabled. Convention is only to log when enabled (even that is really noisy)
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)1-1/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-03-05minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-01-31Change SimianGroupsServicesConnectorModule.GetAgentGroupMembership() so that ↵Justin Clark-Casey (justincc)2-33/+52
it returns null if the user isn't a member of the group. This matches the behaviour of the same method for Flotsam Groups. This is the behaviour assumed by existing code. Method doc also added to IGroupsServicesConnector to the make the contract clear.
2011-01-04Make the default for the very verbose XMLRPC groups debug setting false ↵Justin Clark-Casey (justincc)1-2/+1
rather than true!
2010-12-14Start implementing a test for 'share with group' object functionality. Not ↵Justin Clark-Casey (justincc)1-4/+2
yet complete. While implementing this, a bug was fixed in scene setup helpers where module RegionLoaded() was called immediately after AddRegion() instead of waiting for all AddRegions() to complete. Also, XmlRpcGroupsModule non-message functionality will now work without a message transfer module (as indicated in the comments but with a contradictory implementation)
2010-12-14Add mock group services connector and use this in testsJustin Clark-Casey (justincc)2-3/+12
2010-12-14add infrastructure for groups module testsJustin Clark-Casey (justincc)1-0/+54
2010-11-27Refactor appearance and avatar data sending code. Paritioning the routines ↵Mic Bowman1-3/+6
into "one-to-many" and "many-to-one" makes it possible to call the right function on presence creation (both child and root) and when a child agent is promoted to root. This brings the total number of appearance sends down to one or two on login. Cleaned up the avatar update calls in the groups code. Cleaned up some commented and debugging code, and a few formating fixes.
2010-10-27Formatting cleanup.Jeff Ames1-2/+2
2010-10-19Pass in requesting agent ID when GetGroupMembers is called in the XMLRPC ↵Justin Clark-Casey (justincc)2-3/+6
groups module This allows the groups xmlrpc server to act appropriately if the requesting agent has permission to see all group members Not sure why this wasn't being done before...
2010-10-19Display more information when xmlrpcgroupsserver comms failsJustin Clark-Casey (justincc)2-13/+14
Improve debugging messages
2010-09-17For all Flotasm group module XMLRPC calls, correct parameter ↵Justin Clark-Casey (justincc)1-9/+2
requestingAgentID to RequestingAgentID This was stopping the get group member roles call from working, and may have affected other things
2010-09-12Formatting cleanup.Jeff Ames3-24/+21
2010-08-17* Changed a few OSD.FromBinary() calls to the more accurate OSD.FromULong() ↵John Hurliman1-1/+1
to fix the build
2010-07-02Clean up IMoneyModule and adjust the other modules to the changesMelanie Thielker1-2/+2