Commit graph

226 commits

Author SHA1 Message Date
Griatch
cd07c78240 Ran formatter 2022-12-07 19:35:06 +01:00
Griatch
045a83c6cc Fix justify m_len call. Fixes #3019 2022-12-07 19:34:27 +01:00
Griatch
89d1336cda Apply black 2022-11-28 19:55:02 +01:00
Griatch
da03b22e1c Make utils.justify handle ANSIString properly. Resolve #2986 2022-11-27 18:29:25 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
9438e5856a Support direct EvColumn adds to EvTable. Resolves #2762 2022-11-06 10:23:20 +01:00
Griatch
020854f697 Fix EvTable issues. 2022-11-05 23:30:11 +01:00
Griatch
9709ecbc57 Support 'a' (absolute) justification. Let EvForm accept EvCells as mappings. Resolve #2762 2022-11-05 17:59:32 +01:00
InspectorCaracal
078dc12377 check for .category attribute 2022-11-01 18:50:12 -06:00
Griatch
d1fc7b3cfd Fix multimatch aliasing. Resolve #2960. 2022-10-27 16:54:56 +02:00
InspectorCaracal
b06e8cefde fix edge cases, add tests 2022-10-14 11:59:42 -06:00
Griatch
0f70f51724 Fix $choice funcparser; improve safe_eval parsing of containers. Resolve #2910. 2022-10-13 23:22:05 +02:00
InspectorCaracal
734f0dd20e strip ands, correct test 2022-10-09 22:11:20 -06:00
InspectorCaracal
18c3996020 do single-number check AFTER conversion from ordinal 2022-10-09 21:33:11 -06:00
InspectorCaracal
0ff4097a47 typos 2022-10-09 21:30:28 -06:00
InspectorCaracal
00fe0a2d9d add ordinal case 2022-10-09 21:12:47 -06:00
InspectorCaracal
3970e82434 add str2int 2022-10-09 20:42:34 -06:00
Griatch
377d366d3e Make help pagination not mess up colors. Resolve #2646 2022-09-22 23:30:25 +02:00
Griatch
6fa68745ba Correct funcparser tests 2022-09-18 01:26:04 +02:00
Griatch
705d47fe47 Resolve unit tests 2022-09-18 00:06:34 +02:00
Griatch
07ff42b77c Fixes to return_appearance helpers and iter_to_str 2022-07-24 13:00:30 +02:00
Griatch
091a13674d Debugging of tutorial 2022-07-18 17:38:37 +02:00
Griatch
83395211cc Merge branch 'develop' into contrib/evadventure 2022-07-11 11:24:46 +02:00
InspectorCaracal
f55959336b update docs/tests 2022-07-03 20:31:08 -06:00
Griatch
f4c3db1151 Fix merge conflicts 2022-07-03 11:13:12 +02:00
InspectorCaracal
aeaff1d663 update docstring 2022-06-28 15:57:33 -06:00
InspectorCaracal
a957417c79 add separator param 2022-06-28 15:52:23 -06:00
InspectorCaracal
2e3ce55fce remove blank-to-comma assumption 2022-06-28 15:43:05 -06: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
a83f21ef2f Apply black to cleanup code 2022-06-12 09:46:48 +02:00
Griatch
df5ae68a3c Refactor equipmenthandler 2022-04-09 23:51:48 +02:00
Griatch
a553f1ab2f Continue with evadventure implementation 2022-03-21 15:35:07 +01:00
Griatch
a17fa2a454 Add run_in_main_thread as helper for those wanting to run server code from web view. Resolve #2457 2022-02-12 18:44:38 +01:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
72ad633071 Make set aware of Attribute categories 2021-12-16 00:22:24 +01:00
Griatch
affa3b8cf7 Tweak iter_to_string to be a little more flexible about limiters 2021-12-11 10:48:18 +01:00
Griatch
9d6cb98349 Add pronoun parsing for msg_contents inlinefuncs 2021-10-30 22:36:40 +02:00
Griatch
2a8cc57bbe Add strip_unsafe_input/INPUT_CLEANUP_BYPASS_PERMISSIONS helpers to strip unsafe input on a per-command level. Resolves #1738. 2021-10-09 16:27:58 +02:00
Griatch
71092f17f7 Make @lazy_property handlers read/write protected to avoid common newbie mistakes, like assigning obj.locks = [] 2021-10-09 14:33:40 +02:00
Griatch
78e063d9ca Add TraitProperties as alternative way to define Traits from the traits contrib. Also clean up docs to resolve #2450. 2021-08-30 22:33:21 +02:00
davewiththenicehat
cf9b9e46e3 Update utils.py 2021-06-25 20:04:26 -04:00
Griatch
16667f1372 Merge branch 'CmdHelp_clickable_topics' of https://github.com/davewiththenicehat/evennia into davewiththenicehat-CmdHelp_clickable_topics 2021-06-20 11:09:48 +02:00
davewiththenicehat
02fc0f998e Change to utils.display_len
evennia.utils.tests.test_utils.TestFormatGrid
evennia.commands.default.tests.TestHelp
Both pass
2021-06-19 11:46:46 -04:00
fariparedes
e6733ba7ff Update iter_to_string with handling for list size of 2 2021-06-18 14:11:56 -04:00
davewiththenicehat
a85f8995b3 utils.format_grid strip ansi support
adds option to ignore ansi markups when calculating grid lengths.

evennia.utils.tests.test_utils.TestFormatgrid passes
2021-06-12 12:32:20 -04:00
Griatch
8837b93dd2 Update localization 2021-05-29 13:22:19 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
73f73f2473 Add get_all_cmdsets` helper inspired by work by user trhr in unmerged PR 2021-05-21 15:22:35 +02:00
Griatch
ae6a481025 Fix merge conflicts 2021-05-15 09:31:11 +02:00
Griatch
055bbcfee3 Fix bugs, correct one-line format_grid function 2021-05-13 09:06:12 +02:00