Commit Graph

4924 Commits (dev)

Author SHA1 Message Date
Kris Gesling c21e74d4d4
Merge pull request #2960 from MycroftAI/feature/upgrade-adapt
Upgrade Adapt to v0.5.1
2021-08-03 15:25:57 +09:30
Kris Gesling 480c604dfa
Merge pull request #2962 from MycroftAI/feature/configurable-network-tests
Make network tests configurable
2021-08-03 07:55:47 +09:30
Kris Gesling a794db0c9a Make network tests configurable
Previously test URIs were hardcoded.
They can now be configured in mycroft.conf
2021-08-02 21:00:05 +09:30
Kris Gesling b7a0853f3c Upgrade Adapt to v0.5.1
- Fix removal of regex entities
- Update trie dosctrings
- Guarantee sorted results from IntentDeterminationEngine
- Enumerate all possible parse results if context or regex entities are in
play.
- Explicit test to assert results are sorted
- Fix name of LICENSE file in Adapt package
2021-07-27 23:06:43 +09:30
Kris Gesling 450a092887
Merge pull request #2957 from forslund/bugfix/load-audioservice-plugin
Fix loading of audioservice plugins
2021-07-26 20:51:47 +09:30
Åke Forslund b40fcf0e93 Update VK then step for checking messagetype
Simplify the function and use the standard then_wait() for the heavy lifting,
this makes it utilize the new event driven functionality.
2021-07-23 09:46:07 +02:00
Åke Forslund 171d3840f3 Remove sleeps from end of scenarios and features 2021-07-23 09:45:44 +02:00
Åke Forslund 578a3ec439 Use event to capture messages in then_wait()
Instead of busily polling the bus for new messages an event handler is
registered (and teared down after check is complete)
2021-07-23 09:45:44 +02:00
jarbasal 24c4ba4a05 Fix loading of audioservice plugins 2021-07-23 09:17:58 +02:00
Aditya Mehra 45d5d9e478 Add feature request functionality to webviews 2021-07-23 15:14:06 +09:30
Chris Veilleux 1d03eadb59
Merge pull request #2954 from forslund/bugfix/vk-missing-stock-skill
VK: Remove mycroft-stock from install list
2021-07-22 14:32:15 -05:00
Åke Forslund cbd17a8dc3 Remove mycroft-stock from install list 2021-07-22 17:20:04 +02:00
Kris Gesling d1816f5933
Merge pull request #2807 from forslund/test/jenkins-update-comment
Add update comment logic to Jenkins
2021-07-14 09:43:49 +09:30
Kris Gesling 31e1e2d857
Merge pull request #2927 from ChanceNCounter/fix/lang-none
stop passing lang=None to Lingua Franca
2021-07-12 21:46:17 +09:30
Chris Veilleux 8f41d176d0 remove print statement used for testing 2021-07-09 16:39:49 -05:00
Chris Veilleux 6fd97b4e85 fixed PEP8 issue 2021-07-09 15:45:07 -05:00
Chris Veilleux fbb1d06adc Merge remote-tracking branch 'origin/refactor/vk-test-helpers' into refactor/vk-test-helpers 2021-07-09 15:43:25 -05:00
Åke Forslund 4b66fb1dd1 Add docstrings to InterceptAllBusClient 2021-07-09 17:06:33 +02:00
Åke Forslund cf355360ad Fix message race when using clear_messages()
This handles a scenario that a message arrives between a call to get_messages() and clear_messages(). clear_messages() will only clear the messages that has been evaluated atleast once.

A new method clear_all_messages() has been added to clear the entire message stack and is used between scenarios to reset the list.
2021-07-09 17:06:30 +02:00
Kris Gesling b3a0b3b1e4
Merge pull request #2938 from forslund/bugfix/tts-returned-cache-path
Fix TTS using the returned path
2021-07-08 11:56:32 +09:30
Chris Veilleux 10d1dcfe04
Merge pull request #2945 from MycroftAI/refactor/race-condition-comment
Added comments to document race condition
2021-07-07 02:17:59 -05:00
Chris Veilleux 105a5b4be4 Improve the speed of waiting for dialogs by exiting the loop after a match is spoken. Also provide error handling for when a match is not found. 2021-07-06 14:26:23 -05:00
Chris Veilleux 18cb28088d Added comments to document race condition 2021-07-06 13:48:52 -05:00
Kris Gesling 2deab67021
Merge pull request #2943 from MycroftAI/feature/localization-fa-ir
fa-ir localization initialized
2021-07-06 22:16:44 +09:30
Kris Gesling d14e6b65d7 Use unique paths for temp file storage
When transferring the Allure report and the Mycroft logs to the
report host, the zip files were being written to a common
directory. In the event that multiple jobs were writing to or
reading from this directory at the same time, conflicts could
occur.

This ensures that both zip files are written to unique paths
and cleaned up afterward.
2021-07-06 12:41:35 +09:30
HKalbasi 28c52fef75 fa-ir localization initialized (#2778)
==== Localization Notes ====
fa-ir: 35 strings added
2021-07-06 07:10:23 +09:30
Chris Veilleux 80f9eb053c
Merge pull request #2937 from MycroftAI/bugfix/vk-race-condition
Fix VK race condition in MycroftSkill.get_response()
2021-07-02 15:03:03 -05:00
Åke Forslund 0ae02b5939 Fix TTS using the returned path 2021-07-02 08:34:03 +02:00
Chris Veilleux 3959267726 Reordered wait_while_speaking and sleep to fix a race condition that was occurring with the converse logic in MycroftSkill.get_response() 2021-07-01 22:31:22 -05:00
Kris Gesling 6099da18b3
Merge pull request #2934 from MycroftAI/bugfix/tts-audio-file-path
Fix #2929: use returned TTS audio file path
2021-06-30 07:03:01 +09:30
Kris Gesling 0394568704 Use returned TTS audio file path
This reverts an unintentional breaking change.
A TTS engine may return a different file path than was requested.
This again uses the returned path but adds a deprecation warning
that this behaviour will no longer be supported in an upcoming release.

Fixes #2929
2021-06-29 21:53:53 +09:30
Kris Gesling 0cbd040a55
Merge pull request #2900 from MycroftAI/bugfix/common-play-active
Add Common Play to active Skills when invoked
2021-06-29 20:59:33 +09:30
Kris Gesling 27165148d4
Merge pull request #2936 from MycroftAI/bugfix/readme-skill-config
Remove docs encouraging Skill config via mycroft.conf
2021-06-29 09:02:37 +09:30
Kris Gesling cfe03a4285 Remove docs encouraging Skill config via mycroft.conf 2021-06-28 16:55:03 +09:30
Kris Gesling fae1d3f0c1
Merge pull request #2931 from MycroftAI/bugfix/persistent-cache-none-dir
Stop creation of 'None' cache directory
2021-06-28 16:43:34 +09:30
Kris Gesling 21eabceb29 Do not create a 'None' cache directory
The persistent_cache_dir was assigned None if no preloaded_cache existed.
This was then created as a directory when it's clearly not needed.
2021-06-25 14:26:14 +09:30
ChanceNCounter a211441acc stop passing lang=None to Lingua Franca
LF's only breaking change over the past two versions has been the
deprecation of `lang=None` as a valid parameter. This is because the new
language loading paradigm wants to load certain functions on the fly,
which it cannot do when it is explicitly told to look for a null lang.

I've addressed this by passing `lingua_franca.get_default_lang()` where
the `lang=None` call remained.

Bonus: Gets rid of over 200 DeprecationWarnings in unit tests!
2021-06-23 21:56:19 -07:00
Kris Gesling 8fa6508cce
Merge pull request #2715 from el-tocino/issue-1943
Fix #1943 - do not attempt update when only launching CLI
2021-06-22 18:59:29 +09:30
Kris Gesling 1f000b69c7
Merge pull request #2917 from MycroftAI/dependabot/pip/pillow-8.2.0
Bump pillow from 8.1.1 to 8.2.0
2021-06-22 17:19:23 +09:30
el-tocino 63e7b60837
Update start-mycroft.sh 2021-06-18 00:52:52 -05:00
Kris Gesling d7c13bdc17
Merge pull request #2693 from MycroftAI/feature/update-contributor-guide
Fix broken link in Contributor Guide
2021-06-17 22:26:45 +09:30
Kris Gesling 90010a65f6
Merge pull request #2908 from MycroftAI/feature/lingua-franca-v0.4.2
Upgrade Lingua Franca from v0.4.1 > v0.4.2
2021-06-15 12:08:46 +09:30
Kris Gesling 7a9c762272
Merge pull request #2914 from forslund/feature/safer-tts-cache
Make TTSCache safer
2021-06-11 06:48:53 +09:30
Åke Forslund 4799caa696 Add test cases for tts cache __contains__ 2021-06-10 09:33:12 +02:00
Åke Forslund 5d3393b935 Make TTSCahce safer
Add __contains__ method to TTSCache, The cache contains a SHA if the SHA is
known and all expected files exists on disk.

This is handles unexpected system events in a more consistent manner and
will still be fast for the case where a new sentence needs to be
synthetisized.
2021-06-10 09:33:06 +02:00
dependabot[bot] dd13d97d15
Bump pillow from 8.1.1 to 8.2.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.1.1...8.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 19:22:19 +00:00
Kris Gesling 8a3cb6eb88
Merge pull request #2741 from MycroftAI/bugfix/revert-vk-sleep
revert a temporary bugfix from PR #2626
2021-06-08 06:46:34 +09:30
Chris Veilleux 4d7ed0f25e Added to docstring to explain why the method took a list of utterances instead of a single utterance. 2021-06-05 13:39:57 -05:00
Chris Veilleux 2a9f63c173 Fixed a bug where the highest confidence from the Adapt parser is different than the highest confidence from the Adapt intent matcher. 2021-06-05 12:15:02 -05:00
Kris Gesling 0e2a78068a
Merge pull request #2910 from MycroftAI/feature/avx-check
Check for the AVX instruction set during install
2021-06-02 06:54:08 +09:30