Commit graph

56 commits

Author SHA1 Message Date
Griatch
bb36f2cb76 Changed to Django1.7. Django 1.6 no longer supported. To change, upgrade django to 1.7+ and then run manage.py migrate, possibly followed by manage.py migrate --fake for objects and players. 2014-09-17 10:49:42 +02:00
Griatch
19d6d4ff9e Fixed so multiple webserver interfaces don't kill the websocket client connection. Cleaned up some comments in settings.py. 2014-08-23 00:07:47 +02:00
Griatch
2945454bf8 Forgot to add the naws.py file. :) 2014-08-20 10:25:24 +02: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
ddaadb9825 Added TTYPE xterm256 enforcing for the 'BeipMu' client (>v2.00.206). 2014-08-13 09:58:19 +02:00
Griatch
40e9a149d6 Added prompt functionality to webclient using the msg 'prompt' keyword functionality 2014-08-07 07:53:20 +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
Kelketek Rritaa
16bcc3c9f0 Restructured web resources to better manage static files. 2014-06-28 16:28:14 -05:00
Griatch
c60a5fdea1 Fixed and refactored OOB system and tested with new websocket client 2014-06-28 18:10:20 +02:00
Griatch
d59500f574 Updated to a working websocket implementation of webclient. 2014-06-28 18:10:20 +02:00
Griatch
ca1e36da5f First working test version of oob support in the websocket client. 2014-06-28 18:10:20 +02:00
Griatch
ede6634081 Converted webclient to use websockets on port 8001. Ideally one would make it so the ajax and websocket clients work under the same django wrapper, but for now this functionality is elusive. 2014-06-28 18:10:20 +02:00
Griatch
2a6cfaca7d Some cleanup of the OOB code. 2014-06-28 18:10:20 +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
ec54de4797 Fixed an simplejson deprecation, switching to python json. 2014-04-20 16:50:37 +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
ef0a154a61 First version of working websocket protocol. 2014-04-13 16:26:14 +02:00
Griatch
01d15f13ee First, untested implementation of websocket protocol support. 2014-04-13 13:18:32 +02: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
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
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
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
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
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
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
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
6f8d1f9ce1 Added some more msdp commands 2013-10-17 20:15:48 +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
Griatch
39b69dcdc2 Fixed a migration issue with PostGreSQL. 2013-09-26 09:01:27 +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