Commit Graph

4181 Commits (c9a2348a611bd9a4144e1e36392448dfd5a690af)

Author SHA1 Message Date
Åke c9a2348a61
Merge pull request #2571 from PureTryOut/xmlrunner-dep
Remove the xmlrunner dep from requirements.txt, it isn't actually used anymore
2020-05-11 08:36:20 +02:00
Kris Gesling 656043e12c
Merge pull request #2577 from forslund/bugfix/add-context-decorator
Bugfix/add context decorator
2020-05-11 15:11:17 +09:30
Åke Forslund 2036bbb63c Fix bug in adds context decorator missing content
The words parameter is now passed to the set_context method as intended.
2020-05-11 06:50:36 +02:00
Åke Forslund 5caf415a15 Add tests for context decorators 2020-05-11 06:50:36 +02:00
Åke Forslund c78c4f6c03 Clean up docstrings for context decorators 2020-05-11 06:50:33 +02:00
devs-mycroft 960efbdbbb Version bump from 20.2.2 to 20.2.3 2020-05-07 14:07:13 +00:00
Åke a038a52b55
Merge pull request #2573 from PureTryOut/pytest
Add pytest.ini and make it ignore the wake_word directory
2020-05-06 20:27:40 +02:00
Åke 685fbf64ab
Merge pull request #2569 from PureTryOut/tests-python3
Explicitely run the messagebus test with Python 3 and with correct startup.
2020-05-06 17:32:39 +02:00
Bart Ribbers d8159180e8
Add pytest.ini and make it ignore the wake_word directory
Those tests aren't actually meant to be ran with Pytest, so let's skip
them
2020-05-06 16:12:40 +02:00
Bart Ribbers 4d01269f35
Explicitely run the messagebus test with Python3
/usr/bin/python might not always point to Python 3, and it might not
even exist, depending on the distribution. To make sure we always run
with Python 3, explicitely call /usr/bin/python3

Also update the service start command and remove the outdated message
method tests
2020-05-06 14:28:27 +02:00
Bart Ribbers 81a5025667
Remove the xmlrunner dep from requirements.txt, it isn't actually used anymore 2020-05-06 13:55:24 +02:00
Kris Gesling c7ac49276b
Merge pull request #2564 from forslund/feature/msk-v0.3.15
Bump msk to v0.3.15
2020-05-06 16:17:59 +09:30
Åke 10b8e93b74
Merge pull request #2566 from rafaljanicki/dev
Polish language support
2020-05-06 07:54:08 +02:00
Rafał Janicki 3e3a536fd5 Polish language support 2020-05-05 19:55:27 +02:00
Åke Forslund 42d68706b8 Bump msk to v0.3.15
This includes
- change to use github access token instead of the deprecated user/pass
- Check and query for name / email if not setup
2020-05-04 13:56:14 +02:00
Åke 6a93747b9a
Merge pull request #2558 from el-tocino/mimic-build-core-fix
have a default if run without a core param
2020-05-04 09:56:03 +02:00
el-tocino d7a4aa13d7 have a default if run without a core param 2020-04-30 10:32:40 -05:00
Åke c89a8f63ad
Merge pull request #2555 from MycroftAI/feature/update-pillow
Update pillow to the latest version
2020-04-29 07:07:07 +02:00
Åke 8831b3a285
Merge pull request #2554 from Tony763/dev
Initial Czech support
2020-04-28 16:19:22 +02:00
Tony763 b58d19449b Initial Czech support
- czech resource files
2020-04-28 15:02:57 +02:00
Kris Gesling 884f71e238
Merge pull request #2551 from codyreinold/feature/issue-2550
Issue-2550 - Update contributor guidelines
2020-04-28 10:51:33 +00:00
Åke Forslund f080ab2808 Update pillow to the latest version 2020-04-28 12:00:50 +02:00
Kris Gesling 6640861b30
Merge pull request #2548 from codyreinold/bugfix/issue-2516
Issues-2516 - Resolved IBM Cloud integration issue
2020-04-27 12:21:27 +00:00
Åke bcb426ab69
Merge pull request #2496 from forslund/test/util
Refactor and test util functions
2020-04-27 10:47:59 +02:00
codyreinold 5b74edd46b Issue-2516 - Remove unnecessary library (urllib.parse) 2020-04-27 03:32:51 -04:00
Cody Reinold d6c9a64c80 Issue-2516 - Use requests.post kwarg to pass URL params 2020-04-27 03:23:07 -04:00
Åke Forslund 1258480f30 Improve audio utils log 2020-04-27 08:38:44 +02:00
Cody Reinold bc5743b7ef Issue-2550 - Update contributor guidelines to improve clarity and fix broken links 2020-04-26 17:27:24 -04:00
Cody Reinold f721804899 Issues-2516 - Correct minor issue with documentation 2020-04-26 03:51:26 -04:00
Cody Reinold e50ea28dd5 Issues-2516 - Resolved IBM Cloud integration issue, switching from user / pass to api key. 2020-04-26 01:43:39 -04:00
devs-mycroft 4d45933c80 Version bump from 20.2.1 to 20.2.2 2020-04-23 13:22:41 +00:00
Åke 0214b766a4
Merge pull request #2542 from forslund/bugfix/mute-before-lock
Move mute stage of __init__() after creating lock
2020-04-20 13:14:56 +02:00
Åke c8c416d98c
Merge pull request #2543 from forslund/bugfix/settingsmeta-upload-start
Fix uploading settings meta
2020-04-20 12:56:13 +02:00
Åke Forslund d1b6db306f Add test case for sending items added before start 2020-04-20 10:48:24 +02:00
Åke Forslund 202cc94262 Fix uploading settings meta
This changes the order so the started flag is set before the settingsmeta
the send() method is called.

The send() method now exits if the started flag isn't set causing the
skill settings not to be uploaded
2020-04-20 09:57:03 +02:00
Åke Forslund 7586de86d9 Fix MutableStream __init__ with mute=True
If the stream is restarted while muted this would cause an Exception
leading to an unresponsive voice client due to the read_lock being
called before creation.
2020-04-20 09:26:31 +02:00
Åke caa77b33f7
Merge pull request #2538 from forslund/bugfix/enclosure-shutdown
Fix enclosure shutdown
2020-04-18 08:00:07 +02:00
Åke Forslund 707be52f21 Update time util docstrings 2020-04-17 23:42:04 +02:00
Åke Forslund 313aaa660d Improve documentation of download util 2020-04-17 23:42:04 +02:00
Åke Forslund c5dccc16e2 Improve getting tmp download path 2020-04-17 23:42:04 +02:00
Åke Forslund a3c625bb0a Add basic test for download utility 2020-04-17 23:42:04 +02:00
Åke Forslund 3a908a1e35 Minor cleanup of download docstrings and imports 2020-04-17 23:42:04 +02:00
Åke Forslund 06157e3331 Reuse ensure_directory_exists() in create_file()
ensure_directory_exists() now takes the directory permissions as an
optional argument.
2020-04-17 23:42:04 +02:00
Åke Forslund 26ef052891 Minor cleanups
- Remove superfluous parentheses
- Remove unneccessary pass
2020-04-17 23:42:04 +02:00
Åke Forslund 05695f5b5f Add simple test for get_platform 2020-04-17 23:42:04 +02:00
Åke Forslund aa42552d97 Refactor test change loglevel and add tests for process_utils 2020-04-17 23:42:04 +02:00
Åke Forslund e218533cf6 Split tests into several files 2020-04-17 23:42:04 +02:00
Åke Forslund b0be6a7ff9 Correct some docstrings 2020-04-17 23:42:04 +02:00
Åke Forslund 82e350064c Simplify and clean up curate_cache
- create helper functions for getting file stats and removing files in
order of age
- create wrapper function for turning MB into bytes
2020-04-17 23:42:04 +02:00
Åke Forslund e3f4d22b7e Simplify record function 2020-04-17 23:42:04 +02:00