Commit Graph

4014 Commits (5bfe8694249e4a4c37a4da4c9887945dd7a4b3e5)

Author SHA1 Message Date
Sylvia van Os 555c2f897b
Fix documentation mistake 2019-12-26 22:28:58 +01:00
Thomas Eimers 1548cb4ab4 The command to run unittests was wrong documented 2019-12-26 21:49:56 +01:00
Thomas Eimers 2db697993a Make venv-activate.sh compatible with sh and zsh
$  if [ "$0" == "$BASH_SOURCE" ]; then echo "a"; fi
sh: 1: [: sh: unexpected operator
2019-12-26 21:31:45 +01:00
devs-mycroft cafffd8b62 Version bump from 19.8.4 to 19.8.5 2019-12-20 12:20:50 +00:00
Åke 7f2eb836fa
Merge pull request #2433 from forslund/bugfix/settings-sync
Bugfix/settings sync
2019-12-20 07:15:51 +01:00
Åke Forslund a730636866 Add tests for upload queue 2019-12-19 16:27:44 +01:00
Åke Forslund 9628a5b5f4 Fix settingsmeta upload start race condition 2019-12-19 10:03:36 +01:00
Åke Forslund d45edcd613 Add priority skill's settingsmeta 2019-12-19 10:03:14 +01:00
Åke ac874ecc88
Merge pull request #2432 from ChanceNCounter/time-resolution-cleanup
clean up nice_duration handler
2019-12-18 20:41:47 +01:00
Åke 184508a020
Merge pull request #2370 from forslund/feature/settingsmeta-queue
Stabilize skill settings download
2019-12-18 12:41:16 +01:00
Åke Forslund ec1d35d1b7 Fixes from code review
- Use reload status directly instead of instance check
- Move manifest posting to start_upload method
2019-12-18 12:05:40 +01:00
Åke Forslund 1e7314d7ca Update skill manifest when a skill is removed
When skills are removed the skills manifest is updated using msm and
then sent to the backend.
2019-12-18 12:05:40 +01:00
Åke Forslund 146a8c1434 Get skill_gid more reliably
If skill directory doesn't exist in current cache try to fetch a new
copy.
2019-12-18 12:05:40 +01:00
Åke Forslund f5685bde96 Simplify
Skip the queue thread, do upload in series with skill load/reload.
2019-12-18 12:05:40 +01:00
Å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
ChanceNCounter 4e8db9c860 clean up nice_duration handler
* Replace integer values with enum values for clarity
* Simplify exception thrown on incompatible input
* Pythonify (and de-Chanceify) zero-output logic
2019-12-17 05:10:34 -08:00
JarbasAI 46af6fcff2
mark1/fix display big images
https://github.com/MycroftAI/enclosure-mark1/blob/master/protocols.txt#L141

according to the spec there is a bug
2019-12-17 01:34:08 +00:00
Kris Gesling bbb5fe7c6a
Merge pull request #2399 from MycroftAI/feature/dot-readthedocs
Upgrade readthedocs build
2019-12-17 02:53:42 +10:30
Kris Gesling 217c6bed46
Merge pull request #2427 from PFischbeck/patch-1
Fix typo in MycroftSkill documentation
2019-12-17 01:52:18 +10:30
Philipp Fischbeck 3f73fb50af
Fix typo in MycroftSkill documentation
Change "https://https://" to "https://"
2019-12-15 16:42:41 +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 2697cb8d56 Create simple load_dialogs function
This function replaces the class since the class doesn't provide any
functionality
2019-12-09 09:35:01 +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