73 Commits

Author SHA1 Message Date
c42113d712 Merge PR #17: username changed to push in the good Docker hub account 2020-07-19 01:10:44 +02:00
cf59ebb8b4 username changed to push in the good Docker hub account 2020-07-18 01:20:36 +02:00
aae9e09bd2 Merge PR #16: Docker & adding travis 2020-07-17 23:00:49 +02:00
158731b3fa Docker & adding travis 2020-07-17 22:49:05 +02:00
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
0361021fbd Change shebang to python2 (see PEP394)
Would've prevented #7
2016-10-22 13:54:02 +02:00
dd19472b8c Fix use of daemon library in Version >= 1.6
For some reason they decided to rename the pidlockfile
file to pidfile.

Fixes: #6
2016-05-02 21:36:40 +02:00
557a4951b1 Improve README and change to markdown 2016-04-12 23:00:17 +02:00
e9ea8cd305 Added support for a user whitelist in idlemove 2016-04-12 21:56:56 +02:00
61c9f25b65 Do not silently fall back to default if a config file couldn't be found 2015-11-29 19:34:45 +01:00
5680d806d2 Add basic stale pid detection heuristic
While any normal crashes should already remove the pid file
if one was created mumo can still be killed in ways which
make it unable to clean up after itself. This patch adds
a basic heuristic which checks if the pid mentioned in the
pid file belongs to a running process. If so we assume this
is actually mumo and terminate. If not we assume mumo isn't
running and break the lock. This approach is not 100% reliable
and it break the acquire timeout properties we had before
but should do the trick.
2015-06-24 06:18:14 +02:00
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
cc68e673f1 Add context menu support
This patch adds support for adding context menu entries
to connected users. As these callbacks are - in contrast
to all others in mumo - user specific they do not fit
well with the existing mumo architecture. To cope with
this creating these callbacks is now handled directly
inside the manager on behalf of the remote manager.
The remote manager then handles forwarding any context
menu actions to a user selected handler.

This patch also removes the vestigial parts of context
menu handling already present but unused in mumo as they
were an architectural dead end.
2015-05-17 23:22:01 +02:00
373708a435 Replace dead forum link 2014-07-15 21:51:30 +02:00
6ff2e524f5 Fix mumo dynamic slice retrieval for Ice 3.5 python bindings 2014-07-10 18:32:20 +02:00
a47974f0df Added explicit setting of Ice EncodingVersion to 1.0 to make it compatible with Ice 3.5.x 2014-03-12 18:50:04 -04:00
21ab4fab27 Correct long game names in source plugin 2013-06-01 23:07:08 +02:00
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
2348d1a655 Invalid game regex in source.py.
- Was hidden by correct value in source.ini
2013-03-25 17:39:56 +01:00
fe8e8d7c24 Make source module python 2.6 compatible 2013-03-24 14:39:13 +01:00
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
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
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
23ce059c98 Basic functionality and test coverage for source plugin 2013-03-23 17:16:45 +01:00
108bcda5f0 Source plugin now applies ACLs to created channels 2013-03-23 17:16:45 +01:00
bd73f2d9d6 Source plugin now handles groups 2013-03-23 17:16:45 +01:00
5ef6b5f6df Remove outdated sketches.txt and add run instructions to README 2013-03-23 17:16:45 +01:00
e02206b022 Source plugin ini diverged from py defaults. 2013-03-23 17:16:44 +01:00
0efae58454 Source plugin didn't handle users moving on them own correctly 2013-03-23 17:16:44 +01:00
e09ba4fb93 Add capability to delete unused channels to source plugin 2013-03-23 17:16:44 +01:00
deb9aba022 Add a README 2013-03-23 17:16:44 +01:00
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
0ac8b542a9 Make non-module folders also look like modules to improve handling in PyDev 2013-03-23 17:16:44 +01:00
911a904131 Sink log output in unit tests 2013-03-23 17:16:44 +01:00
74674509cd Use RawConfigParser so we can load python style template syntax from configs 2013-03-23 17:16:44 +01:00
4a42e01f36 Add ability to check for config keys using 'in' 2013-03-23 17:16:44 +01:00
1aac7ac6df Improve mumo behavior with platforms in which Ice.getSliceDir behaves unexpected 2013-03-23 17:16:31 +01:00
7c21c98824 Enable mumo to retrieve slice file from server on startup and make that the default behavior 2012-10-31 06:43:59 +01:00
fff76b5cc3 Example init script for mumo 2012-08-25 18:25:31 -07:00
288a652d49 Implement pid file for --daemon 2012-08-25 18:08:37 -07:00
c888717eb8 Fix misleading error message 2011-04-16 05:25:59 +02:00
9119356227 Extend seen module to be aware of online users and make response behavior more natural 2011-04-09 04:53:57 +02:00
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
ec4ab3da80 Revert broken move on unlink insurance in bf2 module 2011-04-07 04:07:41 +02:00
0b4a312072 Updated mbf2man tool to create channels with better names. 2011-04-06 17:20:19 -03:00
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
0fcb261ec4 Add easy way of negating ipport_filter regex to bf2 module 2011-01-06 02:32:35 +01:00
e48e90e037 Extend documentation in default bf2.ini 2010-12-31 17:46:10 +01:00
9c4e28c261 Adjust some more ACLs in bf2 module 2010-12-31 17:04:59 +01:00
60081ec154 Update bf2.py script for a more viable ACL structure 2010-12-31 15:05:18 +01:00