David Wagner
6bf66bf1f3
Merge pull request #2326 from MycroftAI/feature/remove-ntp-reboot
...
Remove ntp sync reboot
2019-09-25 14:53:13 -05:00
David Wagner
7cb1ca7282
Remove unused methods
2019-09-25 10:58:51 -05:00
Åke
ee2c566218
Merge pull request #2317 from MycroftAI/feature/mic-watchdog
...
Add muted state to mic_level for mic watchdog
2019-09-25 13:02:00 +02:00
David Wagner
b0c7d3072c
Update text client parsing of mic_level file
2019-09-25 12:23:11 +02:00
David Wagner
a66ec9388d
Write mic level with mute
2019-09-25 11:54:22 +02:00
Åke
f1a95e79cb
Merge pull request #2323 from forslund/bugfix/logline
...
Catch inspect error in logger
2019-09-25 07:53:02 +02:00
David Wagner
3fc389dbf3
Remove ntp sync reboot
2019-09-24 20:35:11 +00:00
Åke Forslund
39d0053493
Catch inspect error in logger
...
Inspect would in certain cases fail to find the line number. This
catches the exception and provides a basic name for the logger.
2019-09-24 20:58:34 +02:00
devs-mycroft
b746f365c9
Version bump from 19.8.-1 to 19.8.0
2019-09-24 05:42:59 +00:00
Åke
b6c1f5dd63
Merge pull request #2321 from forslund/feature/version-bump
...
Update version number in preparation for 19.08
2019-09-23 10:34:33 +02:00
Åke Forslund
c8b33704ce
Update version number in preparation for 19.08
2019-09-23 09:58:09 +02:00
Åke
6c228d00a9
Merge pull request #2320 from MycroftAI/bugfixes/skills-manifest
...
Bugfixes/skills manifest
2019-09-20 22:57:57 +02:00
Åke Forslund
62bba61da0
Make sure skill manifest is synced with backend
...
Send skill manifest all startups
2019-09-20 16:40:30 +02:00
Åke Forslund
347e8c9d1e
Work on copy when managing the skills manifest
...
Fixes possible modification of input data when adding device uuid to the
manifest before sending.
2019-09-20 15:02:51 +02:00
Åke Forslund
c6b1e3dc92
Make logging a little easier to decipher
2019-09-20 12:20:46 +02:00
Åke Forslund
fcc4df6351
Clear msm device_skill_state before update/upload
...
Make sure to re-read the device_skill_state from disk before doing
changes so no information is lost.
2019-09-20 08:07:03 +02:00
Åke
eddc3c45bc
Merge pull request #2318 from krisgesling/feature/yes-affirmative
...
add 'affirmative' to yes vocab
2019-09-19 20:24:07 +02:00
Åke Forslund
2cb2c56572
Install priority skills and save info
...
Use the msm.install method to install the priority skills so the skill
details are registered in the manifest
2019-09-19 20:07:21 +02:00
Åke Forslund
e0cb16eab8
Clean up skill_manager exceptions
...
- BaseException -> Exception
- Remove unused vaiables
2019-09-19 20:07:21 +02:00
Åke Forslund
c016903b77
Update skills manifest if a skill is reloaded.
...
When a skill is reloaded it is quite possible that a new skill gid has
been assigned to it and the backend needs to be informed of the change.
2019-09-19 20:07:21 +02:00
Åke
95a56373c3
Merge pull request #2319 from forslund/bugfix/orphaned-timers
...
Stop settingmeta upload on skill shutdown
2019-09-19 18:16:33 +02:00
Åke Forslund
3474d725b8
Stop settingmeta upload on skill shutdown
...
This makes sure to shutdown any Timer handling settingsmetadata upload
on skill shutdown to make sure no duplicates are running.
(Easily occurs when a skill gid doesn't match the one sent in skill
manifest)
2019-09-19 15:25:55 +02:00
Kris Gesling
6421509f35
add 'affirmative' to yes vocab
2019-09-19 10:47:20 +09:30
David Wagner
af08f82aad
Merge pull request #2314 from forslund/bugfix/no-skill-gid
...
Restructure to get skill_gid after startup
2019-09-18 13:22:12 -05:00
David Wagner
d67d76ad66
Merge pull request #2316 from forslund/feature/safety-harness
...
Add a safety harness in skill_manager main loop
2019-09-18 13:14:04 -05:00
Åke Forslund
b9097e43f2
Restructure to get skill_gid after startup
2019-09-18 19:59:13 +02:00
Åke Forslund
4860b5657f
Add a safety harness in skill_manager main loop
...
This captures any unhandled expressions and will at least make sure
they're logged properly. (Exceptions in threads are mostly not printed
to stdout).
This sleeps slightly longer than normal (10 seconds) and then tries to resume
normal operation.
2019-09-18 19:55:39 +02:00
Åke
11a52af507
Merge pull request #2313 from forslund/bugfix/uuid-pickup
...
Apply skill uuid directly after reload from disk
2019-09-18 13:52:22 +02:00
Åke
35bf4c88b9
Merge pull request #2312 from MycroftAI/bug/settingsmeta-upload-device-uuid
...
settingsMeta API call to be issued without a device ID in the URL.
2019-09-18 10:01:40 +02:00
Åke Forslund
09c0651872
Apply skill uuid directly after reload from disc
...
The uuid is now applied to the path after it has been checked and
reloaded if needed.
2019-09-18 08:48:40 +02:00
Åke Forslund
9423f920c4
Update test cases to properly mock the DeviceApi
2019-09-18 08:02:29 +02:00
David Wagner
f4865286ab
Merge pull request #2299 from forslund/bugfix/skills-reload-error
...
Catch exceptions when reloading skills
2019-09-17 19:24:04 -05:00
Chris Veilleux
a5af2adb6d
fixed an issue where a potential race condition can cause the settingsMeta API call to be issued without a device ID in the URL.
2019-09-17 15:31:48 -05:00
Åke
fa6d826244
Merge pull request #2311 from forslund/bugfix/gotta-catch-em-all
...
Catch all exceptions from upload device info
2019-09-17 12:07:32 +02:00
Åke
a41284e10e
Merge pull request #2287 from MycroftAI/refactor/skill-settings-split
...
Refactor/skill settings split
2019-09-17 11:40:35 +02:00
Åke Forslund
f7c4700343
Remove log checks
2019-09-17 11:24:10 +02:00
Chris Veilleux
9c0c20e96d
added deprecation warning for settingsmeta fields no longer used.
2019-09-17 11:24:10 +02:00
Chris Veilleux
0d897cf4e8
don't emit settings change event if there are no settings
2019-09-17 11:24:10 +02:00
Chris Veilleux
02a6f00b03
new log message indicating that a skill got new settings from the backend
2019-09-17 11:24:10 +02:00
Chris Veilleux
1e5c2986d3
fix bug where saving settings to disk crashed when the settings passed to the function are a instance of the Settings class.
2019-09-17 11:24:10 +02:00
Chris Veilleux
21dd5b2bed
fixed a bug with skill settings where the last download value was not properly initialized. added some logging
2019-09-17 11:24:10 +02:00
Chris Veilleux
4cfd48104d
deal with empty settings file
2019-09-17 11:24:10 +02:00
Chris Veilleux
fa1db1b9cf
changed device API to hit new settings retrieval endpoint.
2019-09-17 11:24:10 +02:00
Åke Forslund
30104b58c1
Fix broken tests
...
- Correct settingsmeta upload endpoint
- Remove test for delete settingsmeta endpoint
- Fix usage of Pathlib for python 3.4 and 3.5
2019-09-17 11:24:10 +02:00
Chris Veilleux
826c822a74
only save settings to disk if a change is detected.
2019-09-17 11:24:10 +02:00
Chris Veilleux
b1a63638c1
implemented a stop-gap change to keep the skill API from breaking
2019-09-17 11:24:10 +02:00
Chris Veilleux
5c742d2ed0
complete rethink of how settings and settingsmeta are handled in core.
2019-09-17 11:24:10 +02:00
Chris Veilleux
bbb288a5f0
small typo fix
2019-09-17 11:15:39 +02:00
Åke
7ba1da5b25
Merge pull request #2305 from MycroftAI/bug/false-internet-connection
...
fix issue with false internet connection test
2019-09-17 10:18:31 +02:00
Åke Forslund
29dbbe1bee
Update to use the old dns connection test aswell
...
This handles capture portals as well.
The standard connection logic is now
Check outside ip is reachable and after that check that www.google.com
is resolvable and connectable.
TODO: create endpoint on backend with known response to perform check
upon.
2019-09-17 09:27:43 +02:00