Commit Graph

4976 Commits (mark-ii/gui-replace-page)

Author SHA1 Message Date
Åke Forslund acf3b96aa2 Make padatious service forward the intent call 2020-02-21 08:26:47 +01:00
Åke Forslund aad961f1b5 Copy message context on reply
This ensures that the original context isn't modified, for example when
converse is used the reply there would switch the source/destination for
the original message making the skill speak to the wrong destination.
2020-02-21 07:57:46 +01:00
Åke Forslund 1a0432255c Handle missing message idents in converse
Handle the case where context exists but without ident
2020-02-21 07:57:46 +01:00
Åke 7406757c37
Merge pull request #2474 from forslund/feature/msm-20.02
msm default to 20.02
2020-02-20 12:28:02 +01:00
Åke Forslund 9ea0abe264 Update default branch for skill updates to 20.02
This referes to the settings made to msm when used by the installer
skill and the default skill updates done in the skills process
2020-02-19 08:02:02 +01:00
Åke Forslund e63dad06b7 Update msm to default to 20.02 2020-02-19 08:01:05 +01:00
Åke 0e5a416104
Merge pull request #2473 from forslund/bugfix/mimic2-error-fallback
Fallback to mimic for bad http status codes
2020-02-17 15:41:24 +01:00
Åke Forslund 22b21d1773 Add test case for Server error 2020-02-17 15:11:55 +01:00
Åke Forslund b581766a00 Fallback to mimic for bad http status codes
Added a RemoteTTSException exception for non-timeout exceptions, Mimic2
will consider HTTP status code 200-299 as OK while other responses will
trigger raise RemoteTTSException.
2020-02-17 15:08:21 +01:00
Åke 3ed4290bcc
Merge pull request #2461 from JarbasAl/feat/message_targetting
Support for message targeting
2020-02-15 16:35:34 +01:00
jarbasal 0533ab0d2a Correct docstring for enclosure api eyes_fill 2020-02-15 16:33:49 +01:00
jarbasal 0de7f11c6e execute TTS from debug_cli 2020-02-15 15:35:43 +01:00
jarbasal f209afb021 Move dig_for_message to messagebus submodule 2020-02-15 15:35:43 +01:00
jarbasal fc9e254eef common iot message context 2020-02-15 15:35:43 +01:00
jarbasal f4a96e6c22 Update Unittests and fix pep8 2020-02-15 15:35:43 +01:00
jarbasal cc8029a357 pass context in scheduled events 2020-02-15 15:35:43 +01:00
jarbasal 75c796a29d add context to all listener messages 2020-02-15 15:35:38 +01:00
jarbasal e57671ebeb capture all in cli 2020-02-15 12:52:23 +01:00
jarbasal ef556557ad Fallback skill forward messages 2020-02-15 12:52:10 +01:00
jarbasal 0a560602c7 Use forward to send messages in MycroftSkill 2020-02-15 12:50:49 +01:00
Jarbas-Core d16964c580 bus message targetting 2020-02-15 12:37:25 +01:00
Åke a6cb0c5258
Merge pull request #2470 from forslund/refactor/remove-configurationmanager
Remove the ConfigurationManager compatibility
2020-02-15 08:41:34 +01:00
Åke 3c740613ff
Merge pull request #2469 from forslund/refactor/lingua-franca-cleanup
Remove backwards compat. imports from lang tools
2020-02-15 08:41:16 +01:00
Francesco Belvedere e7703da3d1
Convert hash sign comments to double slash (# -> //)
The hash sing makes it difficult to deal with the json file. Even using tools like [jsmin](https://github.com/tikitu/jsmin/) does not help since hashes are not supported. To enhance interoperability and consistency, they can be removed (also because only two lines use them).
2020-02-14 23:08:11 +00:00
Åke Forslund 968370cbf1 Remove exec permission from format files
mycroft/util/format.py and test/unittests/util/test_format.py
2020-02-13 07:59:16 +01:00
Åke Forslund 9245f551f4 Remove backwards compat. imports from lang tools
This removes the whole mycroft.util.lang submodule replacing it with a
minimum needed set of functions

extract_datetime: when a date was missing en-us would return the current date
to not mess up existing skills. This is no longer the case, if an
utterance doesn't contain a date the function will return None as
indicated by the docstring
2020-02-12 09:27:50 +01:00
Åke Forslund dd6732997b Remove the ConfigurationManager compatibility
ConfigurationManager has been deprecated since 0.9.4 so it's time to
remove it completely
2020-02-11 14:48:44 +01:00
Åke 47038f575e
Merge pull request #2462 from forslund/test/cqs
Tests for CommonQuerySkill
2020-02-07 08:34:18 +01:00
Åke 74c6a483fd
Merge pull request #2459 from forslund/test/common-play-skills
Common play skill tests
2020-02-07 08:33:54 +01:00
Åke d269a49a16
Merge pull request #2422 from forslund/refactor/dialog
Refactor mycroft.dialog
2020-02-07 08:33:25 +01:00
Åke Forslund f759903dcb Deprecate DialogLoader class
The DialogLoader class has been replaced by the simpler load_dialogs
function.
2020-02-05 17:04:37 +01:00
Åke Forslund dfc7c1df89 Refactoring of dialog module
- Move code out of __init__.py
- Correct spacing of docstrings
- Make use of ' uniform
- Add module level docstring
2020-02-05 17:04:28 +01:00
Åke Forslund 1524576a5c Add test for Audioservice.track_info() 2020-02-05 13:13:17 +01:00
Åke Forslund 3fa6e6e309 Use wait_for_response to retreive track info 2020-02-05 13:13:17 +01:00
Åke Forslund 322511afae Add tests for audioservice interface 2020-02-05 13:13:17 +01:00
Åke Forslund 020ee329f6 Allow AudioService.queue to accept mime info 2020-02-05 13:13:17 +01:00
Åke Forslund b2c920f031 Minor docstring cleanup 2020-02-05 13:13:17 +01:00
Åke Forslund 28722e2fa7 Add tests for common play skill 2020-02-05 13:13:17 +01:00
FruityWelsh 389c7dcc8d
Added a cl tool to start mycroft to listen: mycroft-listen (#2460)
Add a cl tool to start mycroft to listen: mycroft-listen

Alternative triggers. #1357 - Added feature to activate via command line
This can be triggered in most desktop enviroments via short cuts


====  Documentation Notes ====
Activates the mycroft listening feature.

 On branch feature/mycroft-listen_cli_tool
 Changes to be committed:
	new file:   mycroft-listen
2020-02-04 09:12:38 +01:00
Kris Gesling 29d35ebf1f
Merge pull request #2467 from forslund/bugfix/audioaccuracytest
Make audio accuracy test runnable again
2020-02-03 20:57:59 +09:30
Åke Forslund 6ebf8551b9 Rename audioaccuracytest to wakewordtest 2020-02-03 12:17:23 +01:00
Åke Forslund 31d09ac42b Add Documentation for the audio accuracy test 2020-02-03 10:01:09 +01:00
Åke Forslund fcc8b70148 Simplify data dir for false negative check files
Now the test files for false negatives are simply put in the
data/with_wake_word folder
2020-02-03 10:01:09 +01:00
Åke Forslund e6896e1831 Make audio accuracy test runable again
- Move to test directory
- Make runable module
- Add some waiting to give Wakeword engine time to report back
- Disable beep on found wakeword
- Update gitignore directory
2020-02-03 10:00:55 +01:00
devs-mycroft d49ca6d418 Version bump from 19.8.6 to 19.8.7 2020-01-30 10:02:56 +00:00
Åke f0caf42551
Merge pull request #2464 from forslund/bugfix/lingua-franca-tz
Add tzinfo to extracted datetime
2020-01-29 16:22:13 +01:00
Åke Forslund 9c8c8e0144 Send time reference for "now" to Lingua-franca
This will provide timezone info as well as now reference to the
extracted sentences.
2020-01-29 15:33:28 +01:00
Åke a83a7945a6
Merge pull request #2458 from forslund/feature/pip-19.3.1
Upgrade to latest pip version
2020-01-28 15:29:52 +01:00
Åke Forslund 6a7288ac93 Upgrade to latest pip version and version of getpip 2020-01-27 15:49:19 +01:00
Åke 8fb0167662
Merge pull request #2449 from andlo/mycroft-stop
make stop-mycroft.sh also stop if skills are started from other module.
2020-01-27 15:47:17 +01:00