Commit Graph

169 Commits (0044e154df3ce77e7d92f3a0fdd86ac8cc58dc93)

Author SHA1 Message Date
Augusto Monteiro 0044e154df #521 - removing comment 2017-02-23 23:03:12 -08:00
Augusto Monteiro 1b0afe92de #521 - Skill auto reload 2017-02-23 23:03:12 -08:00
Arron Atchison 8599146dc4 fix pep8 in skills folder 2017-02-15 15:37:52 -06:00
Karl Fezer d3fef6be61 modified: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
kfezer 58d3b214ae Update __init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer 3c5afbe63d new file: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer 2da508498d deleted: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
kfezer fb2f8e11ef Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 7cc59f7522 Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 7304be098f Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 5c03efc6e6 Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer f1da181c9f Update __init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer d4e169c4a3 modified: mycroft/skills/core.py
Added more verbose logging to the core.py file which adds skills on boot-up.

Issue #511
2017-02-15 15:37:52 -06:00
kfezer 627e912e7b Update __init__.py 2017-02-15 15:37:52 -06:00
Åke Forslund 071de2bcd6 Remove load_data_files(...) from all skills where applicable 2017-02-15 15:37:52 -06:00
Steve Penrod 3af412988b Changed word-choice for Mimic pronunciations
Changed word-choice for Mimic pronunciations
2017-02-15 15:37:52 -06:00
kfezer ceaf289b77 Update __init__.py 2017-02-15 15:37:52 -06:00
Åke Forslund 4788664418 Load data files from skill directory when loading skill. 2017-02-15 15:37:52 -06:00
Åke Forslund 23fe0fff2b Load skill data nicely without throwing exceptions
Check if dialog and vocab dirs exist before trying to load files. Log an error if it fails.
2017-02-15 15:37:52 -06:00
penrods acfdff416b More Location integration for #487
For the Weather Skill:
* When talking about the current city, the city name is generally not spoken (more natural)
* A "pretty" name of just the city is used instead of the complete name
* Works around the recurring issue with OWM where they report bad min/max temps (same as the current temp)
* Changed "Location is not valid" to "I don't know that location" (people don't say "not valid")

For the Time Skill:
* The timezone is extracted from the device location setting
* Time responses are more varied and shorter

This change adds MycroftSkill.location_pretty and MycroftSkill.location_timezone properties.
2017-02-03 10:49:54 -06:00
Augusto Monteiro c07cdaef6f #487 - Integrate Location with mycroft-core
- Adding more phrases on location not found dialog
- Creating get_location method
- Fixing identation
2017-02-01 23:40:13 -03:00
Augusto Monteiro 3e092554e3 #487 - Checking if location exists if doesn't say location not found dialog 2017-02-01 23:40:13 -03:00
Augusto Monteiro d1068ab3ac #487 - Adding default values for location on weather skill 2017-02-01 23:40:13 -03:00
Augusto Monteiro bed6175b7d #487 - Saving all location object in the configuration instead of only the name 2017-02-01 23:40:13 -03:00
Augusto Monteiro 540cd893c2 #487 - Integrating location microservice with mycroft core 2017-02-01 23:40:13 -03:00
Augusto Monteiro 9c8f8992c4 #479 - Ensuring PairingSkill stop when skill process is terminated
- Implementing shutdown method to cancel activator thread
- Setting daemon to activator
- Creating activator in an isolated method to avoid duplication
2017-02-01 23:40:13 -03:00
Augusto Monteiro 8db3ac2b82 #479 - Refactoring SkillContainer
- Shuting down skill on stop process
2017-02-01 23:40:13 -03:00
Augusto Monteiro c7bfaa5760 #479 - Using ws instead of client on load third party skills 2017-02-01 23:40:13 -03:00
Augusto Monteiro 672b208b86 #479 - Fixing reminder stop
- Setting daemon on timer to True to make timer thread cancelable
- Refactoring shutdown to use super instead of static super
- Removing cleanup
2017-02-01 23:40:13 -03:00
Augusto Monteiro 6b324c6df2 #479 - Refactoring terminate process to use shutdown instead of cleanup 2017-02-01 23:40:13 -03:00
Augusto Monteiro 8815327dc0 #479 - Cleaning up all skills on stop process
- On stop mycroft-core executing cleanup of all skills
2017-02-01 23:40:13 -03:00
Åke 9d9ab7b826 Test allow test to finsh immediately (#453)
Add cleanup procedure to skills:
MycroftSkill cleanup does nothing, ScheduledSkill will cancel running timers to make sure it's not blocking termination.

Tests updated to use this allowing unit test to exit after completion.
2017-01-20 15:50:00 -06:00
Augusto Monteiro 29fc90cce1 Issues 401 - Adding log on pairing skill 2017-01-18 16:41:48 -03:00
Augusto Monteiro 63326a93c5 Issues 401 - Saying zero instead of oh 2017-01-18 16:41:48 -03:00
Ethan Ward 451f0f5195 Update for pep8 2017-01-18 16:41:48 -03:00
Ethan Ward 93893f3473 Update skills system to load from subfolders 2017-01-18 16:41:48 -03:00
Ethan Ward c4bc2ea161 Update to fix pep8 errors (#420) 2017-01-18 16:41:48 -03:00
Jonathan D'Orleans 99ff4e3ce8 Issues 351 - Tartarus Integration
- Master rebase
- Renaming Websocket variable from client to ws
- Resetting enclosure when ws open
- Formatting pairing skill
2016-12-17 14:53:22 -05:00
Augusto Monteiro eff50a5135 Issues 395 - Refactoring configurationSkill and adding log on mycroftSkill 2016-12-17 10:27:01 -05:00
Augusto Monteiro 9f6ecda338 Issues 395 - Creating not.paired event 2016-12-17 10:27:01 -05:00
Augusto Monteiro 657123577d Issues 395 - Creating configuration skill to sync tartarus 2016-12-17 10:27:01 -05:00
Arron Atchison 02de42f1f5 added "home dot mycroft dot ai" to both pairing dialogs 2016-12-17 10:27:01 -05:00
Arron Atchison 6d871f3a1b Changing pairing dialog to speak " home dot mycroft dot ai " 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans d80e83d575 Issues 350 - Formatting date and time 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans 416191e598 Issues 350 - Synchronizing local and remote configuration 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans a5d8b6112b Issues 350 - Ensuring repairing process 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans d444bdbe4c Issues 356 - Emitting paired event 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 58ba7f2558 Issues 356 - Tartarus integration
- Adding proxy flag to be used in WA and OWM skill
- Integrating Tartarus login session
- Refactoring OWM to use Tartarus api and removing owm repackaging
- Fixing WA data response
2016-12-17 10:16:29 -05:00
Jonathan D'Orleans f43d38dae7 Issues 356 - Adding get_data for Api response so it can overrided 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans cd99159f9a Issues 356 - Implementing OWM api 2016-12-17 10:16:29 -05:00