Commit Graph

13 Commits

Author SHA1 Message Date
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