Commit Graph

4976 Commits (mark-ii/gui-replace-page)

Author SHA1 Message Date
Kris Gesling 3b4a3e709b fix missing MAX_VOL 2021-02-02 16:33:50 +09:30
Åke Forslund 166e36fa84 Improve logic when waiting for play calls
Add logic to ensure the play_* functions are called at least once before
checking the call status.
2021-02-01 23:02:34 +01:00
Åke Forslund 3ede156c98 Only stop speaking if speaking is active
This also updates the relevant testcase
2021-02-01 20:26:44 +01:00
Åke Forslund 96bbd384ad Add proper docstring 2021-02-01 20:26:44 +01:00
Åke Forslund e3e52d63a0 Remove filesystem signal for stopping speech
The filesystem signal has not been used for quite some time and should
not be used.
2021-02-01 20:26:44 +01:00
Kris Gesling 8e51083882
Merge pull request #2815 from AIIX/Fix/SystemTextFrame
Bug Fix - Use the correct delegate, fix layouts, autofit text for System TextFrame
2021-02-01 11:57:00 +09:30
Kris Gesling e2fbda6701 auto pep8 2021-01-30 08:54:44 +09:30
Kris Gesling e645409837 reduce max volume 2021-01-30 08:53:45 +09:30
Kris Gesling 4ad1a49b3d
Merge pull request #2819 from MycroftAI/feature/github-actions-ci
Implement GitHub Actions for linting and unit tests
2021-01-29 20:30:40 +09:30
Kris Gesling f30adb85de
Merge pull request #2804 from forslund/bugfix/audioservice-issues
Bugfix/audioservice issues
2021-01-29 14:55:27 +09:30
Kris Gesling cd4dbb3a32
Merge pull request #2648 from forslund/feature/ready-check
Improve readiness check for all services
2021-01-29 08:15:59 +09:30
Åke Forslund 5df15245c4 Add Todo / comment regarding startup order 2021-01-28 17:24:21 +01:00
Åke Forslund b595f6cdad Always use the plural "Skills" for the service
Change all strings referring to the service to use "Skills service"
2021-01-28 17:24:21 +01:00
Åke Forslund 94d5e34fd0 Add started and alive hooks to skills process 2021-01-28 17:24:21 +01:00
Åke Forslund 93747a13ed Remove is_alive and all_loaded registration test 2021-01-28 17:24:21 +01:00
Kris Gesling 8a1ee0e106 Move ready check to enclosure; use ProcessStatus
Previously Mycroft reported mycroft.ready when Padatious had
finished it's first training run. This check has been shifted
to the enclosure service, and starts checking once the Padatious
training is complete.

Currently checks on readiness of audio, speech and skills services.
2021-01-28 17:24:21 +01:00
Kris Gesling 1273425799 add ProcessStatus to key services 2021-01-28 17:24:21 +01:00
Åke Forslund eeb44ede9a Add test cases for ProcessStatus 2021-01-28 17:21:33 +01:00
Kris Gesling cc3bf5b45a Change names for consistency 2021-01-28 17:21:33 +01:00
Åke Forslund bea1f008c6 Add ProcessStatus class
ProcessStatus tracks the process status and allows callbacks on changes
and status queries over the messagebus.

StatusCallbackMap is used to setup the callbacks

ProcessState is an enum tracking the different states.
2021-01-28 17:21:33 +01:00
Chris Veilleux c7e390f332 Remove config files for Travis CI and coveralls as they are no longer part of the CI process. 2021-01-28 09:58:59 -06:00
Chris Veilleux 2d83bd2ed1 Replace "build" and "coverage" badges with new versions based on GitHub Actions for the former and codecov for the latter. Also minor refactoring of headings and some language errors. 2021-01-27 14:31:36 -06:00
Chris Veilleux 221dfc6576 Build fails on Python 3.5 due to an "f string" in PIP 2021-01-27 14:28:14 -06:00
Chris Veilleux 6513e76680 Refactor and add comments 2021-01-27 13:39:31 -06:00
Chris Veilleux a6ef894ded Replace coveralls with codecov 2021-01-27 13:27:43 -06:00
Chris Veilleux 52eaf445ce Remove apt installs that are redundant of those in dev_setup.sh 2021-01-27 13:25:45 -06:00
Chris Veilleux c7b5783d89 The "tput" commands were failing in GitHub Actions, added CI check as there is no reason to execute those commands in a CI environment. 2021-01-27 12:49:48 -06:00
Chris Veilleux b5387a8888 Renamed file to unit_test.yml. Previous name, ci.yml, implied a full CI suite. Ony unit tests are run with this file. 2021-01-27 12:44:37 -06:00
Marvin Wichmann d21ea406e5 Migrate to Github Actions 2021-01-27 11:31:37 -06:00
neonandrii fb84658e5d Issue-2812 - Allow overridden converse methods to accept messages - FIX: PEP8-line-too-long issue in MycroftSkill.converse 2021-01-26 19:27:33 +02:00
neonandrii 171b266ec1 Issue-2812 - Allow overridden converse methods to accept messages - modified the signature check in SkillManager.handle_converse_request and MycroftSkill.converse, and resolving PEP8 issues 2021-01-25 21:00:06 +02:00
neonandrii aca69203e6 Issue-2812 - Allow overridden converse methods to accept messages - modified the signature check in SkillManager.handle_converse_request and MycroftSkill.converse, and resolving PEP8 issues 2021-01-25 20:59:30 +02:00
Kris Gesling 73f0299cfa
Merge pull request #2722 from forslund/bugfix/latest-porcupine
Update for newer Porcupine engines
2021-01-25 16:29:48 +09:30
Åke Forslund aace28dfa3 Use lock around play and stop
Moves the stopping logic to separate method to be able to call from
locked contexts
2021-01-23 11:09:54 +01:00
neonandrii ba7b2795ec Issue-2812 - Allow overridden converse methods to accept messages - adding default message=None to MycroftSkill.converse and changing the signature check in the skill manager. 2021-01-22 17:20:48 +02:00
neonandrii 416eebfee7 Issue-2812 - Allow overridden converse methods to accept messages - adding default message=None to MycroftSkill.converse and changing the signature check in the skill manager. 2021-01-22 17:16:22 +02:00
Åke Forslund 082a2d481c Mark that audio has completed in dummy tts 2021-01-22 14:40:00 +01:00
Åke Forslund c00d37935a Simplify restore audio volume handler 2021-01-22 14:40:00 +01:00
Åke Forslund 8ce1615d75 Lock around tracklist access
Adds a lock and some logic to verify that the audio hasn't stopped
already.
2021-01-22 14:40:00 +01:00
Kris Gesling 8020e54eaf
Merge pull request #2814 from AIIX/bugfix/stop_clear_on_system_pages
Bug Fix - Don't clear namespace on every system page call
2021-01-22 20:15:27 +09:30
Aditya Mehra 1d29ceca0a Use the correct delegate and fix layouts 2021-01-21 17:49:20 +05:30
Aditya Mehra 0cbf36cd8e do not clear the namespace on every page / data send 2021-01-21 17:33:53 +05:30
neonandrii 3dca3a488a Issue-2812 - Allow overridden converse methods to accept messages 2021-01-21 11:26:46 +02:00
Åke 1a179dacab
Merge pull request #2809 from PureTryOut/location-referenced-before-assignment-2
Stop location being referenced before assignment
2021-01-19 21:28:53 +01:00
Bart Ribbers eb8af7f87a Stop location being referenced before assignment
In cases where the location can't be determined by the device or a
config setting, the location variable wouldn't exist but it would still
be referenced.
This makes sure the variable always exists, but if not changed is equal
to None
2021-01-19 11:44:14 +01:00
Kris Gesling 5e6ba03695
Merge pull request #2805 from forslund/docs/filesystem
Docs/filesystem
2021-01-19 14:49:42 +09:30
Åke 99f43b964e
Merge pull request #2808 from MycroftAI/feature/vk-wait-for-service-msg
Add VK method to wait for audio service
2021-01-18 07:33:27 +01:00
Kris Gesling 303f6a3b95
Merge pull request #2792 from MycroftAI/feature/common-bus-connection
Refactor - common bus connection method
2021-01-18 15:58:37 +09:30
Kris Gesling 89555380d8 Add VK method to wait for audio service 2021-01-18 11:16:41 +09:30
Åke Forslund e0489a8488 Add update comment logic to Jenkins 2021-01-17 22:21:56 +01:00