Griatch
c8b1dfcd20
Allow options to partially update portal session, correctly relay late handshakes.
2017-12-31 23:16:16 +01:00
Ryan Stein
53a4fc0b66
resolve #1448 , fix 'no help entry' not popping up in webclient
2017-10-10 12:51:09 -04:00
Griatch
cdac9678b9
Add smarter shared login on website/webclient. Resolves #1063 .
...
This makes it so that logging into the website will auto-log you
into the webclient and vice-versa when you refresh the page. But if
you log out of the web client will have to manually log in again. If
you log out of the website and reload the webclient page you will have
to log back into the client too (this is because logging out of the
website flushes the browser session, it doesn't seem worth the effort
to override django.auth in this).
2017-08-20 20:36:35 +02:00
Griatch
b278337172
Make PEP8 cleanup of line spaces and character distances as well as indents
2017-08-19 23:16:36 +02:00
Griatch
5590ee2258
Rename all instances of Player->Account.
2017-07-07 23:47:21 +02:00
Griatch
63eec3a659
Implement SUPPRESS-GO-AHEAD telnet option
...
With the current setup, the server will negotiate SUPPRESS-GO-AHEAD
as follows:
Server sends WILL SUPPRESS-GO-AHEAD
Client will then send or reply with DO/DONT SUPPRESS-GO-AHEAD
Evennia will abide by the instruction of the client, but defaults
to suppressing GA messages after every line.
2017-06-06 00:03:16 +02:00
Rachel Blackman
5808377085
Change IAC + GA to key off of MUDPROMPT @option
...
Several clients interpret IAC + GA as a linefeed, in order
to support MUDs that always end a line with them. This causes
Evennia to spew empty lines everywhere if IAC + GA is always on.
2017-06-04 18:46:31 -07:00
Cloud_Keeper
9503b30a5e
Adjusted text variable names through IRCbot message life cycle to match new practice.
2017-02-11 18:48:43 +01:00
Griatch
831b1567ae
Resolve conflicts against master.
2017-02-11 18:17:04 +01:00
Simon Vermeersch
67d3f6650e
Check for a valid session on the webclient_options monitor handler
2017-02-05 12:19:17 +01:00
Simon Vermeersch
9efed33fb5
Webclient options monitor: reference the correct attribute
2017-02-05 12:19:16 +01:00
Simon Vermeersch
8dcd242d3b
Cosmetic changes to the webclient options
...
- Renamed the used attribute
- Changed to use only one inputfunc
2017-02-05 12:19:16 +01:00
Simon Vermeersch
221aa362ab
Adds retrieving, monitoring and storing of webclient settings
2017-02-05 12:19:16 +01:00
Griatch
74eebfed6d
Refactor code to remove alerts as per lgtm and #1176 .
2017-01-29 19:02:00 +01:00
Griatch
4699b38b31
Fix issue with option ansi/xterm256=False not correctly turning off colors. Change the NOMARKUP session option flag to NOCOLOR to better reflect its function.
2017-01-26 21:08:27 +01:00
CloudKeeper1
86e67a299c
Suggested changes.
...
Expanded the argument documentation and removed nick replacement.
2017-01-18 18:55:47 +11:00
Tablet-PC\cloud
e62418fd11
Bots use inputfunc
2017-01-18 12:26:42 +11:00
Griatch
052e1845a2
Fix error in MonitorHandler recovering a saved Session across a reload. This probably affected the TickerHandler as well. Add a new hook to the server object that gets called once the portal has synced, and run the monitorhandler/tickerhandler restores there. Also some changes to the serialization of Sessions. Resolves #1164 .
2017-01-15 19:55:51 +01:00
Griatch
7a3b3ceb76
Fix the get_value inputfunc to return both name and value.
2017-01-13 13:02:53 +01:00
Tehom
1a03433500
This fixes channel nicknames not working while in an OOC state.
2016-09-13 02:23:02 -04:00
Griatch
4c3926cdf1
Fixed a regression concerning the idle command.
2016-06-26 23:46:05 +02:00
Griatch
fba6e079c1
Finalize nick-templating; still issues with other places using nicks, such as channels.
2016-06-26 00:41:57 +02:00
Griatch
eebd41f46d
Getting an improved version of the shared session system vaguely in shape.
2016-06-01 01:22:20 +02:00
Griatch
a31441b3ce
First working version of the shared web login.
2016-06-01 01:22:19 +02:00
Griatch
fcfe87d24f
Made client_options inputfunc recognize RAW/NOMARKUP and also fixed some other minor errors.
2016-05-25 00:05:20 +02:00
Griatch
2e692cc639
Made 'idle' a default in the inputfuncs since this is sent by the webclient. settings.IDLE_CMD will still work but will work alongside idle, the latter will always work like a no-op.
2016-05-22 20:49:45 +02:00
Griatch
68e5c4d283
Added a missing execute_cmd on the Session. It got lost after the inputfunc changes.
2016-05-22 20:49:44 +02:00
Griatch
de177398aa
Made sure to handle the default mudlet GMCP sends.
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
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
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
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
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
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
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
006b898e66
Fixed a lingering reference to the inputhandler (now monitorhandler)
2016-05-22 20:45:39 +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
4ab049709d
Changed inputhandler/oochandler to monitorhandler and made inputhandler_funcs into just inputfuncs.py
2016-05-22 20:45:06 +02:00