Commit graph

143 commits

Author SHA1 Message Date
Griatch
19d6d4ff9e Fixed so multiple webserver interfaces don't kill the websocket client connection. Cleaned up some comments in settings.py. 2014-08-23 00:07:47 +02:00
Griatch
9af3b44e1c Added NAWS negotiation to telnet protocol, for negotiating the client width/height. Use session.get_client_size() to get a tuple of (width, height) for the current output window. Not currently supported by the webclient. Also added options settings.CLIENT_DEFAULT_WIDTH and -HEIGHT for having a fallback. Note that none of Evennia's default systems currently use this width information. 2014-08-20 10:21:11 +02:00
Griatch
55cbe615e9 Tested all multisession modes against unittests. Seems to work. 2014-08-04 17:09:16 +02:00
Griatch
874e3edb2a Changed guest default home and start location to link to the default values rather than hard-coding it. 2014-07-10 23:42:54 +02:00
Griatch
a707c3c404 Made guest logins turned off by default; if people want it, it should be a concious choice. 2014-07-10 21:12:15 +02:00
Griatch
5725eae583 Some restructuring of settings_default, moving guests into a separate section. 2014-07-10 21:07:03 +02:00
Griatch
3819c97b06 Some cleanup and changing to conform to PEP8 standard. 2014-07-10 20:29:16 +02:00
n0q
ddf8c60341 Corrected guest_list comment
Comment on GUEST_LIST specified 5 guests when the actual list was configured for nine.
2014-07-08 02:21:59 -04:00
n0q
e47b2b83b1 Added Guest permission level 2014-07-08 01:33:06 -04:00
n0q
f6b3535021 Fixed settings_default.py compliance
Guests are enabled and disabled with GUEST_ENABLED.
2014-07-07 23:34:07 -04:00
n0q
b9661c5c96 Guest Functionality
Allows for guest logins by entering 'connect guest' at the login screen.
Cleans up after itself but does not yet clean up stale guests from a
system crash.
2014-07-06 16:46:02 -04:00
Kelketek Rritaa
df85edc295 Made template overriding more consistent and created template_overrides dir. 2014-06-29 11:07:11 -05:00
Kelketek Rritaa
7499932337 Removed creation of admin media symlink. Fixed media handling. 2014-06-29 08:23:12 -05:00
Kelketek Rritaa
def97b58a8 Renamed static ev directory to evennia_general
Removed defunct news app.
2014-06-29 08:17:04 -05:00
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
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
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
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
4e14f46d54 Added settings.IDMAPPER_CACHE_MAXSIZE and a new default global script to check if the cache should be flushed. Tested with dummyrunner to maintain the memory usage at a much more stable level. 2014-05-18 21:17:10 +02:00
Griatch
f2c75bd0f6 Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage. 2014-05-18 18:28:10 +02:00
Griatch
63c099c22f Various fixes and debugging of weak-ref changes 2014-05-10 19:38:23 +02:00
Griatch
91b23f58a4 Removed CHARACTER_DEFAULT_HOME, replaced with DEFAULT_HOME and added START_LOCATION for determining where default commands dump new characters. 2014-04-20 15:56:38 +02:00
Griatch
ef0a154a61 First version of working websocket protocol. 2014-04-13 16:26:14 +02:00
Griatch
01d15f13ee First, untested implementation of websocket protocol support. 2014-04-13 13:18:32 +02:00
Griatch
440afe6928 Further tweaks to unit test systems 2014-03-15 14:06:28 +01:00
Griatch
67c4896a53 More refactoring of the unittest system 2014-03-15 08:03:44 +01:00
Griatch
7571e3606d Some cleanups of the unittests. 2014-03-15 07:37:02 +01:00
Kelketek Rritaa
f0130d8384 Added tests for ANSIString, and fixed some bugs for it along the way. 2014-03-09 20:23:14 +01:00
Griatch
ea7e43c746 Updated gametime module to work on-the-fly, based on patches and discussion with user Khandrish. Also made cleanups to @scripts command and some small bug fixes. 2014-01-04 17:14:51 +01:00
Khandrish
d7ba49e01e non-breaking; finer grained control over game time 2014-01-02 00:12:33 -08:00
Khandrish
0a5597bb0b gametime script now allows for modification of interval via settings file 2014-01-01 18:06:01 -08:00
Griatch
7c90c3234c Removed a IPv6 restriction in portal, based on input from user 'jayvee' in chat. 2013-12-11 13:56:16 +01:00
Griatch
6e5de7847a Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path. 2013-12-02 13:45:48 +01:00
Griatch
242a0f17f8 Cleaned up oobhandler input. 2013-11-28 16:26:04 +01:00
Griatch
1ae17bcbe4 PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned. 2013-11-14 19:31:17 +01:00
Griatch
07af616b67 Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement. 2013-10-20 21:02:37 +02:00
Griatch
584d1095ad More tweaks to the oob mechanism; renamed oob_defaults to oob_msdp 2013-10-18 22:04:53 +02:00
Griatch
acdea41a67 Merge from Kelketek's clone. Added fixes to migrations of Tags. Issues with ContentTypes meaning that this revision is not possible to start. 2013-10-17 23:44:52 +02:00
Griatch
bdcc8de5bc OOB MSDP working with direct sending of data from various parts of the system. Tracking as well as support for the default MSDP commands (LIST, REPORT etc) are not yet tested/implemented. 2013-10-15 20:00:18 +02:00
Kelketek
851e6d00cc Turned comms into typeclassed objects. 2013-09-28 22:23:30 -05:00
Griatch
39b69dcdc2 Fixed a migration issue with PostGreSQL. 2013-09-26 09:01:27 +02:00
Griatch
d74cce4dfe First version of OOBHandler put together. Might still have to rework it since it cannot properly handle multiple trackers tracking a single field on a given object. 2013-09-14 23:18:36 +02:00
Griatch
1e96b13920 Changed cmdhandler to include Session-level cmdset. 2013-09-08 00:14:06 +02:00
Griatch
839a78ca8d Fixed erroneous alias-assigments in tutorial_world that caused tracebacks. Resolves Issue 423. 2013-08-30 20:53:38 +02: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
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