Commit graph

1444 commits

Author SHA1 Message Date
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
8afdbc6adb Changed ansi parser to strip hard-coded ansi codes inserted raw into the stream, as discussed in #551. 2014-08-20 20:15:11 +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
Griatch
699a6ded43 Fixed annoying traceback bug (the 'e' bug) that masked errors in importing malformed command modules. 2014-08-19 10:20:26 +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
5750f407df Clarified output of utils.string_from_module. See #541. 2014-08-15 23:40:16 +02:00
Michael K
42d614dc0e Changed check to basestring, allowing for ansi. 2014-08-15 22:00:40 +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
d4a78a11a6 Changed so sessid.get() always returns a list for every MULTISESSION_MODE. 2014-08-13 13:19:32 +02:00
Griatch
ddaadb9825 Added TTYPE xterm256 enforcing for the 'BeipMu' client (>v2.00.206). 2014-08-13 09:58:19 +02:00
Griatch
dbc46a372c Made charcreate not force a desc on new characters if the description is already set (such as in the typeclass). 2014-08-10 00:01:46 +02:00
Griatch
fdf5c723d2 Fixed silly error reporting when trying to create an object of a non-found typeclass. 2014-08-09 21:27:01 +02:00
Griatch
f25d512c30 Fixed bug in @userpassword that still used old 'user' field to look up the password. 2014-08-09 18:17:03 +02:00
Griatch
ecc2b11747 Fixed bug in CmdExamine for multisession_mode=3. Resolves #544. 2014-08-07 22:12:44 +02:00
Griatch
e7d562d2e8 Fixed so the look command is called immediately when connecting also on MULTISESSION_MODE=3 2014-08-07 17:45:16 +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
5d08d3b3fb Added clear() method to nattributehandler. Resolves #542. 2014-08-05 09:05:44 +02:00
Griatch
55cbe615e9 Tested all multisession modes against unittests. Seems to work. 2014-08-04 17:09:16 +02:00
Griatch
1ffbc4b9f3 Implemented a first working version of MULTISESSION_MODE=3 2014-08-04 15:58:51 +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
3014909feb Fixed attribute bug in typeclass swap. 2014-08-04 12:15:10 +02:00
Griatch
874e3edb2a Changed guest default home and start location to link to the default values rather than hard-coding it. 2014-07-10 23:42:54 +02:00
Griatch
a707c3c404 Made guest logins turned off by default; if people want it, it should be a concious choice. 2014-07-10 21:12:15 +02:00
Griatch
5725eae583 Some restructuring of settings_default, moving guests into a separate section. 2014-07-10 21:07:03 +02:00
Griatch
3819c97b06 Some cleanup and changing to conform to PEP8 standard. 2014-07-10 20:29:16 +02:00
Griatch
364b156456 Merge branch 'dev' of https://github.com/n0q/evennia into n0q-dev 2014-07-10 20:12:48 +02:00
Griatch
84b8ffe834 Made websocket connection error a little more verbose. 2014-07-08 10:27:02 +02:00
Griatch
a0189a91ad Fixed clearing in Tags vith tags.clear() 2014-07-08 09:22:49 +02:00
n0q
ddf8c60341 Corrected guest_list comment
Comment on GUEST_LIST specified 5 guests when the actual list was configured for nine.
2014-07-08 02:21:59 -04:00
n0q
e47b2b83b1 Added Guest permission level 2014-07-08 01:33:06 -04:00
n0q
5b6ab697b0 Update unloggedin.py 2014-07-08 00:03:07 -04:00
n0q
485844a150 Added newline to end of file 2014-07-07 23:41:20 -04: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
n0q
f6b3535021 Fixed settings_default.py compliance
Guests are enabled and disabled with GUEST_ENABLED.
2014-07-07 23:34:07 -04:00
n0q
de6badd709 Fix for empty character sets
Filtering away characters who's type is None, to avoid tracebacks in the
event of a characterless guest.
2014-07-07 22:42:24 -04:00
Griatch
50e7b37191 Addded sorted returns of Tags, as per #534. 2014-07-07 22:47:26 +02:00
Griatch
52eef63a84 Added ban-check also before unloggedin player/character creation. Resolves #536. 2014-07-07 22:31:19 +02:00
Griatch
4ae65c98fb Made say command color-consistent with pose. Resolves #538. 2014-07-07 22:10:08 +02:00
Griatch
8af76ce669 Fixed a typo in batchprocessor. Resolves #539. 2014-07-07 22:07:04 +02:00
n0q
a8f9c4034e Porting changes to latest master
Ported my changes to commands/default/player.py to latest evennia/evenna
2014-07-06 17:11:26 -04:00
n0q
757cfded99 Stray bit of code 2014-07-06 16:53:42 -04:00
n0q
b9661c5c96 Guest Functionality
Allows for guest logins by entering 'connect guest' at the login screen.
Cleans up after itself but does not yet clean up stale guests from a
system crash.
2014-07-06 16:46:02 -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
88efc50054 Fixed outbut listing bug in @set. 2014-07-06 16:08:29 +02:00
Griatch
9dfe620b2b Started moving tag/attribute handlers to TypeObjectManager as per #529 2014-07-06 16:03:27 +02:00