Commit graph

14 commits

Author SHA1 Message Date
Kelketek
bda5d88c24 Fixed issue with webclient sessions hanging on disconnect. 2013-05-18 21:20:54 -05:00
Griatch
4b56d5a3a4 Fixed a bug that caused the webclient input line to suddenly reset every three minutes. Thanks to use "lusid" for supplying the hint on fixing this one! Also added a more consistent way of parsing the incoming address. 2012-04-01 22:52:12 +02:00
Griatch
a923a9a061 Merging fixes from clone jeremywosborne-evennia-patch. Closes merge request issue 211. Thanks! 2012-02-21 08:27:30 +01:00
Jeremy Osborne
e164b63d2b Some webclient suggestions and practice committing to evennia.
text2html.py and webclient.css
* Remove inline formatting and place in CSS file. This frees up
  the client to change the basic color scheme without modifying
  the server file.
* Added a target="_blank" to links that are created to force a
  new tab (or window) to be opened in lieu of leaving the web
  client when a link is clicked.

webclient.html
* Added a void action to the form, just in case.

evennia_webclient.js
* Added code to move the caret to the end of the input box when
  the history is changed (up or down arrow listeners).
2012-02-20 20:34:28 -08:00
Griatch
c56ede0fa2 Minor documentation fix in javascript webclient code. 2012-02-20 22:52:59 +01:00
Griatch
f3776d1e08 Fixed problem with some keys in web client (issue 143). 2011-05-29 11:37:43 +00:00
Griatch
2f78bacd97 Added a check for multiple connected sessions to avoid moving disconnected object more than once. Resolves issue 145. 2011-03-19 22:17:00 +00:00
Griatch
8288534cf6 Fixed a firefox-incompatability bug in the webclient. Resolves issue143. 2011-03-17 23:18:44 +00:00
Griatch
46ca685c76 Made an "idle" command to be sent from the webclient to the server every 3 minutes to avoid conservative reverse proxies resetting connections on us. This should fix issue 129. 2011-02-21 18:19:04 +00:00
Griatch
803051a594 Removed the jQuery library from being shipped with the source (instead accessing it remotely). Download it separately if wanting to test the webclient features without an internet connection. This was due to it massively shifting the analysis of the Evennia code (we suddenly consist of almost 50% javascript code just due to the jQuery inclusion). 2011-02-15 07:12:33 +00:00
Griatch
ecbd36c5a8 Fixes webclient spacing issues in lists. Patches created by user "61924.00". Still issues with some line breaks, as per issue 121. 2011-02-06 17:06:29 +00:00
Griatch
7f3633c70a Web client users are now notified if the server is shut down forcefully (Ctrl-C, reboot etc) 2010-12-11 14:26:57 +00:00
Griatch
0eb5d29560 Cleaned up the webclient and changed how it handles sessions and identifies with the server. Fixed some reported bugs caused by the changed layout of sessionhandler. 2010-12-11 13:37:26 +00:00
Griatch
251f94aa7a Evennia now runs on its own Twisted webserver (no need for testserver or Apache if you don't want to). Evennia now also has an ajax long-polling web client running from Twisted. The web client requires no extra dependencies beyond jQuery which is included. The src/server structure has been r
cleaned up and rewritten to make it easier to add new protocols in the future - all new protocols need to inherit from server.session.Session, whi
ch implements a set of hooks that Evennia uses to communicate. The current web client protocol is functional but does not implement any of rcaskey
's suggestions as of yet - it uses a separate data object passed through msg() to communicate between the server and the various protocols. Also the client itself could probably need cleanup and 'prettification'. The fact that the system runs a hybrid of Django and Twisted, getting the best of both worlds should allow for many possibilities in the future. /Griatch
2010-12-07 02:34:59 +00:00