Commit graph

3588 commits

Author SHA1 Message Date
Griatch
3a2638aed5 Add check for malformed webclient msg without kwargs. Resolves #1192. 2017-02-04 12:24:14 +01:00
BlauFeuer
ae5eecaeb8 Update webclient HTML doctype to match webclient's 2017-02-04 12:13:11 +01:00
Griatch
be3e3ef109 Fix bug when no help entry was found. 2017-02-04 12:07:28 +01:00
Vincent Le Goff
6882d2451d Add a few methods to CmdHelp, managing pagination of help messages (EvMore) 2017-02-04 12:07:28 +01:00
Griatch
f7b659dac4 Update evmore to better handle narrow texts like help entries without force-justifying them. Also add the ability to auto-exit the pager immediately when reaching the last page. 2017-02-04 12:04:54 +01:00
Griatch
664ce178b2 Expanded docstring of at_object_receive to note the possibility. 2017-02-04 11:23:19 +01:00
BlauFeuer
3334d3f078 character's at_pre_puppet tweak
Triggering at_object_receive only when room actually receives character
and accurately reporting that character came from None seems most reasonable,
then at_object_receive can decide if appearance of character from None location is actionable.
2017-02-04 11:23:19 +01:00
BlauFeuer
1ed5a0b4a6 Change default at_pre_puppet for characters
No longer move character "back onto the grid" when not in None location.
This allows for Character objects to be moved while unpuppeted and remain
where placed when puppeted again.

Also updates markup in code within this module.
2017-02-04 11:23:19 +01:00
Griatch
3e6e773939 Make some minor doc clarifications. 2017-02-04 11:10:16 +01:00
Simon Vermeersch
bac2c0572e Allows more customisation of wilderness rooms 2017-02-04 11:10:16 +01:00
Simon Vermeersch
27db307007 Fixed unittests for wilderness contrib 2017-02-04 11:10:16 +01:00
Simon Vermeersch
bd27a7eabc Added a wilderness area contrib 2017-02-04 11:10:16 +01:00
Griatch
a9f08760cc Further refactoring towards #1176. 2017-02-02 00:02:58 +01:00
Griatch
09245589f5 Fix typos in the evform docstring. Resolves #1185. 2017-02-01 23:23:06 +01:00
Griatch
7e4155d4cd Some more minor refactorings, pertaining to #1176. 2017-01-30 20:18:21 +01:00
Griatch
dd07ea294b Change a string cocatenation to use .join instead. 2017-01-30 00:24:51 +01:00
Griatch
13f919fc63 Change default IDLE_TIMEOUT to -1; no need for a timeout during development. 2017-01-30 00:09:03 +01:00
Tehom
334c8b1131 Change taghandler clear to delete through models, not Tags themselves 2017-01-29 16:27:49 -05:00
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
dcde526f6d Fix to inlinefuncs stack cache to make it properly use the cached value. 2017-01-29 16:52:06 +01:00
Griatch
203d0a09a0 Catch cases where Sessions have already been removed on either side of the AMP connection. This may remove the annoying Portal errors on the form 'AMP Error for AdminPortal2Server: 1'. Probably unrelated to #1128, but linking to it anyway. 2017-01-29 14:57:33 +01:00
Griatch
cdaa137868 Add server restart messaging also when restarting server from the shell. 2017-01-29 14:46:38 +01:00
Griatch
33e1d03077 Remove portal debug printout. 2017-01-29 14:32:07 +01:00
Griatch
3e21023ad8 Made the sessionhandler never accept None as a Session; this should make it clearer when a Session becomes invalid and avoid confusing the sessionhandler cache of other objects. Should resolve #1181. 2017-01-29 14:24:18 +01:00
Simon Vermeersch
677fe306cb Webclient: don't strip single leading space 2017-01-28 20:46:11 +01:00
Griatch
92ec6a5ae8 Fix traceback due to missing settings.CHANNEL_CONNECTINFO; added the missing setting (with a None value). Resolves #1177. 2017-01-28 09:46:37 +01:00
Griatch
c6d9c0619e Refactor code for readability and compatibility. 2017-01-27 00:19:27 +01:00
Griatch
a09835049b Refactor wrong super() parents in a few managers. 2017-01-26 21:35:13 +01:00
Griatch
4699b38b31 Fix issue with option ansi/xterm256=False not correctly turning off colors. Change the NOMARKUP session option flag to NOCOLOR to better reflect its function. 2017-01-26 21:08:27 +01:00
Griatch
b6a4997a97 Update previous migration, updating the uniqueness parameters. To re-run the previous migration, first do evennia migrate --fake 0006, then run evennia migrate again. 2017-01-26 09:22:47 +01:00
Griatch
05b2d74cee Actually add the migration in question... 2017-01-25 22:11:39 +01:00
Griatch
8b1d16fd5c Run migrations! Another update to the tag structure, the previous migration did not correctly handle all tags, leaving some to get the wrong db_object fields. Also cleaned up the api for many of the Tag-related manager methods that now determins the db_model themselves without needing to give it as an argument. This resolves an issue with Permissions not being set correctly on the character level. 2017-01-25 22:06:54 +01:00
Griatch
5960985e65 Remove mention of long-dead contrib/menusystem from evmenu docstring. 2017-01-25 00:08:47 +01:00
Griatch
e9bc615181 Add 'ambiguous' gender to gendersub contrib, using 'them'/'their' etc to denote ambuguous gender. Keep 'it' as the neutral gender type. Closes #1146. 2017-01-24 23:27:21 +01:00
Dan Feeney
770b8f16ab added comment containing an explanation of the Dockerfile's purpose, including a link to the wiki page with detailed usage instructions 2017-01-24 22:31:11 +01:00
Dan Feeney
32386172f6 as discussed, removed docker-related components from game_template directory 2017-01-24 22:31:11 +01:00
Dan Feeney
35ae6d82c3 added comments to dockerfiles 2017-01-24 22:31:11 +01:00
Dan Feeney
84ec9f15a2 added docker-compose.yml to the game_template directory 2017-01-24 22:31:11 +01:00
Dan Feeney
f5f61ea5ba added initial dockerfiles to the top level folder and game_template directories 2017-01-24 22:31:11 +01:00
Tehom
9a41b30089 Set another factory to not be noisy 2017-01-24 16:45:10 +01:00
Griatch
807ca6c52c Run migrations! First version of the data migration for tags/attributes. 2017-01-22 17:37:01 +01:00
Griatch
b6c2aaedc5 Add correct use of db_model field to Attributes. 2017-01-22 17:22:52 +01:00
Griatch
982b11ddfb Start making the Tag/Attribute migrations. Not finished yet. 2017-01-22 00:07:27 +01:00
Griatch
55e9a01790 Fix a bug with creating tags with the db_model property. Resolves #1170. 2017-01-21 23:21:14 +01:00
Griatch
6e5c584e18 Update capitalization handling of the taghandler and its children. 2017-01-21 23:21:14 +01:00
Griatch
f8e1fb6826 Make db_model/db_tagtype to properly separate tags/aliases/perms. Needs a schema migration. 2017-01-21 23:21:14 +01:00
Griatch
82866a7dda Start to rework to actually make use of the db_model field of Tags and Attributes. Reapplying this will require a migration down the line. 2017-01-21 23:21:14 +01:00
Griatch
ae3af20cd7 Update evmenu docstring. 2017-01-21 23:06:56 +01:00
Griatch
0aebbf6975 Make evmenu 'goto' option argument accept a callable for deciding the next node. 2017-01-21 22:59:43 +01:00
Griatch
5b62a30ce6 Update dummyrunner documentation. 2017-01-19 10:36:31 +01:00