mycroft-core/mycroft/client
Steve Penrod 0d64e78d0c Add protection for naive skill authors (#1825)
* Add protection for naive skill authors

It is fairly common for new skill authors to attempt actions in the __init__()
method which are not legal yet, as the Skill has not been fully connected to
the Mycroft system.  This adds an @property protection layer for the two most common
issues:
* Accessing MycroftSkill.bus
* Accessing MycroftSkill.enclosure

Now those are properties instead of variables and provide appropriate warnings
when used before they exist.

Also enhancing the handling of error logs in the CLI to highlight problems such
as this:
* Color "- ERROR -" log messages in red
* Retaining leading characters from log messages, improving readability in formatted messages
2018-10-01 21:41:48 +02:00
..
enclosure Fix for broken communication with Arduino 2018-09-03 14:50:51 +02:00
speech Check for a Precise model automatically for custom wake words 2018-09-26 11:14:15 -05:00
text Add protection for naive skill authors (#1825) 2018-10-01 21:41:48 +02:00
__init__.py Change to Apache 2.0 license from GPLv3.0 2017-10-04 01:28:44 -05:00