Griatch
c615693a2a
Added a give command to the default command set. As part of this also fixed some bugs in how object typeclasses were compared.
2012-12-08 17:11:22 +01:00
Griatch
949da47917
Removed some old and now confusing, unsused variables and added some documenting strings.
2012-12-08 15:39:09 +01:00
Griatch
030c245b5b
Fixed a bug in examine when listing more than one cmdset.
2012-12-08 14:17:11 +01:00
Griatch
c0302f7cff
Added global_dbref argument to caller.search, for allowing e.g. the examine command to view globally by dbref yet local-only if supplying a name. Resolves Issue 327.
2012-12-08 14:09:42 +01:00
Griatch
7ee40bc3c7
Modified contrib/lineeditor to use hook functions for handling save/load/quit instead of exec:ing strings. Based on alternative code from user Kelketek. This is a rework of the code in the merge request in issue 331.
2012-11-13 23:59:38 +01:00
Griatch
8f4f123230
Fixed a lingering call to the old caching scheme by swap_typeclass method. Resolves Issue 332.
2012-11-13 21:34:42 +01:00
Griatch
28c625c12c
Re-activated connect-channel again, called from hooks. Fixed some bugs and minor things to give more control over how messages sent to channels are handled.
2012-11-13 21:24:05 +01:00
Griatch
d55bee8905
Fixed a type - get_attribute_cache() should be get_attr_cache()
2012-11-09 23:17:10 +01:00
Griatch
8654d8cc48
Further migrated script caches to the central cache location, removing old cruft.
2012-11-08 19:29:57 +01:00
Griatch
98d0eb7869
Added __delitem__ support to PackedDict/List, allowing for things like in-place "del obj.db.dict[key]".
2012-11-08 19:16:21 +01:00
Griatch
e4382e3e8a
Fixed a regression in has_attribute caused by changing the location of caches. Resolves Issue 328.
2012-11-07 20:22:46 +01:00
Griatch
82e57d4ada
Fixed an API inconsistency in Attribute's PackedList/PackedDict. Resolves Issue 326.
2012-11-07 18:44:12 +01:00
Griatch
9f6e3de637
Various cleanups and fixes found during refurbishing the unittest framework (not pushed yet)
2012-11-05 00:55:25 +01:00
Griatch
6c20987d9a
Added header as keyword to the utils.create.create_message function
2012-11-04 17:39:06 +01:00
Griatch
89d25f797e
Fixed a bug in the previous commit.
2012-11-04 16:26:00 +01:00
Griatch
f3b50a20a8
OBS:Run migrations! Changed the comms.Msg.db_title field to db_header to better reflect its use.
2012-11-04 15:37:06 +01:00
Griatch
a4a50fdb87
Fixed a bug in comms' typeclass->dbobj conversion
2012-11-04 14:42:29 +01:00
Griatch
2d75648eb1
Updates to the comms system, following earlier changes. This means API changes to the channel.msg() method,
...
but also a more consistent API for TempMsg constructs.
2012-11-04 14:35:34 +01:00
Griatch
5b8906e08a
Added a trivial check for ImportErrors inside a module imported by utils.mod_import. Resolves Issue 319.
2012-11-03 20:47:55 +01:00
Griatch
8966f03713
Merge. Reworked the added Command.__ne__ operator a bit for a tiny speed optimization (it's after all one of the most called methods in Evennia).
2012-11-03 19:21:19 +01:00
lagos
b1f4d9ceaa
Adds a __ne__ operator to Command. This is necessary for CmdSet.remove() to behave as expected.
2012-11-02 15:08:59 -07:00
Griatch
d2d9953f94
Cache changes: Moved all caches (except idmapper) to central caching module. This makes it easier to overview cache memory usage (and clean it) as well as plug-in external cache mechanisms.
2012-11-01 11:20:07 +01:00
Griatch
92f6b06626
Added new start/stop hooks to server. These are read differently depending on if the server is reloaded or reset/shutdown. OBS: If you have already implemented your own version of AT_STARTSTOP_MODULE, you need to add stubs for new hooks. You can find the required hooks in gamesrc/conf/examples/at_startstop.py.
...
gamesrc/conf/examples
2012-10-28 22:02:22 +01:00
Griatch
b15d1fa683
Updated ReST documentation.
2012-10-28 16:39:18 +01:00
Griatch
d885ef6ab3
Added tag to_bsd for changeset 93b0e58d2fc7
2012-10-28 15:21:45 +01:00
Griatch
1cb579ba66
Changed Evennia from "Modified Artistic License" to the more permissive BSD license.
2012-10-28 15:21:26 +01:00
Griatch
20d6de5104
Made a better check for cleaning module names, should resolve Issue 319.
2012-10-28 14:38:17 +01:00
Griatch
52af816977
Added hooks at_access_success and at_access_failure to allow for custom messaging for certain lock errors. Resolves Issue 311.
2012-10-28 14:07:18 +01:00
Griatch
ee7a175bf4
Fixed a bug in telnet protocol that stripped wrong characters at the end. Resolves Issue 318.
2012-10-28 10:37:14 +01:00
Griatch
58533165eb
Merge.
2012-10-27 11:13:06 +02:00
lagos
024aff8563
Changes the way that command sets are duplicated in a merge to be sure class
...
attributes are propagated.
2012-10-26 20:24:21 -07:00
lagos
ca8c73cc15
Changes the way command sets are duplicated to correctly copy over attributes.
2012-10-26 20:10:54 -07:00
Griatch
ec46465656
Implemented ansi-colour backgrounds in webclient. Added a new @color command for displaying colour spaces. Also changed a number of other features outlined in Issue 309.
2012-10-24 21:41:07 +02:00
Griatch
e534d5f9a0
Made sure to kill color at the end of msg:es. This makes telnet/ssh consistent with webclient output.
2012-10-24 13:56:45 +02:00
Griatch
16d49e61d3
Added MessageMiddleware, which is required by the News site on the website. A Django 1.4 change? This was highlighted as part of Issue 249.
2012-10-24 00:18:09 +02:00
Griatch
d4bf67e94e
Removed <strong> conversion of multiple ansii highlights in the web client. It doesn't matter either way for me, and since it seems it does for others, I can just as well disable it so it all looks the same in webclient and telnet. This relates to one of the points in Issue 309.
2012-10-23 23:47:49 +02:00
Griatch
6a1f66d759
Fixed a bug in examine when examining Players.
2012-10-23 23:08:43 +02:00
Griatch
9abc25c53e
Made @py cmd-echo verbatim. Resolves Issue 310.
2012-10-23 22:34:56 +02:00
Griatch
ce036e07f3
Added the ability of obj.move_to to accept a None location with a keyword to_none. Also changed the @tel command to accept a /tonone switch for putting things' location to None. Resolves Issue 307.
2012-10-23 22:31:51 +02:00
Griatch
fc4d7c92f9
Cleaned up the drop-command's error messages somewhat.
2012-10-23 20:39:59 +02:00
Griatch
87bfb97853
Rewrote the fuzzy-matching routine to correctly handle fuzzy, global searches on keys and aliases.
2012-10-23 20:29:03 +02:00
Griatch
b26d93f86b
Fixed some issues with the text2html converted that failed with colours in the web client.
2012-10-23 19:32:30 +02:00
lagos
904884d4ed
Fixes multiple issues with searching.
...
* dbref now respect candidate lists. Previously a dbref match would ignore
candidates which permitted you to drop any object from anywhere by specifying
a dbref.
* If candidates is [], we now return right away. Without this, a candidate list
of [] would not filter out anything because short circuiting like:
cand_restriction = candidates and Q(pk__in=candidates_id) or Q()
will use Q() (what we really want is nothing to match). This would permit you
to drop any object you can refer by nick or name if your inventory was empty.
* Minor fix of 'ret_index' for typo'ed 'reg_index'.
2012-10-22 18:03:10 -07:00
Griatch
c0a4f62e95
Some minor fixes.
2012-10-23 01:35:47 +02:00
Griatch
53c6e5ae52
Implemented a new way to handle colour-escaping as discussed in Issue 305. Thanks to MercuryZero for ideas on how to implement this! Resolves Issue 305.
2012-10-23 01:20:10 +02:00
Griatch
32b6becd33
Fixed a bug in lockhandler when entering a lock string containing upper-case AND/OR/NOT as part of a word (such as MAYOR). Thanks to lagos for suggesting the fix! Resolves Issue 303.
2012-10-21 23:52:54 +02:00
Griatch
3f01ab8006
Some minor fixes to the default @py output and also some more info to the extended_room contrib.
2012-10-20 21:04:00 +02:00
Griatch
86c5553208
Added msg- and data buffering to AMP protocol. This handles the rare cases when the AMP limit of 65535bytes/message becomes an issue (such as when viewing long lists or @py output. Test with @py self.msg("-"*65536). Resolves Issue 294.
2012-10-20 15:40:34 +02:00
Griatch
32b069c5fc
Added the ability to store Sets in Attributes (using a PackedSet object type).
2012-10-20 12:10:03 +02:00
Griatch
54a92ffd8c
Added checks to avoid the "ErrorCmdset" from being saved permanently in the database in some particular circumstances.
2012-10-20 09:47:02 +02:00