Commit graph

72 commits

Author SHA1 Message Date
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
Ryan Stein
53a4fc0b66 resolve #1448, fix 'no help entry' not popping up in webclient 2017-10-10 12:51:09 -04:00
Ryan Stein
866e5dce41 make help command's matching respect CMD_IGNORE_PREFIXES 2017-10-05 23:06:22 +02:00
Griatch
7ff783fea1 Resolve merge conflicts with master. 2017-08-19 21:30:42 +02: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
Griatch
e56b0024c4 Merge branch 'master' into devel 2017-07-13 22:54:53 +02:00
Griatch
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Vincent Le Goff
69c5f33c38 Allow to change suggestion_cutoff and suggestion_maxnum in help 2017-07-02 16:46:33 -07:00
Griatch
a648433db8 Merge conflicts against master, including cmdhandler support for direct cmdobject input together with prefix-ignore mechanism from devel. 2017-04-01 16:08:23 +02:00
Eldritch Semblance
66f5229240 change reference of self.caller.player to self.player 2017-03-25 11:43:41 +01:00
Griatch
0bd47f0c52 Change permission strings so Immortals->Developer, Wizards->Admin, Builders->Builder, PlayerHelper->Helper, Players->Player, Guests->Guest. Made perm() and pperm() lock function accept both the plural and singular form (so both Admin and Admins work). Still lacking a data migration for updating an existing database to the new setup. 2017-02-17 23:25:09 +01:00
Griatch
fd3d6aee9a Clean up default command names and aliases to avoid multimatches with new prefix-ignorer. Chane desc->setdesc, alias->nick, @home->@sethome. 2017-02-17 09:19:22 +01:00
BlauFeuer
5e93d41664 help.py display tweak + help aliased to ?
Display tweak resolves difference in display between Telnet and Webclient where coloration of command in format_help_list was not persisting across new lines.
Also updates depreciated markup
2017-02-12 14:51:30 -05:00
Vincent Le Goff
602b3408aa Add a method to customize the help message of a command 2017-02-06 20:20:46 +01:00