Commit Graph

4976 Commits (mark-ii/latest)

Author SHA1 Message Date
Kris Gesling e75a05557b docstring cleanup 2021-05-11 15:10:32 +09:30
Kris Gesling 9d23fad9e8 clean up non-error level logs 2021-05-11 14:17:53 +09:30
Kris Gesling 13e593740c Add enclosure logs to CLI 2021-05-11 14:15:55 +09:30
Kris Gesling 27cf725411 Merge branch 'dev' into feature/mark-2 2021-05-10 07:22:45 +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
Ken Smith 249e352f65 Add Common Play to active Skills when invoked 2021-05-07 14:25:28 +09:30
Kris Gesling cc31d8577b
Merge pull request #2897 from MycroftAI/fix_news_no_stop
Fix news no stop
2021-05-06 17:02:31 +09:30
Kris Gesling dc4c146f69 Fix assigning of queue without existing loader 2021-05-06 10:11:39 +09:30
Ken Smith 3e6a2a4aa4 companion to news skill branch fix_no_stop 2021-05-04 07:32:08 -04:00
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
dzekem christa 9252158829 rectified pep8 issues 2021-04-30 14:46:36 +09:30
dzekem christa 32f666edd4 Issue-2727 - fixing hard coded /tmp 2021-04-30 14:46:36 +09:30
dzekem christa a174c3c822 replaced hard coded /tmp 2021-04-30 14:46:36 +09:30
Kris Gesling 26e8a642b6
Merge pull request #2887 from forslund/doc/readthedocs-fix
Update Readthedocs conf to handle mycroft-messagebus-client
2021-04-29 10:45:33 +09:30
Åke Forslund d884da5b56 Be more defensive when loading mimic config
Default config will generally always have a mimic block but in
combination with newer Mycroft variants a more defensive approach is
probably good
2021-04-28 22:31:30 +02:00
Åke Forslund 5d68309523 Refactor mimic_tts to not load config when importing
Hitting the entire configuration fetching routine with call to the
backend is not polite to do when just importing the file. This moves the
config lookup out of the global scope and into special functions for
finding the mimic binary and looking up the data path for the subscriber
voices.
2021-04-28 22:31:10 +02:00
Åke Forslund 6977c65967 Fix warnings when parsing plugins.rts 2021-04-28 20:28:06 +02:00
Åke Forslund 904c35f5bd Handle mycroft-message-bus during doc generation 2021-04-28 20:04:24 +02:00
Ken Smith 74285be60b fix hardware-mycroft-mark-II/issues/62 2021-04-27 12:55:10 -04:00
Kris Gesling b712b0e282
Merge pull request #2868 from MycroftAI/dependabot/pip/pillow-8.1.1
Bump pillow from 7.1.2 to 8.1.1
2021-04-26 16:16:44 +09:30
Chris Veilleux 1ba9eda097
Merge pull request #2871 from forslund/bugfix/mimic-phonemes
Fix loading Mimic phonemes from cache
2021-04-13 14:55:27 -05:00
Åke Forslund 344999d003 Remove option to save phonemes in string format
String format can't be loaded so it shouldn't be written either
2021-04-05 08:28:38 +02:00
Åke Forslund bea3bac2bf Make mimic get_tts() return phonemes pre-parsed
This makes the phonemes json de/encodable like mimic2
2021-04-05 08:28:38 +02:00
Kris Gesling 6f1e708f34 Merge branch 'dev' into feature/mark-2 2021-03-31 21:38:16 +09:30
Kris Gesling 356288a38f
Merge pull request #2863 from forslund/feature/mycroft-bus-client
Utilize the mycroft-messagebus-client module
2021-03-31 21:22:31 +09:30
Ken Smith cac46ad1d6 fix for jira skill-207 2021-03-29 14:49:33 -04:00
dependabot[bot] 8b553de09d
Bump pillow from 7.1.2 to 8.1.1
Bumps [pillow](https://github.com/python-pillow/Pillow) from 7.1.2 to 8.1.1.
- [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/7.1.2...8.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-26 08:07:37 +00:00
Kris Gesling fd4e0dc160
Merge pull request #2873 from MycroftAI/dependabot/pip/pyyaml-5.4
Bump pyyaml from 5.1.2 to 5.4
2021-03-26 15:50:26 +09:30
dependabot[bot] c1fbb6e171
Bump pyyaml from 5.1.2 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1.2 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1.2...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 21:43:40 +00:00
Kris Gesling 58864ffcc5
Merge pull request #2870 from forslund/bugfix/curate_cache
Sync curated cache with dict of cached sentences
2021-03-24 11:11:17 +09:30