Stefan Hacker
e595ea861b
Add channel whitelist for excluding channels from idle handling
...
This adds a new channel_whitelist variable that can be used
to specify channels that players won't be moved from even if
they are idle.
Fixes : #8
2016-10-22 13:54:02 +02:00
Matthew Lavine
e9ea8cd305
Added support for a user whitelist in idlemove
2016-04-12 21:56:56 +02:00
Stefan Hacker
b0b2c1bae1
Add samplecontext sample module
...
This module is meant to show on how to use the
context menu functionality in mumo.
2015-05-17 23:22:01 +02:00
Stefan Hacker
a8707696a0
Fix user disconnects from source plugin
...
- transitionGoneUser tried to remove disconnected users
from groups on the server. Now only done for users still
connected.
2013-04-05 14:42:39 +02:00
Stefan Hacker
2348d1a655
Invalid game regex in source.py.
...
- Was hidden by correct value in source.ini
2013-03-25 17:39:56 +01:00
Stefan Hacker
fe8e8d7c24
Make source module python 2.6 compatible
2013-03-24 14:39:13 +01:00
Stefan Hacker
b3a7219cb8
Source plugin now remembers channel names of controlled channels
...
- validateChannelDB and channel state changes now maintain
mappings database
- Name mappings are used during channel creation
2013-03-24 14:39:13 +01:00
Stefan Hacker
0782eace33
Introduce constraints and name mapping to source plugin database.
...
- Using default values now instead of NULL to signal empty field
because NULL values are considered distinct in the context of
UNIQUE table constraints in sqlite
- Introduced new table for mappings from sid, game, server and team
to channel name i preparation for new functionality
- Updated and expanded unit test
2013-03-24 14:39:13 +01:00
Stefan Hacker
28195110c0
Expand unit test coverage for source plugin.
...
- Added testValidateChannelDB
- Fixed channel validation not considering deleted server
2013-03-23 17:16:45 +01:00
Stefan Hacker
23ce059c98
Basic functionality and test coverage for source plugin
2013-03-23 17:16:45 +01:00
Stefan Hacker
108bcda5f0
Source plugin now applies ACLs to created channels
2013-03-23 17:16:45 +01:00
Stefan Hacker
bd73f2d9d6
Source plugin now handles groups
2013-03-23 17:16:45 +01:00
Stefan Hacker
e02206b022
Source plugin ini diverged from py defaults.
2013-03-23 17:16:44 +01:00
Stefan Hacker
0efae58454
Source plugin didn't handle users moving on them own correctly
2013-03-23 17:16:44 +01:00
Stefan Hacker
e09ba4fb93
Add capability to delete unused channels to source plugin
2013-03-23 17:16:44 +01:00
Stefan Hacker
4b61aa2fec
Add source module to mumo
...
The source module is inspired by the bf2 module and is supposed to allow on-the-fly context/identity based player management for source engine based games. Currently supported games are TF2, DOD:S, CStrike:Source and HL2DM.
This commit adds the basic structure with unit tests for many of the components. For now only dynamic channel creation and player movement is implemented.
Left todo are dynamic ACL/Group management, unused channel deletion, server channel re-use and, most importantly, actual testing beyond the small unit test coverage.
2013-03-23 17:16:44 +01:00
Stefan Hacker
0ac8b542a9
Make non-module folders also look like modules to improve handling in PyDev
2013-03-23 17:16:44 +01:00
Stefan Hacker
9119356227
Extend seen module to be aware of online users and make response behavior more natural
2011-04-09 04:53:57 +02:00
Stefan Hacker
ab27fb960a
Add new text message callback stub to mumo and modules. Add seen module to query for last time a given user was active.
2011-04-09 03:53:11 +02:00
Stefan Hacker
ec4ab3da80
Revert broken move on unlink insurance in bf2 module
2011-04-07 04:07:41 +02:00
Stefan Hacker
e2e7dfad4e
bf2 module: Add '--linkteams' parameter to mbf2man tool that makes linking team channels option. Convert all squad names from Nato alphabet to 'first', 'second', 'third',... squad.
...
Note: This change has not yet been tested in any way and might not even execute
2011-03-30 18:02:51 +02:00
Stefan Hacker
0fcb261ec4
Add easy way of negating ipport_filter regex to bf2 module
2011-01-06 02:32:35 +01:00
Stefan Hacker
9c4e28c261
Adjust some more ACLs in bf2 module
2010-12-31 17:04:59 +01:00
Stefan Hacker
60081ec154
Update bf2.py script for a more viable ACL structure
2010-12-31 15:05:18 +01:00
Stefan Hacker
8cd1d39fe7
Add some legacy hacks for Ice 3.2 to bf2.py. It seems like it will never get the whole context stuff since it seems to truncate it at the first \0 it finds.
2010-12-27 19:20:53 +01:00
Stefan Hacker
4753c96777
Try to make bf2.py python 2.5 compatible
2010-12-27 17:17:12 +01:00
Stefan Hacker
b25b446f84
Modify idlemove module to be able to chain thresholds for moving and add source channel filters
2010-12-27 02:42:23 +01:00
Stefan Hacker
bf006394da
Update bf2 modules to use xml instead of xml. Improve structure a bit. Improve log output. Fix some issues.
2010-12-24 15:37:55 +01:00
Stefan Hacker
f21126ffdb
Fix server specific session state saving in bf2 module
2010-12-24 14:07:50 +01:00
Stefan Hacker
dcc436b2d3
Fix a few bugs in bf2 module and add mbf2man.py for easy creation of channel/acl structures for the bf2 module
2010-12-24 00:55:56 +01:00
Stefan Hacker
9cd4991e63
Modify bf2 module to be able to assign group memberships relative to a game specific channel
2010-12-23 09:07:12 +01:00
Stefan Hacker
90bd40faed
Add utmost uberhakish bf2.py module for some testing. Needs lots and lots of cleanup later ;-)
2010-12-23 07:58:16 +01:00
Stefan Hacker
76dea5d80c
Add idlemove module for moving/muting/deafening idle players.
2010-12-20 20:19:44 +01:00
Stefan Hacker
a71cf75a83
Added onjoin module for moving players on join as the first mumo plugin. Numerous fixes/changes in the underlying stuff. Moved sample configuration files from modules-enabled to modules-available.
2010-12-20 20:19:09 +01:00
Stefan Hacker
ad862225fa
Add mumo.py with Ice connectivity. For now no context support.
2010-12-20 01:11:55 +01:00
Stefan Hacker
30738329e1
Nearly finished basic mumo application. config, worker and mumo_module have test coverage. mumo_manager is not yet covered and most likely not right yet.
2010-11-20 03:36:50 +01:00