Commit graph

460 commits

Author SHA1 Message Date
Griatch
8be657ba43 Merge branch 'master' into develop 2017-10-13 23:04:37 +02:00
Griatch
9f7fb2734c Make @py output appear for all sessions in MULTISESSION_MODE=1
Resolves #1356.
2017-10-12 18:03:48 +02:00
Ryan Stein
53a4fc0b66 resolve #1448, fix 'no help entry' not popping up in webclient 2017-10-10 12:51:09 -04:00
Griatch
48a1ae1371 Merge branch 'master' into develop 2017-10-07 11:28:32 +02:00
Scyfris Talivinsky
b6649bcef8 Add a @spawn unit test
Tests the @spawn command and its variations.  The test is designed to
aslo check the properties of the spawned objects for some common/obvious
settings.

Test also adds a new prototypes file to be used with the Evennia unit
tester for any tests that require named prototypes.  The spawner test
requires testing named prototypes, so it is added in this change.
2017-10-06 01:59:45 -07:00
Griatch
2585d33e7c Merge branch 'master' into develop 2017-10-05 23:18:22 +02:00
Ryan Stein
866e5dce41 make help command's matching respect CMD_IGNORE_PREFIXES 2017-10-05 23:06:22 +02:00
Ryan Stein
4b9db9570c add @tel/loc functionality, fix unescaped | in @tel error message 2017-10-03 12:41:51 -04:00
Griatch
313a907a3a Merge branch 'master' into develop 2017-10-03 09:36:42 +02:00
dhruvhacks
0640392c38 Fixed #1460 2017-10-02 22:15:23 +05:30
Griatch
d2e8badf18 Stop #dbref searches for unprivileged. Other minor fixes. Resolves #1251. 2017-10-01 16:56:20 +02:00
Griatch
a8603975a1 Merge back fixes into master 2017-10-01 16:55:51 +02:00
FlutterSprite
dd8e136cfc Added at_before hooks to CmdGet, CmdGive, CmdDrop
Added in references to at_before hooks for the get, give, and drop commands. If these hooks return 'False' or 'None', the action is canceled.
2017-10-01 10:20:04 +02:00
Scyfris Talivinsky
c3ce2ebcd7 Fix locationless spawned objects
Spawned objects were not getting locations assigned to them.  By default
the locations should be assigned to the caller's location.
2017-10-01 09:52:42 +02:00
Scyfris Talivinsky
635200ca17 Fix locationless spawned objects
Spawned objects were not getting locations assigned to them.  By default
the locations should be assigned to the caller's location.
2017-09-30 18:19:01 -07:00
Griatch
da58d827cf Cleanup of at_say hook, pass outputfunc, support multiple receivers.
This is an API change since at_say(recever=...) is now
at_say(receivers=...). Since this was originally committed for devel, I
merge this into master. This resolves #1432 and #1433 and reimplements the changes by #1419 without the
addition of a new type kwarg.
2017-09-30 14:11:14 +02:00
Griatch
a6ed6ff5ea Better checks for pk in delete command. Update how the delete method of objects avoid recursive calls. Resolves #1453. 2017-09-30 12:00:42 +02:00
Griatch
0ba913332a [fix] The @desc command was erroneously still named @setdesc, this was not the intention. Relates to #1450. 2017-09-30 10:12:46 +02:00
Griatch
b3c6e9d2cc Update alerts reported by LGTM 2017-09-23 16:46:54 +02:00
Nicholas Matlaga
c68e7a07ae limit split to first character 2017-09-20 12:54:13 -04:00
Nicholas Matlaga
6d80c973da Added basic Typeclass support to @tunnel 2017-09-19 16:52:24 -04:00
Griatch
f68674fea9 Let caller.search_account query all Account classes. Resolves #1417. 2017-09-10 17:56:28 +02:00
Griatch
6e4183e76d Some minor rephrasings 2017-09-09 19:07:58 +02:00
Griatch
67470bbd66 Merge branch 'BlauFeuer-cleanup-1' of git://github.com/BlauFeuer/evennia into BlauFeuer-BlauFeuer-cleanup-1 2017-09-09 18:59:16 +02:00
Griatch
31fd2795f2 Set default choice for destroy verification question 2017-09-09 18:53:02 +02:00
Griatch
0dedda35e8 Merge branch 'confirm_destroy' of git://github.com/vlegoff/evennia into vlegoff-confirm_destroy 2017-09-09 18:38:07 +02:00
BlauFeuer
2dd322e721 suggested refactor
Extract into a separate variable (note), then % interpolate it.
2017-09-04 09:20:49 -04:00
BlauFeuer
53943ab1e8 PEP8 code cleanup in building.py
Triple double quoted docstrings, comment edit, long lines shortened, some lines joined, removed unused code/redundant parenthesis
2017-09-04 07:52:16 -04:00
Griatch
cfa484565c Update version string to 0.7, cleanup about cmd 2017-09-03 11:00:11 +02:00
Griatch
44f01c48da Remove limit on whispering to oneself.
Resolves #1416.
2017-09-03 10:31:45 +02:00
Vincent Le Goff
64e327fdd2 Add a confirmation to the default @destroy command 2017-09-01 15:41:35 +02:00
Griatch
328616d24e Fix command perms that were accidentally renamed 2017-08-27 19:09:59 +02:00
Griatch
92df3ce5ae Structure handlers to allow .get() to return lists
See #1154. In the end I didn't modify the Attributehandler and
TagHandler like this, instead I added the `return_list` argument
for cases when one wants a guaranteed return.
2017-08-27 14:56:05 +02:00
Griatch
ea87eef218 Fix bug, set no-idle locks on bots 2017-08-20 23:36:36 +02:00
Griatch
8a2e362b7c Make IDLE_TIMEOUT avoidable with account-lock.
Resolves #701. Check the Account-lock 'no_idle_disconnect before kicking an idle
session. This also means superusers will never be kicked. Move the
idle task to the Server to avoid lock imports in Portal. Make the
'lock' command also able to target Accounts. Also some other fixes.
2017-08-20 23:11:33 +02:00
Griatch
b278337172 Make PEP8 cleanup of line spaces and character distances as well as indents 2017-08-19 23:16:36 +02:00
Griatch
7ff783fea1 Resolve merge conflicts with master. 2017-08-19 21:30:42 +02:00
Griatch
09b9784c3f Some refactoring of the cmdsethandler updates. Also took the opportunity to add the in-game-error report while I was at it. 2017-08-13 17:17:27 +02:00
Griatch
2fa04162c3 Merge branch 'cmdset_fallback' of git://github.com/TehomCD/evennia into TehomCD-cmdset_fallback 2017-08-13 15:58:34 +02:00
Tehom
72a91ebce6 Add logging for fallback. 2017-08-08 20:46:48 -04:00
BlauFeuer
e3aa3ce7c6 (PEP8) Whitespace/indent, split lines in help.py 2017-08-02 16:14:55 -04:00
BlauFeuer
fdc674e081 Use HELP_MORE setting flag by default 2017-08-02 14:41:53 -04:00
Tehom
bafd069d97 Create fallback for default cmdsets that fail to load 2017-07-28 01:26:00 -04:00
Griatch
c43059c75f Rework at_before_say/at_say to handle whispers and using kwargs. 2017-07-21 12:17:47 +02:00
Griatch
8600e8c546 Fix merge conflicts with say-branch 2017-07-21 11:06:38 +02:00
Griatch
9f03e4a3f4 Fix isolated unittests for color markup. Issues with module reloading. 2017-07-20 22:09:44 +02:00
Griatch
03f4ecb3a4 Move {- and %c color markup to contrib, make easily extendable, as per #1229 2017-07-20 22:09:44 +02:00
Griatch
24c5ddecab Merge pull request #1338 from BigJMoney/SimpleFixes
Docstring typo fixes in evennia_runner and evennia_launcher
2017-07-17 13:09:57 +02:00
BigJMoney
7bf00850e6 Missed on line in last commit. 2017-07-15 11:44:44 -04:00
BigJMoney
8c07b74eff Updating PR for doctext changes 2017-07-15 11:39:03 -04:00