Commit graph

8365 commits

Author SHA1 Message Date
Griatch
db18e91e89 Fix tests related to changing TraitHandler.all to TraitHandler.all() 2022-11-07 18:13:56 +01:00
Griatch
e9917c11a9 Make TraitHandler.all a method to match other handlers 2022-11-07 18:11:04 +01:00
Griatch
2ac589dbc4 Remove chance of cmdset evmenu overlap. Resolve #2855 2022-11-07 00:42:01 +01:00
Griatch
44534153dc Another fix for CmdPage 2022-11-06 17:17:40 +01:00
Griatch
3bd8649463 Fix access bug using page/last. 2022-11-06 17:05:20 +01:00
Griatch
85ea86cbd5 Honor whitespace in funcparser unparsed strings. Resolve #2927 2022-11-06 16:38:35 +01:00
Griatch
88c9481a6d Add ServerSession.get_display_name as alias to puppet/account versions. Resolve #2839 2022-11-06 11:17:07 +01:00
Griatch
0c2ff6914b Verified and added unit test for Resolving #2760 2022-11-06 10:59:51 +01:00
Griatch
652e83c234 Fix issue with EvTable crop. Resolve #2761 2022-11-06 10:52:24 +01:00
Griatch
c16e909704 Support direct EvColumn adds to EvTable. Resolves #2762 2022-11-06 10:23:20 +01:00
Griatch
73b1ee8f48 Ran black on code 2022-11-05 23:35:25 +01:00
Griatch
be258cca8c Fix EvTable issues. 2022-11-05 23:30:11 +01:00
Griatch
13d68d4ee7 Add more unit tests for Evtable; start docs for several components 2022-11-05 20:40:39 +01:00
Griatch
79426fa354 Fix some typos; skipping test awaiting later refactorings 2022-11-05 19:11:19 +01:00
Griatch
9d7954ab5c Support 'a' (absolute) justification. Let EvForm accept EvCells as mappings. Resolve #2762 2022-11-05 17:59:32 +01:00
Griatch
7e38b62b43 Add literals-mappings to EvForm for custom remaps 2022-11-05 14:13:29 +01:00
Griatch
52e9c1df08 Refactor EvForm code for readability and style 2022-11-05 13:25:53 +01:00
Griatch
26ca019a3e
Merge pull request #2970 from InspectorCaracal/InspectorCaracal-patch-3
Fix traceback in `at_search_result` with tags
2022-11-02 08:22:07 +01:00
InspectorCaracal
f480df7191
check for .category attribute 2022-11-01 18:50:12 -06:00
Griatch
0eda75187a Update cooldown tutorial. Resolve #2648. 2022-11-02 00:30:47 +01:00
Griatch
22f6348eb7 Update docs to reference _evmenu rather than old _menutree NAttribute. Resolve #2731 2022-11-01 23:40:36 +01:00
Griatch
1c13c8d6f0 Run migrations! Update changelog for BigAutoField change 2022-11-01 23:30:19 +01:00
Griatch
0c16554c9e
Merge pull request #2966 from owllex/develop
Change default ID field to be BigAutoField.
2022-11-01 23:29:07 +01:00
Griatch
5f7c6edef9 Apply formatter 2022-11-01 23:27:33 +01:00
Griatch
76ba3d58af
Merge pull request #2968 from InspectorCaracal/rpsystem-emote-fallback
Add optional fallback sdesc to rpsystem emote
2022-11-01 23:25:40 +01:00
InspectorCaracal
c9b172438e better test case 2022-11-01 11:03:08 -06:00
InspectorCaracal
6235aeda5b add optional fallback string to emotes 2022-11-01 10:54:47 -06:00
Griatch
c1f94ff379 Expand some of the exceptions 2022-11-01 17:26:05 +01:00
Griatch
c9eae6eb80
Merge pull request #2963 from mikejgray/2911__feat-proper-exceptions
chore: convert try/except on TypeError to ValueError
2022-11-01 17:22:31 +01:00
Mike Gray
1510fc1d17
fix: allow for corner case 2022-10-31 20:55:37 -05:00
Mike Gray
cc6868ffa4
chore: revert to try/except and replace TypeError 2022-10-31 20:35:22 -05:00
owllex
237c4860b1
Merge branch 'evennia:develop' into develop 2022-10-31 16:37:41 -07:00
Griatch
1023093ba8 Another fix to import in server 2022-10-31 22:07:13 +01:00
owllex
9532d08506
Merge branch 'evennia:develop' into develop 2022-10-31 13:40:40 -07:00
Griatch
be0cc57988 Make sure delayed import actually imports 2022-10-31 21:39:43 +01:00
Owllex
ba1749b204 Change default ID field to be BigAutoField.
* Add relevant migration files for all apps.
2022-10-31 13:13:02 -07:00
Griatch
0ed34f5149 Ran formatting on code 2022-10-31 20:43:27 +01:00
Griatch
59e9872e6d Add extra dev tools, as suggested in #2965 by @mikejgray 2022-10-31 20:43:00 +01:00
Griatch
f249156d88 Fix nesting count - with tests. Resolve #2926 2022-10-31 20:38:23 +01:00
Griatch
134c966a23 Fix condition for maintenance late-load 2022-10-31 20:07:24 +01:00
Griatch
ee48982ea2 Implement DbPrototype caching, refactor. Resolve #2792 2022-10-30 12:13:13 +01:00
Mike Gray
0b9f406902
chore: convert try/except to explicit checks
Rather than causing an exception and handling it, this change explicitly checks the type of certain arguments and only converts strings to integers if needed.

Both this change and the previous implementation don't handle cases where the string passed is not numeric. However, I'm just getting familiar with the codebase, so this is possibly handled elsewhere.
2022-10-29 21:23:07 -05:00
Griatch
09f84b8e20 Working on fixing db-prototype load performance 2022-10-30 01:11:40 +02:00
Griatch
3fc913e3c6 Add tag to catch link-dead puppet. Resolve #2829, #2737 2022-10-29 20:54:57 +02:00
Griatch
7c44294628 Fix unittest hitting random exception 2022-10-29 18:45:08 +02:00
Griatch
3692750637 Add warning about using {-color contrib syntax 2022-10-29 18:32:09 +02:00
Griatch
6a0df97c16 Stop escape ' in funcparser; req double quotes. Resolve #2737. 2022-10-29 18:28:30 +02:00
Griatch
a92214354b Revert escape of { in msg_contents; it breaks regular mapping 2022-10-29 18:27:51 +02:00
Griatch
a5b145f97e Fix msg_contents to not interfere with extra brackets in input (and {-style colors). Resolve #2696 2022-10-29 17:06:13 +02:00
Griatch
799716376b Make CmdTag prioritise local objects first. Resolve #2665. 2022-10-29 16:32:36 +02:00