Commit graph

363 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
d48691e121 Got the initial connect screen to display in webclient again. 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
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
e12e4652dc Further fix to the irc bot. 2016-04-04 22:15:30 +02:00
Griatch
bdd229afb4 Fixed IRC SSL implementation to handle a non-installed openssl library. 2016-04-04 22:13:26 +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
402b9a7394 Upped twisted requirement to 16.0.0. This because of a backwards incompatible change in Twisted's lLoopingCall that Evennia makes use of. This fixes failings with loading the tutorual world (due to loopingcall errors). 2016-03-24 11:50:58 +01:00
Griatch
907322cc2f Updated Evennia for django 1.9 (1.8 still supported). Run 'pip install --upgrade -e .' in
the Evennia repository to upgrade.
2016-02-20 09:14:31 +01:00
Griatch
418e6d953a Fixed an issue where the IDLE_TIMEOUT was triggered even though one had been active in the interval. 2016-01-27 21:21:37 +01:00
Griatch
8655f880f2 Fixed a malformed call to portal_disconnect that stopped auto-disconnection from working. Also removed sessiohandler.portal_disconnect since it has no function anymore, as well as changed two AMP command chars around for better debugging (they were matching the tab- and line breaks chars before). Resolves #900. 2016-01-19 20:52:26 +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
Griatch
2427db7f9f Fixed a lingering docstring reference to game/server.py. 2015-12-18 11:14:24 +01:00
Griatch
161383f9ae Fixed a repeat error in Scripts (resolves #890). Added separation between calling script.pause() deliberately and it being called automatically by the reset/reload, in order to preserve manual pauses across server reloads (resolves #891). 2015-12-17 00:12:07 +01:00
Griatch
641846e855 Added a functioning version of nested inline funcs. Still poor error handling and some edge cases are not handled. 2015-11-28 18:25:04 +01:00
Griatch
5d3df584bf Fixed a lingering reference to portalsessionhandler.sessions. 2015-11-27 20:21:11 +01:00
Ahmed Charles
faacf58f56 Use viewkeys from future.utils, with the following mapping:
dict.keys() -> viewkeys(dict)
2015-11-16 21:20:25 +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
556a0cc332 Made sessionhandlers inherit directly from dicts. 2015-11-13 22:34:23 +01:00