Commit graph

86 commits

Author SHA1 Message Date
Alessandro Ogier
32ac772930 add missing f-strings prefix 2022-08-01 23:55:34 +02:00
Cory F. Cohen
7321173d3b A couple more typos that are only on develop. 2022-06-21 21:13:06 -04:00
Cory F. Cohen
a05ec09f51 Fix various typos in several files.
All are in comments and docstrings, and none should be controversial
in any way (e.g. British versus American spelling).
2022-06-21 21:12:45 -04:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Jake
afa670a293 Fix sethelp help file typo. 2021-11-21 04:02:16 -07:00
Griatch
88fff7c57b Correct help query on @, fix reset hook call. 2021-11-13 15:32:31 +01:00
Griatch
7cfb9e3b42 Co-exist @-prefixes for management commands. Resolve 2353. 2021-11-13 02:15:30 +01:00
Griatch
d3cc7cf630 Properly remove cmds with auto_help=False from index. Resolve #2452. 2021-08-03 22:25:42 +02:00
Griatch
52704d7c93 Make web help topics lowercase for proper sorting 2021-07-26 22:05:26 +02:00
Griatch
da51d5fc1f Changed clickable help-links to default to True 2021-06-20 11:18:55 +02:00
davewiththenicehat
da6e1edb29 CmdHelp clickable global setting False
Created a global setting for clickable topics in the help command. Default is False.
2021-06-15 12:47:24 -04:00
davewiththenicehat
6cf1f65722 CmdHelp clickable topics
Added clickable topics throughout CmdHelp.

unit test evennia.commands.default.tests.TestHelp passes.
2021-06-12 12:35:07 -04:00
Griatch
b050656319 Add lock-handling to FileHelp, add warnings to sethelp 2021-05-30 20:17:46 +02:00
Griatch
0fb29073b2 Add locks to filehelp entities. Test view/read locks 2021-05-30 10:59:36 +02:00
Griatch
d482d2bec0 Clean up help-entry display a bit 2021-05-29 16:10:54 +02:00
Griatch
d4f61f1a14 Pep8 fixes 2021-05-24 23:38:02 +02:00
Griatch
055bbcfee3 Fix bugs, correct one-line format_grid function 2021-05-13 09:06:12 +02:00
Griatch
c9d40e7c81 Expand channel help entry 2021-05-10 23:28:41 +02:00
Griatch
ebcff51932 Start adding new help documentation 2021-05-10 08:57:00 +02:00
Griatch
5155ec049d Fix confusing "about" lunr search issue 2021-05-08 20:48:00 +02:00
Griatch
88a48e6842 Correct help lunr search boosts 2021-05-08 18:31:42 +02:00
Griatch
f5fd398480 New FileHelp system to create help entries from external files 2021-05-08 15:11:53 +02:00
Griatch
2da679cdd1 Adopt old comm commands to new channel system. Allow using page without an equal sign if target name has no spaces. Not passing tests 2021-05-02 23:18:29 +02:00
Griatch
67908c5af0 Functioning help subcategories 2021-05-02 00:09:41 +02:00
Griatch
062aba2926 Start update help command further 2021-04-29 17:14:18 +02:00
Griatch
e301a1410f Start add help subtopics 2021-04-25 21:39:46 +02:00
Griatch
d88431b8d3 Merge branch 'master' into develop 2021-01-18 21:35:48 +01:00
Tim Chaplin
9923a0763d Make more commands honor settings.COMMAND_DEFAULT_CLASS
As suggested in mygame\commands\command.py, I'm overriding COMMAND_DEFAULT_CLASS in settings.py to try to make sweeping changes. Having certain commands inherit directly from the base Command class thwarts this.

The only difference between Command and MuxCommand is that MuxCommand defines some custom parsing, but that's overridden by these commands anyway, so there should be no practical difference.

The import change in game_template/commands/command.py was required to fix an exception on server reload caused by the channelhandler.py change (I guess something to do with import order?)
2020-12-27 11:45:25 -05:00
Griatch
9f11fe50d6 Some minor refactorings 2020-11-15 11:30:09 +01:00
Dorian Turba
f2c0c3120e refactor CmdHelp.format_help_entry for up-to-date formatting and string concatenation 2020-11-08 17:30:28 +01:00
Griatch
8b28900600 Ran black on sources 2020-10-21 21:11:04 +02:00
Griatch
5a0f698ad5 Make CmdHelp check the view lock to exclude commands from listing 2020-10-13 22:50:43 +02:00
Griatch
90a1a0cba8 Resolve merge conflicts 2020-10-08 23:35:31 +02:00
Griatch
b28aefd36f Add cmdsets to show off cmds in tutorial menu 2020-10-01 23:49:04 +02:00
Griatch
6929bec4e6 Ran black on sources 2020-06-16 14:50:02 +02:00
Griatch
a96332e9c3 Fix unittest warnings caused by lunr 2020-05-16 22:07:58 +02:00
Griatch
21d62e651a Ran black on sources 2020-04-12 12:19:15 +02:00
Griatch
642f17be68 Fix bug in ANSIString 2020-04-11 20:28:29 +02:00
Griatch
458df00272 Fix bugs in format_grid, include verbatim elements 2020-04-11 13:28:24 +02:00
Griatch
2a18cb0a2d Better indexing of help suggestions with lunr, better display 2020-04-11 09:42:22 +02:00
Griatch
c5ff2de0bd Fix account.msg, which didn't properly handle tuple input 2020-03-04 22:28:43 +01:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Griatch
607004f2eb Fix mismatching help query in OOC mode. Resolve #1914. 2019-09-10 19:57:22 +02:00
Griatch
aa6b403cd1 Remove @ from default commands. Update docstrings 2019-06-17 22:04:59 +02:00
Griatch
352582541f Make help command accept use without a session 2019-01-01 03:29:55 +01:00
BlauFeuer
cf8d5265bb class var options renamed switch_options 2018-03-05 15:17:19 -05:00
BlauFeuer
f94a083846 Add class var options to CmdSetHelp 2018-03-02 07:38:37 -05:00
Griatch
9f7fb2734c Make @py output appear for all sessions in MULTISESSION_MODE=1
Resolves #1356.
2017-10-12 18:03:48 +02:00