Update Changelog
This commit is contained in:
parent
b624d3dd5c
commit
85a8cd613b
2 changed files with 23 additions and 11 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -2,11 +2,17 @@
|
||||||
|
|
||||||
## Main branch
|
## Main branch
|
||||||
|
|
||||||
- Feature: Attribute-support for saving/loading `deques` with `maxlen=` set.
|
- New Contrib: `Container` typeclass with new commands for storing and retrieving
|
||||||
- Contrib: Container typeclass with new commands for storing and retrieving
|
|
||||||
things inside them (InspectorCaracal)
|
things inside them (InspectorCaracal)
|
||||||
|
- Feature: Attribute-support for saving/loading `deques` with `maxlen=` set.
|
||||||
|
- Feature: Refactor to provide `evennia.SESSION_HANDLER` for easier overloading
|
||||||
|
and less risks of circular import problems (Volund)
|
||||||
|
- Fix: Allow webclient's goldenlayout UI (default) to understand `msg`
|
||||||
|
`cls` kwarg for customizing the CSS class for every resulting `div` (friarzen)
|
||||||
- Fix: The `AttributeHandler.all()` now actually accepts `category=` as
|
- Fix: The `AttributeHandler.all()` now actually accepts `category=` as
|
||||||
keyword arg, like our docs already claimed it should (Volund)
|
keyword arg, like our docs already claimed it should (Volund)
|
||||||
|
- Fix: `TickerHandler` store key updating was refactored, fixing an issue with
|
||||||
|
updating intervals (InspectorCaracal)
|
||||||
- Docs: New Beginner-Tutorial lessons for NPCs, Base-Combat Twitch-Combat and
|
- Docs: New Beginner-Tutorial lessons for NPCs, Base-Combat Twitch-Combat and
|
||||||
Turnbased-combat (note that the Beginner tutorial is still WIP).
|
Turnbased-combat (note that the Beginner tutorial is still WIP).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,9 @@ import time
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
import django
|
import django
|
||||||
|
import evennia
|
||||||
import twisted
|
import twisted
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
import evennia
|
|
||||||
from evennia.accounts.models import AccountDB
|
from evennia.accounts.models import AccountDB
|
||||||
from evennia.scripts.taskhandler import TaskHandlerTask
|
from evennia.scripts.taskhandler import TaskHandlerTask
|
||||||
from evennia.utils import gametime, logger, search, utils
|
from evennia.utils import gametime, logger, search, utils
|
||||||
|
|
@ -186,7 +185,11 @@ def _run_code_snippet(
|
||||||
|
|
||||||
if show_input:
|
if show_input:
|
||||||
for session in sessions:
|
for session in sessions:
|
||||||
data = {"text": (f">>> {pycode}", {"type": "py_input"}), "options": {"raw": True, "highlight": True}}
|
data = {
|
||||||
|
# TODO: 'highlight' is not used yet
|
||||||
|
"text": (f">>> {pycode}", {"type": "py_input"}),
|
||||||
|
"options": {"raw": True, "highlight": True},
|
||||||
|
}
|
||||||
try:
|
try:
|
||||||
caller.msg(session=session, **data)
|
caller.msg(session=session, **data)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
|
@ -243,10 +246,16 @@ def _run_code_snippet(
|
||||||
|
|
||||||
for session in sessions:
|
for session in sessions:
|
||||||
try:
|
try:
|
||||||
caller.msg((ret, {"type": "py_output"}), session=session, options={"raw": True, "client_raw": client_raw,
|
caller.msg(
|
||||||
"highlight": True})
|
(ret, {"type": "py_output"}),
|
||||||
|
session=session,
|
||||||
|
options={"raw": True, "client_raw": client_raw, "highlight": True},
|
||||||
|
)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
caller.msg((ret, {"type": "py_output"}), options={"raw": True, "client_raw": client_raw, "highlight": True})
|
caller.msg(
|
||||||
|
(ret, {"type": "py_output"}),
|
||||||
|
options={"raw": True, "client_raw": client_raw, "highlight": True},
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def evennia_local_vars(caller):
|
def evennia_local_vars(caller):
|
||||||
|
|
@ -1030,7 +1039,6 @@ class CmdTasks(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
||||||
# handle caller's request to manipulate a task(s)
|
# handle caller's request to manipulate a task(s)
|
||||||
if self.switches and self.lhs:
|
if self.switches and self.lhs:
|
||||||
|
|
||||||
# find if the argument is a task id or function name
|
# find if the argument is a task id or function name
|
||||||
action_request = self.switches[0]
|
action_request = self.switches[0]
|
||||||
try:
|
try:
|
||||||
|
|
@ -1040,7 +1048,6 @@ class CmdTasks(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
||||||
# if the argument is a task id, proccess the action on a single task
|
# if the argument is a task id, proccess the action on a single task
|
||||||
if arg_is_id:
|
if arg_is_id:
|
||||||
|
|
||||||
err_arg_msg = "Switch and task ID are required when manipulating a task."
|
err_arg_msg = "Switch and task ID are required when manipulating a task."
|
||||||
task_comp_msg = "Task completed while processing request."
|
task_comp_msg = "Task completed while processing request."
|
||||||
|
|
||||||
|
|
@ -1105,7 +1112,6 @@ class CmdTasks(COMMAND_DEFAULT_CLASS):
|
||||||
# the argument is not a task id, process the action on all task deferring the function
|
# the argument is not a task id, process the action on all task deferring the function
|
||||||
# specified as an argument
|
# specified as an argument
|
||||||
else:
|
else:
|
||||||
|
|
||||||
name_match_found = False
|
name_match_found = False
|
||||||
arg_func_name = self.lhslist[0].lower()
|
arg_func_name = self.lhslist[0].lower()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue