Commit Graph

1805 Commits (master)

Author SHA1 Message Date
Kris Gesling dcd2b5ec5f Add Precise API endpoint 2021-07-15 09:49:31 +09:30
Kris Gesling 232b7b6213 Fix API endpoint paths 2021-07-15 09:45:53 +09:30
Kris Gesling a90f256218 add work around for postgres auth error 2021-07-15 09:45:03 +09:30
Kris Gesling 7aa466bdf5 reuse env variables for setting passwords 2021-07-15 09:45:03 +09:30
Kris Gesling a1a012de0a Use $USER variable to work regardless of username 2021-07-15 09:45:03 +09:30
Kris Gesling 755e4cb2cf Add link to Ubuntu image download 2021-07-15 07:22:42 +09:30
Chris Veilleux 8c97977c21 update to reflect changes in the shared library requirements 2021-07-14 15:46:01 -05:00
Chris Veilleux f030bf7817 log the InvalidTokenError for more information. 2021-07-14 15:46:01 -05:00
Chris Veilleux 0e65589a01 add descriptors to assertions 2021-07-14 15:46:01 -05:00
Chris Veilleux df22e63a78 Fix a bug that caused an error when attempting save edits made to device attributes. 2021-07-13 19:26:41 -05:00
Chris Veilleux eba505e0df Found a feature of the schematics library that allowed simplification of the logic that converts the API request into the schematic for validation. 2021-07-13 14:26:48 -05:00
Chris Veilleux d59d49b922 Update pyjwt version in Pipfile and change JWT code to comply with new major version. 2021-07-13 14:16:19 -05:00
Chris Veilleux cfdc167443
Merge pull request #265 from MycroftAI/dependabot/pip/shared/urllib3-1.26.5
Bump urllib3 from 1.26.3 to 1.26.5 in /shared
2021-07-13 13:14:39 -05:00
Chris Veilleux 3f03b333e5
Merge pull request #266 from MycroftAI/dependabot/pip/batch/urllib3-1.26.5
Bump urllib3 from 1.26.3 to 1.26.5 in /batch
2021-07-13 13:14:18 -05:00
Chris Veilleux 3abdb7e318
Merge pull request #267 from MycroftAI/dependabot/pip/api/precise/urllib3-1.26.5
Bump urllib3 from 1.26.3 to 1.26.5 in /api/precise
2021-07-13 13:13:50 -05:00
Chris Veilleux adf26eb2c1
Merge pull request #262 from MycroftAI/feature/21.02
Bump mycroft-core version to 21.02
2021-06-14 23:07:54 -05:00
dependabot[bot] 10ba7400e6
Bump urllib3 from 1.26.3 to 1.26.5 in /api/precise
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 03:49:21 +00:00
dependabot[bot] f026a348d1
Bump urllib3 from 1.26.3 to 1.26.5 in /batch
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 00:49:22 +00:00
dependabot[bot] ab74b7f850
Bump urllib3 from 1.26.3 to 1.26.5 in /shared
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 00:43:30 +00:00
Kris Gesling 5654572258 Bump mycroft-core version to 21.02 2021-05-24 14:44:17 +09:30
Chris Veilleux d5d2eef6dc
Merge pull request #255 from MycroftAI/bugfix/send-email
Fix email sending logic
2021-03-16 23:07:31 -05:00
Chris Veilleux 80d0abc32e Added a dummy bearer token to the request that expects a 401 to be returned 2021-03-16 23:02:43 -05:00
Chris Veilleux 1bb3c39954 Added a check for both body and template file name being None. 2021-03-15 23:29:56 -05:00
Chris Veilleux 4a9225393c Add a dummy SendGrid key for the behave tests. 2021-03-15 22:16:16 -05:00
Chris Veilleux e268bf2875 Fix the email endpoint of the device API to send an email through SendGrid. 2021-03-15 18:39:32 -05:00
Chris Veilleux 4eef250051 Add logic to script to handle duplicated cities that have devices assigned to them. 2021-03-12 14:02:20 -06:00
Chris Veilleux 58683a7dee Merge remote-tracking branch 'origin/test' into dev 2021-02-25 20:16:17 -06:00
Chris Veilleux 6b9f495247 A change in the mark-2 branch of mycroft core is not yet propagated to the dev or master branches. Put a hack in place to fix it for now. 2021-02-25 19:19:34 -06:00
Chris Veilleux 03d26cf970
Merge pull request #254 from MycroftAI/bugfix/pantacor-config
Bugfix/pantacor config
2021-02-24 17:28:20 -06:00
Chris Veilleux 3e71a377b3 Pantacor API was being called unnecessarily. 2021-02-24 17:24:53 -06:00
Chris Veilleux 2ef4beaa0c fixed test to ignore device id no longer returned from add device call 2021-02-23 18:03:31 -06:00
Chris Veilleux 29b8e52e92 fixed an issue in the web console indicating the response data was not formatted as JSON 2021-02-23 18:03:31 -06:00
Chris Veilleux 4c84f6db48 Merge remote-tracking branch 'origin/dev' into bugfix/pantacor-config 2021-02-23 17:18:14 -06:00
Chris Veilleux f23ab4dc70 Merge remote-tracking branch 'origin/master' into test 2021-02-23 17:17:07 -06:00
Chris Veilleux 1ea76f9b38 make sure the channel is lowercase before applying updates. Don't update the database unless the API call succeeds 2021-02-23 16:21:10 -06:00
Chris Veilleux e25fcc418d Add an exception when the API call fails. 2021-02-23 16:19:59 -06:00
Chris Veilleux 46177a075f Merge branch 'master' into test 2021-02-22 11:53:20 -06:00
Chris Veilleux 9695fd3a5a
Merge pull request #246 from MycroftAI/dependabot/pip/batch/cryptography-3.3.2
Bump cryptography from 3.2.1 to 3.3.2 in /batch
2021-02-21 21:35:32 -06:00
dependabot[bot] 47da41f35d
Bump cryptography from 3.2.1 to 3.3.2 in /batch
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.2.1...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 03:32:20 +00:00
Chris Veilleux 4052e4207c
Merge pull request #247 from MycroftAI/dependabot/pip/api/account/cryptography-3.3.2
Bump cryptography from 3.2.1 to 3.3.2 in /api/account
2021-02-21 21:27:33 -06:00
dependabot[bot] f3c4dcc3b3
Bump cryptography from 3.2.1 to 3.3.2 in /api/account
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.2.1...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 03:10:39 +00:00
Chris Veilleux 498f622718
Merge pull request #248 from MycroftAI/dependabot/pip/api/public/cryptography-3.3.2
Bump cryptography from 3.2.1 to 3.3.2 in /api/public
2021-02-21 21:04:45 -06:00
dependabot[bot] cc4faa6475
Bump cryptography from 3.2.1 to 3.3.2 in /api/public
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.2.1...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 02:22:04 +00:00
Chris Veilleux 7aaf1209f0
Merge pull request #249 from MycroftAI/dependabot/pip/api/precise/cryptography-3.3.2
Bump cryptography from 3.1.1 to 3.3.2 in /api/precise
2021-02-21 20:17:41 -06:00
Chris Veilleux e6821ec1a3
Merge pull request #250 from MycroftAI/dependabot/pip/shared/cryptography-3.3.2
Bump cryptography from 3.2.1 to 3.3.2 in /shared
2021-02-21 20:17:21 -06:00
Chris Veilleux b351c72dfe
Merge pull request #253 from MycroftAI/bugfix/move_pantacor_config
Move Pantacor device retrieval logic
2021-02-21 20:16:35 -06:00
Chris Veilleux e96720590a catch the PantacorError raised when a device is not found and log it. 2021-02-21 19:20:53 -06:00
Chris Veilleux b5bf8ebd43 added pantacor environment variables to fix breaking test 2021-02-21 18:43:20 -06:00
Chris Veilleux b6d7597c33
Merge pull request #252 from MycroftAI/bugfix/remove_duplicate_cities
Remove duplicate cities from database
2021-02-21 18:12:41 -06:00
Chris Veilleux 2f49f797b1 Change the logic to get the Pantacor device configuration to occur at activation time and use the Pantacor device ID sent to the API by the device. 2021-02-20 17:17:53 -06:00