Commit graph

3025 commits

Author SHA1 Message Date
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
Griatch
d48691e121 Got the initial connect screen to display in webclient again. 2016-05-22 20:45:06 +02:00
Griatch
66641b54ab Made a rudimentary gui for the webclient. Some data is going through to webclient, but currently html conversion is not working. 2016-05-22 20:45:06 +02:00
Griatch
33b73c7430 Making a separate webclient_gui file to handle the graphical interface. 2016-05-22 20:45:06 +02:00
Griatch
098be9792a Removing testing css file 2016-05-22 20:45:06 +02:00
Griatch
07471d1e8f Cleaned out old tests of js weclient component. 2016-05-22 20:45:06 +02:00
Griatch
1044006303 Moved inlinefunc-parsing to sessionhandler level. First text throughput for webclient alongside telnet. 2016-05-22 20:45:05 +02:00
Griatch
2890371900 Still messing with getting the webclient to talk properly to the server. 2016-05-22 20:45:05 +02:00
Griatch
c511263f63 Made basic telnet work again. 2016-05-22 20:45:05 +02:00
Griatch
96ace8c75f Starting to clean up and debug the server-side infrastructure 2016-05-22 20:45:05 +02:00
Griatch
e4d50ff74e Changes to the input-handling interface, to support function calls; also changing oob system to be inputhandler system, making it all work in the same way (no separation between text and oob anymore). 2016-05-22 20:45:05 +02:00
Griatch
d966051558 Changing utils.all_from_module to really only load variables actually
defined in the module in question (so will no longer include imports
from other modules). Added utils.callables_from_module to handle the
common case of only wanting callable functions from a module (used by
lock funcs, inlinefuncs etc).
2016-05-22 20:45:05 +02:00
Griatch
b8060b9ea0 More work on fixing bugs in the webclient-js interface. 2016-05-22 20:45:05 +02:00
Griatch
f42d27a459 Refactored the webclient layout to correctly identify the template. 2016-05-22 20:45:05 +02:00
Griatch
0219c726dc Split out a base.html file for the client. 2016-05-22 20:45:05 +02:00
Griatch
da52380b0f More work on the new js lib, added client-side support for ajax/comet, which will be using JSON and OOB commands, same as websocket version. 2016-05-22 20:45:05 +02:00
Griatch
7fa088c036 First attempt at fixed-up js library component, inspired by Glitch's emitter pattern in #613. 2016-05-22 20:45:05 +02:00
Griatch
f0c9128ff8 Starting work on the new weblib component 2016-05-22 20:45:05 +02:00
Griatch
7ad1229a7b Started refactor the webclient to use new system server-side. Renamed webclient.py to webclient_ajax.py and websocket_client.py to simpy webclient.py, since websocket is the standard now. 2016-05-22 20:45:05 +02:00
Griatch
2d826df2f4 Made a first version of the new OOB infrastructure, works with normal text-command sending. 2016-05-22 20:45:05 +02:00
Griatch
4817ec90b3 Changed the OOB message structure to include sending text data as well; still not working fully. 2016-05-22 20:45:05 +02:00
Griatch
529f13c689 Added some more missing files to the game template 2016-05-22 20:41:36 +02:00