Griatch
|
2743f98fb0
|
Removed SEARCH_AT_MULTIMATCH_INPUT and SEARCH_AT_MULTIMATCH_CMD settings and connected functions - these are no longer individually overloadable. SEARCH_AT_RESULT function now handles all error reporting. Also added SEARCH_MULTIMATCH_SEPARATOR to make it easy to replace the character used to separate multi-matches (1-box, 2-box is using '-' by default), in response to #795. Also moved the default SEARCH_AT_RESULT function from the cmdparser to evennia.utils.utils.
|
2015-09-27 13:05:29 +02:00 |
|
Griatch
|
b59340784c
|
Made some cleanup of docstrings to clarify hook load order.
|
2015-09-05 21:49:54 +02:00 |
|
Griatch
|
a7e42b2a5b
|
Changed cmdparser to properly convert to unicode before length measuring, which was causing unexpected behavior with non-ASCII charsets.
|
2015-09-04 21:11:01 +02:00 |
|
Kate
|
8647bf2367
|
Fix for NoneType exceptions when initial_setup.py is run where multisession_mode is not set to 0.
|
2015-08-22 10:34:06 +02:00 |
|
Jake Shasteen
|
7d3ed681ac
|
Added {u to the ansi parser for underlining text.
|
2015-08-15 00:33:57 -04:00 |
|
Griatch
|
2cdb13143d
|
Made the charcreate lock (only allow one char/player) for MULTISESSION_MODE<2 a part of the respective command rather than globally in the module.
|
2015-08-13 09:06:27 +02:00 |
|
Griatch
|
b1b1912e8c
|
Removed a lingering refefence to old get_all_attributes method. Resolves #780.
|
2015-08-06 07:56:18 +02:00 |
|
Andrew Bastien
|
c1f35a4e10
|
- Tiny fix to the failed login call.
|
2015-07-25 18:35:34 +02:00 |
|
Andrew Bastien
|
e0e382e0c6
|
- Added .at_failed_login(session) to default Player typeclass.
- unloggedin.CmdUnconnectedConnect now calls the at_failed_login hook on player if a correct user is entered by an invalid password provided.
|
2015-07-25 18:35:34 +02:00 |
|
Griatch
|
640439dcf5
|
Removed the examine: locktype from the @create locktype setting. Resolves #770.
|
2015-07-22 14:38:12 +02:00 |
|
Griatch
|
3ae00972a9
|
Added evmore - a more-like pager mechanism for displaying long texts.
|
2015-07-09 14:37:09 +02:00 |
|
Griatch
|
d47bd96ddd
|
integrated the line editor functionality with the @set command (using the /edit switch), removing the example CmdEdit command from the eveditor module.
|
2015-07-09 14:37:09 +02:00 |
|
Griatch
|
870c750538
|
Refactored and cleaned up the EvEditor module.
|
2015-07-09 14:37:09 +02:00 |
|
Griatch
|
cc2b094bc6
|
Moved lineditor into utils/eveditor.py. The line editor is accessed by simply importing the class (same as EvTable, EvMenu etc), so the utils.get_line_editor function was removed.
|
2015-07-09 14:37:09 +02:00 |
|
Griatch
|
ea0de32607
|
Updated the Command class with set_key/set_alias methods to allow for dynamic updating of command key/aliases properties while making sure all optimization recaches are hit.
|
2015-07-07 16:42:20 +02:00 |
|
Griatch
|
a8332fe431
|
Reworked the fix of #769 to be cleaner and using a full import mechanism rather than the pre-module lookup that messed up the unittests.
|
2015-07-07 15:29:28 +02:00 |
|
Griatch
|
0003868533
|
Added more logics for pre-lookups of cmdset paths at any nested package depth. Resolves #769.
|
2015-07-07 13:31:17 +02:00 |
|
Griatch
|
45e0785c8e
|
Made a change to the cmdset comparison algorithm to make sure all commands are compared both by alias and key by use of a set-intersection operation. Before one side of the comparison used key and the other used key+aliases, which led to inconsistent results in some situations, especially when combining system commands with aliases.
|
2015-06-28 17:58:42 +02:00 |
|
Griatch
|
8ac424c216
|
Made multi-command-match display on multiple lines
|
2015-06-20 23:48:09 +02:00 |
|
Jonathan Piacenti
|
71389fd6fe
|
Slight wording tweak.
|
2015-06-20 16:34:38 -05:00 |
|
Jonathan Piacenti
|
27500b9762
|
Better handling of command ambiguity.
|
2015-06-20 16:31:59 -05:00 |
|
Jonathan Piacenti
|
462b73b626
|
Rename display_name and improve docstrings.
|
2015-06-20 16:31:36 -05:00 |
|
Jonathan Piacenti
|
1822b01086
|
Add display_name and disambiguation_tag for dynamic naming.
|
2015-06-20 15:42:39 -05:00 |
|
Jonathan Piacenti
|
a5887d23e2
|
Make command ambiguity handler pluggable.
|
2015-06-20 13:18:50 -05:00 |
|
Griatch
|
561b051734
|
Made the cmdset flags no_exits, no_objs and no_channels pass-through the cmdset merge unless overruled by higher-prio sets' flags. Resolves #760.
|
2015-06-20 13:15:43 +02:00 |
|
Griatch
|
7f63ca6a76
|
Made error reporting from cmdsets a little more verbose.
|
2015-06-20 13:11:50 +02:00 |
|
Griatch
|
91b84213dd
|
Made the string set convertion message a little clearer. Also set up the template to add the protototype dir from the onset.
|
2015-06-13 16:02:59 +02:00 |
|
Griatch
|
4d69e80787
|
Made lock command warn for using the wrong input form. Strip extraneous quotes from lock strings to avoid strange issue with escaped quotes from the command system. Resolves #758.
|
2015-06-13 00:08:12 +02:00 |
|
Griatch
|
f00f917e41
|
Fixed an issue with the lineeditor's quit yes/no question and made a custom yes/no solution instead of relying on the menusystem-based one in contrib. Resolves #757.
|
2015-06-12 23:17:32 +02:00 |
|
Griatch
|
7f8d421039
|
Fixed a bug and cleaned up the nick command. Resolves #756.
|
2015-06-09 14:34:27 +02:00 |
|
Griatch
|
9c677362e7
|
Fixed a typo for the command. Resolves #755.
|
2015-06-03 23:10:41 +02:00 |
|
Griatch
|
8e134af019
|
API change: Added no_superuser_bypass kwarg to obj.access, channel.access and player.access methods, to make the call consistent with the full lockhandler.check call. This allows the cmdhandler to use access() to check the 'call' locktype and thus make it available for overloading if so desired. Resolves #752.
|
2015-06-01 20:32:52 +02:00 |
|
Griatch
|
ef1e336339
|
Added a missing update to the database store of cmdsethandler. Resolves #751.
|
2015-06-01 20:02:53 +02:00 |
|
Griatch
|
9b6343f813
|
Minor format fix post-removal of the %c type colors
|
2015-05-17 21:59:24 +02:00 |
|
Griatch
|
64c6d06d0f
|
Fixed the loading of the menu_login contrib, doing some cleanup in the error reporting at the same time. Also added evennia to the search path for cmdsets and typeclasses so that one can give the path to e.g contrib when loading.
|
2015-05-17 00:49:41 +02:00 |
|
Griatch
|
e84db3df54
|
Converted all docstrings in the commands submodule (not the default commands themselves) to Google style as per #709.
|
2015-05-15 20:05:37 +02:00 |
|
Griatch
|
ae88d67548
|
Updated docstrings for a few modules, adopting to styles as per #709.
|
2015-05-15 18:43:04 +02:00 |
|
Griatch
|
72181f4ae0
|
Added __all__ marker to line editor to make it collaborate with reST doc creation
|
2015-05-15 11:50:37 +02:00 |
|
Griatch
|
b7872f2d6f
|
Changed the order of Portal/Server shutdown to make sure the Portal stops correctly in light of the changes to the shutdown protocol from previous revision.
|
2015-05-14 21:20:31 +02:00 |
|
Griatch
|
33154d4d60
|
Reworked server reboot code to make the cold reset function work as documented and not disconnect any sessions. Resolves #742.
|
2015-05-14 20:18:39 +02:00 |
|
Griatch
|
3410499313
|
Made the contents cache mechanism use the idmapper cache directly. This should hopefully avoid isses like #745 in the future.
|
2015-05-14 17:57:49 +02:00 |
|
Griatch
|
30e9bfddf9
|
Made the cmdsethandler.add/delete_default re-use the normal add/delete methods for better code reuse.
|
2015-05-14 17:54:25 +02:00 |
|
Griatch
|
0cbb96bc82
|
Made addhelp/append us a single line break. Resolves #730.
|
2015-03-31 22:43:26 +02:00 |
|
Griatch
|
349805c5ac
|
Some minor cleanups of edit code
|
2015-03-27 07:12:32 +01:00 |
|
Jonathan Piacenti
|
b0c71ee924
|
Added /edit switch to CmdDesc.
|
2015-03-26 18:18:17 -05:00 |
|
Jonathan Piacenti
|
89a39a8481
|
Pull line editor out of contrib and into main.
|
2015-03-26 17:10:42 -05:00 |
|
Griatch
|
77183a857e
|
Fixed typeclass command check that used to fail with an old .typeclass check.
|
2015-03-26 22:19:19 +01:00 |
|
Griatch
|
5863ef29a8
|
Made cmdhandler respect an explicit True/False setting.
|
2015-03-22 17:22:59 +01:00 |
|
Griatch
|
17418befcd
|
Fixed unittest for help entries
|
2015-03-22 09:42:51 +01:00 |
|
Griatch
|
22f220f58d
|
Made cyan separators work.
|
2015-03-21 07:53:38 +01:00 |
|