Commit graph

3011 commits

Author SHA1 Message Date
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
Griatch
de7787b042 Updated the game template to the change web directory layout. 2016-05-22 20:41:36 +02:00
Griatch
9ddd0ecf33 Fixed the login/out links on the default website. Cleaned up some template lookups. 2016-05-22 20:41:36 +02:00
Griatch
4fd06b8976 Cleaned up the web folder to make two separate 'apps'-webclient and website, each with their own static and template dirs. Also merged the prosimii template files into the website template folder. This will make it clearer how to override, since the static/template_override dirs will now look like website/static/... etc rather than using the template names, of which we only ever have used one anyway. 2016-05-22 20:41:36 +02:00
Griatch
5ea9d100d9 Further work with css. 2016-05-22 20:41:36 +02:00
Griatch
f7f0e93214 Having trouble with css positioning 2016-05-22 20:41:36 +02:00
Griatch
fc74b24646 Started getting the webclient in some sort of shape. 2016-05-22 20:41:36 +02:00
Griatch
d8c5031ff9 Updated js version for better css (not currently working though 2016-05-22 20:41:36 +02:00
Griatch
fa370510da Made client use Foundation.css 2016-05-22 20:41:35 +02:00
Griatch
e4e9877ebd Added the new webclient relay component, evennia.js. 2016-05-22 20:41:35 +02:00
Greg Taylor
64db01c7ec EGD renamed to EGI. Backwards compatibility preserved for now. 2016-04-15 19:07:43 -07: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
Greg Taylor
9b37944b38 EGD: Expand the troubleshooting section. 2016-04-12 13:03:18 -07:00
Greg Taylor
a61a1f7e32 EGD: Make short_description required. Add more examples of options to README. 2016-04-12 12:43:46 -07:00