Commit graph

2889 commits

Author SHA1 Message Date
Kelketek
da097a88d9 Fixed an issue with case sensitivity in table names for the migrations. Fixed issue with transactions when converting nicks and aliases. 2013-07-19 17:13:57 -05:00
Kelketek
90faaf9d01 Fixed some issues with the admin interface. These changes may not be the best ones for these datatypes, but they should load now... 2013-07-18 08:40:48 -05:00
Daniel Benoy
1e5b52f685 Object search routines now distinguish between candidates=None, and
candidates=[]
2013-07-17 03:30:48 -04:00
Daniel Benoy
b93a9b4487 self() lock function now works when a db object is passed. 2013-07-16 20:22:39 -04:00
Kelketek
aa5aeaccc3 Fixed issue with improper handling of non-unique tags and nicks. 2013-07-16 08:33:24 -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
6bc16e46cc Made aliases work with the new handler. The location.contents updated is not working yet - this causes locational information to not be available until objects and manually initialized (e.g. by calling examine #dbref) 2013-07-12 20:21:52 +02:00
Griatch
45706f598a Fixed remaining issues so the login process works. 2013-07-12 15:57:46 +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
0061f884ae Implemented NickHandler, AliasHandler and TagHandler in the typeclass to replace the old handlers. Some errors during login. 2013-07-12 14:44:49 +02:00
Griatch
2c17b7b675 Made the migrations for the new Tags and LiteAttributes. 2013-07-12 12:04:57 +02:00
Griatch
e178963941 First implementation of new Tags and LiteAttribute models to replace Aliases and Nicks while offering more flexibility. 2013-07-12 11:12:21 +02:00
Griatch
e2ce3f2223 Minor formatting. 2013-07-11 22:59:11 +02:00
Griatch
607674c6cf Added a superuser creation call to evennia.py to replace the automatic one that
was done by syncdb before.
2013-07-11 22:47:17 +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
f1ba0ca177 Fixed attribute import migrations. 2013-07-11 14:12:42 +02:00
Griatch
2b332c3b9a Attribute cache is working, lots of other updates, but still not a cleanly updatable system. It seems the Attribute-migrations are not coming through properly. Fixed a misnamed table in the comm app. 2013-07-11 09:51:52 +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
a1d818f8aa First test with moving Attributes to m2m field. Not working yet. 2013-07-08 18:13:21 +02:00
Griatch
261e463505 cleaned up script copy method in script manager. 2013-07-02 16:24:47 +02:00
Griatch
2487d4b622 Fixed script-searching using the obj= keyword. Also made the search more efficient using Q-objects. Resolves Issue 385. 2013-07-02 16:09:20 +02:00
Griatch
92a8e39de5 Changed how the cmdset's errmessage is propagated. Adding failing cmdsets added ErrorCmdsets to the cmdhandler. This was for callback reasons, but it clutters up things for no good reason. 2013-07-02 15:50:42 +02:00
Griatch
47a324f720 Made cmdhandler merge same-prio cmdsets in groups. Before this fix one could face the following situation: Two exits "allcom" and "test". Both have exit cmdsets with prio 9. If "test" merges first, it contains no "allcom" command to overload the "allcom" in the Player cmdset (prio -5). But the merged set now has a priority of 9 thanks to merging the "test" set. So when merging the "allcom" exit-command, it merges with a same-prio set. And since exit-cmdsets have the duplicate-flag set, there will be two allcom commands in the final set. The problem does not show up if "allcom" happened to be merged first, making this effect non-consistent and buggy.
Merging the same-prio exit-sets first, then merging onto the lower-prio sets resolves this issue.
2013-07-02 13:38:38 +02:00
Griatch
3cf01ce711 Reverted previous merge, instead solving the issue by the metaclass making sure to add cmd:all() to the exit command only if the object itself does not specify it. 2013-07-02 11:51:04 +02:00
Griatch
b41761f60c Merge. 2013-07-02 09:35:45 +02:00
Griatch
5800b960ff Added safety feature to lock handling. 2013-07-02 09:34:35 +02:00
Daniel Benoy
b9f40fe8ee Fixed a regression which caused exits to be locked out from use. 2013-07-01 21:46:20 -04:00
Griatch
0164574c00 Added sessid keyword to at_pre_puppet and at_post_unpuppet hooks, where the sessid is otherwise not yet available, as per Issue 383. 2013-07-01 15:03:12 +02:00
Griatch
92339362ec Changed/fixed some issues with the command priorities that caused a lower-prio dynamically-created command to not properly be accounted for. Also changed the prio order for which of the cmdsets are used for checking the "duplicates" flag - it is now the new set being merged onto the new one (i.e. the priorotized) cmdset that must have this flag set in order for the result to have duplicates. 2013-07-01 14:30:17 +02:00
Griatch
1e6384e40c Fixed some documentation typos/rewrites as suggested in Issue 393. 2013-06-30 14:13:01 +02:00
Griatch
878f83aba0 Merge. Added updates to some of the fixes, such as making channel connetion updates look for online Players instead of online Sessions (the latter would have created duplicates in a multi-session environment). 2013-06-30 13:57:21 +02:00
Kelketek
c4db3e5370 Made normal channels not message offline users by default. 2013-06-29 18:52:15 -05:00
Kelketek
240dee1d5b Fixed issue with attribute search not properly handling attribute prefixes. 2013-06-29 15:10:14 -05:00
Kelketek
c3f86ab45b Fixed issue where searching for 'me' did not return typeclassed object. 2013-06-29 14:14:00 -05:00
Griatch
e30f3f7e59 Minor fix to a comment. 2013-06-20 18:10:51 +02:00
Griatch
e6067c873c Fixing old docstring on @quell command, suggesting superuser cannot be quelled. 2013-06-20 18:06:10 +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
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
31410f5710 Merge from Kelketek clone. 2013-06-03 16:28:38 +02:00
Daniel Benoy
c10a02f713 Fixed security hole checking channels with @cwho 2013-06-02 06:53:57 -04:00
Kelketek
b98cbd941d Removed log cycling. 2013-06-01 08:03:03 -05:00