87a1d62414
ensure we don't try to join a thread that wasn't created
...
(in the event of a timeout error)
2023-10-21 07:48:09 +01:00
79260a0e47
check vban direction
...
check that index is numeric
remove button as possible key.
not defined in RT packets anyway
patch bump
2023-08-10 21:24:59 +01:00
a635109308
make better use of pattern matching features
...
error test updated
2023-08-10 19:12:52 +01:00
763e44df12
refactor target
...
add error test for ValueError
test badges updated
patch bump
2023-08-09 17:03:55 +01:00
4af7c0f694
initialize stop_event to None
...
in case outbound mode enabled
2023-08-05 14:05:18 +01:00
72d182a488
use Threading.Event object to terminate threads
...
until_stopped() added to Subscriber thread
2023-08-04 23:13:58 +01:00
d48e7ecd79
Correct type annotations None type.
2023-08-02 17:19:08 +01:00
a4b91bf5c6
deep_merge implemented
...
recursively merges dicts in profiles
patch bump
2023-07-12 04:52:50 +01:00
2a98707bf8
Adds ability to extend one config with another
...
apply_config() checks for 'extends' in TOML config
2.3.0 section added to CHANGELOG
three example extender.toml configs added
minor version bump
2023-07-11 20:27:52 +01:00
04e18b304b
log params on successful connection
...
raise VBANCMDError if invalid config key in apply_config()
2023-07-08 17:25:38 +01:00
2c8659a4e5
apply extended to support button, vban
2023-07-08 07:59:35 +01:00
1ad0347478
fixes bug with apply() if called from higher class
2023-07-05 19:20:57 +01:00
2c8e4cc87c
rename sendtext_only to outbound
...
to more accurately describe its purpose.
2023-07-05 14:08:27 +01:00
544e0f2a32
sendtext_only kwarg added.
...
readme, changelog updated.
minor version bump
2023-07-05 02:55:42 +01:00
174d95d08d
_conn_from_toml filepaths added.
2023-06-25 13:58:19 +01:00
91e49cbb55
tomllib/tomli now lazy loaded.
...
`Path.home() / "vban.toml" added to filepaths
`Path.home() / ".config" / "vban-cmd" / "vban.toml"` added to filepaths
VBANCMDError raised if ip not given and toml not located
2023-06-25 03:40:14 +01:00
onyx-and-iris
01c99d5b31
init ldirty
...
patch bump
2022-10-19 14:32:54 +01:00
onyx-and-iris
ee3a871d23
add a delimiter end of request string in _set_rt
...
fixes bug if more than a single command in request packet.
removed [{self.index}] from apply string. (duplicates)
2022-10-19 14:20:23 +01:00
onyx-and-iris
d57269f147
add ability to read conn info from toml
2022-10-07 20:00:56 +01:00
onyx-and-iris
4659cf7cdb
util:
...
in comp, consider level value clean if below -60.0
vbancmd:
pass tuple expansion into string format in version method.
ldirty and _get_levels logic now moved into rt packet class
2022-10-04 15:42:36 +01:00
onyx-and-iris
bfa1a718f9
user logger in apply_config
...
patch bump
2022-09-29 12:34:02 +01:00
onyx-and-iris
2048a807d1
move event info logging from Updater into VbanCmd
...
odd logout logging
patch bump
2022-09-29 11:48:30 +01:00
onyx-and-iris
23bc15e437
logging module now used to log interface events.
...
register, deregister method aliases added to Subject class.
2022-09-28 18:13:07 +01:00
onyx-and-iris
1169435104
base renamed to vbancmd
...
misc renamed to event
info message fixed if no events subbed to
now using logging module in Event class
2022-09-28 18:03:22 +01:00