Commit graph

3256 commits

Author SHA1 Message Date
Tehom
b9ea41e713 Added unicode to list of permitted types for db_value in AttributeAdmin. 2016-08-31 22:47:16 +02:00
Griatch
88b217c0b8 Add support for collections.OrderedDict and collections.deque to Attribute serializer mechanism. Also some cleanups in dbserializer. 2016-08-31 22:45:57 +02:00
Griatch
80befa96b6 Added an /update switch and a corresponding update command to the typeclass switch system, this allows to soft-update a typeclass and re-run only its at_object_creation, which seems to be the most common use-case. 2016-08-31 21:02:15 +02:00
Griatch
6e89c708d2 Add the /object switch to examine to allow one to search for Objects when OOC. Also updated player.search() to account for this functionality. 2016-08-31 20:27:40 +02:00
Griatch
e66020f369 Fix an error when there are many same-named characters/objects to puppet with ic. 2016-08-31 17:43:19 +02:00
Griatch
00881c3bbe Make _SaverList properly handle index/remove operations. Resolves #1027. 2016-08-31 14:45:56 +02:00
Griatch
873e6faa52 Fixed a non-updating timeslot when assigning to the general description of ExtendedRoom. 2016-08-29 21:25:14 +02:00
Griatch
46ac4d3928 Add chardelete command to ooc menu for MULTISESSION_MODEs > 1. Also strip the result string from get_input helper to get rid of the carriage return always sent due to the user committing the command string. 2016-08-28 23:15:46 +02:00
Griatch
d3c2e5de9d Remove a traceback when logging in to a previously deleted character. 2016-08-28 22:33:49 +02:00
Griatch
23d87c297a Fix bug in rpsystem.CmdSay 2016-08-28 21:02:34 +02:00
Griatch
f89b4857ae Add a custom CmdSay to rpsystem contrib, to handle sdescs. 2016-08-28 20:43:33 +02:00
andrei-pmbcn
97412b4169 Fixed the bug that prevented restarting a script more than once after unpausing. Resolves #1023. 2016-08-28 19:37:32 +02:00
Griatch
6fbdc88a27 Fix webclient ANSI background handling. Made bright ANSI backgrounds visible in color command. Resolves #1001. 2016-08-28 19:31:19 +02:00
Griatch
4e9c8aecec Fix webclient to handle changed xterm256 formula correctly. 2016-08-28 17:52:24 +02:00
Griatch
668029e82e Changed xterm256 formatting to work with Potato. Also added Potato as a TTYPE exception since the client doesn't report itself correctly. 2016-08-28 16:36:44 +02:00
Griatch
9ec875f29c Add justify(text,width,align,indent) function to utils. Supports full-,left-,right- and center justification of text to any width. It also has an option to add left-side indentation to the text block. 2016-08-26 01:04:23 +02:00
Griatch
ecb7d6fcc5 Change utils.wrap() to indent on all lines, not only the lines following the first. If someone remembers why this default was set, do report it. 2016-08-25 18:36:21 +02:00
Griatch
83f67ac2c4 Minor display fix in the admin. 2016-08-25 12:03:12 +02:00
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