Commit Graph

5040 Commits (mark-ii/gui-namespace)

Author SHA1 Message Date
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
Kris Gesling 9b188595da
Merge pull request #2939 from MycroftAI/fix_bargein
Add TTS pause and resume to fix barge in
2021-07-03 09:15:04 +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
Ken Smith ff01b7388b add pause and resume ability to tts playback thread and use it during barge in 2021-07-02 12:12:07 -04: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 70eee6d300 Upgrade PIP version to 21.1.2 2021-06-24 11:12:12 +09:30
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 02faba9db8 fix indentation error 2021-06-17 15:25:23 +09:30
Kris Gesling aa83b9f7c0 Merge branch 'skill_control' into feature/mark-2
As requested.
2021-06-16 23:11:53 +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 2c598fd96b Merge branch 'dev' into feature/mark-2 2021-06-15 12:01:18 +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
Kris Gesling 6d57b4a855 Remove Mark II specific deprecation notices.
These were being perceived by the community as mycroft-core deprecations
Ducking is required on other platforms so I think it's worth waiting to
see how we implement that before actually deprecating the methods.
2021-06-10 06:47:25 +09:30
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
Kris Gesling 1cc25da144
Merge pull request #2898 from MycroftAI/bugfix/docstring-cleanup
Cleanup of documentation
2021-06-01 12:16:44 +09:30
Kris Gesling ff2db272b8 Add comment explaining no check for AVX on ARM 2021-05-31 08:19:18 +09:30
Kris Gesling 771b8aa36b Improve writing of config under different conditions 2021-05-28 21:48:50 +09:30
mathmauney e846d97a24 Sed needs sudo 2021-05-28 21:48:50 +09:30
mathmauney 9c09f1739b Edit system .conf and make if needed 2021-05-28 21:48:50 +09:30
mathmauney 305b93625a Update hotword_factory.py
Fix long line string
2021-05-28 21:48:49 +09:30
mathmauney e926504157 Ignore missing AVX for ARM systems 2021-05-28 21:48:49 +09:30
mathmauney 011c3899a9 Fix line too long 2021-05-28 21:48:49 +09:30
mathmauney 4ca656caac Issue-2232 Add warning when AVX is not detected and fallback. 2021-05-28 21:48:49 +09:30
Kris Gesling d474e792fe
Merge pull request #2903 from forslund/docs/correct-version
ReadTheDocs documentation: Fetch Mycroft-core version from mycroft.version
2021-05-28 15:24:52 +09:30
Kris Gesling 891784a454
Merge pull request #2888 from forslund/refactor/mimic_tts-dont-load-config-on-import
Refactor mimic_tts to not load config when importing
2021-05-28 15:24:13 +09:30
Kris Gesling 6165c2d767
Merge pull request #2877 from forslund/feature/clear-adapt-keywords-on-shutdown
Remove registered keywords on skill shutdown
2021-05-28 15:23:49 +09:30
Kris Gesling 8a70b1ed76
Merge pull request #2909 from MycroftAI/feature/adapt-v0.4.1
Update Adapt intent parser from v0.3.7 to v0.4.1
2021-05-28 14:16:53 +09:30
Åke Forslund ad410d4bfc Remove registered keywords on skill shutdown
Uses new drop_*() methods from adapt-parser 0.4.0
2021-05-27 22:24:55 +02:00
Kris Gesling 01f73b6b01 Update Adapt parser to v0.4.1 2021-05-27 15:36:29 +09:30