Commit graph

301 commits

Author SHA1 Message Date
Tehom
f086433e83 These fixed the exceptions that popped up for me when stopping the evennia process on Windows - believe it or not, the wholly redundant try/except block for printing the success message in evenna_launcher actually removed a traceback.. But since Windows seems incredibly finicky, it'd probably be a good idea to see if it breaks anything for someone else using Windows first. 2016-11-25 09:07:48 +01:00
Griatch
2578e6cbfc Make the MXP charcode more explicit for readabilty. 2016-11-24 21:36:04 +01:00
Griatch
ffb9befd7f Change how evennia stop works under Windows, as per #1100. This introduces the launching of SIGINT-like signals in Windows which unfortunately means the Windows console will show an annoying question about terminating batch jobs (which cannot be removed, apparently). But it should now work consistently with the Linux version when stopping and restarting from the command line. 2016-11-23 19:07:54 +01:00
Griatch
5bc2a89fbd Change format of AMP error definitions to better match docs. 2016-11-17 17:09:24 +01:00
Griatch
433b888422 Fix logics. 2016-11-17 16:57:05 +01:00
Griatch
f7f1037441 Fix typo in ircbot reconnect method. 2016-11-17 16:23:33 +01:00
Griatch
301efe4467 Fix error in SSH TTYPE parsing that made text not go through correctly on an SSH connection. 2016-11-06 21:53:53 +01:00
Griatch
3de2e649a1 Merge branch 'patch-1' of https://github.com/BlauFeuer/evennia into BlauFeuer-patch-1 2016-11-05 22:14:57 +01:00
Griatch
4d3ea8df07 Add support for testing with other settings than the default one. Implements #774. 2016-11-02 21:01:47 +01:00
Greg Taylor
4424dec668 Remove broken and un-maintained IMC2 support.
As discussed with @Griatch, IMC2 is now rarely seen in the wild. Also, this
feature hasn't worked in ages. Time to de-clutter.
2016-10-28 22:53:43 -07:00
BlauFeuer
ecb82a2a23 MXP text/command simple double quote escape
Escape simple double quote characters when used in MXP text/command text
2016-10-22 14:43:32 -04:00
BlauFeuer
fd0f765ad5 MXP tags to use double quote instead of single
This works around the problem of having to escape single quotes (apostrophes) in MXP commands or texts, but then requires (simple) double quotes to be escaped.
2016-10-22 14:06:19 -04:00
Griatch
f423771423 Added some more noisy=False to other factories as per #1107. 2016-10-22 16:02:32 +02:00
Tehom
5b07a8bd2c Remove ampfactory start/stop messages from portal log for every connection. 2016-10-22 09:01:15 -04:00
Griatch
00c64b10bb Make sure msg(text=None) means that text should not be used (None must be converted to a string to send). Resolves #1077. 2016-10-02 21:51:15 +02:00
Griatch
ece023d5ee Correct a typo. 2016-09-14 23:44:22 +02:00
Griatch
4a97a05c10 Some minor fixes and cleanups. 2016-09-14 23:27:55 +02:00
Griatch
86f963fa71 Make sure a player associated with a connected Session is always tagged as is_connected. Resolves #1061. 2016-09-14 22:01:32 +02:00
Griatch
14e9dafda2 Update docstring for webclient server component. 2016-09-14 19:33:50 +02:00
Griatch
67411d006d Fix regression with idle_timout not correctly closing connection. Fix errors due to Portal and Server trying to send to non-existing sessions after connection closes. 2016-09-14 19:07:59 +02:00
Griatch
07f889e2fa Fix minor typo in GMCP parser. 2016-09-14 18:09:26 +02:00
Griatch
76a903119c Clean up log file output and fix some bugs. Swallows spammy and useless AMP connection errors. 2016-09-13 23:10:51 +02:00
Griatch
86c970eb62 Add sessionhandler.portal_disconnect_all to remove another needless call between server and portal on logout. This means logout from either side will clean up on the respective side and then inform the other side once, rather than triggering a return call. 2016-09-13 21:48:43 +02:00
Griatch
8eb500f8e0 Add sessionhandler.portal_disconnect which cuts down interaction over AMP by one when a player disconnects. 2016-09-13 20:42:38 +02:00
Griatch
e6e61aa5e6 Minor tweaks to fix a portal traceback during handshake. 2016-09-13 12:31:47 +02:00
Tehom
1a03433500 This fixes channel nicknames not working while in an OOC state. 2016-09-13 02:23:02 -04:00
Griatch
e6f857a536 Remove setting.SEARCH_MULTIMATCH_SEPARATOR, replacing it with SEARCH_MULTIMATCH_REGEX and SEARCH_MULTIMATCH_TEMPLATE. This allows simple yet powerful control over the error output without needing to overload the parser. 2016-09-11 10:39:47 +02:00
Griatch
9856ac735d Remove the use of the python executable when calling twistd.exe in the windows twistd batch file. Interestingly, running python on a Windows executable (as opposed to a python script file) works fine for some (Win7?) while causing errors of a non-recognized file type for others (Win10?). 2016-09-02 23:14:14 +02:00
Griatch
57923bdbc7 Fix an install error in Windows due to the Twisted Windows executable changing name from twistd.py to twistd.exe. 2016-09-02 22:10:04 +02:00
Griatch
668029e82e Changed xterm256 formatting to work with Potato. Also added Potato as a TTYPE exception since the client doesn't report itself correctly. 2016-08-28 16:36:44 +02:00
Griatch
edf42a3d06 Fix and clean up some help text in the evennia launcher. 2016-08-10 23:02:01 +02:00
Griatch
583706bbe2 Update the SSH pycrypto/asn1 import recommendation to instead reference the cryptography library as mentioned in Twisted issue https://twistedmatrix.com/trac/ticket/7413. 2016-08-10 22:33:52 +02:00
Griatch
bb577e563b Implements telnet NULL as a keepalive to keep compatibility with some legacy clients/servers. Resolves #1008. 2016-08-07 14:38:36 +02:00
Griatch
49c16b5160 Fix the identification of versions, so e.g. 1.10 > 1.8 by making use of disutils.version.LooseVersion. 2016-07-31 13:19:11 +02:00
Griatch
4c3926cdf1 Fixed a regression concerning the idle command. 2016-06-26 23:46:05 +02:00
Griatch
fba6e079c1 Finalize nick-templating; still issues with other places using nicks, such as channels. 2016-06-26 00:41:57 +02:00
Griatch
58a771f85c Turn off http request logging unless settings.DEBUG is set. Relates to #983. 2016-06-15 23:08:42 +02:00
Griatch
15036e8069 Revert "Fix problem with trying to pass non-text to msg(text=...). Resolves #996."
This reverts commit 8fe631d808.
2016-06-15 19:54:47 +02:00
Griatch
8fe631d808 Fix problem with trying to pass non-text to msg(text=...). Resolves #996. 2016-06-15 08:11:00 +02:00
Griatch
25e1126809 Make a missing web_plugins.py module error more gracefully. 2016-06-12 22:55:05 +02:00
Griatch
64c74c41a1 Add a plugin mechanism for the webserver with settings.WEB_PLUGIN_MODULE. 2016-06-12 18:00:28 +02:00
Griatch
2d5e755362 Setting up a buffer for managing telnet character mode clients. Experimental. 2016-06-06 00:00:53 +02:00
Griatch
fd5ed02d7a Don't traceback if webclient don't pass the browser session with the wsurl, to make it easier on custom client implementations. 2016-06-02 09:03:18 +02:00
Griatch
410d04456c Some further fixes to the ajax client, as well as maybe fixing the i.d.l. bug manifesting from a poor msg input send. 2016-06-01 01:22:20 +02:00
Griatch
f04c82fa17 Implemented shared sessions between webclient and website - logging into either will also log in the player to the other. This is addresses the first point of #613. 2016-06-01 01:22:20 +02:00
Griatch
eebd41f46d Getting an improved version of the shared session system vaguely in shape. 2016-06-01 01:22:20 +02:00
Griatch
a31441b3ce First working version of the shared web login. 2016-06-01 01:22:19 +02:00
Griatch
81170b69d0 Added validationMade() to websocket protocol, to be able to parse the
incoming host information at connection (for getting the browser
session id directly from the path as ws://.../?csessid).
2016-05-31 15:36:48 +02:00
Griatch
7c3d072915 Fixed so inlinefuncs are only parses on the outgoing message path. 2016-05-26 14:56:09 +02:00
Griatch
fcfe87d24f Made client_options inputfunc recognize RAW/NOMARKUP and also fixed some other minor errors. 2016-05-25 00:05:20 +02:00