Griatch
0bf4f3cfea
Removed all old south migrations, leaving migration dirs empty for future django1.7 migrations.
2014-09-17 09:45:41 +02:00
Griatch
c4c662b33e
Moved unicode/str conversions to sessionhandler level in order to still allow message_all session messages without triggering unicode tracebacks (such as when server restarts).
2014-09-10 09:33:44 +02:00
lu yijun
dbbacb4bb3
This fixes issue #569
2014-09-07 02:22:12 +08: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
4e2dfef321
Added escaping of unicode text input of ASCII control characters and extended characters as per #551 .
2014-08-21 08:53:01 +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
Griatch
306ce17022
Fixed some lingering uses of sessid as a non-handler.
2014-08-05 09:16:00 +02:00
Griatch
1e41be797b
Run migrations! First version of MULTISESSION_MODE=3. @ic/@ooc not working yet.
2014-08-04 15:32:48 +02:00
Griatch
3819c97b06
Some cleanup and changing to conform to PEP8 standard.
2014-07-10 20:29:16 +02:00
n0q
d43c003cc8
Guest cleanup and server hooks
...
Outstanding guest objects (say, from crashes) are now cleaned up at
startup.
Copied the at_server_startstop.py hooks directly into Server object, and
set them to reference SERVER_STARTSTOP_MODULE. This seemed to be the
cleanest way to go about things.
2014-07-07 23:37:11 -04:00
Griatch
1874300ad1
Added at_post_disconnect() hook to Player, to allow for clean deletion of players at disconnect (for example for Guest-account implementation)
2014-07-06 16:20:50 +02:00
Griatch
e6950aadf2
Changed how lazy-loading of handlers work, using a werkzeug recipe. Much more efficient now.
2014-07-06 13:10:03 +02:00
Kelketek Rritaa
7499932337
Removed creation of admin media symlink. Fixed media handling.
2014-06-29 08:23:12 -05: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
9ba212c264
Working on the OOB system, somewhat unstable at the moment.
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
a9cf081494
First make of a testing method for oob
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
53b204bb76
Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509 .
2014-06-15 13:19:38 +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
f2c75bd0f6
Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage.
2014-05-18 18:28:10 +02:00
Griatch
f3af089aac
Some cleanup of the server command.
2014-05-11 19:03:45 +02:00
Griatch
0030530021
Added weak reverse references from all handlers.
2014-05-10 17:12:49 +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
e76061ee4c
Fixed some issues with which hooks the reset command calls. Resolves #499 .
2014-04-12 16:25:19 +02:00
Griatch
bb7b73b7c2
Added auto-created empty unittest definitions.
2014-03-16 11:14:38 +01:00
Griatch
440afe6928
Further tweaks to unit test systems
2014-03-15 14:06:28 +01:00
Griatch
67c4896a53
More refactoring of the unittest system
2014-03-15 08:03:44 +01:00
Griatch
7571e3606d
Some cleanups of the unittests.
2014-03-15 07:37:02 +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
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