Commit Graph

3129 Commits (feature/mark-2-v21.2.1)

Author SHA1 Message Date
Å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 0062b3f439 Bump version number 2021-05-26 16:29:20 +09:30
Kris Gesling 8d6759ce63 Merge 21.02 changes from 'dev' into feature/mark-2 2021-05-26 16:12:25 +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 b9f1fb7ffb Bump core version and MSM for impending core update 2021-05-20 14:17:42 +09:30
Ken Smith a6cba040e9 revert change to existing skill behavior 2021-05-19 18:53:28 -04:00
Ken Smith ccd41717d2 respond to PR feedback 2021-05-18 13:08:09 -04:00
Ken Smith c8e16f99e8 add skill states and categories and enable barge in 2021-05-17 14:34:10 -04: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 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
Ken Smith 249e352f65 Add Common Play to active Skills when invoked 2021-05-07 14:25:28 +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 784f166bc2 Raise TypeError rather than quietly fail 2021-05-03 20:13:21 +09:30
Kris Gesling 0fb90edd28 Rename to get_temp_path and add docstring 2021-04-30 16:49:59 +09:30
Kris Gesling d49ccc8b7a Fix typo and auto-format 2021-04-30 15:58:10 +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
Å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
Ken Smith 74285be60b fix hardware-mycroft-mark-II/issues/62 2021-04-27 12:55:10 -04: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
Åke Forslund 9acf5b7592 Utilize the mycroft-messagebus-client module
This utilizes the shared messagebus client implemented in the
mycroft-messagebus-client.
2021-03-22 06:31:50 +01:00
Åke Forslund 0b857e92f9 Sync tts cache dict of cached sentences on curate
This will make sure the dict of caches gets updated when curate_cache
removes files.
2021-03-21 13:33:08 +01:00
Åke Forslund 7bd27eb5df Make curate_cache() return removed files 2021-03-21 12:47:57 +01:00
Kris Gesling b1fb220858 Revert "update apt cache to allow Skill installation"
This reverts commit 9805fedd79.
2021-03-19 12:28:48 +09:30
Kris Gesling 7d3cb2d53e
Merge pull request #2869 from forslund/refactor/tts-cache-curation
Move TTS cache curation to TextToSpeechCache
2021-03-19 11:41:54 +09:30
Åke Forslund 9b4544dc7d Move cache curation to TextToSpeechCache 2021-03-18 23:02:26 +01:00
Åke Forslund 46a1de9b12 Remove unused import 2021-03-18 22:45:19 +01:00
Kris Gesling 80f65ac855
Merge pull request #2858 from MycroftAI/feature/voc_match_exact
Add exact optional param to voc_match
2021-03-18 16:43:01 +09:30
Chris Veilleux 9c864de866
Convert phoneme to a list before being passed on. (#2865)
* The phoneme needs to be converted to a list before being passed on.
2021-03-18 15:23:20 +09:30
Ken Smith 82d9030e4d fix for jira mk2-331 2021-03-16 15:17:36 -04:00
Kris Gesling cee879e7a4 Add exact optional param to voc_match
This adds the option to require an exact match of vocab. It sourced
from the Playback Control Skill.
2021-03-16 16:05:06 +09:30
Chris Veilleux 8453e79900 Merge remote-tracking branch 'origin/dev' into feature/mark-2
# Conflicts:
#	mycroft/tts/tts.py
2021-03-15 18:47:32 -05:00
Kris Gesling 0587c5d75e
Merge pull request #2856 from forslund/bugfix/stray-print
Remove stray print
2021-03-15 12:24:28 +09:30
Åke Forslund 29fd50324b Remove stray print 2021-03-14 09:32:45 +01:00
Chris Veilleux bf2670c890
Merge pull request #2853 from MycroftAI/feature/consolidate_tts_cache
Consolidate TTS cache logic
2021-03-11 16:25:19 -06:00
Kris Gesling a399b19fd6
Merge pull request #2849 from forslund/refactor/clean-intent-service
Remove intent-service backwards compatibilities
2021-03-11 15:26:26 +09:30
Kris Gesling ec00631c4b
Merge pull request #2813 from NeonAndrii/feature/issue-2812
Issue-2812 - Allow overridden converse methods to accept messages
2021-03-11 15:25:24 +09:30
Chris Veilleux ea013b26af Fixed failing unit test. 2021-03-10 21:16:34 -06:00
Chris Veilleux 62d277d612 Refactored to fix error where persistent cache directory was used when the temporary cache directory should have been. 2021-03-10 21:16:11 -06:00
Chris Veilleux 469b1d3458 Changed ordering of adding a file to cache to make more sense. 2021-03-10 15:55:21 -06:00
Chris Veilleux 86febca6a3 Fixed a bug passing None to an instance of Path 2021-03-10 15:35:38 -06:00
Chris Veilleux 5996fdbf08 Fixed a minor linting issue 2021-03-10 13:46:48 -06:00
Chris Veilleux 4d4f797c5d Add the stack trace to an error message to help with debugging. 2021-03-10 13:39:58 -06:00
Chris Veilleux 48e691a66f add deprecation warnings to the logic the new cache logic replaces. 2021-03-10 13:39:30 -06:00
Chris Veilleux 2f34df6603 enhance to use new cache logic 2021-03-10 13:39:01 -06:00
Chris Veilleux 5e90940896 new code to consolidate TTS cache handling into one module. 2021-03-10 13:38:17 -06:00
Kris Gesling 3679eb1355
Merge pull request #2838 from forslund/test/get_response-tests
get response tests
2021-03-10 23:44:48 +09:30
Kris Gesling f54300de38
Merge pull request #2844 from MycroftAI/bugfix/fake-blacklist
Remove example entries in blacklisted_skills config
2021-03-10 23:39:49 +09:30
Kris Gesling db79748faa
Merge pull request #2827 from MycroftAI/feature/converse-error-skill
add skill_id to converse error msg
2021-03-10 23:39:29 +09:30
Kris Gesling efee72549d auto-format 2021-03-09 22:04:18 +09:30
Kris Gesling 9805fedd79 update apt cache to allow Skill installation 2021-03-09 22:00:57 +09:30
Ken Smith 21c201c0f4 fix chase leds never stopping 2021-03-08 14:53:23 -05:00
Åke Forslund 203e1fc740 Remove intent-service backwards compatibility
- Remove unused ContextManager import from mycroft.skills.intent_service
- Remove Old 'intent_failure' -> fallback handler
- Remove handling of fallback messages without the fallback_range
parameter
2021-03-07 12:59:59 +01:00
Kris Gesling 17dbaa2b38
Merge pull request #2840 from DiegoAsterio/bugfix/issue-2750
Issue-2750 - Remove log pollution
2021-03-03 15:25:21 +09:30
Chris Veilleux f2ee89a3f0 promote debug messages to info messages to see how cache loading handles on boot. 2021-03-02 17:48:32 -06:00
Chris Veilleux efb7c3abb8 promote debug messages to info messages to see how cache loading handles on boot. 2021-03-02 17:39:43 -06:00
Åke 492bd22179
Merge pull request #2843 from OpenVoiceOS/fix/padatious_mess
Remove old Padatious class
2021-03-02 11:38:46 +01:00
Chris Veilleux 78da65b3b2 Merge remote-tracking branch 'origin/feature/mark-2' into feature/mark-2 2021-03-01 18:20:30 -06:00
Chris Veilleux d4d7340f3a changed the list of Raspberry Pi platforms to replace "mycroft_mark_2pi" with "mycroft_mark_2" 2021-03-01 18:20:19 -06:00
Ken Smith c8a44c206d comply with new gui requirements 2021-03-01 17:14:37 -05:00
Kris Gesling b29fe8aeed auto pep8 2021-03-01 12:59:26 +09:30
Kris Gesling 1f30fe7016 switch volume up and down buttons 2021-03-01 12:57:49 +09:30
Kris Gesling 0acc95113f nudge max volume up a little 2021-02-27 15:55:00 +09:30
Kris Gesling 7797dc855b Fix missing imports for ProcessStatus 2021-02-27 15:21:44 +09:30
Ken Smith 893dbe6080 fix volume display bug, try to use palette object rather than hard coded values, change red warning to burnt orange and make reserved led show one of four temperature ranges 2021-02-26 16:10:50 -05:00
Ken Smith f2f024e315 addresses jira mk2-249, make capabilities queryable via the msg bus 2021-02-26 15:09:39 -05:00
Ken Smith a1035cf3d2 fix mute mic led bring up bug and fix sync between buttons and volume skill and added an async volume update message so the gui can pick it up 2021-02-26 14:06:10 -05:00
Chris Veilleux 6ed674bd3e Merge remote-tracking branch 'origin/dev' into feature/mark-2
# Conflicts:
#	mycroft/audio/__main__.py
#	mycroft/client/speech/__main__.py
#	mycroft/skills/__main__.py
#	mycroft/util/process_utils.py
2021-02-26 11:49:30 -06:00
Chris Veilleux 450ba58acf remove spurious print statement 2021-02-24 10:39:33 -06:00
Chris Veilleux 9e3595cbdf Remove the newline character at the end of the pantacor device ID before sending it to Selene 2021-02-23 15:34:09 -06:00
neonandrii d69b61afb6 Issue-2812 - Allow overridden converse methods to accept messages - FIX: PEP8-line-too-long issue in MycroftSkill.converse - change required signature in MycroftSkill.converse(). 2021-02-23 14:44:12 +02:00
Kris Gesling 38839a1489
Merge pull request #1822 from forslund/feature/skill-api
Feature/skill api
2021-02-23 10:03:17 +09:30
Kris Gesling bed4c9fe28 Remove example entries in blacklisted_skills config
The default mycroft.conf included some arbitrary examples in the
actual blacklisted_skills configuration. If a user attempted to
use a Skill that matched, it would be prevented from loading.
2021-02-22 16:07:31 +09:30
Chris Veilleux 7df1f674ab Merge remote-tracking branch 'origin/feature/mark-2' into feature/mark-2 2021-02-21 20:10:05 -06:00
Chris Veilleux 8cda5b9c9c Change how pantacor device is identified to Selene 2021-02-21 20:09:08 -06:00
jarbasal 4200a38496 remove old padatious file 2021-02-18 17:19:28 +00:00
Ken Smith ba01f1d507 fix comments 2021-02-15 14:30:31 -05:00
Ken Smith b7a79f6634 add fan control 2021-02-15 14:07:06 -05:00
Diego Asterio 130d517f30 Issue-2750 - Remove log pollution
Add empty skill directories to a set and remove them whenever they are
no longer empty. Empty skill directories only appear once in the log.

==== Fixed Issues ====
log polution - #2750
2021-02-15 13:38:38 +01:00