Commit Graph

20 Commits

Author SHA1 Message Date
Stefan Hacker
0361021fbd Change shebang to python2 (see PEP394)
Would've prevented #7
2016-10-22 13:54:02 +02:00
Stefan Hacker
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
Stefan Hacker
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
Stefan Hacker
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
Stefan Hacker
6ff2e524f5 Fix mumo dynamic slice retrieval for Ice 3.5 python bindings 2014-07-10 18:32:20 +02:00
Brendan Corcoran
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
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
108bcda5f0 Source plugin now applies ACLs to created channels 2013-03-23 17:16:45 +01:00
Stefan Hacker
1aac7ac6df Improve mumo behavior with platforms in which Ice.getSliceDir behaves unexpected 2013-03-23 17:16:31 +01:00
Stefan Hacker
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
Michael Olson
288a652d49 Implement pid file for --daemon 2012-08-25 18:08:37 -07: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
79cae2a2d5 Replace several strings left over in reused sourcecode and warn when using unimplemented context callbacks 2010-12-27 17:35:45 +01:00
Stefan Hacker
54eaba49d8 Fix refactoring error 2010-12-27 17:31:19 +01:00
Stefan Hacker
793fb121fe Try to make mumo compatible to python 2.5 and Ice 3.2 as found on debian lenny 2010-12-27 16:39:48 +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
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
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
41e1e75211 Add commaSeperatedIntegers/commaSeperatedStrings validator functions to configuration. Rename testsuite collection test.py to testsuite.py to prevent name collision with test module test.py 2010-12-20 14:20:44 +01:00
Stefan Hacker
ad862225fa Add mumo.py with Ice connectivity. For now no context support. 2010-12-20 01:11:55 +01:00