Commit graph

1319 commits

Author SHA1 Message Date
Griatch
cafbb43f7a Fixed a bug in dbserialize when handling nested tuples. 2014-03-11 23:24:22 +01:00
Kelketek Rritaa
0a7734c3d5 Added tests for ANSIString, and fixed some bugs for it along the way. 2014-03-09 20:43:36 +01:00
Griatch
f349716e09 Removing some rebug output. 2014-03-09 20:26:42 +01:00
Griatch
021dca4ba7 evtable and evform supports ansi, with some limitations due to wrap not being supported by ANSIString at this point. 2014-03-09 20:23:14 +01:00
Griatch
1886d455da Fixed unicode output of evtable, should allow for ansi colors now. 2014-03-09 20:23:14 +01:00
Griatch
28fc4c96bb Added debug for testing ANSIString with evtable 2014-03-09 20:23:14 +01:00
Griatch
b80baca8e1 Fixed error in removing ansi-escapes. 2014-03-09 20:23:14 +01:00
Griatch
13dc71e02e Changed parser.strip_ansi to parser.strip_raw_codes for contexual clarity. 2014-03-09 20:23:14 +01:00
Griatch
96f26098d1 Fixed comm-related unittest failures 2014-03-09 20:23:14 +01:00
Griatch
1a65d12b2c Fixed a bug in strip_ansi that caused issues all over. 2014-03-09 20:23:14 +01:00
Griatch
ef89099319 Changed .join to ANSIString().join 2014-03-09 20:23:14 +01:00
Kelketek Rritaa
f0130d8384 Added tests for ANSIString, and fixed some bugs for it along the way. 2014-03-09 20:23:14 +01:00
Griatch
ef8755581c optimized ansi parsing a bit as well as did some general cleanup. 2014-03-09 20:22:48 +01:00
Griatch
2aa9ef9997 Fixed so bots cannot idle timeout. 2014-03-09 20:22:48 +01:00
Kelketek Rritaa
04eb057419 Fixed regression where reconverted ANSIStrings would lose all codes.
Made slices append trailing color codes.
2014-03-09 20:22:48 +01:00
Griatch
2b4bfb4433 Changed bot update time 2014-03-09 20:22:48 +01:00
Griatch
44a5a2702d Prepared evtable for changed ANSIString 2014-03-09 20:22:48 +01:00
Griatch
2edea1eace Changed the default login screen to change with settings.SERVERNAME. 2014-03-08 23:10:26 +01:00
Griatch
84dae72dfb Run migrations. Removed all references to ExternalChannelConnection. 2014-03-08 12:11:34 +01:00
Griatch
43b0b1c164 Fixed minor issue with bots executing commands 2014-03-08 11:42:35 +01:00
Griatch
4aa1bfc52d Started making a crop addition to evtable 2014-03-08 11:42:35 +01:00
Griatch
460392f495 Some implementations of EvTable. Probably needs to add a crop-function to evtable. 2014-03-08 11:42:35 +01:00
Griatch
2dbe2938ae Some more work on imc2, still no clear way to test it. 2014-03-08 11:42:35 +01:00
Griatch
84f5c4dca5 Implemented untested IMC2 in the new system. 2014-03-08 11:42:35 +01:00
Griatch
97991a2238 Implemented RSS feed reader along with updated rss2chan command. 2014-03-08 11:42:35 +01:00
Griatch
c0417def6d Starting to convert RSS to new system 2014-03-08 11:41:24 +01:00
Griatch
fc89923fa8 Added a keepalive for the bot to survive IDLE_TIMEOUTs. 2014-03-08 11:41:24 +01:00
Griatch
f126d30b36 More cleanup of irc bot code, including having it cleanly disconnect from irc channel when destroyed. 2014-03-08 11:41:24 +01:00
Griatch
7bde8afe66 Added maxwidth argument to evtable, for restricting upper width of table, but allowing it to resize if narrower. 2014-03-08 11:41:24 +01:00
Griatch
0d071ec75f Updating the irc2chan command 2014-03-08 11:41:24 +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
8b52591c2f Run Migrations. Added player field to script model in order to allow Players to be scripted in the same way Objects can. 2014-03-08 11:41:23 +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
2108506a8a Added new IRC protocol implementation. Not tested yet. 2014-03-08 11:41:23 +01:00
Griatch
2ae5d56928 Continued work on the bots. 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
077f44980a Added a new server_connect() method to portalsessionhandler, in preparation for shifting irc/imc2/rss into the portal. 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
9485dc17c8 Added has_key to _SavedDict 2014-03-08 09:39:40 +01:00
Kelketek Rritaa
af0a149148 Made the in-memory representation of ANSIString the clean string, removing the need for the regexable flag. 2014-02-28 14:19:54 -06:00
Griatch
259860ff25 Made evform use ANSIStrings internally. It doesn't crash, but wrapping coloured strings doesnot yet work. 2014-02-26 16:45:13 +01:00
Griatch
85dbd4a67e Started converting evform for ansi. There are some issues with regex-splitting still. 2014-02-26 14:31:34 +01:00
Griatch
979c1ab9be Fixed bleed of colour in evtable. Removed some debug outputs. 2014-02-26 13:21:14 +01:00
Griatch
07978e2145 Fixed some issues with counting characters in ANSIString. A first version of Evtable that works with ansi. 2014-02-26 12:33:16 +01:00
Kelketek Rritaa
6a7e329a39 Whoops, overcorrected some of that for split(). 2014-02-24 18:14:29 -06:00
Kelketek Rritaa
d4e98a80f9 Resolves #482. ANSIString splitting and slicing more sane. 2014-02-24 15:01:26 -06:00