Commit Graph

4181 Commits (c9a2348a611bd9a4144e1e36392448dfd5a690af)

Author SHA1 Message Date
Åke Forslund e651e39588 Add test for record function 2020-04-17 23:42:04 +02:00
Åke Forslund cf40c2e36c Refactor play_* functions to use a common base
Adds comments for PULSE ENVIRONMENT
2020-04-17 23:42:11 +02:00
Åke Forslund 60c0af69d6 Replace read_stripped_lines with generator 2020-04-17 23:42:04 +02:00
Åke Forslund a0709c885c Mark redunant string_utils as to be removed 2020-04-17 23:42:04 +02:00
Åke Forslund 0d79af8ce2 Add tests for reading file functions 2020-04-17 23:42:04 +02:00
Åke Forslund 76ff53a615 Add tests for string related utils 2020-04-17 23:42:04 +02:00
Åke Forslund 71683d18d4 Refactor util library.
Move utils away from the __init__.py file
2020-04-17 23:42:04 +02:00
Åke Forslund 2582d78237 Add tests for audio playback functions 2020-04-17 23:42:04 +02:00
Åke Forslund f872daf7ca Add tests for cache and file functions. 2020-04-17 23:42:04 +02:00
Åke Forslund 7e88ae7e88 Correct the datdir/res path
Comment says the folder to be checked should be datadir/res, this makes
the code mean the same thing.
2020-04-17 23:42:04 +02:00
Åke Forslund b991453bcf Update docstrings of mycroft/util/__init__.py 2020-04-17 23:42:04 +02:00
Åke Forslund c52f2837f1 Add test for time utils 2020-04-17 23:42:04 +02:00
Åke 5cbb3d263b
Merge pull request #2540 from forslund/bugfix/fallback-on-error
Fix fallback to mimic
2020-04-17 22:28:53 +02:00
Åke Forslund d51fb126b8 Fix fallback to mimic
After catching exception to clear the isSpeaking flag the exception
shall be re-raised to allow the fallback TTS to trigger.
2020-04-17 20:43:13 +02:00
Åke d4f59bfdeb
Merge pull request #2536 from AIIX/feature/mic_config
Feature/mic_config - Add configuration option for microphone timeout
2020-04-17 12:26:30 +02:00
Aditya Mehra c5c0881d94 Add configuration option to set microphone timeout
listener->recording_timeout: Maximum length of recording
listener->recording_timeout: Maximum length of silence before stopping
recording
2020-04-17 11:23:25 +02:00
Åke Forslund 6d13872638 Cleanup of the enclosure entrypoint
- split out enclosure determination code
- Add docstrings
- Increase logging
2020-04-16 10:58:07 +02:00
Åke Forslund 290d950424 Fix shutdown of enclosure process
Previously it would always be killed, now it exits smoothly.
2020-04-16 09:47:53 +02:00
Åke 0ea97df986
Merge pull request #2535 from luca-vercelli/bugfix/issue-2534
Issues-2534 - language fallback fix
2020-04-15 13:36:24 +02:00
Luca Vercelli a9cfa513a3 Use lang validator to raise error 2020-04-15 08:58:40 +02:00
luca-vercelli 0718e397c5 Issues-2534 - language fallback fix
update the lang value if currently set language doesn't exist.
2020-04-15 08:57:49 +02:00
Åke b3fef7bb62
Merge pull request #2530 from MycroftAI/feature/email-jenkins-results
Email jenkins results
2020-04-10 18:46:56 +02:00
Åke Forslund a24e1ea70e Send report to pull request through PR comment 2020-04-10 17:59:22 +02:00
Chris Veilleux 53f2195023 Add email on failure or success. 2020-04-10 17:58:33 +02:00
Chris Veilleux b848a1c741 move allure reports from tests running in mycroft-core repo to a subdirectory to differentiate from tests run on the skill repository. 2020-04-10 17:58:03 +02:00
Chris Veilleux 000c353316 minor refactor 2020-04-10 17:58:03 +02:00
Åke 867ae0654e
Merge pull request #2533 from MycroftAI/feature/gui-connection-update
Gui connection update
2020-04-10 09:42:04 +02:00
Åke fb356872e4
Merge pull request #2529 from forslund/feature/stop-sequence
Update skill stop sequence
2020-04-07 23:06:19 +02:00
Åke 0e1568850a
Merge pull request #2531 from kelnos/bugfix/update-standalone-docs
Fix standalone docs in README
2020-04-07 09:10:22 +02:00
Brian J. Tarricone 1aea90b40d Fix standalone docs in README
The README contains a brief note about running Mycroft standalone
(without home.mycroft.ai), but the docs were very incomplete and
somewhat outdated.
2020-04-06 23:18:17 -07:00
Åke Forslund b7cf8e755e Remove origin check from gui websocket
This allows simple websocket clients to connect as well.
2020-04-04 09:15:47 +02:00
Åke Forslund 4f65591c21 Simplify the GUI websocket code
Use a single websocket but don't send data from clients to other
clients.
2020-04-04 09:13:51 +02:00
Åke 83b0de5d97
Merge pull request #2528 from forslund/bugfix/uploaded-version
Fallback to internal version if no version file exists
2020-04-03 07:55:09 +02:00
Åke Forslund b3ce33ab70 Update test to match change
Also minor cleaning up of test code
2020-04-02 19:29:31 +02:00
Åke Forslund 9246190c34 Reduce timeout for track info response
The 5 second timeout made the playback control take quite some time to
shutdown if the audio process isn't running.
2020-04-02 19:18:17 +02:00
Åke Forslund a487d32cc1 Shutdown bus after shutting down services for "all"
"stop-mycroft.sh all" stopped the messagebus before the services were
shutdown, causing disconnected errors for the processes and making some
of the shutdown code take longer.
2020-04-02 19:16:40 +02:00
Åke Forslund 6b27ceca1c Allow stopping settings upload mid-stride
The upload queue will now check if it's stopped while consuming the
queue, allowing quicker shutdown if triggered while in the middle of
uploading settingsmeta.
2020-04-02 19:13:51 +02:00
Åke Forslund 2a50fb1578 Warn about skills that take a long time to shutdown 2020-04-02 19:13:16 +02:00
Åke Forslund 0d51a04166 Fallback to internal version if no version file exists
This will allow non-packaged versions of mycroft core to report version
to the backend.
2020-04-02 16:02:18 +02:00
Åke f01b61ea16
Merge pull request #2522 from MycroftAI/bugfix/Jenkins-file-branch-lock
Add resource lock tests in Jenkinsfile
2020-04-02 07:45:36 +02:00
Åke 28c3a61e1c
Merge pull request #2503 from forslund/bugfix/converse-error
Bugfix Converse error
2020-04-02 07:45:00 +02:00
Åke 918c98f451
Merge pull request #2520 from andlo/bugfix/danish-translations
Fix danish typos and better translations
2020-03-31 09:44:20 +02:00
Åke Forslund bdb98c338f Add .theia to .gitignore 2020-03-31 09:33:40 +02:00
andlo 0a916de238 fix danish typos and better translations 2020-03-31 09:33:33 +02:00
Åke Forslund 5f71d32885 Add lock to avoid multiple concurrent builds 2020-03-30 18:16:33 +02:00
Åke 34b242b5d4
Merge pull request #2471 from JarbasAl/feat/get_eye_color
Read mark1 eye color
2020-03-30 12:07:43 +02:00
jarbasal 9d712a898f Update docstrings 2020-03-30 12:05:58 +02:00
jarbasal efc9af558a Read mark1 eye color 2020-03-30 12:05:49 +02:00
Åke d6cbccc0cb
Merge pull request #2515 from forslund/bugfix/lingua-franca-0.2.1
Fix Additional zero was prepended.
2020-03-26 21:34:59 +01:00
Åke Forslund c8be703e49 Additional zero was prepended.
The formatting of small numbers was fixed in lingua franca
2020-03-26 18:43:19 +01:00