Commit graph

53 commits

Author SHA1 Message Date
Kelketek Rritaa
a34ddea236 Fixed placement of websocket javascript and template.
Fixed wrong readme in static.

Moved backends.py into web/util
2014-06-29 07:05:45 -05:00
Kelketek Rritaa
a6187ed997 Minor cleanup in a readme and a method signature. 2014-06-28 16:35:57 -05:00
Kelketek Rritaa
7d12c6dd69 Added custom Evennia admin and ability to toggle it. 2014-06-28 16:29:57 -05:00
Kelketek Rritaa
fbe0eab01c Some consistency improvements with URL overrides. 2014-06-28 16:28:24 -05:00
Kelketek Rritaa
16bcc3c9f0 Restructured web resources to better manage static files. 2014-06-28 16:28:14 -05:00
Griatch
8c5621025b Added oob test command for websocket client. 2014-06-28 18:10:20 +02:00
Griatch
c60a5fdea1 Fixed and refactored OOB system and tested with new websocket client 2014-06-28 18:10:20 +02:00
Griatch
9ba212c264 Working on the OOB system, somewhat unstable at the moment. 2014-06-28 18:10:20 +02:00
Griatch
d59500f574 Updated to a working websocket implementation of webclient. 2014-06-28 18:10:20 +02:00
Griatch
ca1e36da5f First working test version of oob support in the websocket client. 2014-06-28 18:10:20 +02:00
Griatch
e6c1ab3df8 First make of a testing method for oob 2014-06-28 18:10:20 +02:00
Griatch
ede6634081 Converted webclient to use websockets on port 8001. Ideally one would make it so the ajax and websocket clients work under the same django wrapper, but for now this functionality is elusive. 2014-06-28 18:10:20 +02:00
Griatch
6812906caa Fixed some default website links that still pointed to google code. 2014-04-19 13:06:04 +02:00
Kelketek
45ea5a7cb5 Admin pages load now, but they ain't always pretty. 2013-09-29 13:30:25 -05:00
Kelketek
66802f291d Updated news models to use custom user. No migration should be needed. Updated website templates. 2013-07-22 08:59:11 -05:00
Kelketek
083642b2dd Fixed an issue with the backend authentication not getting the proper user model. 2013-07-19 17:22:46 -05:00
Griatch
c676c9965f Merged. Still need to update some migrations. 2013-07-11 19:11:27 +02:00
Griatch
c94472492a Implemented PlayerDB as replacement for User, as per Django1.5. All migrations work, but there are still lots of changes to be done in the code to remove references to the User model. 2013-07-10 19:13:41 +02:00
Griatch
94f50fcf33 Moved webserver to Server and set up the webclient to work as a stand-alone program on the Portal side. The website link to the webclient is currently pointing to the wrong process, some way to direct that transparently to the Portal-side is needed. 2013-05-23 00:02:25 +02:00
Kelketek
bda5d88c24 Fixed issue with webclient sessions hanging on disconnect. 2013-05-18 21:20:54 -05:00
Kelketek
e752c2dd64 Made username creation/login case insensitive. 2013-05-13 12:30:00 -05:00
Kelketek
9d0b8b5fe7 Added compatibility with Django 1.5. New minimum version is 1.4. 2013-03-23 14:20:41 -05:00
Kelketek
b301d8ebb2 Fixed spacing consistency issues between messages in web client. 2013-02-06 20:58:22 -06:00
Griatch
ec46465656 Implemented ansi-colour backgrounds in webclient. Added a new @color command for displaying colour spaces. Also changed a number of other features outlined in Issue 309. 2012-10-24 21:41:07 +02:00
Griatch
21137cc830 Run Migrations! Added a is_connected field to Players to be able to more conveniently access online status from out-of-process (resolves issue 251). Also cleaned up and added features to the default website. 2012-09-17 19:19:20 +02: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
13b3d61b42 Removed word-break:break-all; from webclient css as per issue 210. Interestingly enough, this only showed an effect in Chrome on my machine; in Firefox, the lines were cropped per word also with this setting. 2012-02-20 22:05:05 +01:00
Griatch
2104fd391b Adding TTYPE support (allows server to query client for information such as name and capabilities, assuming the client supports ttype). 2011-11-19 19:34:00 +01:00
Griatch
a60cd9bf1f Fixed User/Player creation in Admin, much more intuitive now. Remains issues with creating attributes since these need to be pickled to/from the database in order to be properly handled. 2011-11-13 18:46:14 +01:00
Griatch
c8b4f7518d Fix of admin setup for DEBUG=False, based on https://code.djangoproject.com/ticket/10405#comment:11 (thanks to catch22 for finding this) 2011-10-03 21:25:06 +02:00
Griatch
bc0195bbaa Worked with admin interface, cleaning up and adding functionality. There are still some strange behaviour that makes e.g. the presence of inlines to auto-create empty database objects for some strange reason. Inlines are turned off at the moment (so there is no convenient way to add attributes from the admin interface at this time). Creating players now work, but one needs to create all three components (User, Player, Character) in one go and tie them together. The User-admin form was changed to also support multi-word usernames (django default didn't allow spaces). 2011-10-02 22:37:07 +02:00
Griatch
de9c2ec437 Cleaned admin interface, removing misleading fields. It's still broken in a few places however, objects give a traceback here, not sure why. 2011-09-15 00:28:26 +02:00
Griatch
f3776d1e08 Fixed problem with some keys in web client (issue 143). 2011-05-29 11:37:43 +00:00
Griatch
7c56c69cea Added SSH support, based on patch by hagna (issue 166). 2011-05-27 17:47:35 +00:00
Griatch
7f9f21f45e Migration needed. Refactored the config.configValue model into server.ServerConfig (that's what the config model were used for anyway). The new model can handle arbitrary data structures through pickle. Run ./manage.py migrate to sync your database with the new setup.
Moved Connect screens (the text screen first seen when connecting) away from the database and into a module in gamesrc/world. This module allows for conveniently adding new connect screens on the fly. More than one screen in the given module will mean a random screen is used.
2011-04-12 21:43:57 +00:00
Griatch
6c53ec2bdb OBS: Run migrate! Made exit's destination into a database field for performance. Fixed a too greedy @reload that caused ContentTypes to loose information. Resolves issue 157.
Migrate with: "python manage.py migrate"
2011-04-08 23:10:04 +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
f0b4c581f7 Removed the admin media files from the distribution again. Instead the server will now create the necessary symlink (Linux) or copy (Windows) of the default files in django/contrib/admin/media at initial startup. Currently only tested under Linux. If you don't want to re-run the initialization, copy/link the admin directory to ADMIN_MEDIA_PREFIX yourself. This deals with issue 124.
Also added a 'remove' functionality to the migrate.py script, for easily getting back the normal syncdb operation (useful when deleting/resetting the database a lot).
2011-02-20 22:07:35 +00:00
Griatch
acc89d0be2 Gave better webclient error message if online jQuery library was not found. 2011-02-15 07:39:19 +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
bf606db05d Re-added admin media files. It seems they are not automatically found when django's own test server is not used. This resolves issue 124. 2011-01-13 13:10:39 +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
b1682f78c9 Removed a batch of symlinks that accidentally got into the repository in the latest few updates. 2010-12-08 08:31:19 +00:00