Commit graph

3046 commits

Author SHA1 Message Date
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
Griatch
42d18e3fd7 Clarified the batchcommand docstring in contrib/examples. This
concludes the tickerhandler implementation in relation to #924.
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
dd6b6f06f7 Working new tickerhandler, handling both methods and functions. 2016-05-22 20:45:40 +02:00
Griatch
bd7f9dfe47 Almost working new tickerhandler. Still some errors with using idstrings. Also still some debug messages in place. 2016-05-22 20:45:39 +02:00
Griatch
77b178bf28 First version of a reworked tickerhandler. It will now also repeat normal functions in a module, not just methods on a database object. This means a backwards incompatible change, and API - old tickerhandler repeats will not restore properly with this. Currently untested. 2016-05-22 20:45:39 +02:00
Griatch
8090d92d85 MonitorHandler implemented as a replacement for the OOBHandler monitor functionality, as per #924. 2016-05-22 20:45:39 +02:00
Griatch
198a348d73 Changed some wording 2016-05-22 20:45:39 +02:00
Griatch
faee3510a8 Added a evennia --initsettings for adding an empty settings file to an existing game directory. Made error messages on missing settings files more informative, as discussed on the mailing list. 2016-05-22 20:45:39 +02:00
Griatch
a575942ea6 Fixed a non-functioning Command.set_aliases method. 2016-05-22 20:45:39 +02:00
Griatch
a3e198e857 Cleaned out SSL debug data. Tested with tinyfugue version 5 beta 8, using /connect -x flag to connect with SSL support. 2016-05-22 20:45:39 +02:00
Griatch
2dbae4d8a9 First cleanup of SSL connection, not working yet. 2016-05-22 20:45:39 +02:00
Griatch
006b898e66 Fixed a lingering reference to the inputhandler (now monitorhandler) 2016-05-22 20:45:39 +02:00
Griatch
b630315007 Fixed an data_out call in SSH. 2016-05-22 20:45:39 +02:00
Griatch
ccdc58d652 Mde the SSH protocol compliant with the new system, as per #924. There is no known client with SSH OOB capabilities, so this protocol only accepts text output and will output prompts on the same line. 2016-05-22 20:45:39 +02:00
Griatch
a28ae2728e Make the address reporting homogenous to the IP for each protocol. 2016-05-22 20:45:39 +02:00
Griatch
ddb87d6aea Made IRC work with new send mechanism, as per #924. 2016-05-22 20:45:39 +02:00
Griatch
6782ff1333 Made the default_settings file itself detect GAME_DIR, leading to a lot less cookie cutter in the gamedir/server/conf/settings.py file. Refactored the detection algorithm also in the launcher. 2016-05-22 20:45:39 +02:00
Griatch
9bf09365d2 Fixed deprecation warnings in urls from django1.9. Switched to new TEMPLATES setting. 2016-05-22 20:45:39 +02:00
Griatch
26c99f1ece Added a missing template to the game_template 2016-05-22 20:45:38 +02:00
Griatch
b8d7fae786 Fixed up the webclient html+css to make for a workable example. 2016-05-22 20:45:38 +02:00
Griatch
b11c746f8f Silenced the unhandled events from websocket connections. 2016-05-22 20:45:38 +02:00
Griatch
b6642cdfe9 Added close-handlers to websocket and did some other cleanup. 2016-05-22 20:45:38 +02:00
Griatch
166189a7a5 Made ajax/comet client fallback work correctly in the new framework. 2016-05-22 20:45:38 +02:00
Griatch
83570848d6 Made all unittests pass again. 2016-05-22 20:45:38 +02:00
Griatch
323a353ec3 Fixed a regression in the changes made to all_from_module that caused evform to fail. 2016-05-22 20:45:38 +02:00
Griatch
83e24678f5 Fixed a bug which caused a failure when logging out 2016-05-22 20:45:38 +02:00
Griatch
fbe3144d75 Further fixes to the MSDP protocol wire format. 2016-05-22 20:45:38 +02:00
Griatch
006e367330 Made GMCP/MSDP work for tintin++. Mudlet seems to send the handshake differently. 2016-05-22 20:45:38 +02:00
Griatch
49c1254de7 Removed the addition of site_name and idle_timeout from the server initialization - they are useless since these things are parsed directly from the settings file, also for the web component. 2016-05-22 20:45:06 +02:00
Griatch
4ab049709d Changed inputhandler/oochandler to monitorhandler and made inputhandler_funcs into just inputfuncs.py 2016-05-22 20:45:06 +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
cd8651c740 Cleaned up webclient and fixed some bugs. There are still too much extra data being sent via msg(), these have to be handled server-side. 2016-05-22 20:45:06 +02:00
Griatch
5c7067ddce First version of working, simple webclient with new infrastructure (backend + frontend). 2016-05-22 20:45:06 +02:00