Commit graph

260 commits

Author SHA1 Message Date
Griatch
dbe49bb778 Fixed a silly bug introduced in last commit that made telnet connection fail. 2014-02-16 00:24:47 +01:00
Griatch
d159f6731d Implemented better client identification in telnet TTYPE, including a long-standing reversal of DO TTYPE and WILL TTYPE which is due to a typo in the tintin++ TTYPE specification and which was only fixable by going to the original Telnet TTYPE specification from 1989. Should now correctly identify the most common clients that supports e.g. xterm256 colors. 2014-02-13 02:04:43 +01:00
Griatch
ee269d13cf Cleaned up the tickerhandler 2014-02-12 00:46:22 +01:00
Griatch
e481161444 Converted oobhandler to use tickerhandler. 2014-02-12 00:46:22 +01:00
Griatch
029ee71ffa Used 2014-02-12 00:46:22 +01:00
Griatch
205960948d Added first version of TickerHandler, for managing subscription style tickers in a centralized way. 2014-02-12 00:46:22 +01:00
Griatch
204030d559 Added checking of ansi and xterm256 flags to telnet data_out, to allow a manual override of the ttype results. 2014-01-26 21:52:48 +01:00
Griatch
ea7e43c746 Updated gametime module to work on-the-fly, based on patches and discussion with user Khandrish. Also made cleanups to @scripts command and some small bug fixes. 2014-01-04 17:14:51 +01:00
Griatch
7c90c3234c Removed a IPv6 restriction in portal, based on input from user 'jayvee' in chat. 2013-12-11 13:56:16 +01:00
Griatch
81ce6a1827 Fixed silly bug in previous commit. 2013-12-09 09:13:51 +01:00
Griatch
8b462b4934 Moved import in portal.py to after the manual path insert (Windows only), which possibly increase Windows compatability. 2013-12-08 23:54:03 +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
f4c9c18a66 Removed a left-over debug output. 2013-12-02 12:31:20 +01:00
Griatch
1ba54202e8 Fixed a @reload bug caused by last-minute OOB addition. 2013-11-30 08:15:23 +01:00
Griatch
c356267497 Merge from development clone. 2013-11-28 16:46:16 +01:00
Griatch
242a0f17f8 Cleaned up oobhandler input. 2013-11-28 16:26:04 +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
d2448c3eb6 Fixed so nick cmdline/channelname replacement worked with the new execute_cmd paradigm. Also, Resolves Issue 427. 2013-11-12 20:11:36 +01:00
Griatch
295c79d448 Added a 1-second delay to initial connection in order to allow telnet custom protocol handshakes to complete before server sync. This is a dumb patch that works but it's hardly ideal - but without it, none of the telnet options are properly synced to the server. Making a callback chain for the various handhakes is not trivial, so using this until a more elegant solution can be found. 2013-11-12 17:07:35 +01:00
Griatch
7f0d0dd0f8 Fixed more errors with quelling as well as some other things with updating permissions in general. Resolves Issue 430. 2013-11-11 22:44:22 +01: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
Griatch
4af1b165fd Fixed an issue where the contents of an object were not updated correctly. 2013-10-20 14:27:19 +02:00
Griatch
584d1095ad More tweaks to the oob mechanism; renamed oob_defaults to oob_msdp 2013-10-18 22:04:53 +02:00
Griatch
213be7aec4 Forgot to add oob_defaults.py to commit. 2013-10-18 15:05:05 +02: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
Griatch
6f8d1f9ce1 Added some more msdp commands 2013-10-17 20:15:48 +02:00
Griatch
d7fc0c7e16 Made OOB tracking work for Attributes. Tested repeat across reloads. 2013-10-17 19:07:01 +02:00
Griatch
57e7c6a11e Fixed removal of oob repeats. 2013-10-17 17:11:24 +02:00
Griatch
e521501cb9 Tested working oob repeat functionality. 2013-10-17 16:11:42 +02:00
Griatch
46c2e372bf Added working report functionality for db-fields. Not tested for Attributes yet. Also working oob-repeat functionality, but still a traceback at reload. 2013-10-16 23:39:04 +02:00
Griatch
bdcc8de5bc OOB MSDP working with direct sending of data from various parts of the system. Tracking as well as support for the default MSDP commands (LIST, REPORT etc) are not yet tested/implemented. 2013-10-15 20:00:18 +02:00
Griatch
16bbe009c3 OOB passing data client->server. A few more default commands are needed. 2013-10-07 19:57:01 +02:00
Kelketek
851e6d00cc Turned comms into typeclassed objects. 2013-09-28 22:23:30 -05:00
Griatch
39b69dcdc2 Fixed a migration issue with PostGreSQL. 2013-09-26 09:01:27 +02:00
Griatch
b99833e8fc Fixed initial_setup to properly create new objects without a pre-set home. 2013-09-24 00:41:33 +02:00
Griatch
fd9acd6bf9 Fixed website. Fixing references to db_references, not sure how to add the m2m field access to the admin. Fixed wrapper for db_home. 2013-09-23 22:08:14 +02:00
Griatch
642ae2faf9 Fixed cache and metaclass irregularities as well as the location and contents caches. 2013-09-22 21:48:08 +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
bbba695380 Changed unittest suite to use dummy sessions. 2013-09-22 16:29:02 +02:00
Griatch
4659ddbfc3 Changed object.msg() to relay directly to connected session rather than via the player.msg() method. 2013-09-22 11:39:24 +02:00
Griatch
dd27b4b77d More bugfixes. 2013-09-21 22:22:53 +02:00
Griatch
2ba16e155e Fixed a bug in amp that made reloading not work. 2013-09-21 22:00:46 +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
Griatch
d74cce4dfe First version of OOBHandler put together. Might still have to rework it since it cannot properly handle multiple trackers tracking a single field on a given object. 2013-09-14 23:18:36 +02:00
Griatch
4a5de04956 Changed msg() to work with **kwargs rather than data dicts. Still not fully updated the portal side (also remember that keywords let through to the portal must not contain dbobjs, since the portal has no connection to the database). 2013-09-14 09:10:31 +02:00
Griatch
1e96b13920 Changed cmdhandler to include Session-level cmdset. 2013-09-08 00:14:06 +02:00
Griatch
07b1e40299 Changing and testing things with oobhandler, not working yet. 2013-09-07 15:01:41 +02:00
Griatch
839a78ca8d Fixed erroneous alias-assigments in tutorial_world that caused tracebacks. Resolves Issue 423. 2013-08-30 20:53:38 +02:00