Commit Graph

495 Commits (30c27fc23feffc7dbb7a0751f5f7236e792b2e5a)

Author SHA1 Message Date
Chris Veilleux 394a9fadb3 Merge remote-tracking branch 'remotes/origin/dev' into feature/timezone_endpoint 2019-10-21 20:36:34 -05:00
Chris Veilleux ea6d119de9 only retrieve skills compatible with 19.08 2019-10-17 13:03:23 -05:00
Chris Veilleux 758bfe68a8 Merge remote-tracking branch 'remotes/origin/dev' into feature/timezone_endpoint
# Conflicts:
#	api/public/Pipfile.lock
#	shared/selene/data/geography/repository/city.py
2019-10-11 12:52:55 -05:00
Chris Veilleux ad3eb20a78 Merge remote-tracking branch 'remotes/origin/dev' into feature/publish_repo
# Conflicts:
#	api/account/Pipfile.lock
#	api/public/public_api/endpoints/device_skill.py
#	shared/selene/data/device/__init__.py
2019-09-30 11:54:54 -05:00
Chris Veilleux 8e0f6c53ea new public API endpoint to extrapolate a geolocation from a string. 2019-09-25 17:26:29 -05:00
Chris Veilleux 733f745cbf fixed a bug where None was converted to JSON null instead of DB null 2019-09-15 19:49:17 -05:00
Chris Veilleux ddb5931524 changed sql to return a single row for all skills with same settings definition 2019-09-11 13:56:28 -05:00
Chris Veilleux ee5119f68b minor refactor 2019-09-11 13:46:22 -05:00
Chris Veilleux d83615de0d minor refactor 2019-09-11 13:46:10 -05:00
Chris Veilleux 4aeb63fee2 add function to package api 2019-09-11 13:41:39 -05:00
Chris Veilleux cc27f7b80f new endpoint to communicate skill settings values to devices 2019-09-05 18:31:34 -05:00
Chris Veilleux 8baa657969 replaced an upsert statement with a query because there can be multiple settings definitions for a skill. 2019-09-05 18:18:16 -05:00
Chris Veilleux 02724df2f9 CRUD operations for skill settings definition on a singe device 2019-09-05 11:28:38 -05:00
Chris Veilleux df835af371 added upsert logic to add/update skill settings definition when it is posted by the device. 2019-09-05 11:26:27 -05:00
Chris Veilleux 29aaf5751c minor refactor 2019-09-05 11:25:31 -05:00
Chris Veilleux 2e630ee930 minor refactor 2019-09-05 11:24:08 -05:00
Chris Veilleux e396dd2a6f added a device status as it relates to communication with the backend. this is a preliminary step to fixing the skill installation issue in the marketplace. 2019-08-17 17:37:52 -05:00
Chris Veilleux b326067f2e Merge remote-tracking branch 'remotes/origin/dev' into feature/publish_repo 2019-08-16 19:00:49 -05:00
Chris Veilleux 9ecb80e956
Merge branch 'dev' into bug/skill-settings 2019-08-16 18:43:02 -05:00
Chris Veilleux f7e963fe0a Fixes to skill settings page showing skills multiple times. 2019-08-16 18:30:25 -05:00
Steve Penrod 9dc4d62490 Adding the basics to prepare for publishing this repo
Changes include:

* Adding AGPL 3.0 license template (TODO: Apply to all 200+ *.py files)
* Adding AGPL license files
* Add generic public repo files (CONTRIBUTING, etc)
* Simple README updates
* Adding other generic files, e.g. .github templates
2019-07-27 18:44:23 -05:00
Chris Veilleux 474da1469f fixed a bug where a previous change broke an import statement 2019-07-10 13:41:35 -05:00
Chris Veilleux dc20f237a9 Merge remote-tracking branch 'remotes/origin/master' into test 2019-07-09 19:44:57 -05:00
Chris Veilleux 8d9e697537 added new column to metric.core_interaction table to capture the user latency metric. 2019-07-09 19:43:12 -05:00
Chris Veilleux 09c43569d3 Merge remote-tracking branch 'remotes/origin/test' 2019-07-09 13:54:37 -05:00
Chris Veilleux 63e6053966 new metric.core_interaction table to track skill latency and the code to populate it from the metric.core table. 2019-07-09 13:47:31 -05:00
Chris Veilleux 9d6e722d14 Merge remote-tracking branch 'remotes/origin/test' 2019-07-08 20:06:59 -05:00
Chris Veilleux d8ed1e10f2 removed context manager usage as resulting object could not be passed on 2019-07-08 20:05:25 -05:00
Chris Veilleux 108d21d888 Merge remote-tracking branch 'remotes/origin/test' 2019-07-08 19:51:22 -05:00
Chris Veilleux ac1e68cb45 removed code that duplicated the work done in the context manager. 2019-07-08 19:37:10 -05:00
Chris Veilleux e552c55ce4 fixed bug where jsonified null value was being inserted instead of null value if there are no skill settings 2019-07-08 19:31:42 -05:00
Chris Veilleux 67ac45c829 fixed typo in metric schema 2019-07-06 15:55:00 -05:00
Chris Veilleux 40cbf36923 define pairing token Redis key in the cache module 2019-07-06 14:46:05 -05:00
Chris Veilleux fd5678139e fixed a bug when a device sends skill settings before it sends the skill manifest. to address the bug, if settings are sent for a skill not yet assigned to a device, insert the device_skill row 2019-07-03 15:53:21 -05:00
Chris Veilleux a096381333 enhanced docstring and added a constant for the device pairing key 2019-07-02 15:55:20 -05:00
Chris Veilleux 05ba05f50d write out the .flac and .stt files for users that opt-in for tagging purposes. 2019-07-01 21:57:22 -05:00
Chris Veilleux 613ea71d99 fixed a bug with the metrics api insert and another with the skill settings endpoint 2019-06-30 17:27:52 -05:00
Chris Veilleux abf3556b36 renamed metrics schema to metric, because I am one anal MF 2019-06-28 22:38:38 -05:00
Chris Veilleux f36fd3b3e5 fixed bug with logging 2019-06-28 21:03:44 -05:00
Chris Veilleux 4f0517fe30 fixed a bug with the decimal conversion of duration 2019-06-28 15:03:52 -05:00
Chris Veilleux 5aec4bf654 fixed a bug where number of seconds was truncated from the api call duration 2019-06-28 14:52:11 -05:00
Chris Veilleux 61a7b6b7a0 fixed a minor bug in how the logger is created 2019-06-27 17:23:37 -05:00
Chris Veilleux e0b95fdca8 fixed some automated testing error introduced by recent changes 2019-06-27 12:36:23 -05:00
Chris Veilleux 1e50da5c6a fixed some automated testing error introduced by recent changes 2019-06-27 12:36:05 -05:00
Chris Veilleux ac2f48a299 Merge remote-tracking branch 'remotes/origin/master' into dev
# Conflicts:
#	api/public/public_api/endpoints/device_skills.py
#	api/public/tests/features/steps/device_skills.py
#	shared/selene/data/skill/repository/device_skill.py
2019-06-27 12:22:23 -05:00
Chris Veilleux ec272636f5 change GitHub authentication to not require a publicly available email address 2019-06-27 12:05:33 -05:00
Chris Veilleux f4ad4f213b add GitHub as an allowed federated platform 2019-06-27 11:58:33 -05:00
Chris Veilleux bd8739b407 new script to move data from transient metrics.api table to the partitioned metrics.api_history table to help with query performance 2019-06-27 01:24:57 -05:00
Chris Veilleux 7c1c18d275 expose the execute method for ddl type SQL statements and add copy to/from functionality 2019-06-27 01:22:40 -05:00
Chris Veilleux b8e1c4dece enhance to allow for dynamic sql 2019-06-27 01:21:43 -05:00