From e929a015d4a23b18188f3963cacc9412dd96fb0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Trellu?= Date: Fri, 23 Jun 2023 12:35:45 -0400 Subject: [PATCH 01/26] Remove PIDLock to fix #4 (#13) --- ovos_messagebus/__main__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ovos_messagebus/__main__.py b/ovos_messagebus/__main__.py index 978f527..c1a58c4 100644 --- a/ovos_messagebus/__main__.py +++ b/ovos_messagebus/__main__.py @@ -22,7 +22,7 @@ from ovos_utils import create_daemon, wait_for_exit_signal from ovos_messagebus.load_config import load_message_bus_config from ovos_utils.log import LOG, init_service_logger -from ovos_utils.process_utils import reset_sigint_handler, PIDLock +from ovos_utils.process_utils import reset_sigint_handler from tornado import web, ioloop from ovos_messagebus.event_handler import MessageBusEventHandler @@ -41,10 +41,8 @@ def on_stopping(): def main(ready_hook=on_ready, error_hook=on_error, stopping_hook=on_stopping): - PIDLock.init() reset_sigint_handler() init_service_logger("bus") - PIDLock("bus") LOG.info('Starting message bus service...') config = load_message_bus_config() routes = [(config.route, MessageBusEventHandler)] From a79961ffec567b02169a554118d0c8c2e173ed49 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 23 Jun 2023 16:36:03 +0000 Subject: [PATCH 02/26] Increment Version to 0.0.4a1 --- ovos_messagebus/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index 23532c1..441e978 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 0 VERSION_MINOR = 0 -VERSION_BUILD = 3 -VERSION_ALPHA = 0 +VERSION_BUILD = 4 +VERSION_ALPHA = 1 # END_VERSION_BLOCK From 69296ce1b19a22b6c4d6f60c05f6d1d6ac4c0cfb Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 23 Jun 2023 16:36:31 +0000 Subject: [PATCH 03/26] Update Changelog --- CHANGELOG.md | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0435f66..27b4bcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,33 +1,18 @@ # Changelog -## [0.0.3](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.3) (2023-05-24) +## [0.0.4a1](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a1) (2023-06-23) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.3a2...0.0.3) - -**Merged pull requests:** - -- Replace docker container actions [\#10](https://github.com/OpenVoiceOS/ovos-messagebus/pull/10) ([NeonDaniel](https://github.com/NeonDaniel)) - -## [V0.0.3a2](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.3a2) (2023-05-24) - -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.3a1...V0.0.3a2) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.3...0.0.4a1) **Fixed bugs:** +- AttributeError: 'MemoryTempfile' object has no attribute 'tempdir' [\#12](https://github.com/OpenVoiceOS/ovos-messagebus/issues/12) - Killed if previous bus.pid exists [\#4](https://github.com/OpenVoiceOS/ovos-messagebus/issues/4) -**Closed issues:** - -- Error when running [\#7](https://github.com/OpenVoiceOS/ovos-messagebus/issues/7) - **Merged pull requests:** -- Update GitHub automation [\#9](https://github.com/OpenVoiceOS/ovos-messagebus/pull/9) ([NeonDaniel](https://github.com/NeonDaniel)) -- Update dependencies to stable versions [\#8](https://github.com/OpenVoiceOS/ovos-messagebus/pull/8) ([NeonDaniel](https://github.com/NeonDaniel)) - -## [V0.0.3a1](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.3a1) (2023-04-30) - -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.2...V0.0.3a1) +- Remove PIDLock to fix \#4 [\#13](https://github.com/OpenVoiceOS/ovos-messagebus/pull/13) ([goldyfruit](https://github.com/goldyfruit)) +- Replace docker container actions [\#10](https://github.com/OpenVoiceOS/ovos-messagebus/pull/10) ([NeonDaniel](https://github.com/NeonDaniel)) From d8837f8ad0c6da2849c30222c50d925b45d1a59f Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Wed, 16 Aug 2023 19:35:21 +0100 Subject: [PATCH 04/26] fix/gui upload (#17) --- ovos_messagebus/event_handler.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ovos_messagebus/event_handler.py b/ovos_messagebus/event_handler.py index ac028e4..b131103 100644 --- a/ovos_messagebus/event_handler.py +++ b/ovos_messagebus/event_handler.py @@ -19,6 +19,7 @@ from ovos_utils.messagebus import FakeMessage as Message from ovos_utils.log import LOG +from ovos_config import Configuration from pyee import EventEmitter from tornado.websocket import WebSocketHandler @@ -33,13 +34,23 @@ def __init__(self, application, request, **kwargs): def on(self, event_name, handler): self.emitter.on(event_name, handler) + @property + def max_message_size(self) -> int: + return Configuration().get("websocket", {}).get("max_msg_size", 10) * 1024 * 1024 + def on_message(self, message): - LOG.debug(message) + try: deserialized_message = Message.deserialize(message) except Exception: return + filter_ogs = ["gui.status.request", "gui.page.upload"] + if deserialized_message.msg_type not in filter_ogs: + LOG.debug(deserialized_message.msg_type + + f' source: {deserialized_message.context.get("source", [])}' + + f' destination: {deserialized_message.context.get("destination", [])}') + try: self.emitter.emit(deserialized_message.msg_type, deserialized_message) From d57be2d7dc701fac08c283986704eaf82ab1b11d Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Wed, 16 Aug 2023 18:35:37 +0000 Subject: [PATCH 05/26] Increment Version to 0.0.4a2 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index 441e978..388be45 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 1 +VERSION_ALPHA = 2 # END_VERSION_BLOCK From 9dcef6b5b1c771e237384a7811cde5c5000bac5b Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Wed, 16 Aug 2023 18:35:59 +0000 Subject: [PATCH 06/26] Update Changelog --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27b4bcc..3b07fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog -## [0.0.4a1](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a1) (2023-06-23) +## [0.0.4a2](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a2) (2023-08-16) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.3...0.0.4a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a1...0.0.4a2) + +**Closed issues:** + +- Consider making this configurable with a default value. maybe `Configuration["logs"]["excluded_messages"]`? [\#16](https://github.com/OpenVoiceOS/ovos-messagebus/issues/16) + +## [V0.0.4a1](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a1) (2023-06-23) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.3...V0.0.4a1) **Fixed bugs:** From ed38f3002736bcc102f7e78752cdef41510ff41e Mon Sep 17 00:00:00 2001 From: JarbasAi Date: Wed, 27 Sep 2023 22:03:15 +0100 Subject: [PATCH 07/26] simplify if --- ovos_messagebus/event_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ovos_messagebus/event_handler.py b/ovos_messagebus/event_handler.py index b131103..1fa2e39 100644 --- a/ovos_messagebus/event_handler.py +++ b/ovos_messagebus/event_handler.py @@ -22,6 +22,7 @@ from ovos_config import Configuration from pyee import EventEmitter from tornado.websocket import WebSocketHandler +from ovos_bus_client.session import SessionManager client_connections = [] @@ -50,6 +51,8 @@ def on_message(self, message): LOG.debug(deserialized_message.msg_type + f' source: {deserialized_message.context.get("source", [])}' + f' destination: {deserialized_message.context.get("destination", [])}') + LOG.debug(str(deserialized_message.data)) + LOG.debug(SessionManager.get(deserialized_message).serialize()) try: self.emitter.emit(deserialized_message.msg_type, From 54897186fe291f27bfb29c46b0bcd039006682da Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Wed, 27 Sep 2023 21:03:39 +0000 Subject: [PATCH 08/26] Increment Version to 0.0.4a3 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index 388be45..8cb0779 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 2 +VERSION_ALPHA = 3 # END_VERSION_BLOCK From 3449230f5dc2652999b86a7a1b6d9d7aa66609d9 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Wed, 27 Sep 2023 21:04:09 +0000 Subject: [PATCH 09/26] Update Changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b07fd0..2ccb371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## [0.0.4a2](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a2) (2023-08-16) +## [V0.0.4a2](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a2) (2023-08-16) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a1...0.0.4a2) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a1...V0.0.4a2) **Closed issues:** From c05fcc31b3d30546cb5aad0627d7a8f77d7ae547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Trellu?= Date: Thu, 28 Sep 2023 10:20:13 -0400 Subject: [PATCH 10/26] [requirements] Add missing ovos-bus-client (#18) --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e94c8a7..a059bdb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ tornado~=6.0, >=6.0.3 +ovos-bus-client~=0.0, >=0.0.5 ovos-utils~=0.0, >=0.0.32 -ovos-config~=0.0,>=0.0.8 \ No newline at end of file +ovos-config~=0.0,>=0.0.8 From f4559d819b765bb02d1a4b3fe1c0208a9a1e271a Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 28 Sep 2023 14:20:30 +0000 Subject: [PATCH 11/26] Increment Version to 0.0.4a4 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index 8cb0779..a7d90f3 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 3 +VERSION_ALPHA = 4 # END_VERSION_BLOCK From 0d8600603b3a0cc798c3e2eaaa9012f462e7f4a0 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 28 Sep 2023 14:20:55 +0000 Subject: [PATCH 12/26] Update Changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ccb371..026f4ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.0.4a4](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a4) (2023-09-28) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a3...0.0.4a4) + +**Merged pull requests:** + +- \[requirements\] Add missing ovos-bus-client [\#18](https://github.com/OpenVoiceOS/ovos-messagebus/pull/18) ([goldyfruit](https://github.com/goldyfruit)) + +## [V0.0.4a3](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a3) (2023-09-27) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a2...V0.0.4a3) + ## [V0.0.4a2](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a2) (2023-08-16) [Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a1...V0.0.4a2) From 5f43d722a584cae83143d5f6f148c54aed937b8e Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Tue, 17 Oct 2023 23:26:59 +0100 Subject: [PATCH 13/26] log tweaks (#19) --- ovos_messagebus/event_handler.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ovos_messagebus/event_handler.py b/ovos_messagebus/event_handler.py index 1fa2e39..2ff6017 100644 --- a/ovos_messagebus/event_handler.py +++ b/ovos_messagebus/event_handler.py @@ -50,9 +50,8 @@ def on_message(self, message): if deserialized_message.msg_type not in filter_ogs: LOG.debug(deserialized_message.msg_type + f' source: {deserialized_message.context.get("source", [])}' + - f' destination: {deserialized_message.context.get("destination", [])}') - LOG.debug(str(deserialized_message.data)) - LOG.debug(SessionManager.get(deserialized_message).serialize()) + f' destination: {deserialized_message.context.get("destination", [])}\n' + f'SESSION: {SessionManager.get(deserialized_message).serialize()}') try: self.emitter.emit(deserialized_message.msg_type, From 911c688b2a21919566995f2bf372020351987aa2 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Tue, 17 Oct 2023 22:27:19 +0000 Subject: [PATCH 14/26] Increment Version to 0.0.4a5 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index a7d90f3..4883eff 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 4 +VERSION_ALPHA = 5 # END_VERSION_BLOCK From 0e188b46b817f1f11bc4db97d8c1f4360b178f60 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Tue, 17 Oct 2023 22:27:48 +0000 Subject: [PATCH 15/26] Update Changelog --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 026f4ec..863c78c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog -## [0.0.4a4](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a4) (2023-09-28) +## [0.0.4a5](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a5) (2023-10-17) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a3...0.0.4a4) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a4...0.0.4a5) + +**Fixed bugs:** + +- log tweaks [\#19](https://github.com/OpenVoiceOS/ovos-messagebus/pull/19) ([JarbasAl](https://github.com/JarbasAl)) + +## [V0.0.4a4](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a4) (2023-09-28) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a3...V0.0.4a4) **Merged pull requests:** From 87900d9e98e361080cf31b1d1c619dab7a6db34f Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Fri, 29 Dec 2023 02:07:01 +0000 Subject: [PATCH 16/26] Update requirements.txt (#20) --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index a059bdb..7eb56c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ tornado~=6.0, >=6.0.3 -ovos-bus-client~=0.0, >=0.0.5 -ovos-utils~=0.0, >=0.0.32 -ovos-config~=0.0,>=0.0.8 +ovos-bus-client~=0.0, >=0.0.7 +ovos-utils~=0.0, >=0.0.37 +ovos-config~=0.0,>=0.0.12 From faf187ad8593c9c087e7b2e79716814338fd0269 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 29 Dec 2023 02:07:13 +0000 Subject: [PATCH 17/26] Increment Version to 0.0.4a6 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index 4883eff..9979e0f 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 5 +VERSION_ALPHA = 6 # END_VERSION_BLOCK From e48e79757962c8af951540881c39197d6260fdb4 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 29 Dec 2023 02:07:36 +0000 Subject: [PATCH 18/26] Update Changelog --- CHANGELOG.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 863c78c..84bb83c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,20 @@ # Changelog -## [0.0.4a5](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a5) (2023-10-17) +## [0.0.4a6](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a6) (2023-12-29) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a4...0.0.4a5) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a5...0.0.4a6) + +**Closed issues:** + +- This happens when I ctrl+c a skill launched by ovos-skill-launcher [\#14](https://github.com/OpenVoiceOS/ovos-messagebus/issues/14) + +**Merged pull requests:** + +- Update requirements.txt [\#20](https://github.com/OpenVoiceOS/ovos-messagebus/pull/20) ([JarbasAl](https://github.com/JarbasAl)) + +## [V0.0.4a5](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a5) (2023-10-17) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a4...V0.0.4a5) **Fixed bugs:** From b4c41624f4537a350803c264fe04b821171a192c Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Fri, 29 Dec 2023 22:11:55 +0000 Subject: [PATCH 19/26] packaging/update_imports (#21) less deprecation warnings --- .gitignore | 1 + ovos_messagebus/event_handler.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9595be5..c8ece8c 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ dist # Created by unit tests .pytest_cache/ +/.gtm/ diff --git a/ovos_messagebus/event_handler.py b/ovos_messagebus/event_handler.py index 2ff6017..ce71cf5 100644 --- a/ovos_messagebus/event_handler.py +++ b/ovos_messagebus/event_handler.py @@ -17,7 +17,7 @@ import sys import traceback -from ovos_utils.messagebus import FakeMessage as Message +from ovos_utils.fakebus import Message from ovos_utils.log import LOG from ovos_config import Configuration from pyee import EventEmitter From 32b9618f8812761c08f0b871732da22f4495da99 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 29 Dec 2023 22:12:12 +0000 Subject: [PATCH 20/26] Increment Version to 0.0.4a7 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index 9979e0f..e27dc7e 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 6 +VERSION_ALPHA = 7 # END_VERSION_BLOCK From 8a6e5bc622b1c8fab234f4230aa2f95dc854cc62 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 29 Dec 2023 22:12:36 +0000 Subject: [PATCH 21/26] Update Changelog --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84bb83c..8da75a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog -## [0.0.4a6](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a6) (2023-12-29) +## [0.0.4a7](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a7) (2023-12-29) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a5...0.0.4a6) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a6...0.0.4a7) + +**Merged pull requests:** + +- packaging/update\_imports [\#21](https://github.com/OpenVoiceOS/ovos-messagebus/pull/21) ([JarbasAl](https://github.com/JarbasAl)) + +## [V0.0.4a6](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a6) (2023-12-29) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a5...V0.0.4a6) **Closed issues:** From fe7d222ca98cc7156100c66efd4c561a60e7860e Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Sat, 30 Dec 2023 01:14:17 +0000 Subject: [PATCH 22/26] fix/log_spam (#22) * packaging/update_imports less deprecation warnings * fix/log_spam get rid of ``` ovos_bus_client.session:from_message:471 - WARNING - No session context in message:connected ``` --- ovos_messagebus/event_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ovos_messagebus/event_handler.py b/ovos_messagebus/event_handler.py index ce71cf5..e54824d 100644 --- a/ovos_messagebus/event_handler.py +++ b/ovos_messagebus/event_handler.py @@ -65,7 +65,8 @@ def on_message(self, message): client.write_message(message) def open(self): - self.write_message(Message("connected").serialize()) + self.write_message(Message("connected", + context={"session": {"session_id": "default"}}).serialize()) client_connections.append(self) def on_close(self): From ed652a84a1ddc85b44ec0e1d43f12af1e60c7f3d Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Sat, 30 Dec 2023 01:14:30 +0000 Subject: [PATCH 23/26] Increment Version to 0.0.4a8 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index e27dc7e..c4e4681 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 7 +VERSION_ALPHA = 8 # END_VERSION_BLOCK From d9b1ffc20dc15bf8854034d7765ab8662ddc1c29 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Sat, 30 Dec 2023 01:14:48 +0000 Subject: [PATCH 24/26] Update Changelog --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8da75a0..c35492d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog -## [0.0.4a7](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a7) (2023-12-29) +## [0.0.4a8](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a8) (2023-12-30) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a6...0.0.4a7) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a7...0.0.4a8) + +**Fixed bugs:** + +- fix/log\_spam [\#22](https://github.com/OpenVoiceOS/ovos-messagebus/pull/22) ([JarbasAl](https://github.com/JarbasAl)) + +## [V0.0.4a7](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a7) (2023-12-29) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a6...V0.0.4a7) **Merged pull requests:** From 486f046e32c0ee6a64e3130efbe74e77169bf1d4 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Sat, 30 Dec 2023 01:18:49 +0000 Subject: [PATCH 25/26] Increment Version to 0.0.4 --- ovos_messagebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index c4e4681..b5fb52b 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -2,5 +2,5 @@ VERSION_MAJOR = 0 VERSION_MINOR = 0 VERSION_BUILD = 4 -VERSION_ALPHA = 8 +VERSION_ALPHA = 0 # END_VERSION_BLOCK From 34f85740d3b967a01e0108857e1d576e89e89124 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Sat, 30 Dec 2023 01:19:10 +0000 Subject: [PATCH 26/26] Update Changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c35492d..c7364f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## [0.0.4a8](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.4a8) (2023-12-30) +## [V0.0.4a8](https://github.com/OpenVoiceOS/ovos-messagebus/tree/V0.0.4a8) (2023-12-30) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a7...0.0.4a8) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/V0.0.4a7...V0.0.4a8) **Fixed bugs:**