Commit Graph

4720 Commits (4799caa696344eb87c72f5732baeb645d0545102)

Author SHA1 Message Date
Å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 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
devs-mycroft 6c0be727e2 Version bump from 21.2.-1 to 21.2.0 2021-05-26 04:00:38 +00:00
Kris Gesling a192bdc169
Merge pull request #2907 from MycroftAI/feature/core-v21.02
Bump core version and MSM for impending core update
2021-05-20 15:14:22 +09:30
Kris Gesling b9f1fb7ffb Bump core version and MSM for impending core update 2021-05-20 14:17:42 +09:30
Åke Forslund 9ffd60bc43 Fetch Mycroft-core version from mycroft.version
Uses the info block provided by the release script
2021-05-14 18:35:13 +02:00
Kris Gesling c936f2f116 Fix incorrect CLI info 2021-05-11 15:12:10 +09:30
Kris Gesling 083463a75e Clean up docstrings and CLI help info 2021-05-11 15:12:10 +09:30
Åke Forslund cfc84bab27 Add approprate blank lines to fix phinxdoc warnings 2021-05-11 15:12:10 +09:30
Åke Forslund e7accacdcf Fix sphinxdoc warning in common_iot_skill.py 2021-05-11 15:10:32 +09:30
Kris Gesling e75a05557b docstring cleanup 2021-05-11 15:10:32 +09:30
Kris Gesling 6327ac5dbb
Upgrade Lingua Franca to v0.4.1 (#2890)
**Update Lingua Franca to v0.4.1**

The update from Lingua Franca v0.2.x to v0.4.x includes few
breaking changes.
- Some API methods have been updated.
- Mycroft-core tests have been updated to reflect improvements in
  Lingua Franca's formatting and parsing.
- add LF default lang setting method to config.locale 
  including warning that this method will change in the future
- Add TODO's for 21.08 - moving more methods to LF
- simplify loading and setting default of languages in Skills service
- Remove unneeded wrappers for Lingua Franca functions
- Fix documentation of format and parse utils
- Fix test warnings
2021-05-08 08:34:02 +09:30
Kris Gesling 088f563ad9
Merge pull request #2892 from MycroftAI/bugfix/consistent-temp-dir
Replace hardcoded use of /tmp directory
2021-05-08 07:28:27 +09:30
Kris Gesling 09f24e1831
Merge pull request #2899 from MycroftAI/bugfix/remove-existing-loader
Fix replacement of existing Skill loader in queue
2021-05-08 07:18:01 +09:30
Kris Gesling 5d3b9d479b Fix test for expected TypeError 2021-05-07 15:34:37 +09:30
Kris Gesling dc4c146f69 Fix assigning of queue without existing loader 2021-05-06 10:11:39 +09:30
Kris Gesling 5ee9755002 remove stray file 2021-05-03 20:17:03 +09:30
Kris Gesling 784f166bc2 Raise TypeError rather than quietly fail 2021-05-03 20:13:21 +09:30
Kris Gesling 3d296bfccf
Merge pull request #2894 from forslund/bugfix/old-skill-tester-padatious-setup
Old skill tester: Fix Padatious setup and fallback intents
2021-05-03 17:22:22 +09:30
Åke Forslund 6dd059e888 Consume whole queue before considering skill done
This will handle any extra messages after the skill complete message was detected. For example messages from certain fallback skills
2021-05-02 09:27:47 +02:00
Åke Forslund 053d29b92c Use the correct event for fallback handler 2021-05-02 09:26:29 +02:00
Åke Forslund 512fa9c820 Implement wait_for_response for old skill tester
Previously this was just skipped over but is now needed for the fallback intents
2021-05-02 09:25:14 +02:00
Åke Forslund 3970f84e4b Fix Padatious setup
This was broken when Padatious moved from a separate "skill" into the
service manager. This updates the code to call the correct methods
2021-05-01 08:35:01 +02:00
Kris Gesling 0fb90edd28 Rename to get_temp_path and add docstring 2021-04-30 16:49:59 +09:30
Kris Gesling d9adf73db7 Add unit test for create_temp_file 2021-04-30 16:21:13 +09:30
Kris Gesling d49ccc8b7a Fix typo and auto-format 2021-04-30 15:58:10 +09:30
dzekem christa 77d3969dc3 newline added 2021-04-30 14:48:15 +09:30
dzekem christa 241a8b89df pep8 error rectified 2021-04-30 14:48:15 +09:30
dzekem christa 4547752c66 minor errors fixed 2021-04-30 14:48:15 +09:30
dzekem christa 7765d11224 ran autopep8 2021-04-30 14:48:15 +09:30
dzekem christa 3f745c52ad created temp path function 2021-04-30 14:47:49 +09:30
dzekem christa 304439ed4b minor fixes 2021-04-30 14:46:36 +09:30
dzekem christa d659179645 more fixes 2021-04-30 14:46:36 +09:30
dzekem christa 621b4ab650 spaces added and uniformity in code 2021-04-30 14:46:36 +09:30