Commit graph

9305 commits

Author SHA1 Message Date
ChrisLR
cca93b032f Revert "Refactor _get_class_components"
This reverts commit c4ec977b9c.
2024-02-24 14:35:46 -05:00
ChrisLR
5f9064c738 Add tests 2024-02-24 14:31:07 -05:00
ChrisLR
c4ec977b9c Refactor _get_class_components 2024-02-24 14:31:01 -05:00
ChrisLR
0729de1b91 Use get_component_slot 2024-02-24 11:12:49 -05:00
ChrisLR
8bda7c10f7 Remove cmd_set from component 2024-02-24 11:09:44 -05:00
ChrisLR
1bfb3643ad Merge remote-tracking branch 'fork/components-refactoring' into components-refactoring 2024-02-24 10:55:25 -05:00
ChrisLR
8ff8234f46 Fix inherited component registration with different names but identical slots 2024-02-24 10:54:58 -05:00
ChrisLR
47be47c009 Add get_component_slot helper method 2024-02-24 10:54:53 -05:00
ChrisLR
191be0365c Fix Signals registration 2024-02-24 10:54:50 -05:00
ChrisLR
2875674baf Update docs 2024-01-14 13:33:23 -05:00
ChrisLR
6ad6522fa4 Add docstrings 2024-01-14 12:58:26 -05:00
ChrisLR
37e70cc7fa Rewrote test assertions to django style 2024-01-02 11:35:39 -05:00
ChrisLR
5f60075fdf Add new tests 2024-01-02 11:35:39 -05:00
ChrisLR
4071ae7b86 Use __get__ instead when autocreating to avoid overriding initial values 2024-01-02 11:35:39 -05:00
ChrisLR
476df0ea3e Fix Field at_added call 2024-01-02 10:43:00 -05:00
ChrisLR
2ff534c56a Fix ComponentProperty 2024-01-02 10:42:30 -05:00
ChrisLR
74f8715d5a Add cmd_set on load 2024-01-02 10:42:29 -05:00
ChrisLR
217bd711e7 Refactor Component registering with cherry-picked additions 2023-12-14 12:30:53 -05:00
Griatch
6e096fa3cb Update CHANGELOG 2023-12-11 19:53:38 +01:00
Griatch
dc6be34371
Merge pull request #3361 from scyfris/fix_3307
Fix issue with helper func _on_monitor_change
2023-12-11 19:51:42 +01:00
scyfris
830350b457 Fix issue with helper func _on_monitor_change
This changes causes _on_monitor_change to first separate out the
category from the attribute field name in order to properly reference
the attribute on the object.  This fixes errors such as:

  File "C:\Users\Scyfris\Projects\norn\evennia\evennia\scripts\monitorhandler.py", line 118, in at_update
    callback(obj=obj, fieldname=fieldname, **kwargs)
  File "C:\Users\Scyfris\Projects\norn\evennia\evennia\server\inputfuncs.py", line 425, in _on_monitor_change
    callsign = {outputfunc_name: {"name": name, "value": _GA(obj, fieldname)}}
AttributeError: 'Attribute' object has no attribute 'db_value[base]'
2023-12-11 10:30:53 -06:00
Griatch
b6d9282594 Further tests with non-sqlite unit tests 2023-12-10 23:56:50 +01:00
Griatch
3e70507730 More tests for non-sqlite unit tests 2023-12-10 21:43:59 +01:00
Griatch
28a85368d6 Fix path in rpsystem contrib readme. Try to address unit test build issues for non-sqlite dbs 2023-12-10 21:03:09 +01:00
Griatch
c37dde248e Update CHANGELOG, some refining of docs 2023-12-10 19:59:24 +01:00
Griatch
e544b50866 Fix load error with the new overridable ajax webclient 2023-12-10 19:58:57 +01:00
Griatch
5cd58f4ef8
Merge pull request #3359 from InspectorCaracal/gendersub-patch
Fix gendersub contrib's gender sourcing
2023-12-10 17:49:39 +01:00
Griatch
1d889e4841
Merge pull request #3358 from InspectorCaracal/patch-13
Reset portal's `server_restart_mode` on server start
2023-12-10 17:48:08 +01:00
Griatch
73b71fdb56
Merge pull request #3357 from homeofpoe/patch-23
Update characters.py
2023-12-10 17:44:37 +01:00
Griatch
cd5b0de5b1
Merge pull request #3348 from volundmush/customizable_ajax
Ajax client classes are now customizable.
2023-12-10 17:41:12 +01:00
Griatch
3062a31363
Merge pull request #3346 from volundmush/cmdhandler_refactor
Streamlined cmdhandler to support more extension.
2023-12-10 17:34:01 +01:00
Cal
e8aafa0dae better handling of non-gendered source objects 2023-12-08 11:55:19 -07:00
Cal
f9deefa15c reference from_obj for gender 2023-12-08 11:21:46 -07:00
Griatch
87360833e4 Add custom Evennia chatGPT link to Links docs 2023-12-07 09:55:02 +01:00
Griatch
c2f3ff5b00 Fix extended room unit test 2023-12-06 10:13:37 +01:00
InspectorCaracal
b932df274c
reset server_restart_mode 2023-12-05 18:36:14 -07:00
homeofpoe
dfb8d89855
Update characters.py
Weild to wield
2023-12-05 15:32:42 -08:00
Griatch
3e6ea6a8bf Fix preposition for seasonal names in extended room prefix 2023-12-04 15:26:01 +01:00
Andrew Bastien
1cfee2352b Renaming things to be more Evennia'ish. 2023-12-02 19:56:48 -05:00
Andrew Bastien
97c73d133d Cleaned up refactor to support more extension. 2023-12-02 19:37:25 -05:00
Andrew Bastien
d825994230 Ajax client classes are now customizable. 2023-12-02 19:12:21 -05:00
Griatch
e2a7c54e24 Up CI postgres version to 12 2023-12-03 00:02:14 +01:00
Griatch
f4e78d4552 Depend Twisted >=23.10,<24, Django 4.0-4.2 <4.3 2023-12-02 23:31:24 +01:00
Griatch
18a72c09e6 Further fixes to tests 2023-12-02 22:19:19 +01:00
Griatch
ca35b323ae Make erroring LLM unit test more stringent 2023-12-02 22:03:45 +01:00
Griatch
a56852d38d Fix link to twitch-combat batch script in docs. Resolve #3332 2023-12-02 21:56:57 +01:00
Griatch
0f39677b46 More work with cleanup of unit tests 2023-12-02 21:46:04 +01:00
Griatch
48fdc2c935 Update CHANGELOG 2023-12-02 21:35:45 +01:00
Griatch
6764d99455
Merge pull request #3351 from InspectorCaracal/docs-patch-1
Update documentation references to `develop`
2023-12-02 21:33:34 +01:00
Griatch
8ee119a599
Merge pull request #3350 from volundmush/help_webclient_keys
Fixed stale protocol keys in CmdHelp
2023-12-02 21:30:45 +01:00