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
Griatch
7e898842b9
Fixed a string error in the webclient that could appear on some server setups. Added URL parsing to the webclient.
2010-12-07 21:46: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
Griatch
72d40285b8
After lots of discussions, default commands where moved from game/gamesrc/commands/default to src/commands/default in order to make it clearer which parts are updated as part of evennia and which can be tweaked at heart's content. New templates where left in gamesrc/commands that should hopefully make it clearer how to extend the command system. Also game/web was moved to src/web - we'll likely extend this from game/gamesrc/web in the future. If you already did extensions you should just have to edit your import paths and make use of the new cmdset template supplied.
...
The unit testing was for commands was split out from src/objects/tests.py into the new src/commands/default/test.py in order to keep the testing modules thematically grouped with the things they are testing.
2010-11-23 01:24:56 +00:00