Michael Hansen
7f19bad4f3
Add unit tests for NetworkManager
...
==== Fixed Issues ====
Added unit tests for NetworkManager.
Restart DBus thread if an error occurs.
2021-12-02 11:07:47 -05:00
Kris Gesling
131a9ed03f
PEP8
2021-11-04 20:53:00 +09:30
Kris Gesling
cbcbd7653c
Skip any remaining failing tests
...
A number of tests are failing due to changes over the last year.
Need to investigate and fix these, but need this to pass so the
Github Action can proceed.
2021-10-04 16:20:35 +09:30
Kris Gesling
1f101339ad
packaging_type was removed from url params
2021-10-04 16:20:35 +09:30
ken-mycroft
10fd812f2b
Improve confidence calculation for Common Query ( #2986 )
...
* Improve confidence calculation
* Add actual noise words file
* Update expected test confidence levels
Co-authored-by: Kris Gesling <kris.gesling@mycroft.ai>
2021-09-27 14:59:57 +09:30
Kris Gesling
4df863633d
Merge dev pre-XDG into feature/mark-2
...
This includes all commits up to but not including PR #2794
2021-08-17 15:56:42 +09:30
Bart Ribbers
e20443b824
Use XDG Base directories for settings, cache and runtime data
...
Improve deprecation warning message
2021-08-05 10:04:45 +02:00
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
Åke Forslund
0ae02b5939
Fix TTS using the returned path
2021-07-02 08:34:03 +02:00
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
2c598fd96b
Merge branch 'dev' into feature/mark-2
2021-06-15 12:01:18 +09:30
Åke Forslund
4799caa696
Add test cases for tts cache __contains__
2021-06-10 09:33:12 +02:00
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
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
e75a05557b
docstring cleanup
2021-05-11 15:10:32 +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
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
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
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
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
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
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
Å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
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
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
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
Chris Veilleux
ea013b26af
Fixed failing unit test.
2021-03-10 21:16:34 -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
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
Å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
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
Kris Gesling
38839a1489
Merge pull request #1822 from forslund/feature/skill-api
...
Feature/skill api
2021-02-23 10:03:17 +09:30