Commit Graph

1805 Commits (master)

Author SHA1 Message Date
Chris Veilleux 47fb276b4f Add pylint to dependencies 2021-02-18 18:52:27 -06:00
Chris Veilleux 5146c9346f New script and SQL to remove the duplicated cities that are part of the geographical information we download. 2021-02-18 18:50:51 -06:00
Chris Veilleux 79516ecef7
Merge pull request #251 from MycroftAI/feature/pantacor-update
Pantacor software update
2021-02-18 11:00:57 -06:00
Chris Veilleux 365ef3b02b Add the ability to get a pending deployment and trigger it if manual updates are turned on 2021-02-16 15:17:55 -06:00
Chris Veilleux 2b862c989a
Merge pull request #244 from MycroftAI/feature/pantacor-api
Feature/pantacor api
2021-02-09 22:31:59 -06:00
Chris Veilleux 0493aa11dc Added dummy environment variables for pantacor API 2021-02-09 22:21:48 -06:00
Chris Veilleux a56458c24f fixed failing test 2021-02-09 21:57:11 -06:00
dependabot[bot] c954afb67e
Bump cryptography from 3.2.1 to 3.3.2 in /shared
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-10 02:48:17 +00:00
dependabot[bot] 44bafb1631
Bump cryptography from 3.1.1 to 3.3.2 in /api/precise
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.1.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.1.1...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-10 02:44:05 +00:00
Chris Veilleux 52685c92b9 Add logic to update the Pantacor config when the device is edited in the UI 2021-02-08 10:57:18 -06:00
Chris Veilleux 3960cff2df Add PATCH methods to update Pantacor config values. 2021-02-05 14:45:48 -06:00
Chris Veilleux 779d3e8fac Rename "release" column in pantacor_config table to "release_channel". 2021-02-04 13:57:48 -06:00
Chris Veilleux d7f40e2e11 Merge remote-tracking branch 'origin/feature/pantacor_config' into feature/pantacor-api 2021-02-04 12:28:19 -06:00
Chris Veilleux f7bb357b7e Added IP address to the pantacor_config table. 2021-02-04 12:27:35 -06:00
Chris Veilleux 32d2dd2931 Changed device activation tests to check for the pantacor ID and fixed bugs as a result of running tests. 2021-02-03 15:15:06 -06:00
Chris Veilleux a396df6aff refactored to split into one test per endpoint and added check for packaging type in redis 2021-02-03 14:22:33 -06:00
Chris Veilleux a9ffb221ed minor refactor to use cache key constants instead of literals 2021-02-03 14:13:13 -06:00
Chris Veilleux 5fbccdaf03 minor refactor 2021-02-03 13:49:21 -06:00
Chris Veilleux 057fcbfd4a Add code to search for a device on Pantacor using their API. Pairing code is sent and their device ID is returned then added to our database. 2021-02-03 12:03:13 -06:00
Chris Veilleux 077c449ea2 Add the new packaging_type device config to the data stored in Redis at pairing time. Subsequent call to activate device using the pairing code will use this information to search for the device using the Pantacor API 2021-02-03 12:01:45 -06:00
Chris Veilleux be0c6212f7 Add CRUD operations for the pantacor_config table. 2021-02-01 12:23:04 -06:00
Chris Veilleux c49de30f20 Add the pantacor_config table to the database. 2021-02-01 12:20:44 -06:00
Chris Veilleux 1713c423d0 Re-apply original merge from test to master 2020-12-28 12:29:19 -06:00
Chris Veilleux 0b3c61d6aa minor bug fixes 2020-12-22 14:25:15 -06:00
Chris Veilleux 05f752d8a6 fixed another sql statement with the wake word subselect issue 2020-12-22 12:24:27 -06:00
Chris Veilleux 99798852b8 Fixed an issue with wake word case not matching database. 2020-12-22 12:21:49 -06:00
Chris Veilleux e63dcaf077 Fixed and issue with wake word not being selected on the device edit screen 2020-12-22 12:00:50 -06:00
Chris Veilleux ea6084227f Added a check for no defaults 2020-12-22 12:00:15 -06:00
Chris Veilleux 0c11307011 Fixed an issue where the account defaults for wake words was not being properly handled. 2020-12-22 11:45:53 -06:00
Chris Veilleux dd86371b45 Merge remote-tracking branch 'origin/bugfix/pairing' 2020-12-21 20:37:41 -06:00
Chris Veilleux 561fe898b2 Fixed an issue that cause the device edit screen to return a 500 error. The code expected the results of two method calls to be a Device object but one returned a dictionary instead. 2020-12-21 19:41:51 -06:00
Chris Veilleux 1db2bb520f Fixed SQL statement that referenced old wake word data structure. 2020-12-18 14:01:41 -06:00
Kris Gesling 5e47af4117
Merge pull request #240 from MycroftAI/bugfix/pairing-down
Fix ModuleNotFoundError: No module named 'data'
2020-12-18 22:33:03 +09:30
Kris Gesling 70601bda5b remove old branch pull 2020-12-18 22:27:21 +09:30
Kris Gesling b2869dcbe5 fix module reference 2020-12-18 21:34:10 +09:30
Kris Gesling 59fd67cb3a run all tests on PR's to master 2020-12-18 21:33:20 +09:30
Kris Gesling b95b598ff5 prevent KeyError from missing timezone 2020-12-18 21:10:51 +09:30
Kris Gesling 12749da3af Revert "Merge remote-tracking branch 'origin/test'"
This reverts commit 9d3dd24601, reversing
changes made to 7ec565c4d8.
2020-12-18 21:04:48 +09:30
Chris Veilleux 9d3dd24601 Merge remote-tracking branch 'origin/test' 2020-12-17 21:44:04 -06:00
Chris Veilleux 5b44fcaf78 Add the file directory into the response for each file. 2020-12-14 16:35:26 -06:00
Chris Veilleux fecf09b4f4 Merge remote-tracking branch 'origin/dev' into test 2020-12-11 14:21:29 -06:00
Chris Veilleux 588f13f6f8
Merge pull request #236 from MycroftAI/feature/model-building-api
Feature/model building api
2020-12-11 14:12:35 -06:00
Chris Veilleux 4757b9b80a
Merge branch 'dev' into feature/model-building-api 2020-12-11 11:25:01 -06:00
Chris Veilleux 36795adfae fix sql error 2020-12-04 13:21:24 -06:00
Chris Veilleux 83b88ac649 remove authentication 2020-12-04 13:13:02 -06:00
Chris Veilleux 448eee3487
Merge pull request #234 from MycroftAI/feature/add-speech-tag
Add speech tag and enhance tagging selection criteria for wake word tagging
2020-12-01 20:47:07 -06:00
Chris Veilleux 5f17d80435 Merge remote-tracking branch 'origin/feature/add-speech-tag' into feature/model-building-api 2020-12-01 17:55:56 -06:00
Chris Veilleux 605f885018 Merge branch 'dev' into feature/add-speech-tag 2020-12-01 17:55:31 -06:00
Chris Veilleux 55f3ff01cf new precise API endpoint for retrieving a list of sample files for a specified wake word that have been designated since the specified date 2020-12-01 17:54:31 -06:00
Chris Veilleux 404fc3dabd
Merge pull request #232 from MycroftAI/feature/wake-word-designation
New script to make file designations out of file tags.
2020-12-01 17:03:36 -06:00