Commit graph

298 commits

Author SHA1 Message Date
Simon Vermeersch
7d62973d18 Options button: toggle the options window visibility 2017-02-05 12:19:17 +01:00
Simon Vermeersch
4ac863726c Change the option immediately on the client side instead of waiting for
a roundtrip to the server.
2017-02-05 12:19:16 +01:00
Simon Vermeersch
2c01373143 Play a sound for notification (if enabled) 2017-02-05 12:19:16 +01:00
Simon Vermeersch
7027a2cf9b Implemented the notification popup option 2017-02-05 12:19:16 +01:00
Simon Vermeersch
24cb3d3b31 Keep the settings button visible when there are scrollbars 2017-02-05 12:19:16 +01:00
Simon Vermeersch
7899dc5200 Show help in separate dialog (if option is enabled) 2017-02-05 12:19:16 +01:00
Simon Vermeersch
da7a71e6dd Implement the "gag prompt" option 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
Simon Vermeersch
f2e53c873b Added a (non-functional) options dialog. 2017-02-05 12:19:16 +01:00
Griatch
3a2638aed5 Add check for malformed webclient msg without kwargs. Resolves #1192. 2017-02-04 12:24:14 +01:00
BlauFeuer
ae5eecaeb8 Update webclient HTML doctype to match webclient's 2017-02-04 12:13:11 +01:00
Simon Vermeersch
a0cd61df27 Send an OOB message to the client once a player logs in. 2017-01-10 22:40:45 +01:00
Torild Lidman
4a69d871c2 Add viewport meta tag 2017-01-10 17:18:13 +01:00
Torild Lidman
ec048e5371 Add custom CSS with some tweaks for mobile use 2017-01-10 17:18:13 +01:00
Torild Lidman
18e4d72444 Link to custom CSS 2017-01-10 17:18:13 +01:00
Daniel Maxson
d7c2e6fa90 Get JQuery over HTTPS to prevent browsers from blocking it 2016-11-30 08:38:14 +00:00
Griatch
9db98bcc9a Make the README file a bit more fextive for the day. 2016-11-19 22:49:49 +01:00
Griatch
ea3d639836 Changed to unix file endings. 2016-11-14 20:26:49 +01:00
BlauFeuer
6d135079f2 Add favicon to base website, +HTML5 doctype
It's a start on updating the template.
2016-11-14 20:26:49 +01:00
Griatch
401b60e233 Comment out full notification until webclient has a config pane. Make webclient title reflect game name. Merges #1046. 2016-11-02 19:36:38 +01:00
Joe Roberts
57ea70cb82 Switched to using png for favicon and display logo in notifications. 2016-11-02 19:36:38 +01:00
Joe Roberts
067a731ace Notification now changes favicon to reflect unread messages. 2016-11-02 19:36:38 +01:00
Joe Roberts
684fea5d62 Basic Notifications support for the web client. 2016-11-02 19:36:38 +01:00
Joe Roberts
5790c82837 Tab/window title notifications in web client, shows the number of unread messages in brackets before the title. 2016-11-02 19:36:37 +01:00
Greg Taylor
4424dec668 Remove broken and un-maintained IMC2 support.
As discussed with @Griatch, IMC2 is now rarely seen in the wild. Also, this
feature hasn't worked in ages. Time to de-clutter.
2016-10-28 22:53:43 -07:00
Griatch
0554492b79 Make sure webclient can send empty input. Resolves #1111. 2016-10-26 20:26:55 +02:00
Trent Robbins
73633f01d9 Added a line by line command parser in the web client. 2016-10-25 20:39:04 -07:00
Griatch
6f02ab572f Add role='log' to webclient messagewindow div, to aid screenreaders. 2016-10-22 21:01:55 +02:00
Griatch
4a97a05c10 Some minor fixes and cleanups. 2016-09-14 23:27:55 +02:00
Griatch
07944918f7 Implement a custom authenticate middleware to correctly handle already-authenticated players in auto-connect webclient mode. Resolves #1037. 2016-09-14 22:33:06 +02:00
Tehom
5349ecfd61 Added settings.GAME_SLOGAN to global context. 2016-09-07 23:27:00 +02:00
Griatch
c15f107ad9 Add webclient support for blink, underline and inverse ANSI tags. The inverse tag will produce a dotted outline in the webclient; for now this seems to be no obvious way to inverse the background in a way similar to the terminal inverse. Resolves #976. 2016-06-24 23:22:38 +02:00
Griatch
1b9437ce97 Add 'inherit' as link CSS tags to make sure the links properly inherit colors given outside the link. The drawback is that one can't give a standard color to the link itself this way (it's just underlined). This deals with #979. 2016-06-24 20:40:46 +02:00
Griatch
410d04456c Some further fixes to the ajax client, as well as maybe fixing the i.d.l. bug manifesting from a poor msg input send. 2016-06-01 01:22:20 +02:00
Griatch
f04c82fa17 Implemented shared sessions between webclient and website - logging into either will also log in the player to the other. This is addresses the first point of #613. 2016-06-01 01:22:20 +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
1f685f6952 Changed the ##send syntax of the webclient_gui to be exactly mirroring the format of the inputcommand. 2016-05-25 00:05:53 +02:00
Griatch
ded14f0d19 Made the idle call from the ajax webclient more precise. Not sure if this
actually resolves the issue of the idle command not being properly
parsed by the ajax client or not - the error is that only the string
'idle' is sent, which is then split into its components and not
recognized as an input command. The error seems hard to reliably
reproduce.
2016-05-22 20:49:46 +02:00
Griatch
e88892642b Added a close warning event to the webclient. 2016-05-22 20:49:45 +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
cd475a0a23 Made sure the the websocket onclose is not called if websocket was never open (such as for clients only supporting ajax) 2016-05-22 20:49:44 +02:00
NatePri
fd6f973816 Removed unneeded onConnectionError handler 2016-05-22 20:49:44 +02:00
NatePri
ef05816b33 Allow for webclient reconnect without a page refresh
- Refactored WebSocket client to not return websocket object directly
- Changed AjaxCometConnection to emit close events in a way that mirrors
WebsocketConnection more closely.
- Added reconnect confirmation dialog.
2016-05-22 20:49:44 +02:00
Griatch
7e62f02f0a Implemented an AJAX keepalive from the Evennia side to make sure a dead AJAX connection (commonly if the user closes the window/browser without properly logging out), will eventually time out and log off the Player. Resolves #951. 2016-05-22 20:49:43 +02:00
Griatch
d5b3b59eb7 Made webclient aware of the server dropping (both websocket and AJAX). The server currently reacts to the websocket client dropping but not to the AJAX one (the latter forms ghost players) 2016-05-22 20:49:43 +02:00
Griatch
0451ce7685 Cleaned up the css file a little. 2016-05-22 20:49:43 +02:00
Griatch
509d03a3dc Added webclient-support for xterm256 colors, as mentioned in #613. 2016-05-22 20:49:43 +02:00
NatePri
a9bc6a1f64 Fix webclient prompt (issue #950) 2016-05-22 20:49:43 +02:00