Commit graph

22 commits

Author SHA1 Message Date
Griatch
1b44d9b2ed Fixed a bug in the lockhandler error handling. Resolves #564. 2014-09-19 21:15:50 +02:00
Duarte Cordeiro
b5507b0fcb Fixed keyword name and arguments for the telnet option ECHO. 2014-09-18 15:29:58 +01:00
Duarte Cordeiro
efd2eeafb8 Added telnet option ECHO, so that server can request no local echo on client. Related with feature request #540 2014-09-18 14:55:56 +01:00
Griatch
9af3b44e1c Added NAWS negotiation to telnet protocol, for negotiating the client width/height. Use session.get_client_size() to get a tuple of (width, height) for the current output window. Not currently supported by the webclient. Also added options settings.CLIENT_DEFAULT_WIDTH and -HEIGHT for having a fallback. Note that none of Evennia's default systems currently use this width information. 2014-08-20 10:21:11 +02:00
Simon Vermeersch
1c632e2c35 Correctly sends the prompt in the telnet handler and also sends it after any other text 2014-08-18 20:16:49 +02:00
Griatch
831afe79b3 Some cleanup of comments 2014-08-14 11:01:49 +02:00
Griatch
bb808174e3 Changed session sync timeout to 2 seconds. 2014-08-14 10:56:59 +02:00
Griatch
31687b8a05 Made telnet protocols resync with server once their handshakes are complete. Also changed default (pre-TTYPE) to be ansi+xterm256. Set a 5-second timeout for handshakes. This pertains to issue #434. 2014-08-14 10:28:50 +02:00
Griatch
6ebde92448 Added prompt keyword to msg() method. Inspired by code by titeuf87 in #543. 2014-08-06 20:00:51 +02:00
Griatch
81aa43933c Mudlet seems to fail TTYPE handshake if data compression is activated before TTYPE. Should resolve #512. 2014-06-14 20:35:00 +02:00
Griatch
0dc62a5fc9 Refactored batch processors, addressing points in #489. 2014-04-20 23:06:10 +02:00
Griatch
7d0ff9c71c Fixed a database referene bug that would remove ForeignKey referenced objects when reverse referenced through something like db_home (this defaults to CASCADE mode, is now SET_NULL). Also fixed some other minor things. 2014-04-20 15:03:53 +02:00
Griatch
01d15f13ee First, untested implementation of websocket protocol support. 2014-04-13 13:18:32 +02:00
Griatch
dbe49bb778 Fixed a silly bug introduced in last commit that made telnet connection fail. 2014-02-16 00:24:47 +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
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
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
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
Griatch
39b69dcdc2 Fixed a migration issue with PostGreSQL. 2013-09-26 09:01:27 +02:00
Griatch
e36c7d5cc1 Cleaned up worst instability. Test suite does validate yet. 2013-09-21 17:33:48 +02:00
Griatch
812bdb0f73 Refactored src/server, splitting out into a portal subdirectory to make it clearer what goes on which "side". 2013-05-22 18:40:16 +02:00
Renamed from src/server/telnet.py (Browse further)