Commit Graph

270 Commits (d3621b7fca2cf576daddd007fc3db82206906855)

Author SHA1 Message Date
Michael Nguyen d3621b7fca [WIP] refactored 2017-06-28 17:31:35 -05:00
Michael Nguyen 344d53cc7e [WIP] 2017-06-28 11:35:25 -05:00
Michael Nguyen e3b4e7c6e3 [WIP] modify settings.py to post metadata to api, and get settings form api 2017-06-28 11:32:19 -05:00
Åke Forslund 5ac2e5f51e Check if settings have changed with simple hash 2017-06-22 08:36:33 +02:00
Steve Penrod c824c03611 Feature/onboarding bug (#811)
* Implementing changes to out-of-the-box experience, providing an "onboarding" process.

* Added a mycroft.api.is_paired() method
* Added mycroft.util.is_speaking and mycroft.util.wait_while_speaking() methods
* RESET now waits for the spoken notice to complete
* Stopped the "Checking for updates" and "Skills updated" prompts (commented out for now, probably will eliminate)
* Wifi setup filters out hidden ("x00") networks
* Visemes should keep up better if they get behind (will skip)
* Mimic is now searched for on the users path
* Onboarding process:
  - wifi setup starts automatically
  - User is walked through the process
  - wake word and button pressing are ignored
  - At end, a short tutorial is given

* Fixing pep8 whitespace errors... grrr

* Typo in onboarding changes prevented pairing for auto-starting

The command "pair my device" needed to be sent as an array, ["pair my device"]
2017-06-07 19:40:34 -05:00
penrods ffc3f6ec60 Implementing changes to out-of-the-box experience, providing an "onboarding" process.
* Added a mycroft.api.is_paired() method
* Added mycroft.util.is_speaking and mycroft.util.wait_while_speaking() methods
* RESET now waits for the spoken notice to complete
* Stopped the "Checking for updates" and "Skills updated" prompts (commented out for now, probably will eliminate)
* Wifi setup filters out hidden ("x00") networks
* Visemes should keep up better if they get behind (will skip)
* Mimic is now searched for on the users path
* Onboarding process:
  - wifi setup starts automatically
  - User is walked through the process
  - wake word and button pressing are ignored
  - At end, a short tutorial is given
2017-06-07 11:45:06 -05:00
kfezer 3988da5ffb Merge pull request #692 from forslund/feature/issue-691
#691 - adding setting per skill
2017-05-30 16:47:33 -07:00
Åke Forslund 986cf55d1b Use exit status of msm to determine install success
- msm will now return immediately if an error occurs
- install_default_skills now checks exit status instead of text output
2017-05-23 07:47:06 +02:00
Åke Forslund bcd7776a38 Fix grammar issue. 2017-05-20 08:31:39 +02:00
Åke Forslund 3a71f85301 Replace load_settings() with a settings property
settings are now loaded and created when required and not directly at
load of skill.
2017-05-20 08:31:22 +02:00
Åke Forslund 0ef94689bf Add docstrings. 2017-05-20 08:31:07 +02:00
Åke Forslund e79dee92e9 Only store settings object after new write 2017-05-20 08:30:31 +02:00
Åke Forslund 40010e90f0 Store settings object on shutdown 2017-05-20 08:30:07 +02:00
Åke Forslund b6a34f8cee Add skill settings to skills 2017-05-20 08:29:05 +02:00
Åke Forslund 4912573cab Remove ignoring SIG_CHLD
Ignoring SIG_CHLD can be convenient but parts of the python standard
library relies on the behaviour of SIG_CHLD and will not work correctly
in this configuration.
2017-05-20 08:16:52 +02:00
penrods 3c2b78c670 Stopping attempt to perform Skill Update unless connected to the internet
Stopping attempt to perform Skill Update unless connected to the internet.  Also added translatable versions of spoken messages.
2017-05-18 16:53:10 -03:00
Åke Forslund c89cb36670 Enable config updates for skills in container 2017-05-18 16:53:10 -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
Augusto Monteiro 'Sparky 7789db4e3c #706 - fixing on raspberry msm 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
Augusto Monteiro 'Sparky 190a72da8d #696 - checking connection 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
Chris b1abdba19c Fixed typo
There was a typo ("Lodaded" instead of "Loaded") which I have fixed
2017-05-18 16:49:07 -03:00
Åke Forslund 484d4a9ce3 Move ignore SIGCHLD to entry points.
Ignoring SIGCHLD trips up unittests, this was done as the unittest loaded mycroft.skills.core
2017-05-18 16:49:07 -03:00
Augusto Monteiro 'Sparky 650df97f0e #683 - removing msm path configuration 2017-05-18 16:49:07 -03:00
Åke Forslund ae38e90ec7 Fix skill container.
Switch from Intent to IntentService.
2017-05-18 16:49:07 -03:00
Augusto Monteiro 'Sparky 2a4e5c3e73 #671 - comparing the dates inside de loop instead of add all in a array 2017-04-19 20:08:48 -05:00
Augusto Monteiro 'Sparky 4e885ee4c5 #671 - making auto load doesn't watch hidden folders changes 2017-04-19 20:08:48 -05:00
Augusto Monteiro 'Sparky d21b0bd948 #671 - Fixing autoload when folder doesn't exists 2017-04-17 11:27:07 -07:00
Augusto Monteiro 'Sparky 237827a099 #671 - fixing auto load 2017-04-17 10:26:34 -07:00
Steve Penrod c6e6c8244a Reverting to 'msm' (as in repo) instead of 'msm.sh' 2017-04-14 13:50:30 -07:00
Steve Penrod 60abb41fc6 Fix for issue #659, broken git install after recent changes
There are several issues with the changes recently made to break out
Skills from mycroft-core.
* The subdirectory mycroft/skills/intent/ is left behind when you do
  a pull, so the change to core.py that tries to
  "import mycroft.skills.intent" gets confused.  I renamed the file
  intent.py to intent_service.py
* Added a bunch of comments
* Made a bunch of functions "private", using the leading _
* The MSM install was failing.  Still working on that, but we should
  probably make msm.sh a part of mycroft-core instead of its own
  repo.
* Restored some mycroft.conf values that I noticed got lost during
  an automatic merge.
2017-04-14 01:53:29 -07:00
Åke Forslund e9c94d0305 Update skill container to use Intent class
the command line to enable the intent parsing is now --enable-intent
2017-04-08 11:41:31 +02:00
Åke Forslund 95641451fa Fix PEP-8 issues 2017-04-08 11:08:13 +02:00
DMendyke ed21c1471c Merge pull request #638 from MycroftAI/dmendyke.service.instance
Code to prevent multiple instances of a service
2017-04-07 15:40:26 -07:00
Augusto Monteiro 'Sparky 621c7c4437 #636 - Fixing pep8 2017-04-06 17:14:18 -07:00
Augusto Monteiro 'Sparky b35c012692 #636 - Adding ignore logs 2017-04-06 17:14:18 -07:00
Augusto Monteiro 'Sparky 13fe3fe12a #636 - Removing old skills folder 2017-04-06 17:14:18 -07:00
Augusto Monteiro 'Sparky 54db8c6c33 #546 - Fixing pep8 2017-04-06 16:55:09 -07:00
Augusto Monteiro 'Sparky 18f4ff3e90 #546 - Fixing pep8 2017-04-06 16:42:43 -07:00
Augusto Monteiro 'Sparky 2e172433aa #546 - Adding feedback to user that mycroft is updating 2017-04-06 16:30:58 -07:00
Augusto Monteiro 'Sparky f708a1e15c #546 - Using events 2017-04-06 16:08:23 -07:00
dmendyke 0bfbe58467 pep8 2017-04-06 15:57:34 -07:00
dmendyke c7645be49c Added PID locking to both 'voice' and 'service' services. 2017-04-06 12:59:31 -07:00
Augusto Monteiro 'Sparky b5aeca02ac #546 - Removing unsed import 2017-04-05 17:11:20 -07:00
Augusto Monteiro 'Sparky aeb73054da #546 - Installing Default Skills 2017-04-05 16:46:54 -07:00
Augusto Monteiro 'Sparky 1f59c50df5 #546 - Removing Skills 2017-04-05 16:23:42 -07:00
dmendyke f81d5b1249 Added locking PID file creation to 'skills' service 2017-04-05 15:16:32 -07:00