Commit Graph

2870 Commits (32a3860bce07c8e647310ebc68b51c325f92f02c)

Author SHA1 Message Date
Matthew D. Scholefield 0a3f743b23 Fix missing attribute in error 2018-06-01 16:11:14 -05:00
Matthew D. Scholefield 321807b1f1
Merge pull request #1616 from nabice/dev
Fix wrong variable name
2018-06-01 13:34:41 -05:00
Matthew D. Scholefield eb7d59d07d
Merge pull request #1621 from MycroftAI/feature/padatious-intent-test
Feature/padatious intent test
2018-06-01 13:31:37 -05:00
Åke Forslund 4ec255493b Add intent_type checks for padatious 2018-06-01 15:05:10 +02:00
Åke Forslund b8b60abff0 Improve 'or' logic
'or' would fail trying to parse 'succeeded'
2018-06-01 15:04:49 +02:00
Åke Forslund 2a34833394 Make data optional in Message.reply()
To make reply work in the same manner as a newly created message data
shall be optional. This allows mistakes like L1141 of
mycroft/skills/core.py, where the data field isn't set. (And causes an
exception when the line is hit.)
2018-06-01 10:23:13 +02:00
Åke 90be494062
Merge pull request #1619 from MycroftAI/feature/fix-skill-tester-launch
Feature/fix skill tester launch
2018-06-01 08:16:54 +02:00
Matthew D. Scholefield a5b3b6f9e4 Add support for SKILL_DIR variable to execute just one skill test 2018-05-31 19:18:15 -05:00
Matthew D. Scholefield a95fba2bd4 Pass extra start-mycroft arguments to pytest 2018-05-31 19:17:45 -05:00
Matthew D. Scholefield cc582ce38c Fix starting skillstest via start-mycroft.sh
This also removes the ability to pass the skills dir as the first argument. Instead this was moved to an environment variable called SKILLS_DIR to prevent conflict with pytest arguments
2018-05-31 19:17:26 -05:00
nabice c35d065299 Fix wrong variable name 2018-05-30 15:27:47 +08:00
Matthew D. Scholefield 7624b33d5e
Merge pull request #1614 from MycroftAI/bugfix/discover_test
Fix issues in skill tester
2018-05-29 13:43:49 -05:00
Åke Forslund d25b679bd9 Don't force types for expected_data
Forcing all content to string limits the amount of tests that can be run with this. For example a list of strings will fail. This keeps the original type from the json
2018-05-29 16:54:04 +02:00
Åke Forslund e7a6a20967 Sort test cases so order is enforced 2018-05-28 15:32:56 +02:00
Åke Forslund d99377dc78 Fix discover_test get_skills_dir()
The discover_test didn't handle configurable data path correctly.
2018-05-28 09:10:35 +02:00
Åke Forslund 85365823bc Check that web cache exists before loading it 2018-05-25 22:52:15 +02:00
devs-mycroft dc7044793f Version bump from 18.2.6 to 18.2.7 2018-05-24 19:24:46 +00:00
Åke Forslund 7b3885c3e4 Revert "Version bump from 18.2.6 to 18.2.7"
This reverts commit f98b6b3ab4.
2018-05-24 21:22:38 +02:00
devs-mycroft f98b6b3ab4 Version bump from 18.2.6 to 18.2.7 2018-05-24 19:19:36 +00:00
Åke 64b78e34b3
Upgrade msm to 0.5.13 (#1610) 2018-05-24 18:27:33 +02:00
Åke e41da90ee3
Merge pull request #1608 from forslund/bugfix/chromecast-shutdown
Fix chromecast quitting app on mycroft shutdown.
2018-05-24 08:01:26 +02:00
Åke a0b0e99ffb
Merge pull request #1592 from MycroftAI/bugfix/skills-dir
Remove all references to /opt/mycroft/skills
2018-05-24 07:29:53 +02:00
Matthew D. Scholefield 509162de50 Support tilda in data_dir 2018-05-23 15:03:01 -05:00
Åke 76a22a867b
Merge pull request #1563 from JarbasAl/keep_context
preserve message context throughout the entire interaction
2018-05-23 16:32:19 +02:00
jarbasal 0dee4af24c keep message context 2018-05-23 16:08:22 +02:00
Åke eb043899b4
Merge pull request #1606 from MycroftAI/feature/readd-dependency-check
Re-add checking of dependencies when running start-mycroft.sh
2018-05-23 14:11:34 +02:00
Åke Forslund 04b81a7380 Add shutdown method to chromecast
The default method for the services call stop, in the chromecast case this isn't desirable since any playing application would be shutdown (even if mycroft didn't initiate it).

This overrides default behaviour and will merely disconnect from the device at shutdown.
2018-05-23 14:04:15 +02:00
Matthew D. Scholefield b0b88bbd62 Remove all references to /opt/mycroft 2018-05-23 08:22:14 +02:00
Matthew D. Scholefield 14ceb1f1dd Remove all references to /opt/mycroft/skills
The only thing that should reference it is the config
2018-05-23 08:22:14 +02:00
Åke 95525205ec
Fix bad city information in test (#1607) 2018-05-23 08:21:10 +02:00
Matthew D. Scholefield 1205217e25 Re-add checking of dependencies when running start-mycroft.sh 2018-05-22 11:37:17 -05:00
Åke 52abe14209
Merge pull request #1601 from MycroftAI/bugfix/retry-less
Make retrying skill installation less frequent
2018-05-22 17:00:39 +02:00
CarstenAgerskov a353c43748 Fixes for Python3 migration 2018-05-21 18:45:47 -05:00
Åke 1f630f6815
Merge pull request #1527 from MycroftAI/feature/improved-skill-tester
Feature/improved skill tester
2018-05-21 16:13:32 +02:00
Åke Forslund f91a34ba82 Install test-requirements by default 2018-05-21 15:51:08 +02:00
Åke Forslund b9cb58be79 Fix single_test.py
Update metaclass declaration to python3 syntax
2018-05-21 15:42:16 +02:00
Åke Forslund 580c053e22 Use skill id similar to the normal loading
Fixes issues with skills using regexes.
2018-05-21 15:21:38 +02:00
Matthew D. Scholefield 457ed15b05 Make retrying skill installation less frequent
This prevents things like modifying a default skill from causing skill updates once every 5 minutes
2018-05-17 23:03:50 -05:00
devs-mycroft 14803710f7 Version bump from 18.2.5 to 18.2.6 2018-05-18 00:40:28 +00:00
Åke d3b71ce526
Merge pull request #1600 from MycroftAI/feature/upgrade-msm
Upgrade msm, serialize pip installations for increased stability
2018-05-18 01:10:20 +02:00
Åke 0c591a4b63
Merge pull request #1599 from MycroftAI/bugfix/retry-on-default-skill-failure
Retry skill installation every 5 minutes if default skill install fails
2018-05-18 01:05:17 +02:00
Matthew D. Scholefield 69e4961c0e
Upgrade msm
This change makes pip lock when installing requirements
2018-05-17 17:55:01 -05:00
Matthew D. Scholefield 596834dbc8 Retry skill installation every 5 minutes if default skill install fails
This prevents errors with having a spotty internet connection during default skill installation
2018-05-17 17:23:49 -05:00
Åke 5681d261d1
Merge pull request #1598 from MycroftAI/feature/upgrade-msm
Upgrade msm
2018-05-17 20:31:40 +02:00
Matthew D. Scholefield 094271904c
Upgrade msm
This fixes the skill loading too early
2018-05-17 13:01:39 -05:00
Matthew D. Scholefield d720492d69 Upgrade msm
This fixes edge case scenarios with skill updating
2018-05-16 16:31:56 -05:00
Matthew D. Scholefield 28808308b4 Update msm
This brings in a change that normalizes skill names in downloaded skills to lowercase
2018-05-15 17:51:45 -05:00
Michael Nguyen e5bd2c131e
Merge pull request #1595 from MycroftAI/bugfix/skill-settings-error-log
Log exception in skill settings and fix docstrings
2018-05-15 17:06:56 -05:00
Matthew D. Scholefield f3ed6065c5 Check for uuid in response
If the meta already exists on the server, it won't have a uuid field in the response
2018-05-15 16:49:03 -05:00
Matthew D. Scholefield b36408dc39 Log exception in skill settings and fix docstrings 2018-05-15 15:58:36 -05:00