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
Griatch
1023093ba8
Another fix to import in server
2022-10-31 22:07:13 +01:00
Griatch
be0cc57988
Make sure delayed import actually imports
2022-10-31 21:39:43 +01: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
Griatch
fc1f785d6e
Remove match to retain 3.9 compatibility
2022-10-29 11:18:08 +02:00
Griatch
91ec52fda0
Testing to add needs-triage labels to issues not yet verified
2022-10-29 10:50:49 +02:00
Griatch
dbc27c1504
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
a1ac763139
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
a3363b79c6
add docstring to broken script module
2022-10-28 09:44:46 -06:00
InspectorCaracal
4ce6d99bef
Merge branch 'develop' into global-scripts-raise
2022-10-28 09:30:09 -06:00
InspectorCaracal
26be50fbfe
test exceptions more precisely
2022-10-28 09:28:44 -06:00
Griatch
43a006d857
Merge pull request #2961 from homeofpoe/patch-14
...
Update initial_setup.py
2022-10-27 22:27:52 +02:00
Griatch
3f23e971fc
Merge pull request #2951 from homeofpoe/patch-9
...
Update admin.py
2022-10-27 22:27:17 +02:00
homeofpoe
f2cb758a02
Update admin.py
2022-10-27 11:28:58 -07:00
Griatch
c2b302b0fe
Merge pull request #2954 from homeofpoe/patch-12
...
Update comms.py
2022-10-27 20:12:44 +02:00
homeofpoe
e244a7f143
Update initial_setup.py
...
Change superuser character permissions per #2850
2022-10-27 11:06:38 -07:00
homeofpoe
9c69147459
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
1c56f9b386
Update comms.py
...
Move around the f to outside of the string.
2022-10-27 09:40:39 -07:00
Griatch
8b3f9a0bef
Fix multimatch aliasing. Resolve #2960 .
2022-10-27 16:54:56 +02:00
Griatch
d8c74641a1
Merge pull request #2959 from InspectorCaracal/InspectorCaracal-patch-2
...
Fix msg_contents funcparsing
2022-10-26 19:33:25 +02:00
Griatch
64b77e0eb3
Merge pull request #2958 from homeofpoe/patch-13
...
Update objects.py
2022-10-26 19:32:36 +02:00
Griatch
d0dd26d679
Merge pull request #2957 from homeofpoe/develop
...
Add fstrings
2022-10-26 19:31:21 +02:00
Griatch
d312ace33a
Merge pull request #2950 from homeofpoe/patch-8
...
Update Contrib-Custom-Gametime.md
2022-10-26 19:05:32 +02:00
Griatch
e68ed92e07
Merge pull request #2949 from homeofpoe/patch-7
...
Update Gametime-Tutorial.md
2022-10-26 19:02:48 +02:00
Griatch
be6f2f0cb0
Merge pull request #2948 from homeofpoe/patch-6
...
Update evform.py
2022-10-26 19:00:59 +02:00
Griatch
272bd834bd
Merge pull request #2947 from homeofpoe/patch-4
...
Update Scripts.md
2022-10-26 19:00:15 +02:00
InspectorCaracal
54ec2b986c
fix msg_contents funcparsing
2022-10-26 08:48:01 -06:00
homeofpoe
1f86d58e49
Update objects.py
...
missing quotation in doc string, and at_access() keyword args formatted oddly because 'game' was on a new line, and (Not).
2022-10-26 05:53:40 -07:00
homeofpoe
a6221d6d6f
Quick fixes
2022-10-26 05:05:29 -07:00
homeofpoe
0577553112
Add fstrings
...
Extend usage of fstrings for consistency and readability.
2022-10-26 04:51:19 -07:00
Griatch
5ae3941841
Add more info to msg_contents
2022-10-26 10:42:29 +02:00
homeofpoe
adaffc4c6f
Update comms.py
...
Extend fstring usage for consistency and clarity and fixing my gaff
2022-10-25 16:23:54 -07:00
homeofpoe
4a3bb00fb3
Update admin.py
2022-10-25 10:27:53 -07:00
homeofpoe
399e84d288
Update admin.py
...
Extend and fix fstring usage.
2022-10-25 10:23:21 -07:00
homeofpoe
a58849d9f7
Update Contrib-Custom-Gametime.md
...
Fixes typo in header
2022-10-25 09:20:57 -07:00