Åke Forslund
0ab7758784
Send timing information in batches every 30 seconds
...
Sets up a thread with a queue interface to handle the upload of timing
information to the backend.
Previously this was done in the emitter thread after a skill or
subsystem had delivered their content to avoid slowing down the system.
However massively parallell calls like the "mycroft.stop" message would
starve the threadpool casuing the upload time to limit the execution
speed of these.
2020-02-26 07:25:28 +01:00
Kris Gesling
bf2db3d79a
Merge pull request #2472 from belvederef/patch-1
...
Convert hash sign comments to double slash (# -> //)
2020-02-24 23:04:14 +09:30
Åke
6220aeb1e7
Merge pull request #2478 from forslund/bugfix/message-response
...
Make message.response keep source/dest info
2020-02-24 12:48:11 +01:00
Åke Forslund
d30f778026
Make message.response keep source/dest info
2020-02-24 10:37:10 +01:00
Åke
1afedb2dd2
Merge pull request #2468 from JarbasAl/feat/intent_api
...
intent api
2020-02-24 08:40:36 +01:00
jarbasal
09cc3f6294
cleanup
2020-02-24 08:23:35 +01:00
jarbasal
3728e2013b
norm utterances
2020-02-24 08:23:35 +01:00
jarbasal
74d07f0fdc
Fix lang parameter
2020-02-24 08:23:26 +01:00
jarbasal
1e00347834
message fix
2020-02-24 07:46:46 +01:00
jarbasal
befab62a58
get_skill from utterance
2020-02-24 07:46:46 +01:00
jarbasal
d3037f2ba1
move to intent_service_interface
2020-02-24 07:46:46 +01:00
jarbasal
f1c55cc809
padatious match
2020-02-24 07:46:46 +01:00
jarbasal
16f91c8ebe
add regex
2020-02-24 07:46:46 +01:00
jarbasal
532bcc2b2a
intent api
2020-02-24 07:46:46 +01:00
Åke
493d057f7c
Merge pull request #2476 from forslund/bugfix/message-targeting
...
Bugfix for padatious and converse responses
2020-02-24 07:32:57 +01:00
Åke Forslund
e1fa0e3ad2
Set context from previous message when doing converse
2020-02-22 09:35:03 +01:00
Å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