Commit Graph

801 Commits (e9c94d0305039073b78a42071a81e080dc9fbdf2)

Author SHA1 Message Date
JarbasAI 12c299789a autopep8 missed line 85 2017-03-14 11:33:15 -05:00
JarbasAI 870e827b5d autopep 8 2017-03-14 11:12:34 -05:00
Augusto Monteiro 9433167eab Merge pull request #549 from JarbasAI/patch-2
added blacklist check to load_skill#551
2017-03-13 14:53:52 -05:00
Augusto Monteiro dc53c9571b Merge pull request #548 from MycroftAI/feature/issue-547
This implements CLI enhancements per issue #547
2017-03-13 14:38:33 -05:00
Åke Forslund f0eb55effb Add functionality to remove and restore intents. 2017-03-13 18:15:12 +01:00
JarbasAI 9d55a6ab2d Update main.py 2017-03-12 16:44:46 -05:00
JarbasAI 07864cb6c9 list of pripritary skills
generalized for more skills
2017-03-12 16:42:42 -05:00
JarbasAI 5714bc608f pep 8 2017-03-11 16:03:41 -06:00
JarbasAI 00cfbd7f1b load intent skill first
intents for skills loaded before intent skill were not executing because register_intent messages were missed
2017-03-11 15:50:30 -06:00
JarbasAI b0bca504ee added blacklist check to load_skill
skill blacklisting was checked in load_skills which is no longer used in favor of watch_skills calling load_skill directly
2017-03-11 13:46:18 -06:00
penrods bc9956cd68 Fixing sloppy copy/paste errors. 2017-03-10 16:23:00 -06:00
penrods 9fce7d4620 This implements CLI enhancements per issue #547
Main CLI enhancements:
* Microphone meter
* Long log line left/right scrolling
* Eliminated flicker
* VT100 ESC key code support (used by some terms)

In addition, to achieve the meter it was necessary to implement a mechanism for local Inter Process Communication (IPC).  This is achieved using the file-system.  By default a folder structure is created under /tmp/mycroft/ipc, but it can be directed to somewhere else by setting the config value in mycroft.conf:
    "ipc_path" : "/path/to/somewhere"
In the future, Mark 1 and Picroft will get RAM disks to avoid burning out the SD card.  This is also a very fast communication mechanism.  This is all hidden under util.get_ipc_directory()

Further, the named signal mechanism was changed to use the IPC folder.  The signal can have a lifetime now (not just one shot).
2017-03-10 01:30:15 -06:00
JarbasAI b13070f276 added reload_skill flag 2017-03-09 01:56:23 -06:00
JarbasAI 7258dc6214 do not reload intent
or register_intent messages are missed and wolphram alpha always executes
2017-03-09 01:56:23 -06:00
JarbasAI 964fdb838e added do not reload flag 2017-03-09 01:56:23 -06:00
Arron Atchison 09ed3a6845 bump to 0.8.6 2017-03-01 09:45:56 -06:00
penrods 49b1530976 Fixing color initialization. I assumed 16 colors were defined, but that isn't standard on all terminals. Now only assuming the first 8. 2017-02-27 15:15:13 -06:00
penrods 6feac48c13 Bug fix for when the log contains a really short line (less than 8 characters). 2017-02-27 15:15:13 -06:00
penrods b51bd4acd9 Further enhancements:
* Added "--simple" mode, to get the old cli behavior
* Rewrote to not use tail (works better with multiple log files)
* Added Ctrl+PgUp/Dn support for scrolling back in logs
* Added filtering
* Refined look and log coloring
* Added :help screen
* Added support for terminal resizing
2017-02-27 15:15:13 -06:00
penrods 9e937964b0 For issue #535
* Fixed pep8 errors
* Added monitoring of relative and system log files for both github and package installs.
2017-02-27 15:15:13 -06:00
penrods bd68c478d7 First check-in of enhanced command line interface (CLI):
* Uses curses
* Displays a "chat history" with requests and responses
* Shows filtered logs from mycroft-skills.log, mycroft-voice.log
* Start of framework for special ":" commands (for log searching, etc)
2017-02-27 15:15:13 -06:00
Karl Fezer ffa6d4c50b Adds ./mycroft.sh start -d option that boots directly into the cli
modified:   mycroft.sh
2017-02-27 13:35:55 -06:00
Arron Atchison 75c24182d5 Update install-mimic.sh 2017-02-27 13:30:34 -06:00
Arron Atchison ee8820a048 Update .travis.yml 2017-02-27 13:30:34 -06:00
Arron Atchison 72af3fdee7 This might fix travis for mimic, thanks forslund 2017-02-27 13:30:34 -06:00
Arron Atchison 711433688b Added libicu-dev to deps for mimic 2017-02-27 13:30:34 -06:00
Arron Atchison a4dfbe591e Updating travis config to include a new dependency for mimic 2017-02-27 13:30:34 -06:00
Arron Atchison 754b7e7bc5 updated mimic to 1.2.0.1 with gcc fix; added make install; it's working great now 2017-02-27 13:30:34 -06:00
Arron Atchison 2b46d12b3a this is what works in my case, with gcc 6.2.0 2017-02-27 13:30:34 -06:00
Arron Atchison a7f0e9265d And autogen needs the ".sh" 2017-02-27 13:30:34 -06:00
Arron Atchison e41a23e5fe I had forgotten autogen 2017-02-27 13:30:34 -06:00
Arron Atchison 91137e6635 Updating Mimic version to 1.2.0; using --enable-shared flag for future Pymimic support 2017-02-27 13:30:34 -06:00
Augusto Monteiro 9fa77c4452 #521 - Ensuring that skill only try to load once 2017-02-23 23:03:12 -08:00
Augusto Monteiro 67e3c5f4a5 #521 - Using while instead of recursive function 2017-02-23 23:03:12 -08:00
Augusto Monteiro da01755fe6 #521 - Fixing pep8 2017-02-23 23:03:12 -08:00
Augusto Monteiro d50f2990f1 #521 - Refactoring watch_skill method 2017-02-23 23:03:12 -08:00
Augusto Monteiro 0044e154df #521 - removing comment 2017-02-23 23:03:12 -08:00
Augusto Monteiro 1b0afe92de #521 - Skill auto reload 2017-02-23 23:03:12 -08:00
penrods e47e38c92c Fixes issue #528
Max recording time is now 10 seconds instead of 30.  This deals with cases where a noisy background prevents the listener's silence detection from triggering.  30 seconds was WAAY too long to keep listening -- nobody is going to be saying something that long for now.
2017-02-23 20:54:39 -08:00
Karl Fezer 900033b99e Changes to be committed:
modified:   mycroft/util/__init__.py

FIXES BUG 519
2017-02-15 18:48:20 -08:00
Arron Atchison de00192dc6 all lil peps fixed 2017-02-15 15:37:52 -06:00
Arron Atchison c1ea573493 fixed pep8 in enclosure client folder 2017-02-15 15:37:52 -06:00
Arron Atchison 8599146dc4 fix pep8 in skills folder 2017-02-15 15:37:52 -06:00
Karl Fezer d3fef6be61 modified: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer 4d50f852d2 modified: mycroft/util/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer e0d11b1dd0 modified: mycroft/util/__init__.py
Fixing Pep8 errors
part of issue 515
2017-02-15 15:37:52 -06:00
Karl Fezer e874df266e Changes to be committed:
modified:   mycroft/util/__init__.py
2017-02-15 15:37:52 -06:00
kfezer 58d3b214ae Update __init__.py 2017-02-15 15:37:52 -06:00
Arron Atchison 5576f01e91 commenting out unit tests in .travis.yml 2017-02-15 15:37:52 -06:00
kfezer 28f452bd6b Update mycroft.conf 2017-02-15 15:37:52 -06:00