aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups (follow)
Commit message (Collapse)AuthorAgeFilesLines
* On verbose groups messaging logging, count all operations in reported time ↵Justin Clark-Casey (justincc)2014-05-191-3/+3
| | | | when sending group messages, not just those after get group members and get presence status, as applicable
* Split verbose groups messaging logging into its own setting separate from ↵Justin Clark-Casey (justincc)2014-05-191-23/+77
| | | | | | | | | that of the groups module. This is to allow us to get useful information on messaging without being overwhelmed by the rest of groups debug. Enabled with [Groups] DebugMessagingEnabled = true in config (default false) Or "debug groups messaging verbose true|false on the console" (similar to existing groups setting). Done for both xmlrpc and V2 groups.
* Fix recent regression from 77e7bbc where an attachment on a received group ↵Justin Clark-Casey (justincc)2014-05-193-4/+27
| | | | | | | | notice with XmlRpcGroups messaging did not appear in the user's inventory. This was because the "session ID" when the message template was copied was always replaced with the group ID, whereas a notice requires this to be the notice ID. Instead just copy the "session ID" as is - other callers already have this set properly so replacing with group ID was redundant anyway. Relates to http://opensimulator.org/mantis/view.php?id=7037
* For XmlRpcGroups (Flotsam) module, when MessageOnlineUsersOnly = true, ↵Justin Clark-Casey (justincc)2014-05-121-13/+26
| | | | | | | | handle notices to offline users directly as known undeliverable messages rather than discarding or attempting delivery. Offline notices can still be controlled with the [Messaging] ForwardOfflineGroupMessages setting. Looks to address more of http://opensimulator.org/mantis/view.php?id=7037 Only for Flotsam now for testing, but if approach works should be possible with core offline notices as well.
* Add send group notice regression test for when MessageOnlineUsersOnly=trueJustin Clark-Casey (justincc)2014-05-121-0/+71
|
* minor: eliminate unused UUID in xmlrpc ↵Justin Clark-Casey (justincc)2014-05-121-2/+0
| | | | GroupsMessagingModule.ProcessMessageFromGroupSession()
* Show more meaningful error messages when failed to give an item to another userOren Hurvitz2014-05-061-2/+3
|
* When sending group notices through group messaging, allow the agent ID to ↵Justin Clark-Casey (justincc)2014-03-122-6/+6
| | | | | | | | use for fetching group data to be different from im.fromAgentID This is because xmlrpcgroups currently always checks visibility for the requesting agent ID (unlike Groups v2, which can accept UUID.Zero) But group notice IMs have a from agent which is the group rather than the sending agent. Further addresses http://opensimulator.org/mantis/view.php?id=7037
* Send group notices through the same messaging module mechanism used to send ↵Justin Clark-Casey (justincc)2014-03-113-91/+151
| | | | | | | | group chat to avoid timeout issues when sending messages to large groups. Only implementing for XmlRpcGroups initially to test. May require MessageOnlineUsersOnly = true in [Groups] to be effective. In relation to http://opensimulator.org/mantis/view.php?id=7037
* Add regression test for sending group notices via xmlrpc groups connector.Justin Clark-Casey (justincc)2014-03-072-0/+56
|
* Log information about which function, request data and agent ID triggered an ↵Justin Clark-Casey (justincc)2014-02-141-14/+5
| | | | XmlRpcGroupsServiceConnector error
* Create regression test TestSendAgentGroupDataUpdate() for groups agent data ↵Justin Clark-Casey (justincc)2013-12-181-3/+62
| | | | sending
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-152-6/+4
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Added support for attachments to group notices when using Flotsam groups.Kevin Cozens2013-10-151-50/+122
|
* Don't try and send group updates to NPCs via event queue, since NPCs have no ↵Justin Clark-Casey (justincc)2013-08-121-1/+0
| | | | | | | event queue. I think there is an argument for sending this information to NPCs anyway since in some cases it appears a lot easier to write server-side bots by hooking into such internal events. However, would need to stop event messages building up on NPC queues if they are never retrieved.
* Added BasicSearchModule.cs which handles OnDirFindQuery events. Removed that ↵Diva Canto2013-07-281-16/+6
| | | | handler from both Groups modules in core, and replaced them with an operation on IGroupsModule.
* Update the money framework to allow sending the new style linden "serverside ↵Melanie2013-05-251-1/+1
| | | | | | is now viewerside" messages regarding currency This will require all money modules to be refactored!
* Make sure we dispose of WebResponse, StreamReader and Stream in various ↵Justin Clark-Casey (justincc)2013-02-271-18/+28
| | | | places where we were not already.
* minor: Capitalize GroupsModule command categoryJustin Clark-Casey (justincc)2013-01-101-1/+1
|
* 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