Chris Veilleux
3efce9639e
Clean up of messagbus/send.py
...
- reorder imports
- refactor docstrings for consistency
- rename camel case variables to use snake case
2019-07-19 08:16:54 +02:00
Chris Veilleux
7a7ed8944d
Clean up of message.py
2019-07-19 08:16:54 +02:00
Chris Veilleux
468fb800a7
refactor messagebus service:
...
- add some docstrings
- put config retrieval in a function
- add log messages
2019-07-19 08:16:09 +02:00
Åke
345e28f5fa
Merge pull request #2206 from MycroftAI/doc/readthedocs2
...
Quickfix: readthedocs build
2019-07-18 14:55:13 +02:00
Åke
8c075e2600
Merge pull request #2211 from forslund/feature/send-settings-on-pairing
...
Trigger settings update on pairing complete
2019-07-15 13:58:36 +02:00
Åke Forslund
3e0cac8c1e
Trigger settings update on pairing complete
2019-07-14 21:01:44 +02:00
Åke Forslund
ddb9d5b0a2
Hack: Fix readthedocs build
...
The Mycroft API documentation were blank due to the import of the yaml
module for some reason. This moves the import into the method where it's
used
2019-07-14 08:17:05 +02:00
Kris Gesling
efa69e0526
'next {day}' to be 3-9 days in future ( #2184 )
...
* 'next {day}' to be 2-9 days in future
* restore module level docstring
* remove lang specific definition of 'next'
* restore module level docstring
2019-07-13 11:53:38 +02:00
Åke
ffe81156ce
Merge pull request #2203 from MycroftAI/bugfix/ntp-sync
...
Add mycroft_mark_2pi to platforms needing ntp sync
2019-07-12 14:04:24 +02:00
David Wagner
4b480dcf32
Add mycroft_mark_2pi to platforms needing ntp sync
2019-07-12 06:56:35 -05:00
Åke
cddb1ab981
Merge pull request #2190 from strugee/patch-1
...
Recognize "confirm[ed]" as a word for "yes"
2019-07-12 08:41:04 +02:00
Åke
fc0a253c28
Fetch CLI log path from config if available ( #2192 )
...
* Fetch CLI log path from config if available
* Remove the old log locations
2019-07-11 17:40:40 -05:00
Åke
da00b38f82
Explain the config system used here. ( #2201 )
...
- Add module docstring
- Add comment in the init class method about setting up the log level
- Add mycroft.util.log to the readthedocs documentation
- Add comment in the config about the log_level
2019-07-11 17:39:50 -05:00
Åke
5555fa398d
Merge pull request #2197 from forslund/feature/skills-startup-speedup
...
Skills process startup speedup
2019-07-10 16:30:48 +02:00
Åke
ebda6a8474
Merge pull request #2198 from forslund/feature/no-report-empty
...
Only report STT timing if transcription exists
2019-07-10 08:02:58 +02:00
Åke Forslund
b79bd0e317
Remove unused import of sys
2019-07-09 22:54:24 +02:00
Åke Forslund
b0ddb9a74a
Only report STT timing if transcription exists
...
To clean up the metrics log empty transcriptions from false activation
are no longer reported.
2019-07-09 22:54:06 +02:00
Åke
80b50598fb
Merge pull request #2196 from forslund/feature/skill-timing-report-skill_id
...
Add skill_id to skill handler timing report
2019-07-09 22:42:58 +02:00
Åke Forslund
94ab53f47e
Handle sending skill manifest
...
Skill manifest is now sent on each startup if paired otherwise after successful pairing.
2019-07-09 16:52:27 +02:00
Åke Forslund
d87ff3a535
Launch settings fetching in thread.
2019-07-09 16:52:27 +02:00
Åke Forslund
cd16404455
Download skills if they're stale or in unknown state
...
Checks if the skills haven't been updated for more than 2 weeks or if
the last_download is undefined. last_download may be undefined if
the .msm file is missing or if the list of installed requirements is
missing so skill requirements may be missing.
This also makes sure the skills are normally loaded before the an update
attemt is tried.
2019-07-09 16:52:27 +02:00
Åke Forslund
58cab5cddb
Add support for slowloading skills
...
Upgrade msm to 0.7.8
Using the new max_threads parameters to MycroftSkillsManager.apply() the
skill loading is reduced to 2 threads if it's during runtime while a
fast update (20 threads) are used if not all default skills are
installed to speed up getting core into a 100% operational state.
2019-07-09 16:52:10 +02:00
Åke
8e4b2fca2b
Merge pull request #2187 from krisgesling/fix/non-month-may
...
Fix parsing dates in utterances that include non-month 'may'
2019-07-08 15:56:02 +02:00
Åke Forslund
c2c2377780
Add additional exceptions for may
2019-07-08 15:36:14 +02:00
Kris Gesling
946b7bf3de
fix requests with non-month 'may'
2019-07-08 15:36:14 +02:00
Åke Forslund
fe31564114
Remove unused imports
2019-07-08 14:41:09 +02:00
Åke Forslund
6466be63d8
Add skill_id to skill handler timing report
2019-07-08 09:12:20 +02:00
AJ Jordan
0bde03bc08
Recognize "confirm[ed]" as a word for "yes"
...
Fixes #2189
2019-07-04 15:40:03 -07:00
Åke
fa23815f96
Merge pull request #2185 from forslund/bugfix/resting-screen-handler
...
Resting screen handler name fix
2019-07-04 18:03:48 +02:00
Åke Forslund
44c0a0e430
Restore sys.path after test_register_decorator
...
Issue detected by pyflake, the original sys.path was never restored
2019-07-03 08:57:38 +02:00
Åke Forslund
fbcf731556
Remove broken auto-naming of resting_screen_handler
...
The automatic naming of the resting_screen_handler wasn't working (error
occured if no name was supplied)
Added test case for the function
2019-07-03 08:40:34 +02:00
Åke
63c3737f98
Merge pull request #2183 from forslund/feature/better-listener-update
...
Better listener update
2019-07-02 06:57:36 +02:00
Åke Forslund
ff3849ce4d
Fix failing test case
2019-07-01 22:55:40 +02:00
Åke Forslund
f0e397b32e
Do not change process conf when preparing hotwords
...
A backwards compatibility piece of code creates a hotword from the
listener settings if the listener referes to a non-existing hotword.
This makes sure the generated config doesn't affect the loaded
configuration to avoid extra reloads of precise.
2019-07-01 20:58:22 +02:00
Åke Forslund
3a478c4a4d
Update listener reload check
...
The reload check is now using a more reliable method and only a subset
of the configuration. Currently set to "listener", "hotwords", "opt_in"
and "stt".
2019-07-01 20:58:12 +02:00
devs-mycroft
0ec3dbee47
Version bump from 19.2.12 to 19.2.13
2019-07-01 11:21:44 +00:00
Åke
df9b5eb9ec
Merge pull request #2182 from forslund/bugfix/skills-data-remove-update
...
Remove 'update' field from skills data
2019-07-01 12:35:01 +02:00
Åke Forslund
28e20617fd
Remove 'update' field from skills data
...
Filter out update field from skills data when sending skills manifest
since backend will reject fields with unexpected data
2019-07-01 12:24:18 +02:00
Åke
12f13ef47c
Merge pull request #2177 from forslund/bugfix/settings-allow-retry-after-delay
...
Remove incorrect settings meta upload disable flag
2019-07-01 09:35:46 +02:00
Åke
f42cec0886
Merge pull request #2172 from forslund/feature/msm-0.7.7
...
Correct skill GID's for skills not in the marketplace
2019-07-01 09:31:09 +02:00
Kris Gesling
b8230c95b2
Merge pull request #2178 from forslund/feature/docs-format-parse
...
Feature/docs format parse
2019-07-01 13:14:44 +09:30
Åke Forslund
83b4a91b8b
Remove incorrect settings meta upload disable flag
...
This allows core to retry sending settings meta after a failed attempt
2019-06-29 21:00:15 +02:00
Åke Forslund
2f1f6a6005
Improve MycroftSkill docstring
2019-06-28 15:30:13 +02:00
Åke Forslund
25026e9f4c
Add docs for the mycroft.util.format module
...
- Adds a module docstring to both format and parse module
- Update toc with a short description for these members
- Fix slight formatting issues
2019-06-28 15:30:13 +02:00
Åke
ced888951c
Merge pull request #2176 from forslund/feature/lock-cryptography-version
...
Lock cryptography version to 2.6.1
2019-06-28 13:17:16 +02:00
Åke Forslund
5d2db22bfd
Lock cryptography version to 2.6.1
...
The newly released cryptography 2.7 deprecates OpenSSL 1.0.1 and will in
the future not support it.
This version is currently installed on the mark-1 devices, to make sure
thing doesn't break in the future the cryptography version is locked to
v2.6.1 the latest version supporting this OpenSSL version.
2019-06-28 12:47:03 +02:00
Åke
a8d0510589
Merge pull request #2174 from MichaIng/patch-1
...
German spelling: May => Mai
2019-06-27 19:12:18 +02:00
MichaIng
6bb8d4e0ae
German spelling: May => Mai
2019-06-26 19:30:07 +02:00
Åke
dbe3f2242b
Merge pull request #2173 from forslund/bugfix/debian-detect
...
Fix debian detection
2019-06-26 11:18:21 +02:00
Åke Forslund
51db7829bd
Fix debian detection
...
Debian is not like Debian, Debian is Debian
2019-06-26 10:41:00 +02:00