Åke
ac6f1f045d
Merge pull request #2280 from forslund/feature/upgrade-msm
...
Upgrade msm to 0.8.3
2019-08-30 15:32:26 +02:00
Åke Forslund
40e24ef2c5
Upgrade msm to 0.8.3
2019-08-30 15:30:57 +02:00
Åke
34b6a911cc
Merge pull request #2279 from forslund/bugfix/typo
...
Fix typo when unreferencing skill after failed load
2019-08-30 15:07:23 +02:00
Åke Forslund
02b49edc99
Fix typo when unreferencing skill after failed load
2019-08-30 14:57:27 +02:00
Åke Forslund
077df67479
Disentangle event scheduler interface from skill
2019-08-30 13:32:00 +02:00
Åke Forslund
cbf2fc63a9
Remove skill logic from create_wrapper
...
- Remove once-logic from the default handler wrapper, no need to do it there.
- Add docstring for handle_wrapper
- add the on_start, on_end handlers and move skill logic to respective
handlers.
2019-08-30 13:00:26 +02:00
Åke Forslund
87d9512093
Update get_scheduled_event_status()
...
Use the more modern bus.wait_for_response()
2019-08-30 13:00:26 +02:00
Åke Forslund
c1d07bbe23
Add comments and clean up IntentServiceInterface
2019-08-30 13:00:26 +02:00
Åke Forslund
d461ffe63c
Update docstrings and variable names of EventSchedulerInterface
2019-08-30 13:00:26 +02:00
Åke Forslund
f081404ce3
Further cleanup
2019-08-30 13:00:26 +02:00
Åke Forslund
5e558647e7
Refactor translation methods
...
Move file reading logic into skill_data.py
2019-08-30 13:00:26 +02:00
Åke Forslund
e2ec2ef8d1
Reduce complexity of get_response()
2019-08-30 13:00:26 +02:00
Åke Forslund
2d95ed9e35
Move complexity to IntentServiceInterface
...
Move much of the complex methods for registering intents to the
IntentServiceInterface to reduce bloat of MycroftSkill
2019-08-30 13:00:26 +02:00
Åke Forslund
5402f8ae22
Use remove_all_listeners when cleaning
2019-08-30 13:00:26 +02:00
Åke Forslund
245a4cb698
Refactor adapt intent data loading routines
...
- The data loading no longer require the bus
- Add an intent service interface class for better testing
- Update test cases
2019-08-30 13:00:26 +02:00
Åke Forslund
7393d9a670
Create container class for tracking skill handlers
...
This container remembers registered skills and allows unregistering
all handlers connected to a skill at shutdown.
2019-08-30 13:00:26 +02:00
Åke Forslund
a187a17d4d
Set MycroftSkill.root_dir in __init__()
...
This also removes the _dir member which cointains the same information.
2019-08-30 13:00:26 +02:00
Åke Forslund
f655152717
Minor cleanup of MycroftSkill
...
- Create separate method for regisetering mycroft system event handlers
- Fix some string concatenations
- Group acknowledge together with speak and speak_dialog
2019-08-30 13:00:26 +02:00
Åke Forslund
2b3bd98d94
Rename test file for mycroft_skill to match
2019-08-30 13:00:26 +02:00
Åke Forslund
b28d63cf71
Make register_intent decorator register all intent types
...
This makes the register_intent decorator work for all types of intents,
both Adapt and Padatious.
2019-08-30 13:00:26 +02:00
Åke Forslund
f5cdeb76ce
Move open_intent_envelope to intent_service
2019-08-30 13:00:26 +02:00
Åke Forslund
0759d6f8e1
Split of mycroft skill decorators into new file
...
Split of decorators from the mycroft_skill file and create a submodule
for mycroft_skill
2019-08-30 13:00:26 +02:00
Åke Forslund
a3429dbd96
Create EventSchedulerInterface class
...
Group event scheduler interface logic into subclass
2019-08-30 13:00:26 +02:00
Åke Forslund
2e82f64519
Populate root_dir in __init__ from file location
2019-08-30 13:00:26 +02:00
Åke
7008969fd0
Merge pull request #2278 from forslund/feature/default-skill-branch-19.08
...
Switch msm branch to 19.08
2019-08-30 10:34:56 +02:00
Åke Forslund
0df90a2f80
Switch msm branch to 19.08
2019-08-30 09:45:37 +02:00
Åke
c455ea78a7
Merge pull request #2277 from MycroftAI/feature/log-merger
...
Improve logging and add script for viewing merged logs
2019-08-30 09:36:14 +02:00
Chris Veilleux
293ea0aaf7
removed superfluous whitespace
2019-08-29 19:24:52 -05:00
Chris Veilleux
0faa2a4451
Applied a code review change to make the datetime representation on the output file to suite different locales
2019-08-29 19:24:01 -05:00
Chris Veilleux
c5058a5117
Merge remote-tracking branch 'remotes/origin/dev' into feature/log-merger
2019-08-29 13:57:08 -05:00
Åke
918469c645
Merge pull request #2275 from MycroftAI/bug/non-interactive-install
...
Force install if IS_TRAVIS
2019-08-27 17:59:30 +02:00
David Wagner
319b5a497a
Force install if IS_TRAVIS
...
Do not need to check for package uninstall if IS_TRAVIS is true.
2019-08-27 17:44:21 +02:00
Åke
2ddb2303a4
Merge pull request #2274 from mathmauney/refactor/issue-2261
...
Switch all mock imports to unittest.mock imports
2019-08-27 11:09:37 +02:00
Alex Mauney
21ecf7974f
Remove mock
2019-08-27 11:00:15 +02:00
mathmauney
3c49608dfb
See if builtins fixes the failure
2019-08-27 11:00:15 +02:00
mathmauney
ea16ef4436
Switch mock to unittest.mock
2019-08-27 11:00:08 +02:00
Åke
2684bee896
Merge pull request #2273 from forslund/feature/move-listening-message
...
Send recording message after playing recording sound
2019-08-26 21:40:34 +02:00
Åke Forslund
4ae290d5b1
Send recording message after playing recording sound
...
This allows the sound to play before any ducking starts
2019-08-26 15:09:01 +02:00
Åke
73dc548bed
Merge pull request #2271 from forslund/bugfix/deprecated-config
...
Fix stacktrace on use of deprecated config member
2019-08-24 16:53:42 +02:00
Åke Forslund
70307c073a
Fix stacktrace on use of deprecated config member
2019-08-24 12:06:49 +02:00
Åke
fe97254baf
Merge pull request #2265 from MycroftAI/feature/boot-performance-improvements
...
Changes to MSM logic to improve performance.
2019-08-23 17:09:27 +02:00
Åke Forslund
4d0e848965
Use from folder instead of dict lookup
2019-08-23 16:52:32 +02:00
Åke Forslund
07bd6d1186
Update msm version
2019-08-23 16:52:32 +02:00
Åke Forslund
6736513ae7
Fix SkillUpdater creator
...
- Since the bus emitter is currently not necessary it's set as an optional
parameter.
- Add proper class docstring
2019-08-23 16:52:31 +02:00
Chris Veilleux
48ca79f388
Improve scanning for decorated handlers
...
This will recurse down to MycroftSkill class but not include it. for
most skills this will mean only the methods / variables added by the
skill creator
2019-08-23 16:51:53 +02:00
Chris Veilleux
be79b193b4
changed to use newer version of msm_wrapper.
2019-08-23 16:07:46 +02:00
Chris Veilleux
79f4ec712c
Added licensing headers to files missing them.
2019-08-23 16:07:46 +02:00
Chris Veilleux
ebfd367b98
Changed skill manager and updater to reflect changes to MSM.
...
Cached the MSM creation logic to improve performance.
2019-08-23 16:07:26 +02:00
Åke
e13be915e0
Merge pull request #2268 from krisgesling/bugfix/wine-uninstall
...
if libjack package conflict detected - require user to review package changes
2019-08-23 09:32:01 +02:00
Kris Gesling
d773356342
Merge branch 'dev' into bugfix/wine-uninstall
2019-08-23 16:35:55 +09:30