Commit graph

3082 commits

Author SHA1 Message Date
Griatch
f57aaa65cd Made the return of multimatch commands more easily parsable by using the query rather than the key. Resolves the second part of #933. 2016-05-22 20:45:43 +02:00
Griatch
08f34ae61b Made the multimatch error messages with the multimatch_string supplied more useful, addressing the first part of #933. 2016-05-22 20:45:43 +02:00
Griatch
3c1245b1a6 Escaped the IRC username to avoid it being parsed for ANSI colors (keeping ansi parsing in normal text for now). Resolves #935." 2016-05-22 20:45:43 +02:00
Griatch
86b6261b02 Fixed bug that made ooc look give an error. Resolves #921. 2016-05-22 20:45:43 +02:00
Griatch
039bb0c540 Fixed the send button in the webclient; made the prompt command work with the webclient (still not displaying correctly) 2016-05-22 20:45:43 +02:00
Griatch
aa1b8357d8 Made a more elaborate echo when resetting the settings file. 2016-05-22 20:45:42 +02:00
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
NatePri
8844b7bb80 Added -moz/-webkit CSS prefixes, made sizer CSS consistent 2016-05-22 20:45:42 +02:00
NatePri
67e26103d5 Minor CSS fix 2016-05-22 20:45:42 +02:00
NatePri
f907165dd3 Missed some var declarations 2016-05-22 20:45:42 +02:00
NatePri
f12adcf976 Enable strict mode on scripts, clean up some unremoved references 2016-05-22 20:45:42 +02:00
NatePri
2134d6dd4a Minor webclient enhancements
- Fixed window resize bug
- Improved history handling to be less destructive to text the user has
entered
- Made input area automatically resize to fit its contents
2016-05-22 20:45:42 +02:00
Griatch
de177398aa Made sure to handle the default mudlet GMCP sends. 2016-05-22 20:45:42 +02:00
Griatch
056fa5f3d2 Removed superfluous import. 2016-05-22 20:45:42 +02:00
Griatch
fd50eaddba Fixed an error in channel.msg. Made sure to return a deferred from tail_log_file as its documentation suggests it should. 2016-05-22 20:45:42 +02:00
Griatch
4a58fcb9f1 Made the tail-viewing of a log-file threaded for maximum asynchronicity. 2016-05-22 20:45:42 +02:00
Griatch
5583a8d758 Made channels log to a log file by default. Added a default /history switch to the channel commands (for viewing past entries) and implemented a very efficient tail_log_file function to scan the log and display it. 2016-05-22 20:45:42 +02:00
Griatch
d00ff9ae32 Added dynamic formatting to comm channel, as inspired by the way done in Arxmush. 2016-05-22 20:45:42 +02:00
Griatch
653a46b7ad Fixed EvMenu, it was not updated to self.caller from self._caller properly. 2016-05-22 20:45:42 +02:00
Griatch
4acea5a20d A rudimentary OOB input parser from the webclient, for testing. 2016-05-22 20:45:42 +02:00
Griatch
4ccd78a97e Put all gmcp commands under the Core module for simplicity and compatibility with all the other protocols. 2016-05-22 20:45:42 +02:00
Griatch
1ac81205c3 Completed tests of all GMCP/MSDP backend functions, including tickerhandler repeats and value monitoring, as per #924. 2016-05-22 20:45:42 +02:00
Griatch
4883512342 Fixed and tested the monitor/unmonitor inputfunc from both GMCP and MSDP 2016-05-22 20:45:41 +02:00
Griatch
899ce2f138 Extended dbserialize to safely serialize Session instances. Sessions can otherwise not be safely stored since they contain references to database objects (like puppets and players) 2016-05-22 20:45:41 +02:00
Griatch
bd4ffa06f8 Fixed a misplaced comment that hid a traceback on error. 2016-05-22 20:45:41 +02:00
Griatch
39e3618ae5 Made Core.Commands.Get/get_inputfuncs work. 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
76dc51f885 Changed EvMenu._caller to .caller to mark it public to use by external resources. 2016-05-22 20:45:41 +02:00
Griatch
287eb926f2 EvTable now accepts an input_parser argument for replacing the way user input is parsed in the menu. The formatters should now accept a keyword 'caller'. Also some internal methods like _display_node is now display_node to mark them as useful to the an external parser. 2016-05-22 20:45:41 +02:00
Griatch
f1b97f633b Added LOCKDOWN_MODE, for shutting the server off from all external connections (for example while configuring, debugging or just taking a live server temporarily offline). 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
4f02ec1cbe Implement the MSDP/GMCP wrappers for the backend inlinefuncs as per #924. It's not fully tested yet though. 2016-05-22 20:45:41 +02:00
Griatch
8709ffefb8 Fixed a non-functioning MXP call using the |-style format. 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
42b9ac40f3 Some cleanup in inputfunc module. 2016-05-22 20:45:41 +02:00
Griatch
0ffec10dd0 Added MSDP/GMCP wrappers Inputfuncs as per #924. Not fully tested yet. 2016-05-22 20:45:41 +02:00
Griatch
c093fd3880 Updated the monitorhandler to allow persistence as well as a unique id-key. 2016-05-22 20:45:41 +02:00
Griatch
d8bfb6d4a2 Inputfuncs for some more MSDP/GMCP commands. Still untested. 2016-05-22 20:45:40 +02:00
Griatch
ad158e1816 Fixed unittests for wclient branch 2016-05-22 20:45:40 +02:00
Griatch
3d6fa94d9a Updated client_options inputfunc to also return current settings over OOB. 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
f3512971e3 Created setter inputfuncs for the basic GMCP handhakes. Also added
the possibility for the Server to sync a single Session with the
Portal.
2016-05-22 20:45:40 +02:00
Griatch
196306d914 Added monitorhandler to flat API. 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
e09a172854 Fixed a regression that had non-persistent Scripts not being deleted as they should on server reload. Also prepared for the same functionality for tickerhandler tickers. 2016-05-22 20:45:40 +02:00