Commit Graph

38 Commits (master)

Author SHA1 Message Date
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 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 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 2e630ee930 minor refactor 2019-09-05 11:24:08 -05:00
Chris Veilleux f7e963fe0a Fixes to skill settings page showing skills multiple times. 2019-08-16 18:30:25 -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 12dc2175d2 updated the skill settings endpoint in the public API handle more use cases 2019-06-25 18:12:34 -05:00
Chris Veilleux 88909dbf5a changed name of sql file to be more specific to avoid naming conflicts 2019-06-20 16:04:58 -05:00
Chris Veilleux 93a212e673 added logic to the skill manifest endpoint to reconcile the manifest uploaded by the device with the manifest stored on the database 2019-06-19 22:18:32 -05:00
Chris Veilleux 4eab27b329 moved logic to get a device's skills to the DeviceSkill repository. 2019-06-18 16:35:38 -05:00
Matheus Lima d222756020 Changing the endpoint used to delete a skill settings block 2019-06-18 16:52:57 -03:00
Matheus Lima a067dcd544 Revert "Changing the endpoint used to delete a skill settings block"
This reverts commit def458234a3f33ff504ec204456bad9c48d26f53.
2019-06-18 16:39:58 -03:00
Matheus Lima 942244cd77 Changing the endpoint used to delete a skill settings block 2019-06-18 15:37:39 -03:00
Chris Veilleux a05d692c6f fixed a couple of bugs related to presenting skill settings and saving changes 2019-06-16 18:37:16 -05:00
Chris Veilleux def8ae381b added SkillFamily dataclass and fixed query that returned skill list to front end to return a single row per skill family 2019-06-15 01:03:36 -05:00
Chris Veilleux e6ff629101 missing column in group by 2019-06-03 17:17:36 -05:00
Chris Veilleux a9fb88acaa fixed one skill duplication bug. I believe there may be others... 2019-06-03 15:31:30 -05:00
Matheus Lima 05779b24b2 Fixing skill manifest uploading. 2019-05-28 20:39:33 -03:00
Chris Veilleux 543b103733 added core version parameter to only return skills from a one core version 2019-05-24 17:47:14 -05:00
Chris Veilleux d9d66a6ac8 added account_id to where clause because accounts can have the same device names 2019-05-23 22:26:53 -05:00
Matheus Lima 2af381cf00 Fixing skills settings and skills manifest uploading 2019-04-16 18:11:14 -03:00
Chris Veilleux 2610e260dc retrieve display name from skill for the ui 2019-04-04 17:31:18 -05:00
Matheus Lima 5ba16147eb Deleting device_skill if exist a row with a given device_id and skill_id 2019-04-03 13:10:21 -03:00
Chris Veilleux 03ed93b041 minor refactor 2019-04-02 20:32:30 -05:00
Matheus Lima 07757f6dbc Fixing the skills setting and skills manifest uploading 2019-04-01 18:46:59 -03:00
Chris Veilleux 80585076b5 changed definition of skill table to match more closely with the skill metadata 2019-04-01 13:13:05 -05:00
Chris Veilleux 3a6d705935 added logic to the skill repository to support the marketplace 2019-03-29 12:04:03 -05:00
Chris Veilleux d943fe29b3 updated skill repository to use new schema with global ID 2019-03-28 14:11:17 -05:00
Matheus Lima cab65636db Created API call to fetch the skills manifest 2019-03-27 11:23:59 -03:00
Matheus Lima e23d9ab840 Created endpoint to upload skills manifest 2019-03-27 11:23:59 -03:00
Chris Veilleux e61a3ab461 removed link from skill to skill display 2019-03-22 12:05:01 -05:00
Matheus Lima b85809f316 Implemented skill uploading 2019-03-06 15:35:35 -03:00
Matheus Lima 13e64340e9 Storing skill identifier in to settings_display from the skill.setting_display table 2019-03-06 15:35:35 -03:00
Matheus Lima a5dcdf0c94 Applying model changes 2019-03-03 22:46:00 -03:00
Matheus Lima 737167b854 Fixed skill endpoints applying the changes related to the skill settings model. 2019-03-03 22:46:00 -03:00
Chris Veilleux 581bf1812d renamed a few items in the database schema 2019-03-01 20:33:35 -06:00
Chris Veilleux 35fa76e6a2 refactored how skill settings are retrieved. added skill settings change code 2019-02-28 21:46:05 -06:00
Chris Veilleux 0b28b18b39 moved all data access layer code into a new selene.data package 2019-02-07 13:14:40 -06:00