aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* For all Flotasm group module XMLRPC calls, correct parameter ↵Justin Clark-Casey (justincc)2010-09-171-9/+2
| | | | | | requestingAgentID to RequestingAgentID This was stopping the get group member roles call from working, and may have affected other things
* Formatting cleanup.Jeff Ames2010-09-123-24/+21
|
* * Changed a few OSD.FromBinary() calls to the more accurate OSD.FromULong() ↵John Hurliman2010-08-171-1/+1
| | | | to fix the build
* Clean up IMoneyModule and adjust the other modules to the changesMelanie Thielker2010-07-021-2/+2
|
* Revert "Patch from mcortez: Update groups, add ALPHA Siman grid connector ↵Melanie2010-05-065-206/+436
| | | | | | | | for groups" Causes an exception within HttpServer, headers have already been sent. This reverts commit 8187fccd258bf0936d3db8663844e07a7b81e9fc.
* Added copying of Viewer field to the agent circuit data that is being passed ↵Diva Canto2010-05-052-106/+106
| | | | | | on TPs and crossings. (XmlRpcGroups files want to be committed too)
* Patch from mcortez: Update groups, add ALPHA Siman grid connector for groupsMelanie2010-05-055-542/+312
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* add a missing initialization of the m_memoryCache in ↵Justin Clark-Casey (justincc)2010-04-161-1/+1
| | | | | | XmlRpcGroupsServicesConnectorModule the lack of this caused me a NullReferenceException when calling some groups methods directly though in principle it would also fail in other situations
* Patch from mcortez to add basic caching to the groups module. This prevents ↵John Hurliman2010-04-142-52/+160
| | | | database/network explosions when you have a significant number of group-owned prims in a scene
* * May fix mantis #4603.Diva Canto2010-04-055-197/+197
| | | | * My local git wants to commit the groups files for line endings, I'm gonna let it do it.
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2010-04-041-31/+31
|\