Commit Graph

3843 Commits (fa1bdfdda75a91640473125f9c7aaf33bc5f9b12)

Author SHA1 Message Date
Åke Forslund fa1bdfdda7 Send manifest before starting settingsmeta upload.
Minor restructuring moving the enqueuing of settingsmeta upload to after
updating the skills manifest.
2019-12-18 12:05:40 +01:00
Åke Forslund c11c9756ce Add queue system to send settingsmeta
The queue will store all settingsmeta upload calls and execute them
after pairing can be verified.

Starts settings download after upload has started. When settings meta upload
has started for all skills the skill download process is triggered.

This guarantees that the settingsmeta skill_gid has been populated
properly before skills try to figure out which part of the skills data
belongs to them.

Add docstrings to upload queue
2019-12-18 12:04:57 +01:00
Åke 6aa1d2d86c
Merge pull request #2424 from forslund/bugfix/flake8-dev
Fix incorrect porcupine shutdown and Exception
2019-12-12 17:59:25 +01:00
Åke Forslund 308b0c5111 Fix incorrect porcupine shutdown and Exception
Flagged by flake8 after merge
2019-12-12 17:51:47 +01:00
Åke 3315d98582
Merge pull request #2139 from alumae/feature/issue-1491
Add support for the Porcupine wakeword engine.
2019-12-12 16:59:12 +01:00
Åke 2263fab0b6
Merge pull request #2418 from forslund/bugfix/missing-hotword-parts
Make sure hotword entry has phonemes and threshold
2019-12-09 20:24:58 +01:00
Åke Forslund 0d8cbb57e5 Add Testcase to verify hotword fallback behaviour 2019-12-09 16:28:54 +01:00
Åke ca9e7c6201
Merge pull request #2421 from forslund/feature/dont-filter-debug
Disregard DEBUG entry in CLI filter
2019-12-09 14:23:35 +01:00
Åke Forslund 2fa81aac52 Disregard DEBUG entry in filter
The DEBUG, has been filtered by default. This will disregard the DEBUG
filter completely since the same effect can be achieved by setting the
debug level using ":log level debug".
2019-12-09 08:27:27 +01:00
Åke Forslund f9585e47ba Clean up of create_wake_word_recognizer
- Proper docstring
- " -> '
2019-12-07 20:22:20 +01:00
Åke Forslund 2c2c933832 Make sure hotword entry has phonemes and threshold
If hotword entry is missing either add from old listener location
2019-12-07 20:18:47 +01:00
Åke 24071cdea0
Merge pull request #2416 from MycroftAI/feature/gui-server-modern-tornado
Workaround for gui connection
2019-12-07 15:08:08 +01:00
Åke e4a50f0c81
Merge pull request #2412 from maxbachmann/patch-2
use default python version on redhat
2019-12-07 12:14:17 +01:00
Åke d25560a053
Merge pull request #2413 from ChanceNCounter/bug/extractnumber-en(#2110)
Fix extractnumber_en failure on "%" (#2110)
2019-12-07 09:29:05 +01:00
Chris Rogers 7338387d4d Add failing unit test for 100% 2019-12-06 15:18:14 -08:00
devs-mycroft 599fc57690 Version bump from 19.8.3 to 19.8.4 2019-12-06 11:30:19 +00:00
Åke 4562897a6d
Merge pull request #2414 from forslund/bugfix/clean
Fix --clean option of dev_setup.sh
2019-12-06 11:54:28 +01:00
Åke Forslund 19ecd245b2 Fix --clean option of dev_setup.sh
removing the tmp files needed the recursive flag
2019-12-06 11:45:57 +01:00
ChanceNCounter 5eb6b51eb2 Fix extractnumber_en failure on "%" (#2110)
Closes MycroftAI/mycroft-core#2110
2019-12-05 14:19:37 -08:00
maxbachmann 5c642f5336
use default python version on redhat 2019-12-05 17:46:19 +01:00
Åke 366730b7a9
Merge pull request #2403 from gbaptista/dev
Fixing dev_setup.sh for Arch Linux
2019-12-05 15:21:19 +01:00
Guilherme Baptista d7b4322aa1 removing virtualenv from arch linux 2019-12-05 10:40:22 -03:00
Åke 438e68ecb6
Merge pull request #2411 from MycroftAI/domcross-issue-2120
Fallback to 'en-us' when resource fails
2019-12-05 12:27:42 +01:00
Åke c9de7b431e
Merge pull request #2400 from forslund/feature/python3.8
Fix broken test case on Python 3.8
2019-12-05 10:54:04 +01:00
domcross 7af161fd03 Fallback to 'en-us' when resource fails
When mycroft_skill.find_resource fails to load a resource for self.lang
fall back to lang 'en-us'
as most skills/resources are available in english by default.

==== Fixed Issues ====
2019-12-05 10:21:54 +01:00
Åke 024ed2e587
Merge pull request #2410 from forslund/feature/upgrade-msk
Upgrade msk to 0.3.14
2019-12-05 08:07:58 +01:00
Åke ceec66e9ae
Merge pull request #2404 from forslund/feature/remove-cryptography-dep
Remove cryptography dependency
2019-12-04 22:44:40 +01:00
Åke 7fa3fca006
Merge pull request #2409 from MycroftAI/bugfix/ctrlc-simple-cli
Restore Ctrl+C exit of simple CLI
2019-12-03 20:25:27 +01:00
Steve Penrod 2f4b2ccf48 Remove signal.SIGINT handler from simple CLI
At some point during refactoring the ability to hit Ctrl+C to exit the basic CLI was lost.

The signal.SIGINT handler is needed by the graphical GUI, but it
interfered with the use of sys.stdin.readline() in the simple CLI.
Rearrange the installation of the handler for only the GUI.

To test, run:
   mycroft-cli-client --simple
Then hit Ctrl+C.  Before this change nothing happens (you just see the "^C" printed out).  After the change it exits as expected.
2019-12-03 20:07:19 +01:00
Åke 9ed5b69fe1
Merge pull request #2401 from forslund/feature/dev-setup-clean
Add --clean option to dev_setup.sh
2019-12-03 17:11:58 +01:00
Åke 21699294c7
Merge pull request #2395 from forslund/bugfix/hotword-loading
Fix using of hotword structure for custom wakeword
2019-12-03 14:19:55 +01:00
Åke Forslund ec81fa12fb Upgrade msk to 0.3.14
- Add LICENSE file as part of skill creation
- Colorize the output
- Add basic manifest.yml as part of skill creation
- Fix passwords containing quotes (")
2019-12-03 09:39:50 +01:00
Åke 2ba25e8a87
Merge pull request #2394 from MycroftAI/feature/upgrade-adapt
Update adapt
2019-12-02 17:23:47 +01:00
Åke f7e8a4ddf4
Merge pull request #2405 from maxbachmann/unittests
improve test runtime
2019-12-02 10:52:08 +01:00
Åke Forslund 5e863515da Fix broken test case on Python 3.8
- Simplify broken test and make it work on python 3.8
- Add python 3.8 to mandatory test cases
2019-12-01 12:56:01 +01:00
Åke f0a9487fef
Merge pull request #2406 from maxbachmann/patch-1
readd fedora installation
2019-11-30 12:13:30 +01:00
maxbachmann bd87ad6d99
readd fedora installation 2019-11-30 11:27:16 +01:00
maxbachmann c058633dd5 improve test runtime 2019-11-30 10:22:59 +01:00
Åke e7d9e8be1b
Merge pull request #2402 from maxbachmann/cleanup
Improve speed of pronounce_number_en
2019-11-29 17:07:59 +01:00
maxbachmann 4174689906 improve runtime 2019-11-29 16:56:36 +01:00
Åke Forslund 64547fb4e9 Remove cryptography dependency
The dependency was previously added to try to suppress the SSL version
warning on the mark-1. This has been resolved via upgrading the mark-1
so the requirement is not of any importance right now.
2019-11-29 14:09:57 +01:00
Guilherme Baptista 286efb9624 fixing archlinux installation 2019-11-28 19:56:23 -03:00
Åke Forslund aac711564b Add --clean option to dev_setup.sh
The clean will remove any files and directories installed onto the system by the
dev setup including pairing, skills and log files.
2019-11-28 09:58:22 +01:00
Åke Forslund bbce15475a Update adapt
Update adapt so there are no version conflicts for six
2019-11-27 09:04:59 +01:00
Åke e6385720b3
Merge pull request #2396 from maxbachmann/python2cleanup
cleanup python2 unicode
2019-11-27 08:46:20 +01:00
Åke e78a9730e1
Merge pull request #2386 from maxbachmann/dev
Add more time idioms (half past, etc.)
2019-11-27 08:41:02 +01:00
maxbachmann 87220ee85c add some more time idioms 2019-11-27 01:53:23 +01:00
maxbachmann 7a48297132 cleanup python2 unicode 2019-11-26 23:09:32 +01:00
Åke Forslund 04e9812992 Asyncio updates for gui connections
- Workaround, ensure asyncio event loop is launched on each thread.
2019-11-26 14:21:49 +01:00
Åke 6bd6441da2
Merge pull request #2393 from MycroftAI/feature/geolocation-api
Feature/geolocation api
2019-11-26 11:10:05 +01:00