Commit graph

202 commits

Author SHA1 Message Date
Griatch
37a24f12e6 Added a check to avoid creating a duplicate character name with charcreate in MULTISESSION_MODE>1. Resolves 943. 2016-05-22 20:45:42 +02:00
Griatch
bd4ffa06f8 Fixed a misplaced comment that hid a traceback on error. 2016-05-22 20:45:41 +02:00
Griatch
a1c89d615e Fixed parsing in option command and inputfunction to properly handle options set in both ways. 2016-05-22 20:45:41 +02:00
Griatch
043be6dba4 Validating GMCP/MSDP protocol commands, first debugging run and fixes to make a few of the default inputfuncs work. Added INPUTDEBUG to the options dict, to echo input function errors directly. 2016-05-22 20:45:41 +02:00
Griatch
4cb19bec59 Added IN_GAME_ERRORS setting for convenient debugging during development (False by default) 2016-05-22 20:45:41 +02:00
Griatch
5f0ba55ce1 Fixed color display of xterm256 with the xterm256 support turned off. 2016-05-22 20:45:41 +02:00
Griatch
ad158e1816 Fixed unittests for wclient branch 2016-05-22 20:45:40 +02:00
Griatch
b1b8abf46a Added the protocol_key to the new options-output. 2016-05-22 20:45:40 +02:00
Griatch
db1356057a Improved the options command to manage other aspects of the protocol_flags. 2016-05-22 20:45:40 +02:00
Griatch
11ecdef7c8 Converted encoding setting to use protocol_flags rather than being stored on-session. Also renamed the 256 COLORS TTYPE setting to XTERM256 which is more accurate (and doesn't have a space) 2016-05-22 20:45:40 +02:00
Griatch
1ddfbca7ea Finished changing session.screenreader into session.protocol_flags[SCREENREADER] 2016-05-22 20:45:40 +02:00
Griatch
df674f687a Added GMCP-to-inputfunc name conversion as Module.Cmdname -> Module_CmdName. Also made Session.protocol_flags into a flat dict, by putting all TTYPE properties in the top level (the TTYPE key now only indicates if TTYPE has finished or not). Also started to convert the screenreader/enconding properties of the session into protocol_flags. (not fully working yet) 2016-05-22 20:45:40 +02:00
Griatch
bece57f067 Added non-persistent functinality to the TickerHandler, for specific use with OOB. 2016-05-22 20:45:40 +02:00
Griatch
de445b82d0 Made tickers output a little prettier. 2016-05-22 20:45:40 +02:00
Griatch
350b872612 Expanded docstring for the tickers command a little. 2016-05-22 20:45:40 +02:00
Griatch
cc5fe43372 Added a simple tickers command for inspecting the running tickers (no manipulation at this time, not sure how to make that in a safe way). 2016-05-22 20:45:40 +02:00
Griatch
a575942ea6 Fixed a non-functioning Command.set_aliases method. 2016-05-22 20:45:39 +02:00
Griatch
83570848d6 Made all unittests pass again. 2016-05-22 20:45:38 +02:00
Griatch
67b84c2431 Fixed a lingering wrong use of msg kwarg. 2016-05-22 20:45:06 +02:00
Griatch
8448b513e1 Converted msg-arguments to options 2016-05-22 20:45:06 +02:00
Griatch
7e0b372273 Fixed the unittest for the py command. 2016-04-12 23:51:45 +02:00
Griatch
aab16041d4 Removed the <<< markers in @py output since they conflicted with MXP parsing in clients like Mushclient (@py strings must be sent raw, so won't go through the MXP parser) 2016-04-12 23:45:56 +02:00
CloudKeeper1
bc04d5f99e BlauFeuer's Bug. @Cemit/sendername not functioning.
if "sendername" in self.switches:
            message = "%s: %s" % (self.key, message)

Should read: message = "%s: %s" % (self.caller.key, message)

Not functioning as intended. Credit goes to BlauFeuer.
2016-04-04 14:24:15 +02:00
Griatch
e10769ac22 Fixed cmdset.remove() by correcting the __ne__ operator on commands to properly use the matchset to identify disjoint sets. 2016-04-04 09:37:46 +02:00
Griatch
961e94f118 Made some minor tweaks to irc2chan docstring. 2016-03-27 15:30:27 +02:00
Sina Mashek
4c113f9ab7 Implemented @Griatch's suggestions 2016-03-26 15:28:15 -07:00
Sina Mashek
2d54bc33ab Added support for SSL IRC connections. 2016-03-26 02:44:20 -07:00
Griatch
340f68f1eb Updated tests to run with updated output with dbrefs 2016-03-22 18:50:11 +01:00
BlauFeuer
adf215e855 CmdOption session option msg to session only
Since session options can be different between sessions, only show output from option commands to the session using them.
2016-03-21 10:32:38 +01:00
Griatch
c1d8432630 Changed to properly exit when not giving a rhs to the options command 2016-02-06 12:57:26 +01:00
Griatch
0ae1f9f171 Fixed a bug with identifying a unique command index (should be 1-N, not 0-(N-1)). 2016-01-19 21:23:51 +01:00
Griatch
5d6d13bb12 Added a validation-check when changing encodings using the default commands (unloggedin/general). Also put in a safety catch in the sessionhandler to reset faulty encodings that slips by for some reason. This can otherwise lead to errors for shutting down the server since the server fails trying to inform the faulty session about the shutdown. 2016-01-12 21:35:27 +01:00
Doug Miller
33c479fe04 display nicks from all categories 2016-01-12 20:17:58 +01:00
Doug Miller
1910c6ae7c fix alias display on @channels/comlist 2016-01-12 20:17:58 +01:00
Doug Miller
ebce79ca1e fixed some help text for @ban command 2016-01-11 12:07:54 +01:00
Russell Jones
27549eca2e Use 2/3 raise_() from future.utils 2015-12-20 14:14:02 +00:00
Griatch
ff46bf9103 Fixed regression in @shutdown command due to previous changes to session handling. Resolves #895. 2015-12-17 00:24:33 +01:00
Griatch
7de036c1d9 Merged nested inlinefuncs from the dev branch. Added |-style ansi-markers. Resolves #818. 2015-11-28 20:30:01 +01:00
Ahmed Charles
921cf47731 Comment cleanup. 2015-11-15 20:29:40 +00:00
Griatch
1d78fb3d92 Fixed a lingering doc error. 2015-11-15 21:07:16 +01:00
Griatch
45f973fdb6 Made unittests work with changed Session apis. Resolves #808. 2015-11-15 20:36:18 +01:00
Griatch
efefe3e5ff First version of changed sessid->session change that starts properly. Not fully tested yet. 2015-11-14 21:43:58 +01:00
Griatch
d496606a3c Further development of the reworking of systems using Sessions rather than session id. 2015-11-14 20:32:58 +01:00
Griatch
709f5ff5b3 Reworked most of the system to use sessions directly instead of sessids by the introduction of on-object sessionhandlers. No debugging done yet. 2015-11-14 18:36:19 +01:00
Griatch
652bb02bc7 In the wake of changes to hide away tracebacks from players, made the error report include the server log time stamp so as to make it easier to reconcile with the real traceback information. 2015-11-09 15:07:06 +01:00
Ahmed Charles
d3e218e439 Don't show tracebacks to players.
Make sure that the traceback is in the log.
2015-11-09 12:30:55 +01:00
Ahmed Charles
39e40bfba1 Don't show tracebacks to players.
In this case, the tracebacks are in the log.
2015-11-09 12:30:55 +01:00
Ahmed Charles
487fcdf873 Use list* from future.utils.
dict.keys() -> list(dict)
dict.values() -> listvalues(dict)
dict.tems() -> listitems(dict)
2015-11-09 10:23:00 +00:00
Ahmed Charles
bcd8674ef3 Use python3 range.
Including potential memory reduction due to not created unnecessary lists.
2015-11-02 11:47:07 +00:00
Ahmed Charles
f38efab999 Import python3 compatible cmp. 2015-11-02 00:19:04 +01:00