Commit graph

3238 commits

Author SHA1 Message Date
Griatch
5835a84e20 Fixed unittests. 2016-08-24 23:49:24 +02:00
Griatch
7285cab2db Refactor batchcode processor to be more stable. Did multiple clean-ups. Implements #939. Fixes #909. Fixes #937. 2016-08-24 23:44:29 +02:00
Griatch
6c34cb40ed Update pypath_to_abspath to make batchfile file lookups much more reliable. This is done as part of the batchprocess refactor #939. 2016-08-24 20:37:11 +02:00
Griatch
faa3dca2d0 Make the 'exec' prototype key only usable for Immortals from the command line. Also fixes a bug in the check_permission method that made it not honor quelling. 2016-08-21 23:59:56 +02:00
Griatch
89568b5277 Add 'exec' argument to spawner prototype for running arbitrary code as part of object creation. Make all prototype keys also settable with a callable. 2016-08-21 23:03:42 +02:00
Griatch
49087b50d1 Allow multi-character keys for EvForm cells and tables. This was due to a too restrictive regex. Resolves #1014. 2016-08-20 11:41:53 +02:00
Griatch
1da9217a18 Return no match if using obj.search() with an empty list of candidates. This accounts for candidate lists that are created dynamically, for example limiting them to the inventory (which may be empy). Resolves #1016. 2016-08-20 11:00:33 +02:00
Griatch
ca1b76ab02 Remove WEBSOCKET_ENABLED and adjoining vars from settings_default since it doesn't do anything; webclient uses WEBSOCKET_CLIENT_ENABLED etc. 2016-08-20 09:36:30 +02:00
Griatch
61a0e49f66 Make manually setting a valid class that is not a typeclass gracefully degrade with log error. Resolves #999. 2016-08-20 09:28:56 +02:00
Griatch
bbc2f255fc Make Builders be able to look/search by key+alias in rpsystem. 2016-08-19 23:20:40 +02:00
Griatch
2d35c71cd1 Make @typeclass/reset also purge cmdsets. Resolves #1000. 2016-08-19 22:48:44 +02:00
Griatch
89fbc44d15 Make the ContribRPObject.search() fully accept all kwargs of normal obj.search. Resolves #1017. 2016-08-19 22:35:33 +02:00
Griatch
f5ba4f6204 Include a missing file for previous commit. 2016-08-19 22:34:15 +02:00
Griatch
d76b7b0454 Add use_dbref kwarg for turning off #dbref lookup in obj.search. Resolves #990. 2016-08-19 22:14:51 +02:00
Griatch
a3c2c1502e Fixed the default value of the destination for the crumbling tutorial wall; pertains to #1018. 2016-08-19 20:18:48 +02:00
Griatch
9da1051f83 Fix a bug in to_str() that caused it to not actually try alternative encodings when converting. 2016-08-17 18:37:31 +02:00
Griatch
8b6891428f Add an extra layer of encoding recovery when sending data to sessions, as per #800. 2016-08-17 12:30:44 +02:00
Griatch
0a75fbf64e Update README.md 2016-08-16 17:20:55 +02:00
Griatch
edf42a3d06 Fix and clean up some help text in the evennia launcher. 2016-08-10 23:02:01 +02:00
Griatch
583706bbe2 Update the SSH pycrypto/asn1 import recommendation to instead reference the cryptography library as mentioned in Twisted issue https://twistedmatrix.com/trac/ticket/7413. 2016-08-10 22:33:52 +02:00
Griatch
69252340d9 Change move_to behavior when moving from None location. Before, this would force a source location (usually home) but this hides the actual source location, and a None-location has been handled by the announce hooks for some time. Resolves #1011. 2016-08-07 19:57:13 +02:00
Griatch
faeb92f17d Make set command report modified/created. Resolves #1013. 2016-08-07 14:44:42 +02:00
Griatch
bb577e563b Implements telnet NULL as a keepalive to keep compatibility with some legacy clients/servers. Resolves #1008. 2016-08-07 14:38:36 +02:00
Griatch
818b8a9c51 Added desc kwarg to create_script to allow setting of desc at runtime. 2016-08-07 12:23:57 +02:00
Michael Nguyen
9bfb9746b6 Whitespace removal 2016-08-06 20:56:34 +02:00
Griatch
92f610470b Fixed OOC display regression for non-superusers in MULTISESSION_MODEs 2,3. Also made the ic command able to correctly handle trying to puppet one of multiple same-named objects. 2016-08-06 20:52:01 +02:00
Griatch
a740099d3f Fixed unittests to work correctly with |-style colors. 2016-08-06 20:19:22 +02:00
BlauFeuer
c9a02f3d6c Fix typo 2016-08-06 20:19:22 +02:00
BlauFeuer
945b466d48 Add check for the simplest location loop.
updated code to avoid depreciated markup.
2016-08-06 20:19:22 +02:00
Griatch
49c16b5160 Fix the identification of versions, so e.g. 1.10 > 1.8 by making use of disutils.version.LooseVersion. 2016-07-31 13:19:11 +02:00
BlauFeuer
405983dca8 Add missing variable in string format, + markdown
Markdown update to avoid depreciated form.
2016-07-03 08:52:11 -04:00
Griatch
acf3dafb4f Fix a regression in inventory. Now using EvTable instead of prettytable. 2016-06-27 22:05:20 +02:00
Griatch
4c3926cdf1 Fixed a regression concerning the idle command. 2016-06-26 23:46:05 +02:00
Griatch
0ad84346d1 Clarified the multidescer docstring a little. 2016-06-26 18:32:35 +02:00
Griatch
5f730952b1 Remove some spurious code from the multidescer contrib. 2016-06-26 15:10:58 +02:00
Griatch
a95e32b372 Update the multidesc contrib to support named descs and adding descs together to form a final desc. This means the format for the multidesc storage has changed, so if you tested it already, delete the .db.multidesc attribute and reload the server. 2016-06-26 14:23:02 +02:00
Griatch
96542418c0 Made sure that the various _SaverMutable objects evaluate to False when they are empty. 2016-06-26 11:56:58 +02:00
Griatch
7c55ca6665 Removed some debug output. 2016-06-26 09:46:58 +02:00
Griatch
a8417fd42c Some fixes in comm channels related to nicks. 2016-06-26 09:44:43 +02:00
Griatch
0bc13df712 Fix some more problems with the nick command. 2016-06-26 09:36:45 +02:00
Griatch
7f82049e33 Add migration - run evennia migrate! This adds data migrations for new nick format. 2016-06-26 01:27:37 +02:00
Griatch
316f03308e Update the comm system to work with the new nicks. 2016-06-26 01:20:24 +02:00
Griatch
fba6e079c1 Finalize nick-templating; still issues with other places using nicks, such as channels. 2016-06-26 00:41:57 +02:00
Griatch
b1de659e8b Migrate! Add nick-templating system, first version. This allows arg templating of nicks to allow a user to completely redefine how they enter commands. Still some bugs. 2016-06-25 23:23:13 +02:00
Griatch
893cffc3e1 Add multidescer contrib, inspired by MUSH origins. 2016-06-25 12:40:43 +02:00
Griatch
c15f107ad9 Add webclient support for blink, underline and inverse ANSI tags. The inverse tag will produce a dotted outline in the webclient; for now this seems to be no obvious way to inverse the background in a way similar to the terminal inverse. Resolves #976. 2016-06-24 23:22:38 +02:00
Griatch
1b9437ce97 Add 'inherit' as link CSS tags to make sure the links properly inherit colors given outside the link. The drawback is that one can't give a standard color to the link itself this way (it's just underlined). This deals with #979. 2016-06-24 20:40:46 +02:00
Griatch
418395bd01 Added \| to the rest regex for nested inlinefuncs. Resolves #989. 2016-06-24 18:38:23 +02:00
Griatch
03ef093d36 Resolves problems in storing/restoring tickerhandler keys. Resolves #997. 2016-06-24 18:15:01 +02:00
Griatch
b014df00de Clairifed the docstring for object.search. 2016-06-22 13:50:07 +02:00