Commit graph

  • bbba695380 Changed unittest suite to use dummy sessions. Griatch 2013-09-22 16:29:02 +02:00
  • 4659ddbfc3 Changed object.msg() to relay directly to connected session rather than via the player.msg() method. Griatch 2013-09-22 11:39:24 +02:00
  • dd27b4b77d More bugfixes. Griatch 2013-09-21 22:22:53 +02:00
  • 2ba16e155e Fixed a bug in amp that made reloading not work. Griatch 2013-09-21 22:00:46 +02:00
  • e36c7d5cc1 Cleaned up worst instability. Test suite does validate yet. Griatch 2013-09-21 17:33:48 +02:00
  • fa93c70e7f First implementation of OOBHandler. Griatch 2013-09-19 20:41:42 +02:00
  • 916813376e The game/gamesrc/objects/examples defaulted to class names that did not match the tutorials. Griatch 2013-09-19 20:07:43 +02:00
  • 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. Griatch 2013-09-14 23:18:36 +02:00
  • 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). Griatch 2013-09-14 09:10:31 +02:00
  • 1e96b13920 Changed cmdhandler to include Session-level cmdset. Griatch 2013-09-08 00:14:06 +02:00
  • 07b1e40299 Changing and testing things with oobhandler, not working yet. Griatch 2013-09-07 15:01:41 +02:00
  • 839a78ca8d Fixed erroneous alias-assigments in tutorial_world that caused tracebacks. Resolves Issue 423. Griatch 2013-08-30 20:53:38 +02:00
  • 0a42b73824 Added category keyword to AttributeHandler's all() and clear() methods. Griatch 2013-08-25 19:15:27 +02:00
  • 48ddabdf25 Some more removals of Attribute methods. Griatch 2013-08-25 17:09:03 +02:00
  • 8bd431b385 Removed deprecated Attribute methods from evennia distro. Removed MUX help files. Griatch 2013-08-25 16:41:18 +02:00
  • 9620867031 Fixed simple bug in creating a new character - it got the wrong puppet hook lock type. Griatch 2013-08-25 15:09:28 +02:00
  • 06e858b3f6 Moved permissions into a the tag system as a separate handler. Permissions still don't work quite right yet. Griatch 2013-08-24 23:57:44 +02:00
  • 2acff2d1ab Fixed bugs in new nickhandler implementation. Griatch 2013-08-24 21:42:48 +02:00
  • 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. Griatch 2013-08-24 21:23:43 +02:00
  • befe6a6db0 Made some extra opt-out checking in object manager. Griatch 2013-08-24 11:36:28 +02:00
  • ca11e7de44 Merge with Kelketek's branch (which also includes dbenoy's branch) Griatch 2013-08-10 18:09:42 +02:00
  • e05bfcad85 Fixes to Tag Handler and Manager. Kelketek 2013-08-04 12:47:00 -05:00
  • 1da88deb93 Added Tag inlines in for ObjectDB admin. Fixed issue with tag addition. Kelketek 2013-08-04 09:25:15 -05:00
  • b0bf60cda4 Merge from DBenoy's branch. Kelketek 2013-07-27 19:05:05 -05:00
  • 5320381060 Removed some references to get_profile(), fixed some spelling errors, fixed post_clear signal. Kelketek 2013-07-27 18:59:39 -05:00
  • 5a5de51a5c Reimplemented get_dbref_range Daniel Benoy 2013-07-27 04:25:01 -04:00
  • 66ced94b58 Fixed a trace from ev.search_help_entry Daniel Benoy 2013-07-24 07:10:10 -04:00
  • 66802f291d Updated news models to use custom user. No migration should be needed. Updated website templates. Kelketek 2013-07-22 08:59:11 -05:00
  • 55c0e40309 Fixed the tag migrations. Didn't need to fool with transactions after all. Kelketek 2013-07-21 17:22:38 -05:00
  • 08ee399ea2 Better way of doing that with less side effects. Thought it wasn't possible earlier because I misread something. Kelketek 2013-07-21 14:18:36 -05:00
  • 427dcc3985 Optimized Scripts admin page. Fixed related name for objects on attributes. Kelketek 2013-07-21 09:44:34 -05:00
  • 699f86273b Customized Reverse Proxy to send along host header from client. Kelketek 2013-07-20 19:36:32 -05:00
  • d861cc5e8b Fixed a typo in that last one. And this time, it succeeded! Kelketek 2013-07-20 16:54:11 -05:00
  • 8ba5be0b2d Adjusted migrations to more properly handled dependent tables. Kelketek 2013-07-20 16:32:24 -05:00
  • 89aebfc13f Made migrations compatible with new user model when creating from scratch. Kelketek 2013-07-20 15:45:16 -05:00
  • 3c496af6ad Migrations fixes revealed as necessary by the admin pages, which were also fixed. Kelketek 2013-07-20 13:17:41 -05:00
  • fbd1b5223b Some refinements to the admin interface for objects and players. Kelketek 2013-07-20 12:42:10 -05:00
  • 40ff9eaa67 Removed has_perm function from typeclass model. This function is looked for by django admin and expected to do something different, and it was deprecated anyway. Kelketek 2013-07-20 12:10:47 -05:00
  • 083642b2dd Fixed an issue with the backend authentication not getting the proper user model. Kelketek 2013-07-19 17:22:46 -05:00
  • da097a88d9 Fixed an issue with case sensitivity in table names for the migrations. Fixed issue with transactions when converting nicks and aliases. Kelketek 2013-07-19 17:13:57 -05:00
  • 90faaf9d01 Fixed some issues with the admin interface. These changes may not be the best ones for these datatypes, but they should load now... Kelketek 2013-07-18 08:40:48 -05:00
  • 1e5b52f685 Object search routines now distinguish between candidates=None, and candidates=[] Daniel Benoy 2013-07-17 03:30:48 -04:00
  • b93a9b4487 self() lock function now works when a db object is passed. Daniel Benoy 2013-07-16 20:22:39 -04:00
  • aa5aeaccc3 Fixed issue with improper handling of non-unique tags and nicks. Kelketek 2013-07-16 08:33:24 -05:00
  • 37886adea1 Added signalhandler in test suite, still issues. Griatch 2013-07-13 15:39:16 +02:00
  • 7b0c96640c Reverting metaclass wrapper for db_key, will have to look into why it behaves strangely. Griatch 2013-07-12 23:58:22 +02:00
  • 73a5800fbf Fixed updates of the contentmanager. Not all command tests run yet. Griatch 2013-07-12 22:08:15 +02:00
  • 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) Griatch 2013-07-12 20:21:52 +02:00
  • 45706f598a Fixed remaining issues so the login process works. Griatch 2013-07-12 15:57:46 +02:00
  • c0b5c506a4 Removed a lot of old references to Aliases and Nicks. Still failing on @puppet. Griatch 2013-07-12 15:34:54 +02:00
  • 0061f884ae Implemented NickHandler, AliasHandler and TagHandler in the typeclass to replace the old handlers. Some errors during login. Griatch 2013-07-12 14:44:49 +02:00
  • 2c17b7b675 Made the migrations for the new Tags and LiteAttributes. Griatch 2013-07-12 12:04:57 +02:00
  • e178963941 First implementation of new Tags and LiteAttribute models to replace Aliases and Nicks while offering more flexibility. Griatch 2013-07-12 11:12:21 +02:00
  • e2ce3f2223 Minor formatting. Griatch 2013-07-11 22:59:11 +02:00
  • 607674c6cf Added a superuser creation call to evennia.py to replace the automatic one that was done by syncdb before. Griatch 2013-07-11 22:47:17 +02:00
  • a4042920e0 Fixed the migrations to get to a baseline version you can log into. Griatch 2013-07-11 22:24:55 +02:00
  • c676c9965f Merged. Still need to update some migrations. Griatch 2013-07-11 19:11:27 +02:00
  • 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. Griatch 2013-07-11 18:03:07 +02:00
  • 9e10a41e18 First version with all caches seemingly working ok. Started to remove the on-model wrappers that are not handled by the idmapper metaclass. Griatch 2013-07-11 15:59:03 +02:00
  • f1ba0ca177 Fixed attribute import migrations. Griatch 2013-07-11 14:12:42 +02:00
  • 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. Griatch 2013-07-11 09:51:52 +02:00
  • 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. Griatch 2013-07-10 19:13:41 +02:00
  • 033344ad2c Moved get_evennia_pids into src.utils.utils for more general access. Griatch 2013-07-10 11:06:38 +02:00
  • 2a7c45d6e8 Run Migrations. Migrated to new Attribute schema, converting old attributes. Not fully tested yet. Griatch 2013-07-09 00:09:19 +02:00
  • a1d818f8aa First test with moving Attributes to m2m field. Not working yet. Griatch 2013-07-08 18:13:21 +02:00
  • 261e463505 cleaned up script copy method in script manager. Griatch 2013-07-02 16:24:47 +02:00
  • 2487d4b622 Fixed script-searching using the obj= keyword. Also made the search more efficient using Q-objects. Resolves Issue 385. Griatch 2013-07-02 16:09:20 +02:00
  • 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. Griatch 2013-07-02 15:50:42 +02:00
  • 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. Griatch 2013-07-02 13:38:38 +02:00
  • 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. Griatch 2013-07-02 11:51:04 +02:00
  • b41761f60c Merge. Griatch 2013-07-02 09:35:45 +02:00
  • 5800b960ff Added safety feature to lock handling. Griatch 2013-07-02 09:34:35 +02:00
  • b9f40fe8ee Fixed a regression which caused exits to be locked out from use. Daniel Benoy 2013-07-01 21:46:20 -04:00
  • 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. Griatch 2013-07-01 15:03:12 +02:00
  • 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. Griatch 2013-07-01 14:30:17 +02:00
  • 1e6384e40c Fixed some documentation typos/rewrites as suggested in Issue 393. Griatch 2013-06-30 14:13:01 +02:00
  • 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). Griatch 2013-06-30 13:57:21 +02:00
  • c4db3e5370 Made normal channels not message offline users by default. Kelketek 2013-06-29 18:52:15 -05:00
  • 240dee1d5b Fixed issue with attribute search not properly handling attribute prefixes. Kelketek 2013-06-29 15:10:14 -05:00
  • c3f86ab45b Fixed issue where searching for 'me' did not return typeclassed object. Kelketek 2013-06-29 14:14:00 -05:00
  • e30f3f7e59 Minor fix to a comment. Griatch 2013-06-20 18:10:51 +02:00
  • e6067c873c Fixing old docstring on @quell command, suggesting superuser cannot be quelled. Griatch 2013-06-20 18:06:10 +02:00
  • 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. Griatch 2013-06-06 12:45:39 +02:00
  • 7351aacba5 Fixed an issue with setting location. Still errors with creating new objects. Griatch 2013-06-05 18:47:41 +02:00
  • 965e236d9a Merge. Griatch 2013-06-03 17:09:14 +02:00
  • 340160e4ea Reverting changes to runner, instead adding settings.CYCLE_LOGFILES config variable. Griatch 2013-06-03 17:03:31 +02:00
  • 31410f5710 Merge from Kelketek clone. Griatch 2013-06-03 16:28:38 +02:00
  • c10a02f713 Fixed security hole checking channels with @cwho Daniel Benoy 2013-06-02 06:53:57 -04:00
  • b98cbd941d Removed log cycling. Kelketek 2013-06-01 08:03:03 -05:00
  • 7623b1a863 Fixed #379. Addcom no longer crashes when used IC. Kelketek 2013-06-01 07:22:46 -05:00
  • 41235c25a2 Changed propcache back to a simple dict. Working on content cache, not working yet. Griatch 2013-05-30 00:49:47 +02:00
  • fb3259be8c Activated propcache with new cache system. Still not functioning correctly, also the content cache needs to be handled. Griatch 2013-05-29 23:07:44 +02:00
  • b6383ddab9 Moved attr_cache to new caching system, activated all attribute updating signals. Griatch 2013-05-29 18:47:51 +02:00
  • 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(). Griatch 2013-05-29 16:16:28 +02:00
  • 4715499958 Fixed a missing sessid on System commands. Resolves Issue 377. Griatch 2013-05-26 19:29:42 +02:00
  • 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? Griatch 2013-05-25 10:20:26 +02:00
  • 0a39b8f65e Webserver move to Server is finished and everything seems to work normally. Griatch 2013-05-24 21:10:31 +02:00
  • 70ea21dab8 Added settings for webserver threadpool limits. Griatch 2013-05-23 23:57:21 +02:00
  • 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. Griatch 2013-05-23 23:42:55 +02:00
  • c083fe6266 Webserver->Server is working, some more cleanup needed. Griatch 2013-05-23 22:58:50 +02:00