aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)2012-11-242-66/+76
| | | | | | | | | parcel owner ID to the estate owner even if the group UUID was present. Aims to address http://opensimulator.org/mantis/view.php?id=6355 As part of this work, an incomplete IXGroupsData was added which currently only allows store/fetch/delete of group records (i.e. no membership data etc) This is subject to change and currently only an in-memory storage implementation exists for regression test purposes.
* Cleanup on region modules: gave short node id's to all of them.Diva Canto2012-11-124-4/+4
|
* Remove any mention of IRegionModule from region names and comments to aidMelanie2012-11-124-4/+4
| | | | grepping for remaining uses
* Relocate temporary debug message for sending group IMs to online members ↵Justin Clark-Casey (justincc)2012-10-201-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.
* Add experimental [Groups] MessageOnlineUsersOnly option for Flotsam XmlRpc ↵Justin Clark-Casey (justincc)2012-10-201-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.
* Fix build break from commit e469879Justin Clark-Casey (justincc)2012-10-201-1/+1
|
* Add "debug groups verbose <true|false>" region console commandJustin Clark-Casey (justincc)2012-10-191-0/+29
| | | | This allows one to turn on super-verbose groups debug logging on and off whilst the region is in operation.
* Revert "Added request.Proxy=null everywhere, as discussed in ↵Diva Canto2012-09-301-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.
* Added request.Proxy=null everywhere, as discussed in ↵Diva Canto2012-09-301-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
* Save membership fee to the database when a group is created.Kevin Cozens2012-08-031-25/+25
|
* Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)2012-07-111-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.
* Remove mono compiler warning. Adjust message log to error from infoJustin Clark-Casey (justincc)2012-04-281-2/+2
|
* 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.
* Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer2012-04-051-1/+2
| | | | module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
* Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer2012-03-271-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.
* User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer2012-03-271-2/+20
| | | | creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
* Fix a race condition in the simian groups connector. When requests wereMic Bowman2012-02-131-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.
* Remove IClientAPI from the money module. It was only used to pass in theMelanie2012-01-281-1/+1
| | | | agent id anyway
* Move HandleObjectGroupUpdate() from GroupsModule to Scene.PacketHandlers.cs ↵Justin Clark-Casey (justincc)2011-12-191-30/+0
| | | | as this is updating SOG/SOP.GroupID, which is arguably generic.
* Fix bug where objects couldn't be set back to the "none" group.Justin Clark-Casey (justincc)2011-12-171-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
* Fix bug where objects could not be set to a new group if the group had been ↵Justin Clark-Casey (justincc)2011-12-171-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
* Tunnel [GroupsModule] DebugEnabled setting down into ↵Justin Clark-Casey (justincc)2011-12-162-11/+10
| | | | XmlRpcGroupsServicesConnectorModule so that we can record cache misses
* Port the Avination offline messaging system to CoreMelanie2011-11-021-1/+1
|
* Removed use of 'is' operator and casting to find the root ScenePresence in ↵Dan Lake2011-10-272-14/+12
| | | | MessageTransfer modules and Groups module.
* Change default groups messaging module in hardcode to the empty string.Melanie2011-10-121-1/+1
| | | | | Modules should not assume thet they are the one and only, but only be enabled when explicitly configured.
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-1/+1
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-2/+2
|
* Changed actual default values of 'ServiceConnectorModule' and ↵Makopoppo2011-06-243-3/+3
| | | | 'MessagingModule' in [Groups] section in accordance with OpenSim.ini.example descriptions
* a few minor formatting tweaksJustin Clark-Casey (justincc)2011-06-011-3/+4
|
* A final couple of tweaks to GroupsModule.cs. Remove unneeded delegate, and ↵James Stallings aka Hiro Protagonist2011-06-011-9/+22
| | | | prettify codeing style/formatting
* revert the prematurely included groups patch, yet againJustin Clark-Casey (justincc)2011-06-011-22/+5
|
* Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)2011-05-311-5/+22
| | | | | If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
* revert the patch that accidentally got added in the last commitJustin Clark-Casey (justincc)2011-05-311-22/+5
|
* update libomv libraries to 0.9.0Justin Clark-Casey (justincc)2011-05-311-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
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-211-1/+0
| | | | OpenSim.Tests.Common instead
* Renamed OpenSim.Framework.Capabilities.dll to OpenSim.Capabilities.dllDiva Canto2011-04-302-3/+0
|
* First stab at cleaning up Caps. Compiles. Untested.Diva Canto2011-04-302-4/+2
|
* Comment out some startup logging lines to make up for the one I added ↵Justin Clark-Casey (justincc)2011-04-021-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)
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-091-1/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-03-051-1/+1
|
* Change SimianGroupsServicesConnectorModule.GetAgentGroupMembership() so that ↵Justin Clark-Casey (justincc)2011-01-312-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.
* Make the default for the very verbose XMLRPC groups debug setting false ↵Justin Clark-Casey (justincc)2011-01-041-2/+1
| | | | rather than true!
* Start implementing a test for 'share with group' object functionality. Not ↵Justin Clark-Casey (justincc)2010-12-141-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)
* Add mock group services connector and use this in testsJustin Clark-Casey (justincc)2010-12-142-3/+12
|
* add infrastructure for groups module testsJustin Clark-Casey (justincc)2010-12-141-0/+54
|
* Refactor appearance and avatar data sending code. Paritioning the routines ↵Mic Bowman2010-11-271-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.
* Formatting cleanup.Jeff Ames2010-10-271-2/+2
|
* Pass in requesting agent ID when GetGroupMembers is called in the XMLRPC ↵Justin Clark-Casey (justincc)2010-10-192-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...
* Display more information when xmlrpcgroupsserver comms failsJustin Clark-Casey (justincc)2010-10-192-13/+14
| | | | Improve debugging messages