Commit Graph

4899 Commits (refactor/python-detect)

Author SHA1 Message Date
Åke fd12c88da5
Refactor/shellcheck bin (#3019)
* Shellcheck and update mycroft-config

* Shellcheck and update mycroft-pip

* Shellcheck and update mycroft-cli-client

* Shellcheck and update mycroft-help

* Shellcheck and update mycroft-listen

* Shellcheck and update mycroft-mic-test

* Shellcheck and update mycroft-msk

* Shellcheck and update mycroft-msm

* Shellcheck and update mycroft-say-to

* Shellcheck and update mycroft-skill-testrunner

* Shellcheck and update mycroft-speak

* Shellcheck and update mycroft-start

* Shellcheck and update mycroft-stop

* Add shellcheck step to github actions

This runs most of the shellcheck tests. The excludes are:
- SC1091: Avoids errors when shellcheck can't find sourced file
- SC2034: Unused variables, for example colors that aren't used yet
- SC2012: use of ls, from what I can see in our case this is fine (wc -l)

The version is locked to latest master as of November 2 2021
2021-11-04 17:01:17 +09:30
Kris Gesling 0ad093a8e3
Merge pull request #3021 from Saymantech-org/dev
Azerbaijani language support
2021-11-04 17:00:24 +09:30
jarbasal f8f640e3e5 fix/race condition dictionary changed iteration
bus events could cause the dict to change while being iterated
2021-11-04 13:37:54 +09:30
Siavash Mollayi dca1184bd5 Azerbaijani language support 2021-11-03 15:57:34 +03:30
Sergey Leschina 9468c20558
Add more Russian phonetic spellings 2021-11-02 04:15:05 +03:00
Sergey Leschina 81de3d4c44
Update Russian words and dialogs 2021-11-02 04:15:04 +03:00
Kris Gesling dd710a6a53
Merge pull request #2995 from MycroftAI/dependabot/pip/pillow-8.3.2
Bump pillow from 8.2.0 to 8.3.2
2021-11-01 11:17:18 +09:30
Gaëtan Trellu 0247b3a4b5
[log_format] Add an option to change the log format (#3016)
* [log_format] Add an option to change the log format

Hacing an option to change the log format could be useful when logs
are shipped into an aggregator such as Elasticsearch.

The current format is very hard to parse.

* [log_format] Set default Formatter

Because mycroft.configuration.Configuration() class import LOG class,
a default Formatter have to be defined before import the
mycroft.configuration.Configuration() class.
2021-10-29 14:59:22 +09:30
Bart Ribbers 34ee3a9a84
Upgrade websocket-client to 1.2.1 (#2879)
* Upgrade websocket-client to 1.2.1

core equivalent of https://github.com/MycroftAI/mycroft-messagebus-client/pull/21
There was an incompability with the latest websocket-client and the
messagebus which needed fixing for Linux distro compatibility. Since
messagebus-client was going to depend on websocket-client 1.2.1, let's
do the same in core

* Bump message bus client and tornado versions

New version of the messagebus-client released.
Upgraded Tornado to match new function signature.

* Revert removal of websocket-client

It is still used in the `mycroft.client.text.gui_server`

Should investigate removal of this so that websocket client versions do not need to be
kept in sync between mycroft-core and mycroft-messagebus-client.

Co-authored-by: Kris Gesling <kris.gesling@mycroft.ai>
2021-10-28 14:42:23 +09:30
Kris Gesling a8ef467f4e
Merge pull request #3015 from goldyfruit/dev
[mycroft-config] Fix issue #2991 - use new XDG compliant mycroft.conf location
2021-10-28 11:11:01 +09:30
Gaëtan Trellu aa067419b0 [mycroft-config] Fix missing $... 2021-10-25 14:20:25 -04:00
Gaëtan Trellu 782c174668 [mycroft-config] Fix issue #2991 2021-10-23 21:43:06 -04:00
Kris Gesling 3495acf9ab
Merge pull request #3003 from Joanguitar/dev
Add reusable PadatiousMatcher to speed up intent matching
2021-10-21 12:25:34 +09:30
Kris Gesling e6ad7faf80
Merge pull request #3012 from in03/bugfix/issue-3011
Fix disabling of Precise on systems without AVX or similar
2021-10-20 16:02:46 +09:30
Caleb Trevatt f50b27f839 Issue-3011 - Fixed AVX / Precise unavailable check 2021-10-18 23:37:16 +10:00
Caleb Trevatt faebb13e10 Issue-3011 - Fixing AVX / Precise unavailable check 2021-10-18 23:32:43 +10:00
Åke 6daccc4171
Merge pull request #3010 from MycroftAI/bugfix/skill-loader-log-msg
Fix formatting error in skill loader log message
2021-10-16 13:06:47 +02:00
Chris Veilleux 5229f61bbf Fixed formatting error in skill loader log message 2021-10-15 14:51:05 -05:00
Chris Veilleux df78af15cb
Merge pull request #3002 from MycroftAI/test/extend-criteria-matcher
Extended the idea of the VK CriteriaWaiter
2021-10-07 10:59:50 -05:00
Chris Veilleux 4b729dc978 Make matcher class signatures more consistent. 2021-09-29 17:57:31 -05:00
Chris Veilleux acd6d4065a Apply code review changes. 2021-09-28 13:08:16 -05:00
Kris Gesling 039c84ee81
Merge pull request #3000 from el-tocino/bugfix/2999
alter avx test to accomodate aarch64
2021-09-28 17:09:59 +09:30
Kris Gesling 2a6bb90c9f
Merge pull request #2963 from forslund/feature/update-adapt-keyword-registration-message
Update key names in adapt keyword registration message
2021-09-27 10:30:12 +09:30
Åke Forslund f709bb9a1e Use IntentServiceInterface in MycroftSkill.register_vocabulary()
This moves the message logic for adapt keyword registration into a single location.
2021-09-26 19:15:21 +02:00
Åke Forslund 189267b6f6 Minor cleanup of test case for keyword registration 2021-09-26 19:15:21 +02:00
Åke Forslund 693100e8c6 Match keyword entity terms in Mycroft with Adapt
This changes the internally used names for entities and entity values when
sent on the messagebus and used interanally in the intent service from start / end to entity_value and entity_type.

This makes the terminology easier to understand and follow across into Adapt.

The old terms are still included and usable for compatibility but should be
removed in an upcoming major release (22.02).
2021-09-26 19:15:17 +02:00
ken-mycroft 5e81e2747b
Improve confidence calculation for Common Query (#2986)
* Improve confidence calculation

* Add actual noise words file

* Update expected test confidence levels

Co-authored-by: Kris Gesling <kris.gesling@mycroft.ai>
2021-09-20 16:33:28 +09:30
Joan Palacios 0f98c566b9
Removed lru_cache 2021-09-16 13:31:22 -04:00
Joan 863e7844d1 Padatious doesn't need to run 3 times 2021-09-16 12:48:23 -04:00
Chris Veilleux 3c76177e75
Merge pull request #3001 from MycroftAI/bugfix/vk-bus-remove-exception
fixed an error with message formatting in a ValueError message
2021-09-15 08:27:12 -05:00
Chris Veilleux 7f7460a6cd Fix a PEP8 speaks issue 2021-09-14 14:49:39 -05:00
Chris Veilleux 1856296ea7 Extended the idea of the criteria matcher to handle other types of matching 2021-09-14 14:40:27 -05:00
Chris Veilleux 0896c3ceda fixed an error with message formatting in a ValueError message. 2021-09-14 14:31:35 -05:00
el-tocino 32812f605b
alter avx test to accomodate aarch64 2021-09-14 01:27:06 -05:00
Kris Gesling 9e9f2f74e5
Merge pull request #2975 from MycroftAI/feature/vk-only-shutdown-on-ci
VK: Only stop Mycroft services if running in CI
2021-09-13 16:37:49 +09:30
Daniel McKnight 600aa76206
Add 'utterances' to message emitted to skill intent handler (#2997)
* Add 'utterances' to message emitted to skill intent handler

* Reformat comment to resolve PEP warnings

* Update comments per PR feedback

* Cut line-length for style compliance

Co-authored-by: Kris Gesling <kris.gesling@mycroft.ai>
2021-09-13 11:15:57 +09:30
Chris Veilleux 06253906fc
Merge pull request #2979 from MycroftAI/bugfix/release-gui-on-shutdown
Release GUI on Skill shutdown or reload
2021-09-10 16:30:02 -05:00
Chris Veilleux 5a1e4ed8b9
Merge pull request #2990 from MycroftAI/bugfix/vk-bus-clear-messages
Fix messages clearing in the InterceptAllBusClient
2021-09-10 16:29:14 -05:00
Kris Gesling aa4a25f29f
Merge pull request #2992 from MycroftAI/bugfix/ci-pulse-failing
Fix pulseaudio daemon failing to start in CI
2021-09-10 11:30:43 +09:30
Kris Gesling 31b2979bf7
Merge pull request #2996 from MycroftAI/bugfix/behave-install
Patch dependencies that use the deprecated use_2to3
2021-09-09 14:21:38 +09:30
Kris Gesling 96e719fe2d remove use_2to3 from dependencies
Setuptools deprecated use of `use_2to3` from v58
See changelog:
https://setuptools.readthedocs.io/en/latest/history.html#v58-0-0

This has been reported upstream to both packages. The simplest fix
seems to be removing Python2 support. It's more difficult to pin
setuptools as this is installed via system packages in dev_setup.sh
2021-09-08 12:30:03 +09:30
dependabot[bot] 2b05f27fea
Bump pillow from 8.2.0 to 8.3.2
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.2.0...8.3.2)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 23:45:13 +00:00
Kris Gesling 4bce5345cb
Merge pull request #2985 from MycroftAI/feature/gTTS-warning
Add warning for anyone loading GoogleTTS
2021-09-07 16:09:05 +09:30
Kris Gesling 59c473cac8 Fix pulseaudio daemon failing to start in CI 2021-09-03 14:54:09 +09:30
Chris Veilleux df94e2192a fixed a few spelling errors. 2021-09-01 13:21:50 -05:00
Chris Veilleux b6066f90c6 fixed an issue with how messages are cleared in the InterceptAllBusClient 2021-09-01 13:15:53 -05:00
devs-mycroft 13539d3397 Version bump from 21.2.0 to 21.2.1 2021-08-27 03:02:54 +00:00
Kris Gesling 8a68c88bcf Add warning for anyone loading GoogleTTS 2021-08-27 09:49:40 +09:30
Kris Gesling c039aebc27
Merge pull request #2966 from CrossStream/sandbox/rzr/review/master
scripts: Support busybox chown
2021-08-18 15:22:53 +09:30
Kris Gesling d26201d978 Release GUI on Skill shutdown or reload 2021-08-17 16:40:05 +09:30