Commit graph

8348 commits

Author SHA1 Message Date
Griatch
9c0f6a1b0f 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
078dc12377 check for .category attribute 2022-11-01 18:50:12 -06:00
Griatch
e6090ef1ed Update cooldown tutorial. Resolve #2648. 2022-11-02 00:30:47 +01:00
Griatch
6e4bb8047b Update docs to reference _evmenu rather than old _menutree NAttribute. Resolve #2731 2022-11-01 23:40:36 +01:00
Griatch
de3729103e Run migrations! Update changelog for BigAutoField change 2022-11-01 23:30:19 +01:00
Griatch
0991116197 Merge pull request #2966 from owllex/develop
Change default ID field to be BigAutoField.
2022-11-01 23:29:07 +01:00
Griatch
8f39c49aea Apply formatter 2022-11-01 23:27:33 +01:00
Griatch
2bb8da38ee 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
5573ba7ed2 better test case 2022-11-01 11:03:08 -06:00
InspectorCaracal
5eac62fd4a add optional fallback string to emotes 2022-11-01 10:54:47 -06:00
Griatch
20a2646646 Expand some of the exceptions 2022-11-01 17:26:05 +01:00
Griatch
e9e12da793 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
98d9e5d198 fix: allow for corner case 2022-10-31 20:55:37 -05:00
Mike Gray
bafa9f05bb chore: revert to try/except and replace TypeError 2022-10-31 20:35:22 -05:00
owllex
710cc95832 Merge branch 'evennia:develop' into develop 2022-10-31 16:37:41 -07:00
Griatch
5ec7b803f4 Another fix to import in server 2022-10-31 22:07:13 +01:00
owllex
7878b600be Merge branch 'evennia:develop' into develop 2022-10-31 13:40:40 -07:00
Griatch
b1f027bf57 Make sure delayed import actually imports 2022-10-31 21:39:43 +01:00
Owllex
65ed5d29df Change default ID field to be BigAutoField.
* Add relevant migration files for all apps.
2022-10-31 13:13:02 -07:00
Griatch
353e4c0aa7 Ran formatting on code 2022-10-31 20:43:27 +01:00
Griatch
83154de19e Add extra dev tools, as suggested in #2965 by @mikejgray 2022-10-31 20:43:00 +01:00
Griatch
a2289c46f8 Fix nesting count - with tests. Resolve #2926 2022-10-31 20:38:23 +01:00
Griatch
bd297876ca Fix condition for maintenance late-load 2022-10-31 20:07:24 +01:00
Griatch
f9ca50ba5f Implement DbPrototype caching, refactor. Resolve #2792 2022-10-30 12:13:13 +01:00
Mike Gray
8934579cda 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
36006f3fe9 Working on fixing db-prototype load performance 2022-10-30 01:11:40 +02:00
Griatch
da68598b63 Add tag to catch link-dead puppet. Resolve #2829, #2737 2022-10-29 20:54:57 +02:00
Griatch
5c6a4200c2 Fix unittest hitting random exception 2022-10-29 18:45:08 +02:00
Griatch
40f5fc9a85 Add warning about using {-color contrib syntax 2022-10-29 18:32:09 +02:00
Griatch
b684194795 Stop escape ' in funcparser; req double quotes. Resolve #2737. 2022-10-29 18:28:30 +02:00
Griatch
c741b2b898 Revert escape of { in msg_contents; it breaks regular mapping 2022-10-29 18:27:51 +02:00
Griatch
a92f84bd58 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
d3ebd3d642 Make CmdTag prioritise local objects first. Resolve #2665. 2022-10-29 16:32:36 +02:00
Griatch
d0f137845d Remove match to retain 3.9 compatibility 2022-10-29 11:18:08 +02:00
Griatch
cbfc5d6bcd Testing to add needs-triage labels to issues not yet verified 2022-10-29 10:50:49 +02:00
Griatch
8ac0ce1905 Warn if running too-new, untested Python version. Break out version reqs into separate file for more visibility. 2022-10-29 10:41:56 +02:00
Griatch
2b328defcc Merge pull request #2922 from InspectorCaracal/global-scripts-raise
Allow global scripts container to raise import errors
2022-10-29 09:50:10 +02:00
InspectorCaracal
d40dfefc44 add docstring to broken script module 2022-10-28 09:44:46 -06:00
InspectorCaracal
d1981bd15b Merge branch 'develop' into global-scripts-raise 2022-10-28 09:30:09 -06:00
InspectorCaracal
1ce44db283 test exceptions more precisely 2022-10-28 09:28:44 -06:00
Griatch
60babb0672 Merge pull request #2961 from homeofpoe/patch-14
Update initial_setup.py
2022-10-27 22:27:52 +02:00
Griatch
8fae026da1 Merge pull request #2951 from homeofpoe/patch-9
Update admin.py
2022-10-27 22:27:17 +02:00
homeofpoe
4a04a3a76d Update admin.py 2022-10-27 11:28:58 -07:00
Griatch
129b6cd3bb Merge pull request #2954 from homeofpoe/patch-12
Update comms.py
2022-10-27 20:12:44 +02:00
homeofpoe
452ce59bb8 Update initial_setup.py
Change superuser character permissions per #2850
2022-10-27 11:06:38 -07:00
homeofpoe
f58a46260c Update admin.py
Thank you for the feedback.  My editing vessel was subpar, and these should be caught pre-submission next time.  I appreciate the helpful suggestion on accountstr, I like that approach quite a lot
2022-10-27 10:50:30 -07:00
homeofpoe
39752261a8 Update comms.py
Move around the f to outside of the string.
2022-10-27 09:40:39 -07:00
Griatch
d1fc7b3cfd Fix multimatch aliasing. Resolve #2960. 2022-10-27 16:54:56 +02:00
Griatch
1dabcda28b Merge pull request #2959 from InspectorCaracal/InspectorCaracal-patch-2
Fix msg_contents funcparsing
2022-10-26 19:33:25 +02:00
Griatch
82ee627c6c Merge pull request #2958 from homeofpoe/patch-13
Update objects.py
2022-10-26 19:32:36 +02:00