Commit graph

275 commits

Author SHA1 Message Date
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
2ba16e155e Fixed a bug in amp that made reloading not work. 2013-09-21 22:00:46 +02:00
Griatch
e36c7d5cc1 Cleaned up worst instability. Test suite does validate yet. 2013-09-21 17:33:48 +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
1e96b13920 Changed cmdhandler to include Session-level cmdset. 2013-09-08 00:14:06 +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
ca11e7de44 Merge with Kelketek's branch (which also includes dbenoy's branch) 2013-08-10 18:09:42 +02:00
Kelketek
5320381060 Removed some references to get_profile(), fixed some spelling errors, fixed post_clear signal. 2013-07-27 18:59:39 -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
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
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
033344ad2c Moved get_evennia_pids into src.utils.utils for more general access. 2013-07-10 11:06:38 +02:00
Griatch
e6067c873c Fixing old docstring on @quell command, suggesting superuser cannot be quelled. 2013-06-20 18:06:10 +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
7623b1a863 Fixed #379. Addcom no longer crashes when used IC. 2013-06-01 07:22:46 -05:00
Griatch
a9a70c91b1 Fixed a bug with the who command. 2013-05-23 21:38:01 +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
Kelketek
93d0db8489 Removed the redundant handling of location within @IC and @OOC. These should be handled by the hooks. 2013-05-18 20:05:42 -05:00
Kelketek
65328e94ff Fixed issue with OOC command sending the menu to all connected sessions of a player. 2013-05-18 19:30:47 -05:00
Griatch
51cf5461fa Fixed a typo on the @ic command's search_object call. 2013-05-14 21:47:25 +02:00
Griatch
95268406ab Made @examine show the superuser flag also when called as a Player. Removed some debug printouts. 2013-05-14 15:25:35 +02:00
Griatch
f00053710c Added Character-level quelling possibilities to superuser. This makes the superuser quelling completely in line with normal quelling for other permission levels. It also removes the need for the special _superuser_character bypass used before (the migration no longer creates it an initial_setup won't either). 2013-05-14 14:53:08 +02:00
Griatch
77a0b47859 Fixed some issues with the _superuser_character bypass as well as the is_superuser property on objects. Also fixed a bug with @examine that caused it to display object Attribute instead of Player Attributes when called from the ooc state. 2013-05-14 13:55:03 +02:00
Griatch
68e4384761 Some minor fixes to debug output. 2013-05-12 20:28:30 +02:00
Griatch
bd9421d4b0 Implemented unittests for all default commands in a new and much faster way. 2013-05-12 19:53:19 +02:00
Griatch
a6840aff15 First draft of a reworked the unittest framework to handle the new form of chars/players/commands. Not functioning yet. 2013-05-12 14:13:13 +02:00
Griatch
3ac44946c3 Changed perm lockfunc to primarily use the Player-level permission and added the @quell command for managing permission downgrading. 2013-05-12 13:45:46 +02:00
Griatch
78e7346962 Updated commands to use the new objectdb.search API. 2013-05-11 23:22:02 +02:00
Griatch
218e4a149c Implemented a modified and cleaned objectdb.search and accompanying object.manager.search_object that also searches globally. The default commands have not yet been converted to use the new call. 2013-05-11 20:01:19 +02:00
Griatch
be22a31ec4 Made it possible to "take" over puppeting from one's own stale sessions. Fixed a nasty bug in swap_typeclass. 2013-05-11 16:09:26 +02:00
Griatch
ad8a9fbe69 Added warning message for puppeting to an object without neither location nor home set. 2013-04-20 16:14:12 +02:00
Griatch
416d6e14bc Fixing a bug in @ic if trying to puppet while already puppeting. Added sessid keyword to at_post_login hook in order to correctly relay login text only to the correct session. Removed the src.utils.debug module as well as the CmdDebug command which has not been supported for a good while. 2013-04-18 09:13:31 +02: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
c943b13351 Fixed error in who when playing as a character. 2013-04-15 01:01:21 +02:00
Griatch
17d7ad9b37 Fixed a traceback in CmdExamine. 2013-04-14 22:57:23 +02:00
Griatch
8d48aa5a06 Added the last migrations needed to fully convert the Attribute system. Cleaned up the @ooclook command a bit as well as tidied up the who command a bit. 2013-04-14 13:35:25 +02:00
Griatch
1a00797021 The new Attribute system should properly handle non-ascii characters. Also updated examine command to match. Resolves Issue 355. 2013-04-14 00:54:39 +02:00
Griatch
8969017aaa Added prettytable (http://code.google.com/p/prettytable/) as a replacement for utils.format_table and updated almost all places where the old formatter was used. The code becomes much simpler and shorter with prettytable, there are some situations, such as the contrib/menusystem where the old format_table works well for dynamically creating any number of columns and rows on the fly. 2013-04-12 22:06:41 +02:00
Griatch
0fddf433dc Updated all Player-level commands to properly relay messages using self.msg rather than caller.msg (the former will properly relay to the right sessid without needing any extra arguments). 2013-04-12 14:27:36 +02:00
Griatch
b58a464409 Cleaned up all commands of the player type to correctly relay their msg-data only to their assigned session. 2013-04-12 13:59:15 +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