Commit graph

95 commits

Author SHA1 Message Date
Griatch
84dae72dfb Run migrations. Removed all references to ExternalChannelConnection. 2014-03-08 12:11:34 +01:00
Griatch
84f5c4dca5 Implemented untested IMC2 in the new system. 2014-03-08 11:42:35 +01:00
Griatch
ab6dcc605d Got the IRC bot working with the new mechanism. 2014-03-08 11:41:24 +01:00
Griatch
6c45d76b56 Made irc bot connect, but scripthandler lookup is causing traceback when searching for a player) 2014-03-08 11:41:24 +01:00
Griatch
75ef743297 Made a first version of command IRC2Chan, server starts but no more testing yet. 2014-03-08 11:41:23 +01:00
Griatch
f9eece9749 Started implementing the Bot functionality. 2014-03-08 11:41:23 +01:00
Griatch
3f1a461e29 Moved irc/imc2/rss to portal location. No changes done yet. 2014-03-08 11:41:23 +01:00
Griatch
59328c9d43 Run migration. Removed PlayerChannelConnection model 2014-03-08 11:41:23 +01:00
Griatch
2b1cb1c6ce Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model. 2014-03-08 11:41:23 +01:00
Griatch
987695e417 Added m2m field for holding channel subs (no migration yet) 2014-03-08 11:41:23 +01:00
Griatch
617d0a3252 Added new handler calls to all typeclassed objects 2014-02-16 15:22:43 +01:00
Griatch
638483fa66 Changed the relative priorities of cmdsets to the following: -100(Empty), -20(Session), -10(Player), 0(Character), 101(Exit), 120(Channel) 2014-02-16 01:38:27 +01:00
Griatch
c321ccb332 Made examine command more verbose about the cmdset stack and just which cmdsets go into the currently merged set. This meant a change to merged sets where they store their component sets as a variable "merged_from". 2014-01-20 22:46:30 +01:00
Griatch
6e5de7847a Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path. 2013-12-02 13:45:48 +01:00
Griatch
e9e2c78eef Refactored amp.py to more cleanly splitting long AMP messages also during server sync (this could cause errors with a large number of connected players). Also fixed an issue with the lockstring get:all() being set by @create despite it not needing to (overloading changes in the typeclass). 2013-11-27 16:57:41 +01:00
Griatch
1ae17bcbe4 PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned. 2013-11-14 19:31:17 +01:00
Griatch
149b06a6a4 Fixed an issue with exit commands not using arg_regex ending correctly (it turns out you need to include this in the ExitCommand creation call or the metaclass will not pick it up and precompile the regex). Resolves Issue 397. 2013-11-12 00:05:06 +01:00
Griatch
3430aa9eae Fixed bug in delcom. 2013-10-21 22:51:16 +02:00
Griatch
06a0bea8d6 Added fix to object.contents cache as well as reworked the extent of cache hooks on location modification. 2013-10-21 21:17:32 +02:00
Kelketek
10f7986335 Removed bogus column rename from a migration. 2013-10-20 07:21:59 -05:00
Griatch
4c650a44a6 Fixed up some channel-related errors and made unittests run again. 2013-10-18 21:01:53 +02:00
Griatch
bf786705b8 Fixed a missing return statement that caused non-superusers to not join default channels. 2013-10-18 20:34:09 +02:00
Kelketek
b6ece2af10 Fixed issue where migrations would not also migrate ContentType for ChannelDB. 2013-10-17 20:18:37 -05:00
Griatch
acdea41a67 Merge from Kelketek's clone. Added fixes to migrations of Tags. Issues with ContentTypes meaning that this revision is not possible to start. 2013-10-17 23:44:52 +02:00
Kelketek
45ea5a7cb5 Admin pages load now, but they ain't always pretty. 2013-09-29 13:30:25 -05:00
Kelketek
48bcb9d0ba Useful default typeclass for channels added. Handles poses and provides interfaces for external messages and internal alike. 2013-09-29 13:11:10 -05:00
Kelketek
851e6d00cc Turned comms into typeclassed objects. 2013-09-28 22:23:30 -05:00
Griatch
2a5168ade4 Moved all relevant wrappers into being managed by the metaclass. Noting that there are many inconsistent features into the comm system; m2m fields should be moved into handlers rather than what is now used. Some of the non-typeclassed models also really don't need to be idmapped - will probably not change this before merge. 2013-09-23 23:34:47 +02:00
Griatch
0a394929b7 Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects. 2013-09-22 19:56:51 +02:00
Griatch
e36c7d5cc1 Cleaned up worst instability. Test suite does validate yet. 2013-09-21 17:33:48 +02:00
Griatch
fa93c70e7f First implementation of OOBHandler. 2013-09-19 20:41:42 +02:00
Kelketek
5320381060 Removed some references to get_profile(), fixed some spelling errors, fixed post_clear signal. 2013-07-27 18:59:39 -05:00
Griatch
6bc16e46cc Made aliases work with the new handler. The location.contents updated is not working yet - this causes locational information to not be available until objects and manually initialized (e.g. by calling examine #dbref) 2013-07-12 20:21:52 +02:00
Griatch
c676c9965f Merged. Still need to update some migrations. 2013-07-11 19:11:27 +02:00
Griatch
9e10a41e18 First version with all caches seemingly working ok. Started to remove the on-model wrappers that are not handled by the idmapper metaclass. 2013-07-11 15:59:03 +02:00
Griatch
2b332c3b9a Attribute cache is working, lots of other updates, but still not a cleanly updatable system. It seems the Attribute-migrations are not coming through properly. Fixed a misnamed table in the comm app. 2013-07-11 09:51:52 +02:00
Griatch
92339362ec Changed/fixed some issues with the command priorities that caused a lower-prio dynamically-created command to not properly be accounted for. Also changed the prio order for which of the cmdsets are used for checking the "duplicates" flag - it is now the new set being merged onto the new one (i.e. the priorotized) cmdset that must have this flag set in order for the result to have duplicates. 2013-07-01 14:30:17 +02:00
Griatch
878f83aba0 Merge. Added updates to some of the fixes, such as making channel connetion updates look for online Players instead of online Sessions (the latter would have created duplicates in a multi-session environment). 2013-06-30 13:57:21 +02:00
Kelketek
c4db3e5370 Made normal channels not message offline users by default. 2013-06-29 18:52:15 -05:00
Kelketek
0fa625236e Removed traces of db_index on db_header and db_title for comms. Turned db_header into textfield. 2013-05-15 06:33:04 -05:00
Griatch
bd9421d4b0 Implemented unittests for all default commands in a new and much faster way. 2013-05-12 19:53:19 +02:00
Griatch
0fddf433dc Updated all Player-level commands to properly relay messages using self.msg rather than caller.msg (the former will properly relay to the right sessid without needing any extra arguments). 2013-04-12 14:27:36 +02:00
Griatch
f0fa6b5aee Fixed a bug in IMC2 implementation. Made sure the Tutorial world Ghost keeps moving after winning a battle. 2013-03-08 21:42:51 +01:00
Kelketek
9dd69fc9e0 A couple more straggling lock fields. Should be all of them now. I hope. 2013-02-03 10:01:07 -06:00
Griatch
373a1f68c4 Fixed a looping bug when trying to send a message without a channel target. 2013-02-02 19:58:36 +01:00
Griatch
41859d9e46 Added the ability for the IRC bot to parse /me emotes from the IRC channel. 2013-01-30 15:14:30 +01:00
Griatch
90a64a3780 Fixed a bug in external_connections. 2012-12-13 22:46:18 +01:00
Griatch
d14b014611 Fixed the auto-subscription to channels by non-superusers. Resolves Issue 336. Removed a spurious print statement in the unloggedin create command. 2012-12-12 22:57:03 +01:00
Griatch
f2e971b392 Have Msg access methods return typeclasses where appropriate instead of dbobjs, to make it more straightforward to compare things. Resolves Issue 329. 2012-12-08 20:45:52 +01:00
Griatch
28c625c12c Re-activated connect-channel again, called from hooks. Fixed some bugs and minor things to give more control over how messages sent to channels are handled. 2012-11-13 21:24:05 +01:00