Commit graph

123 commits

Author SHA1 Message Date
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
Griatch
033344ad2c Moved get_evennia_pids into src.utils.utils for more general access. 2013-07-10 11:06:38 +02:00
Griatch
2a7c45d6e8 Run Migrations. Migrated to new Attribute schema, converting old attributes. Not fully tested yet. 2013-07-09 00:09:19 +02:00
Griatch
e30f3f7e59 Minor fix to a comment. 2013-06-20 18:10:51 +02:00
Griatch
965e236d9a Merge. 2013-06-03 17:09:14 +02:00
Griatch
340160e4ea Reverting changes to runner, instead adding settings.CYCLE_LOGFILES config variable. 2013-06-03 17:03:31 +02:00
Griatch
8202dba596 Changed cache system to use Django's cache mechanism. Changed field caches to make use of Django signalling instead of custom caching calls (this should make the system consistent also when called from the webserver). Created a wrapper system for easily wrapping fields with a default wrapper (so as to not have to explicitly define the properties (such as objdb.key) which all just do the same thing - load from the field and make sure to call save(). 2013-05-29 16:16:28 +02:00
Griatch
70ea21dab8 Added settings for webserver threadpool limits. 2013-05-23 23:57:21 +02:00
Griatch
20e093aa26 Settings and server configs updated. The caches between server and website threads are still not properly addressed - a change in the admin interface does not immediately translate to a change in-game. 2013-05-23 23:42:55 +02:00
Griatch
c083fe6266 Webserver->Server is working, some more cleanup needed. 2013-05-23 22:58:50 +02:00
Kelketek
bf8a5dedc8 Removed bogus warning about SECRET_KEY and replaced it with a more accurate one. 2013-05-16 22:41:48 -05:00
Kelketek
e752c2dd64 Made username creation/login case insensitive. 2013-05-13 12:30:00 -05:00
Griatch
89c33a9197 Some deprecation fixes for django1.4+. Added the ability to add lists to Attribute-stores lists using e.g. obj.db.mylist + [1,2,3,4] 2013-04-17 19:43:37 +02:00
Griatch
8720df5b49 Merge. 2013-04-15 00:12:00 +02:00
Griatch
a6544f2848 changed cmdset_default -> cmdset_character and changed the class names to match. Added migrations to properly update default-set cmdset_stores to the new positions (objects created from custom types are not migrated, these should see errors and need to re-point their imports to the new defaults) 2013-04-12 13:01:20 +02:00
Griatch
1aff5f1fd1 Renamed cmdset_ooc -> cmdset_player and settings.CMDSET_OOC -> settings.CMDSET_PLAYER. Also split most of the player-specific commands to a new module player. 2013-04-11 01:02:05 +02:00
Griatch
85d4250f1d Added all functionality for all 3 MULTISESSION_MODEs. 2013-04-03 10:07:01 +02:00
Griatch
3afee00064 Added ALLOWED_HOSTS default setting required by Django 1.5. 2013-03-25 19:44:37 +01:00
Griatch
b5ccad21c5 Added functionality for MULTISESSION_MODE of types 0 and 1. 2013-03-25 09:41:27 +01:00
Griatch
11d612a72a Added more permission info to ooclook. 2013-03-12 10:29:21 +01:00
Griatch
29e313492f Added more session info to ooclook. Working on a bug that causes superuser to not be recognized now and then - this seems to be related to character.player returning None. This revision contains some printout debug messages since that bug is not yet fixed. 2013-03-11 01:32:17 +01:00