Commit Graph

4542 Commits (ba7b2795ecb9c27f0dd2e9b009add060b70bab49)

Author SHA1 Message Date
neonandrii ba7b2795ec Issue-2812 - Allow overridden converse methods to accept messages - adding default message=None to MycroftSkill.converse and changing the signature check in the skill manager. 2021-01-22 17:20:48 +02:00
neonandrii 416eebfee7 Issue-2812 - Allow overridden converse methods to accept messages - adding default message=None to MycroftSkill.converse and changing the signature check in the skill manager. 2021-01-22 17:16:22 +02:00
neonandrii 3dca3a488a Issue-2812 - Allow overridden converse methods to accept messages 2021-01-21 11:26:46 +02:00
Åke 1a179dacab
Merge pull request #2809 from PureTryOut/location-referenced-before-assignment-2
Stop location being referenced before assignment
2021-01-19 21:28:53 +01:00
Bart Ribbers eb8af7f87a Stop location being referenced before assignment
In cases where the location can't be determined by the device or a
config setting, the location variable wouldn't exist but it would still
be referenced.
This makes sure the variable always exists, but if not changed is equal
to None
2021-01-19 11:44:14 +01:00
Kris Gesling 5e6ba03695
Merge pull request #2805 from forslund/docs/filesystem
Docs/filesystem
2021-01-19 14:49:42 +09:30
Åke 99f43b964e
Merge pull request #2808 from MycroftAI/feature/vk-wait-for-service-msg
Add VK method to wait for audio service
2021-01-18 07:33:27 +01:00
Kris Gesling 303f6a3b95
Merge pull request #2792 from MycroftAI/feature/common-bus-connection
Refactor - common bus connection method
2021-01-18 15:58:37 +09:30
Kris Gesling 89555380d8 Add VK method to wait for audio service 2021-01-18 11:16:41 +09:30
Åke Forslund c641325e48 Add filesystem documentation to api documentation 2021-01-17 09:51:58 +01:00
Åke Forslund ae7472b9e1 Use real xdg module when running sphinxdocs
This fixes an error in settings.py where the REMOTE_CACHE can't be
built due to a mocking issue.
2021-01-17 09:42:53 +01:00
Åke Forslund 375adbbdf0 Make audioservice load backends without callback 2021-01-15 13:49:40 +01:00
Kris Gesling e69f3517c8
Merge pull request #2800 from MycroftAI/bugfix/mimic2-cache-dir
Fix Mimic 2 cache directory error
2021-01-15 10:25:40 +09:30
Chris Veilleux 042a23879c Don't build the cache directory if it already exists. 2021-01-14 18:00:58 -06:00
Chris Veilleux a52d45ffff Re-added argument removed in previous commit to preserve backwards compatibility. 2021-01-14 14:29:44 -06:00
Chris Veilleux 91b1a9a15c Fixed an error that occurs when the pre-loaded cache directory already exists but the cache_text.txt file does not. 2021-01-13 21:47:09 -06:00
Kris Gesling 974be29c57
Merge pull request #2781 from AIIX/fix/network_remove_pages
Fix missing remove page implementation, show idle if all pages removed
2021-01-11 21:58:22 +09:30
Aditya Mehra 7c2ca269e2 use mycroft.device.show.idle 2021-01-11 15:11:16 +05:30
Kris Gesling 767d2d6912 add whitelist arg to docstring 2021-01-11 16:57:25 +09:30
Kris Gesling ad32a7a873 move bus connect method to process_utils 2021-01-11 16:57:25 +09:30
Kris Gesling f3c76fac44 Audio service to use common bus client method 2021-01-11 16:57:25 +09:30
Kris Gesling 960f650c88 Skills service to use common bus client method 2021-01-11 16:57:25 +09:30
Kris Gesling 0423daeb4c Voice service to use common bus cilent method 2021-01-11 16:57:25 +09:30
Kris Gesling e607acd4f7
Merge pull request #2793 from forslund/bugfix/vk-error-stability
Vk error stability
2021-01-11 14:36:11 +09:30
Åke Forslund 83ed811dba Add check to make sure speak message has metadata
This can occur if a custom made speak message is injected and VK should
handle malformed speak messages.
2021-01-10 21:03:25 +01:00
Åke Forslund 35fd035337 Add timeout waiting for config change 2021-01-10 21:02:54 +01:00
Aditya Mehra eea66b4376 remove platform check and make the idle emit general 2021-01-06 13:20:17 +05:30
Kris Gesling 81eae60b61
Merge pull request #2758 from MycroftAI/refactor/enclosure-startup
Ensure messagebus is connected before reporting that the service is ready
2021-01-05 20:55:59 +09:30
Åke 33ee6c141b
Merge pull request #2791 from JarbasAl/vlc
Make sure vlc doesn't use video by supplying --no-video
2021-01-05 08:28:40 +01:00
Kris Gesling 013726e5bc
Merge pull request #2785 from timgates42/bugfix_typo_returns
docs: fix simple typo, retruns -> returns
2021-01-05 12:07:15 +09:30
Kris Gesling c0dac56ace
Merge pull request #2790 from forslund/bugfix/pairing-complete-mic-unmute
Unshadow Message class in _handle_pairing_complete
2021-01-05 10:20:14 +09:30
Kris Gesling 81bd4f3468
Merge pull request #2707 from forslund/feature/remote-startup-on-change
Fix remote settings overwrite at startup
2021-01-05 10:10:40 +09:30
jarbasal 1338c4c949 no video 2021-01-04 22:36:36 +00:00
Åke Forslund 9d450b5890 Unshadow Message class in _handle_pairing_complete
Fixes a small typo making the unmute after first pairing call fail.
2021-01-04 21:38:05 +01:00
JarbasAI f1d7141bf2
fix/intent_api (#2786)
* fix/fix/intent_api

* get active skills

* fix/intent_api

* fix/intent_api

* typos

Co-authored-by: jarbasal <jarbasai@mailfence.com>
2020-12-31 12:56:44 +09:30
Åke Forslund bd19d1673c Fix remote settings overwrite at startup
Mycroft always mangeled any local settings changes at startup.

This caches the last settings from home on disk and only updates skills
_if_ there is a change.

This means that as if a member is changed locally (manually edited or
changed by the skill itself) it will be kept until another change is made
to the skill on Home.
2020-12-29 23:03:21 +01:00
Kris Gesling 0050bde937
Merge pull request #2762 from MycroftAI/feature/improve-concurrent-ci
Feature: enable simultaneous CI jobs and keep logs
2020-12-29 10:06:32 +09:30
Tim Gates 66270c3cd7
docs: fix simple typo, retruns -> returns
There is a small typo in mycroft/skills/skill_data.py.

Should read `returns` rather than `retruns`.
2020-12-24 08:18:14 +11:00
Åke 95fc0be02c
Merge pull request #2782 from PureTryOut/remove/six
Remove six from dependencies
2020-12-23 08:01:33 +01:00
Bart Ribbers 5a7c5ed056 Remove six from dependencies
Although some of the dependencies of MyCroft still use it, MyCroft
itself seems to have no uses of this anywhere, so let's get rid of it
(dependencies will pull it in on their own)
2020-12-19 11:56:42 +01:00
Aditya Mehra 9ed6baef22 fix case indentation 2020-12-18 14:03:08 +05:30
Aditya Mehra 89a07d05ab Add missing remove page implementation and show idle if all pages removed 2020-12-18 12:52:44 +05:30
Kris Gesling 4c254aa99f
Merge pull request #2780 from dalgwen/bugfix/issue-2779
Fix UnboundLocalError in AudioProducer
2020-12-15 22:29:48 +09:30
dalgwen 4747dd0e59 Fix UnboundLocalError in AudioProducer
==== Fixed Issues ====

====  Tech Notes ====
The variable should be declared outside the loop.
2020-12-15 10:16:34 +01:00
Kris Gesling a6dc99c1f5 add -f for file removal to ensure no prompt in CI 2020-12-09 14:35:02 +09:30
Kris Gesling 424382afca
Merge branch 'dev' into feature/improve-concurrent-ci 2020-12-09 14:15:33 +09:30
Åke Forslund b663bdd4f1 Validate fallback TTS object
Verify that the fallback object can execute when creating it
2020-12-09 14:13:17 +09:30
Åke Forslund 26901f1d54 Fix pylint issues 2020-12-09 14:13:17 +09:30
Åke Forslund 841998e274 Fix logs when Mimic is not found
If Mimic was not found at all the LOG message would raise an exception,
this fixes that issue and cleans up Exception chain
2020-12-09 14:13:17 +09:30
Kris Gesling a7702e09a3 Run CLA check on all branches 2020-12-09 14:13:17 +09:30