Commit graph

3631 commits

Author SHA1 Message Date
Vincent Le Goff
53b0b0f9af Update the Command.get_help() method taking Evennia's policy into account 2017-02-06 20:20:46 +01:00
Vincent Le Goff
602b3408aa Add a method to customize the help message of a command 2017-02-06 20:20:46 +01:00
Griatch
dd516a290c Make sethelp edit also work without specifying a starting string. 2017-02-06 19:57:02 +01:00
Vincent Le Goff
7e7ca06530 Allow to create @help entries and edit the content directly 2017-02-06 19:57:02 +01:00
Vincent Le Goff
3998ed1069 Add the /edit switch to the @help command 2017-02-06 19:57:02 +01:00
Griatch
4d14625504 Add info about the call string to the log when reporting command errors. 2017-02-06 19:35:10 +01:00
Griatch
8254a24689 Change how the greyscale is displayed by the color command for more conformity with the rest. 2017-02-05 20:03:50 +01:00
Kimadi
43f310c2f8 Use color cube palette for pure black and pure white. 2017-02-05 20:03:50 +01:00
Kimadi
10467ac3ba Fixed variable names. 2017-02-05 20:03:50 +01:00
Kimadi
420211afa0 Added grayscale swatch to '@color xterm256' command. 2017-02-05 20:03:50 +01:00
Kimadi
9e6bb2c74e Implemented xterm grayscale palette. 2017-02-05 20:03:50 +01:00
Kimadi
97d46abe85 Removed useless double entries for xterm256 regular expressions. 2017-02-05 20:03:50 +01:00
Griatch
5330cf114a Add wilderness to contrib/README.md. 2017-02-05 13:12:36 +01:00
Griatch
43109ab8f4 Change the webclient OOB text kwarg to 'type' instead of 'window' to make it more general. 2017-02-05 12:19:17 +01:00
Simon Vermeersch
661ec5cb0b Help command fix for players that don't have options saved 2017-02-05 12:19:17 +01:00
Simon Vermeersch
ba42c68c5c Help command: don't use EvMore if help text is shown in popup 2017-02-05 12:19:17 +01:00
Simon Vermeersch
91fd754e98 Closes the help/options dialog with escape 2017-02-05 12:19:17 +01:00
Simon Vermeersch
8f16badf85 Reworded some of the options 2017-02-05 12:19:17 +01:00
Simon Vermeersch
7d62973d18 Options button: toggle the options window visibility 2017-02-05 12:19:17 +01:00
Simon Vermeersch
67d3f6650e Check for a valid session on the webclient_options monitor handler 2017-02-05 12:19:17 +01:00
Simon Vermeersch
254a746770 Allows testing when msg is called with a tuple as first argument 2017-02-05 12:19:16 +01:00
Simon Vermeersch
4ac863726c Change the option immediately on the client side instead of waiting for
a roundtrip to the server.
2017-02-05 12:19:16 +01:00
Simon Vermeersch
2c01373143 Play a sound for notification (if enabled) 2017-02-05 12:19:16 +01:00
Simon Vermeersch
7027a2cf9b Implemented the notification popup option 2017-02-05 12:19:16 +01:00
Simon Vermeersch
24cb3d3b31 Keep the settings button visible when there are scrollbars 2017-02-05 12:19:16 +01:00
Simon Vermeersch
7899dc5200 Show help in separate dialog (if option is enabled) 2017-02-05 12:19:16 +01:00
Simon Vermeersch
ebbec15081 Correctly remove the webclient options monitor on disconnect 2017-02-05 12:19:16 +01:00
Simon Vermeersch
da7a71e6dd Implement the "gag prompt" option 2017-02-05 12:19:16 +01:00
Simon Vermeersch
9efed33fb5 Webclient options monitor: reference the correct attribute 2017-02-05 12:19:16 +01:00
Simon Vermeersch
8dcd242d3b Cosmetic changes to the webclient options
- Renamed the used attribute
- Changed to use only one inputfunc
2017-02-05 12:19:16 +01:00
Simon Vermeersch
221aa362ab Adds retrieving, monitoring and storing of webclient settings 2017-02-05 12:19:16 +01:00
Simon Vermeersch
f2e53c873b Added a (non-functional) options dialog. 2017-02-05 12:19:16 +01:00
Griatch
4bd283609b Change how eveditor converts non-strings and also giving a warning it was done. 2017-02-05 10:56:46 +01:00
Griatch
088386dfc8 Make eveditor safely handle non-string inputs by converting them to strings. 2017-02-05 10:51:08 +01:00
Griatch
a731670f4c Add justify command to EvEditor. 2017-02-05 10:35:56 +01:00
Vincent Le Goff
66424c62ed Fix a bug when @reload-ing while in EvEditor 2017-02-05 09:52:49 +01:00
BattleJenkins
223cf647ec Fixed typo in wilderness.py
Changed instance 'coordinats' to 'coordinates' in pyramid example map code
2017-02-05 09:36:13 +01:00
Tehom
b2d5fc02b2 removed app_label, no longer necessary since removed custom AppConfig class from initial attempt. 2017-02-05 09:24:48 +01:00
Tehom
da008a69d9 Figured out that proxy models do not call signals attached to their classes they proxy for. I used the metaclass that already had a post_save signal attached to it, and it works fine now! I took out the unnecessary apps.py now that we're no longer attaching a signal to the base model classes and just doing it to the proxies. 2017-02-05 09:24:48 +01:00
Tehom
b67faf45d9 Attempt at making bulk deletion clear out handlers, to remove the problem of orphaned Attributes. 2017-02-05 09:24:48 +01:00
Griatch
02a4ac5231 Fix bug in latest push. 2017-02-04 16:49:29 +01:00
Griatch
628dd268f9 Make the at_channel_create method automatically add a new channel to the channelhandler. 2017-02-04 16:42:08 +01:00
Griatch
ff1ee76421 Fix case of guest not getting properly deleted when logging off. Resolves #1194. 2017-02-04 13:06:09 +01:00
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