Commit Graph

853 Commits (0284103492daa02a9180e26151f0ef7bcd442252)

Author SHA1 Message Date
Åke Forslund 0284103492 Disable failing tests for now while unittests are re-enabled 2017-05-18 16:49:07 -03:00
Åke Forslund 63ce4ced02 Remove pairing skill test since it's not part of core 2017-05-18 16:49:07 -03:00
Åke Forslund cb4ce7e481 Replace GoogleSTT with MycroftSTT 2017-05-18 16:49:07 -03:00
Åke Forslund cd088415d0 Fix init of local recognizer 2017-05-18 16:49:07 -03:00
Åke Forslund 028e0bf56d Both date formats tested. 2017-05-18 16:49:07 -03:00
Åke Forslund 2180c1872d Add dedicated directory for empty directory tests. 2017-05-18 16:49:07 -03:00
Åke Forslund 26b3423fb2 Correct test criteria for time format for scheduled skill.
Now matches current behaviour, previous behaviour is not a good idea since it depended on Locale.
2017-05-18 16:49:07 -03:00
Åke Forslund a56d8146a3 record.wav amplified.
Record test failed due to low signal in record.wav
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 e21acc2d12 #686 - update skill should only update unchanged skills 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
penrods 236e639728 Bumping version number to allow new build with 'git' as a package requirement for 'msm' 2017-05-18 16:49:07 -03:00
Ethan Ward efa546836f Update audio accuracy test 2017-05-18 16:49:07 -03:00
Arron Atchison 8bc55ac7f8 Merge tag 'release/v0.8.9' 2017-04-20 17:57:15 -07:00
Arron Atchison fb70977891 bump version to 0.8.9 2017-04-20 17:49:10 -07:00
Peter Robinson 594d377116 Explicitly add mpg123-plugins-pulseaudio
The pulseaudio plugin is the better supported on in Fedora so explicitly
install that alongside mpg123.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2017-04-20 12:59:53 -07:00
Peter Robinson 3a2ddac66a Drop rpmfusion from Fedora install script
From Fedora 25 mpg123 is now included in the main Fedora repositories
so we don't need to add the rpmfusion repos for the build dependencies.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2017-04-20 12:59:53 -07:00
Liviu Vasut 2d0d536eda Issues-657 - replaced hardcoded fedora version 2017-04-20 12:58:03 -07: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
kfezer 3a69310966 Merge pull request #672 from MycroftAI/feature/issue-671
#671 - fixing auto load
2017-04-17 18:39:30 +00: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
penrods eff7b1bc6f Fix for issue #665. Synching requirements.txt versions with various skills- repos as a stopgap. 2017-04-14 18:18:13 -07:00
Steve Penrod 96332ac77c Fixing minor issues from review 2017-04-14 19:41:00 -05:00
Augusto Monteiro 'Sparky b2f2bab5fd #663 - Adding msm file 2017-04-14 19:41:00 -05:00
Augusto Monteiro 'Sparky 67cc90a7e1 #633 - deleting submodule 2017-04-14 19:41:00 -05:00
Augusto Monteiro 'Sparky 9e7e2c12f9 #663 - removing install msm 2017-04-14 19:41:00 -05:00
Augusto Monteiro 'Sparky 1826a517ed #663 - moving msm 2017-04-14 19:41:00 -05:00
Augusto Monteiro 'Sparky 7d0630ee1a #661 - Adding feedback 2017-04-14 17:21:43 -05:00
Augusto Monteiro 'Sparky ed348ad71d #661 - Auto installing msm on start.sh 2017-04-14 17:21:43 -05:00
Augusto Monteiro 94bde8d97b Merge pull request #660 from MycroftAI/feature/issue-659
Fix for issue #659, broken git install after recent changes
2017-04-14 14:02:21 -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
Augusto Monteiro 'Sparky 28d15e2918 #478 - Adding toggle button on wifisetup 2017-04-13 20:04:08 -05:00
penrods 23c445a904 This fixes several issues related to wake-up words and audio recording, including #595.
* The wake up sound is now played synchronously, thus not included in the recorded audio
* The minimum recorded phrase must be at least 0.5 seconds (instead of 0.1), and must be continuously quiet for that duration
* The silence threshold is reset every time we begin listening for a wakeword
* The silence threshold adjusts upward to just above the ambient sound while waiting for the wake-word
* Reformatted some comments to use Google-style docstrings, and added more comments
2017-04-13 19:08:07 -05:00
kfezer 0036f404b5 Merge pull request #654 from MycroftAI/feature/issue-653
The configuration values were poorly documented.  See issue #653
2017-04-13 20:26:54 +00:00
Augusto Monteiro e3e3a89aaa Merge pull request #649 from MycroftAI/feature/issue-648
Several command line interface (CLI) improvements
2017-04-13 12:48:38 -07:00
penrods 00eeadd9df Curse you pep8! :) 2017-04-13 12:43:19 -07:00
penrods 220043cd4e Fixing PEP8 errors 2017-04-13 09:07:22 -07:00
penrods 35a213d4db The configuration values were poorly documented. See issue #653
This addresses this in several ways:
* Created mechanism to load 'commented' JSON (using '//' or '#' comments on a single line)
* Embedded comments into the mycroft.conf, indicating use, legal values, and where they get overridden
* Create ConfigurationManager.instance() static method to replace ConfigurationManager.get().  This produces more readable code like:
  ConfigurationManager.instance().get("value") instead of ConfigurationManager.get().get("value")
* Made _ConfigurationListener 'private'
* docstring'ed things
2017-04-13 01:09:50 -07:00
penrods a2053712ee More CLI fixes/enhancements for #648
* Added log filtering commands to the CLI.  So you can do things within the CLI like:
   :filter DEBUG  (filters out any lines containing "DEBUG")
   :filter remove DEBUG (stop filtering "DEBUG")
   :filter "not this" (filters out any log lines containing "not this")
   :filter list (displays active filters)
   :filter clear (removes all filters)
* Added a ~/.mycroft-cli.conf configuration file.  It currently contains the last-used filters.
* The mycroft.sh scripts were firing up the "fancy" CLI in the background and logging it constantly.  This resulted in huge log files because of the constantly updated microphone level indicator.
2017-04-12 00:15:37 -07:00
Augusto Monteiro 787af8ae64 Merge pull request #652 from JarbasAI/patch-9
change loading order
2017-04-11 09:25:45 -07:00
JarbasAI 805aefc0d7 pep8 2017-04-11 16:24:14 +01:00
JarbasAI faf2e9f3b3 change loading order
load_order = [DEFAULT_CONFIG, REMOTE_CONFIG, SYSTEM_CONFIG, USER_CONFIG]
2017-04-10 20:29:54 +01:00
Steve Penrod 6b496662f4 Google-style docstrings and other minor details 2017-04-10 00:19:55 -07:00
Åke Forslund f4c1f4d2e5 Convert unicode string to bytes before hashing
Ignore flag set for extra safety.
2017-04-09 23:50:26 -07:00
Åke Forslund 7b0703f72b Catch and show errors in mute_and_speak() 2017-04-09 23:50:26 -07:00
Steve Penrod 3732fd28a1 Merge pull request #651 from MycroftAI/hotfix/rebase-master-to-0.8.8
Hotfix/rebase master to 0.8.8
2017-04-09 20:49:36 -07:00