Commit Graph

913 Commits (570687d04ad5c98ca60a0d6e5aa5fd3b65a84a27)

Author SHA1 Message Date
kfezer@gmail.com 570687d04a increases boot delay on reboot after ssh and reset
modified:   mycroft/client/enclosure/__init__.py
2017-05-18 16:53:10 -03:00
Arron Atchison 95a235dd6e bump enclosure version to 0.1.22 2017-05-18 16:53:10 -03:00
Augusto Monteiro 'Sparky 876bc20f86 Adding demo skill 2017-05-18 16:53:10 -03:00
SoloVeniaASaludar 942055a95f + 2017-05-18 16:53:10 -03:00
SoloVeniaASaludar f7b790b660 + 2017-05-18 16:53:10 -03:00
Augusto Monteiro 'Sparky 8232772ee6 Adding demo mode
* Sending an event to messagebus when demo button is pressed
2017-05-18 16:53:10 -03:00
kfezer@gmail.com 18e5127cf9 Fixes error with wpa_supplicant string
modified:   mycroft/client/wifisetup/main.py
2017-05-18 16:53:10 -03:00
Augusto Monteiro 'Sparky 346a314c98 - Device api find is passing self to get 2017-05-18 16:53:10 -03:00
Steve Penrod c44d386a35 Adding localization mechanism for strings embedded in mycroft-core code (#717)
* Adding localization mechanism for strings embedded in mycroft-core code

Added mycroft.dialog.get() function.  This behaves much like the localization
mechanism for dialogs in Skills.  So you can do things like this:

   lang = "en-us"
   str = mycroft.dialog.get("how are you", lang)

Which will look in mycroft/res/text for the dialog file containing strings to
use as templates for the actual output.  This depends on the language being
currently used.  When operating in English this would be:

   mycroft/res/text/en-us/how are you.dialog

This function will pick a random line from that file to assign to str.

A more advanced use is to embed placeholders in the strings within the
template file.

   lang = "en-us"
   ctx = {"time" : "noon"}
   str = mycroft.dialog.get("current time", lang, ctx)

And the random template line picked was "the current time is {{time}} ", then
the output would be:

   "the current time is noon"
2017-05-18 16:53:10 -03:00
SoloVeniaASaludar 85a74ab72f + 2017-05-18 16:53:10 -03:00
kfezer@gmail.com 8b6be6e26b modified: mycroft/client/wifisetup/main.py 2017-05-18 16:53:10 -03:00
SoloVeniaASaludar 690d9763a9 + 2017-05-18 16:53:10 -03:00
SoloVeniaASaludar 8ec3c7f8bc normalize_es 2017-05-18 16:53:10 -03:00
kfezer@gmail.com 07ec6bd422 modified: mycroft/client/enclosure/__init__.py 2017-05-18 16:53:10 -03:00
kfezer@gmail.com 6f31c93fc0 modified: mycroft/client/wifisetup/main.py 2017-05-18 16:53:10 -03:00
kfezer@gmail.com ea6e3c2539 modified: mycroft/client/wifisetup/main.py 2017-05-18 16:53:10 -03:00
kfezer@gmail.com 8669599461 modified: mycroft/client/enclosure/__init__.py
modified:   mycroft/client/wifisetup/main.py
2017-05-18 16:53:10 -03:00
kfezer@gmail.com 5f70f5117c modified: mycroft/client/wifisetup/main.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com 85c6cb6a72 modified: mycroft/client/wifisetup/main.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com 8935259889 modified: mycroft/client/wifisetup/main.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com 0b8e033d1c modified: mycroft/client/enclosure/__init__.py
modified:   mycroft/client/wifisetup/main.py
2017-05-18 16:51:54 -03:00
kfezer@gmail.com 3830d619d8 modified: mycroft/client/wifisetup/main.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com ed249471f8 modified: mycroft/client/enclosure/__init__.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com bb756882d3 modified: mycroft/client/wifisetup/main.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com 46286b4cc2 modified: mycroft/client/enclosure/__init__.py
modified:   mycroft/client/wifisetup/main.py
2017-05-18 16:51:54 -03:00
penrods 99b7280e24 Renaming DeviceApi.find() to DeviceApi.get()
Developers do not expect a function called "find" to execute an API request, this is a "get".  (I verified this with several other devs.)  Renamed and added a Deprecated comment for now.  Also:
* Added missing standard mycroft-core copyright.
* Added docstrings for basic objects and the STTApi in particular.
2017-05-18 16:51:54 -03:00
kfezer@gmail.com f02470d6a0 modified: mycroft/client/enclosure/__init__.py 2017-05-18 16:51:54 -03:00
SoloVeniaASaludar 67cd3058d9 Update msm 2017-05-18 16:51:54 -03:00
SoloVeniaASaludar ed6772e5b9 bugfix/issue-680 2017-05-18 16:51:54 -03:00
kfezer@gmail.com 353999b2a9 modified: mycroft/client/enclosure/__init__.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com d8565bb429 modified: mycroft/client/enclosure/__init__.py 2017-05-18 16:51:54 -03:00
kfezer@gmail.com 554fc09bc8 Adding SSH enable option
modified:   client/enclosure/__init__.py
2017-05-18 16:51:53 -03:00
Augusto Monteiro 'Sparky f9463da857 #706 - checking network connection 2017-05-18 16:51:17 -03:00
Augusto Monteiro 'Sparky a5bdc3e134 #706 - saying that isn't connected 2017-05-18 16:51:17 -03:00
kfezer 0c521107ab Update __init__.py
Adds delay to the wifi reset
2017-05-18 16:51:17 -03:00
Augusto Monteiro 'Sparky 7789db4e3c #706 - fixing on raspberry msm 2017-05-18 16:51:17 -03:00
kfezer@gmail.com 5731054eab modified: mycroft/client/wifisetup/main.py 2017-05-18 16:51:17 -03:00
kfezer@gmail.com 68f8bc262c deleted: mycroft/client/wifisetup/wpa_supplicant.conf.master 2017-05-18 16:51:17 -03:00
kfezer@gmail.com 65b1810b40 modified: mycroft/client/enclosure/__init__.py
modified:   mycroft/client/speech/mic.py
	modified:   mycroft/client/wifisetup/main.py
	new file:   mycroft/client/wifisetup/wpa_supplicant.conf.master
2017-05-18 16:51:17 -03:00
Augusto Monteiro 'Sparky cbd2bf99d8 #706 - Using configuration to get msm bin 2017-05-18 16:51:17 -03:00
Åke Forslund 3710c4e58d Add __init__ to test/util to activate tests in that subdir 2017-05-18 16:51:17 -03:00
Åke Forslund b9c4e84bb1 Add short docstring to create_file() 2017-05-18 16:51:17 -03:00
Åke Forslund 11391557f5 Ensure that signal directory exists when creating signal.
Also add test cases for ipc signals
2017-05-18 16:51:17 -03:00
kfezer@gmail.com d72af17c0e modified: msm/msm
Added singing as a defualt skill
2017-05-18 16:51:17 -03:00
Åke Forslund 0c9f3ebefb Stop multi-sentence speech 2017-05-18 16:51:17 -03:00
SoloVeniaASaludar 36926953d6 + 2017-05-18 16:51:17 -03:00
Augusto Monteiro 'Sparky 190a72da8d #696 - checking connection 2017-05-18 16:51:17 -03:00
Åke Forslund ac05fd4fd0 Add coverage with nose2 and coveralls 2017-05-18 16:51:17 -03:00
Augusto Monteiro 'Sparky 92bc82be15 #696 - listening on connected 2017-05-18 16:49:07 -03:00
Augusto Monteiro 'Sparky 6a0f608207 #696 - installing skills on connect 2017-05-18 16:49:07 -03:00