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
Griatch
039bb0c540
Fixed the send button in the webclient; made the prompt command work with the webclient (still not displaying correctly)
2016-05-22 20:45:43 +02:00
NatePri
8844b7bb80
Added -moz/-webkit CSS prefixes, made sizer CSS consistent
2016-05-22 20:45:42 +02:00
NatePri
67e26103d5
Minor CSS fix
2016-05-22 20:45:42 +02:00
NatePri
f907165dd3
Missed some var declarations
2016-05-22 20:45:42 +02:00
NatePri
f12adcf976
Enable strict mode on scripts, clean up some unremoved references
2016-05-22 20:45:42 +02:00
NatePri
2134d6dd4a
Minor webclient enhancements
...
- Fixed window resize bug
- Improved history handling to be less destructive to text the user has
entered
- Made input area automatically resize to fit its contents
2016-05-22 20:45:42 +02:00
Griatch
4acea5a20d
A rudimentary OOB input parser from the webclient, for testing.
2016-05-22 20:45:42 +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
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
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