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
2e2c2fd484
Fixed a bug in run_async. Resolves Issue 407.
2013-11-12 17:37:04 +01:00
Griatch
ead595c2df
Fixed a minor typo. Resolves Issue 432.
2013-11-06 20:57:37 +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
efa6d85574
Added cmdset caching to cmdhandler.
2013-10-20 13:42:56 +02:00
Griatch
55423f6a2f
Fixed a ZeroDivionError by adjusting what is returned by aliashandler.all() when no aliases are given ([] instead of ['']). Also made sure src.utils.stringsuggestions() don't crash in such a situation.
2013-10-18 16:15:51 +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
d7fc0c7e16
Made OOB tracking work for Attributes. Tested repeat across reloads.
2013-10-17 19:07:01 +02:00
Griatch
46c2e372bf
Added working report functionality for db-fields. Not tested for Attributes yet. Also working oob-repeat functionality, but still a traceback at reload.
2013-10-16 23:39:04 +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
48bcb9d0ba
Useful default typeclass for channels added. Handles poses and provides interfaces for external messages and internal alike.
2013-09-29 13:11:10 -05:00
Kelketek
851e6d00cc
Turned comms into typeclassed objects.
2013-09-28 22:23:30 -05:00
Griatch
b99833e8fc
Fixed initial_setup to properly create new objects without a pre-set home.
2013-09-24 00:41:33 +02:00
Griatch
f11f330e95
Moved db_player and db_sessid under metaclass wrappers.
2013-09-23 23:10:23 +02:00
Griatch
fd9acd6bf9
Fixed website. Fixing references to db_references, not sure how to add the m2m field access to the admin. Fixed wrapper for db_home.
2013-09-23 22:08:14 +02:00
Griatch
642ae2faf9
Fixed cache and metaclass irregularities as well as the location and contents caches.
2013-09-22 21:48:08 +02:00
Griatch
0a394929b7
Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects.
2013-09-22 19:56:51 +02:00
Griatch
4659ddbfc3
Changed object.msg() to relay directly to connected session rather than via the player.msg() method.
2013-09-22 11:39:24 +02:00
Griatch
dd27b4b77d
More bugfixes.
2013-09-21 22:22:53 +02:00
Griatch
2ba16e155e
Fixed a bug in amp that made reloading not work.
2013-09-21 22:00:46 +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
4a5de04956
Changed msg() to work with **kwargs rather than data dicts. Still not fully updated the portal side (also remember that keywords let through to the portal must not contain dbobjs, since the portal has no connection to the database).
2013-09-14 09:10:31 +02:00
Griatch
07b1e40299
Changing and testing things with oobhandler, not working yet.
2013-09-07 15:01:41 +02:00
Griatch
8bd431b385
Removed deprecated Attribute methods from evennia distro. Removed MUX help files.
2013-08-25 16:41:18 +02:00
Griatch
06e858b3f6
Moved permissions into a the tag system as a separate handler. Permissions still don't work quite right yet.
2013-08-24 23:57:44 +02:00
Griatch
2f5c895f76
Removed LiteAttributes, made Nicks use Attributes. Added category and strvalue fields to Attribute. Made Attributes accessible through an AttributeHandler, like most other advanced properties.
2013-08-24 21:23:43 +02:00
Griatch
ca11e7de44
Merge with Kelketek's branch (which also includes dbenoy's branch)
2013-08-10 18:09:42 +02:00
Kelketek
427dcc3985
Optimized Scripts admin page. Fixed related name for objects on attributes.
...
Repaired search. Removed some backwards compatible parts of picklefield since
we aren't supporting version older than 1.5 and they were obscuring the true
cause of some issues.
2013-07-21 09:44:34 -05:00
Griatch
37886adea1
Added signalhandler in test suite, still issues.
2013-07-13 15:39:16 +02:00
Griatch
7b0c96640c
Reverting metaclass wrapper for db_key, will have to look into why it behaves strangely.
2013-07-12 23:58:22 +02:00
Griatch
73a5800fbf
Fixed updates of the contentmanager. Not all command tests run yet.
2013-07-12 22:08:15 +02:00
Griatch
c0b5c506a4
Removed a lot of old references to Aliases and Nicks. Still failing on @puppet.
2013-07-12 15:34:54 +02:00
Griatch
a4042920e0
Fixed the migrations to get to a baseline version you can log into.
2013-07-11 22:24:55 +02:00
Griatch
c676c9965f
Merged. Still need to update some migrations.
2013-07-11 19:11:27 +02:00
Griatch
46d1c48a38
Working implementation of User->PlayerDB conversion. Superuser must be created separately. The player-create method was corrected, along with the most obvious places where the user-setup was used. One can log in and look around but it's not heavily debugged yet.
2013-07-11 18:03:07 +02:00
Griatch
9e10a41e18
First version with all caches seemingly working ok. Started to remove the on-model wrappers that are not handled by the idmapper metaclass.
2013-07-11 15:59:03 +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
a0a94df83d
Removed extra caching for fields (this slowed things down over normal django field caching). Considering reworking Attribute storage in order to make use of those caches as well.
2013-06-06 12:45:39 +02:00
Griatch
7351aacba5
Fixed an issue with setting location. Still errors with creating new objects.
2013-06-05 18:47:41 +02:00
Griatch
fb3259be8c
Activated propcache with new cache system. Still not functioning correctly, also the content cache needs to be handled.
2013-05-29 23:07:44 +02:00
Griatch
b6383ddab9
Moved attr_cache to new caching system, activated all attribute updating signals.
2013-05-29 18:47:51 +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
deafb9c544
Added cache-cleaning to the idmapper base class. This works to sync most changes from the admin site-side, but not location changes (which leaves the content cache stale). Thinking of testing the django in-built cache framework instead, maybe using custom fields?
2013-05-25 10:20:26 +02:00
Griatch
0a39b8f65e
Webserver move to Server is finished and everything seems to work normally.
2013-05-24 21:10:31 +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
76fa0059ea
First preparations for moving webserver to Server process.
2013-05-22 18:18:50 +02:00
Griatch
efdb954491
Fixed a logical error in obj.manager causing it to fail to find arbitrary db_>fieldname>. Resolves Issue 373.
2013-05-21 14:29:50 +02:00
Griatch
a533232885
MySQL<v5.6.4 does not support millisecond precision in its DATETIME fields (as opposed to other databases). This meant that Attributes, which do rely on millisecond precision for creating their object hashes, got out of sync in a horrible way on MySQL (Issue 362). This revision fixes the problem by going to second-level precision if a too-low version of MySQL is detected (this should not be an issue since mysql does not reuse its pks anyway).
2013-05-14 19:15:58 +02:00
Kelketek
e752c2dd64
Made username creation/login case insensitive.
2013-05-13 12:30:00 -05:00
Griatch
68e4384761
Some minor fixes to debug output.
2013-05-12 20:28:30 +02:00