Commit Graph

107 Commits (ce37c7861b00ff3d27c26bfaa04531c603e442d2)

Author SHA1 Message Date
Åke Forslund f106f9603f Revert "Merge pull request #1889 from forslund/feature/threaded-emitter"
This reverts commit cb891ecf2f, reversing
changes made to 876b5393f7.
2019-01-17 11:11:43 +01:00
Åke Forslund 19e8fc40d6 Update pyee to 5.0.0
Also update adapt to 0.3.2 to since it also depends on pyee
2019-01-15 19:52:44 +01:00
Kathy Reid aa05f5540f Remove pyyaml as a dependency
==== Fixed Issues ====
CVE-2017-18342
https://nvd.nist.gov/vuln/detail/CVE-2017-18342
high severity
Vulnerable versions: < 4.2b1
Patched version: 4.2b1
In PyYAML before 4.1, the yaml.load() API could execute arbitrary code.
In other words, yaml.safe_load is not used.

====  Tech Notes ====
NONE - explain new algorithms in detail, tool changes, etc.

====  Documentation Notes ====
NONE - description of a new feature or notes on behavior changes

==== Localization Notes ====
NONE - point to new strings, language specific functions, etc.

==== Environment Notes ====
NONE - new package requirements, new files being written to disk, etc.

==== Protocol Notes ====
NONE - message types added or changed, new signals, APIs, etc.
2019-01-08 02:49:52 +11:00
Åke Forslund a379c217eb Bump msm to 0.6.3
This fixes a potential issue where the startup processess halting when starting without internet connection.
2018-12-07 00:29:36 +01:00
Åke 74c1ee1678
Merge pull request #1890 from forslund/bugfix/gtts-version-update
Update gtts modules to fix google tts
2018-12-05 20:55:48 +01:00
Åke Forslund 398d254ff1 Update padaos to better handle bad translations
This fixes cases where the translators have made a mistake and for
example omitted or added an extra parentheses
2018-12-05 12:28:44 +01:00
Åke 60462d8979
Merge pull request #1899 from MycroftAI/feature/gui
First pass at the GUI infrastructure
2018-12-05 09:23:08 +01:00
Åke Forslund 41c6e86aec Changes on google's side requires update of gtts
updates the gtts and gtts-token module to the latest version.
2018-11-30 09:20:26 +01:00
Åke Forslund 8757f45bc9 Update msm to 0.6.2 2018-11-29 16:45:31 +01:00
Åke Forslund af8da5e39a Upgrade msk to 0.3.12
This includes the new msk submit action
2018-11-21 12:26:41 +01:00
Steve Penrod dbd3675156 Fixing a few bugs and adding test code to fire up a weather skill visualization upon GUI connection.
Still very much a work in progress.

For understand and testing, here is the sequence:

STEP 1:  GUI announces itself
* Connect to the main Mycroft messagebus
* Send:  "mycroft.gui.connected" with data { "gui_id": XXX } where XXX is a uniq ID (uuid)

STEP 2:  Mycroft creates GUI socket
* Mycroft extracts the gui_id
* Mycroft prepares a socket and announces its availability on the Mycroft messagebus with:
        self.bus.emit(Message("mycroft.gui.port",
                              {"port": self.GUIs[gui_id].port,
                               "gui_id": gui_id}))

STEP 3:  GUI connects
In python, a very minimal test socket handler on the GUI side would look like this

  from websocket import create_connection

  port = 18181 (from the message above)
     ws = create_connection("ws://0.0.0.0:"+port+"/gui")

  ws.send("Hello, World")
  print("Sent")
  print("Receiving...")
  result =  ws.recv()
  print("Received '%s'" % result)
  ws.close()
2018-11-07 11:06:57 -06:00
Kathy Reid a8a423bd10
Update requirements.txt
Update requests to 2.22.0 as per CVE
https://nvd.nist.gov/vuln/detail/CVE-2018-18074
2018-11-05 23:29:18 +11:00
Åke 506d7ed843 Add locking when accessing the IdentityManager (#1801)
Adds the mycroft.util.combo_lock ComboLock class for interprocess/Thread
lock.

Loading updated to be more reliable:
- Flush and sync file
- wait 1.2 seconds before load

Split the logic from the locking so the lock can be avoided when calling
update from save or load from get.
2018-09-28 01:26:33 -05:00
Matthew D. Scholefield bc4dfedec6
Merge branch 'dev' into feature/clean-requirements 2018-09-25 17:30:16 -05:00
Michael Nguyen dbff88c7c2
Merge pull request #1806 from forslund/bugfix/gtts_token
Update gTTS-token module to fix google tts
2018-09-24 12:59:35 -05:00
Kathy Reid cd6840671b
pyyaml fix for Arch and Manjaro builds
All credit to @adocampo who validated this fix on Arch/Manjaro. 
I have built 18.8.1 on Ubuntu 18.04 LTS and it works perfectly with `pyyaml 3.13`
This fix should help those using Arch and derivatives like Manjaro.
2018-09-25 03:11:10 +10:00
Åke Forslund 39882f9b6a Update gTTS-token module to fix google tts
Bumping the gTTS-token module version to 1.1.2
2018-09-24 13:15:37 +02:00
Åke Forslund ea0ca8cfbd Remove backwards compatibility modules
backports.ssl_match_hostname, futures and future are no longer needed.
2018-09-17 18:50:08 +02:00
Åke Forslund 5e42563183 Update padaos to 0.1.7
This improves the compatibility with python 3.7
2018-09-12 17:31:36 +02:00
Åke Forslund 16437ea621 Switch msm branch to 18.08 2018-08-30 10:57:44 +02:00
Åke 413bee6090 Upgrade msk to 0.3.11 (#1769) 2018-08-28 12:24:38 -05:00
Åke 4aac668a2f Remove depreciated ScheduledSkill (#1731)
- remove the scheduled_skills module
- remove the time_rules module
- remove parsedatetime requirement (only used in scheduled_skills)
2018-08-21 20:53:52 -05:00
Åke fe1b92f603 Upgrade msm to 0.5.18 (#1741)
Fixes double skill install/update when running msm default.
2018-08-15 03:57:24 -05:00
Matthew D. Scholefield 0a66f90fe6 Upgrade to Padatious 0.4.5 (#1734) 2018-08-14 14:20:06 -05:00
Matthew D. Scholefield a233cf4fd8 Upgrade padatious (#1709)
This upgrades Padatious to include a fix with perfect intent matches. Now any perfect match should output a confidence of 1.0
2018-08-01 15:01:45 -05:00
Matthew Scholefield 67714e846e Upgrade mycroft-authored dependencies 2018-07-20 17:43:27 -05:00
Matthew Scholefield 189e0f10ab Refactor Precise engine and support engine timeouts 2018-07-06 00:05:28 -05:00
Åke eb091ea87a
Update requests to bleeding edge (2.19.1) (#1661) 2018-07-04 09:54:28 +02:00
Matthew D. Scholefield 6a26af1ec5
Upgrade msm
This fixes a bug in msk with extract_author
2018-06-28 16:38:19 -05:00
Matthew D. Scholefield 2cae3c91e2
Update Padaos
This fixed issues with Python 3.4
2018-06-27 13:19:09 -05:00
Matthew D. Scholefield 8afde98c7f
Lock padaos version
This forces users to get the new version when they run `dev_setup.sh`.
2018-06-25 15:28:34 -05:00
Matthew D. Scholefield 41ec3829da Upgrade Padatious (#1641)
* Upgrade Padatious to 0.4.3
This upgrade adds a timeout to training and uses a rigid matcher on top of the neural networks to ensure consistency
2018-06-20 07:54:53 +02:00
Matthew D. Scholefield abd1fe7571
Merge pull request #1637 from forslund/feature/remove-monotonic
Use time.monotonic instead of monotonic module
2018-06-14 14:59:13 -05:00
Matthew D. Scholefield 85df3adbb0 Remove Padatious version check
No longer necessary now that we notify users when dependencies are out of date
2018-06-12 16:10:26 -05:00
Åke Forslund be8711a438 Use time.monotonic instead of monotonic module
Replace the monotonic time from the monotonic module with the built in time.monotonic
2018-06-11 16:05:50 +02:00
Matthew D. Scholefield 14897368f7
Upgrade msm and padatious
Padatious upgrade brings in nested parentheses support and slightly optimized network inputs
Msm upgrade brings in a bugfix for git repos with private or invalid remotes
2018-06-08 19:53:45 -05:00
Matthew D. Scholefield 46276c337a
Upgrade msk to 0.3.9 2018-06-08 11:12:06 -05:00
Matthew D. Scholefield 48ef15dbcf Upgrade msm 2018-06-01 17:58:55 -05:00
Matthew D. Scholefield f0208ff429 Add msk in requirements
Also removes skiller.sh since msk has the same functionality via `msk create`
2018-06-01 17:56:30 -05:00
Åke 64b78e34b3
Upgrade msm to 0.5.13 (#1610) 2018-05-24 18:27:33 +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 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
Matthew D. Scholefield fff89a46ba
Update msm
Brings in new change that fixes skills not updating eventually
2018-05-15 10:38:29 -05:00
Matthew D. Scholefield 4e077b86e3 Upgrade msm 2018-05-14 16:41:06 -05:00
Matthew D. Scholefield 397435afcb Update msm version (#1589) 2018-05-14 20:15:51 +02:00
Matthew D. Scholefield 88e118538d Upgrade msm
This brings in a bug fix that prevents space separated words from having a low confidence in the search
2018-05-10 15:54:50 -05:00
Matthew D. Scholefield 355fd0f084
Upgrade msm
This fixes sudo pip access through a sudoers file
2018-05-10 11:44:56 -05:00
Matthew D. Scholefield 6ecf4d986f Reinstall pip dependencies if virtualenv is removed
This keeps track of the skills whose dependencies have already been installed. While it won't automatically register newly installed skills, it will attempt to reinstall dependencies the next boot only one time so it shouldn't be a big issue.
2018-05-09 16:07:04 -05:00