Commit Graph

120 Commits (master)

Author SHA1 Message Date
Chris Veilleux 21501d3612 bug fix - the UI was throwing errors when a skill did not have settings. initialize an empty settings section to fix. 2019-07-08 19:30:25 -05:00
Chris Veilleux eb35e140af removed TODO 2019-07-05 18:04:37 -05:00
Chris Veilleux 1bf8a57fdd fixed a bug that was causing the preferences page to return a 500 2019-06-28 09:57:24 -05:00
Chris Veilleux 76f0976a6e minor bug fix 2019-06-26 11:04:06 -05:00
Chris Veilleux e534bc7091 fixed to no longer pass account id 2019-06-25 17:42:00 -05:00
Chris Veilleux 861b043238 removed account_id from constructor as not all methods use it 2019-06-20 20:58:35 -05:00
Chris Veilleux f28ec2c502 Changed account preferences upsert to use the AccountPreferences object instead of a dictionary 2019-06-19 15:56:31 -05: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 6ac5ca8ddd 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:05:14 -05:00
Matheus Lima 3ee0fb7f00 Fixing typo 2019-05-29 16:43:24 -03:00
Matheus Lima f2e7374b96 Fixing request to deal with arrays 2019-05-29 16:38:14 -03:00
Chris Veilleux 632ff7a15c Merge remote-tracking branch 'origin/fix-skill-settings' into fix-skill-settings 2019-05-29 14:32:14 -05:00
Chris Veilleux eea5c62125 do not convert field names to camel case. 2019-05-29 14:32:07 -05:00
Matheus Lima a7d683da42 Adding missing parameter 2019-05-29 16:20:34 -03:00
Matheus Lima 289b068371 Fixing request used to update the skills settings 2019-05-29 15:08:30 -03:00
Matheus Lima 0e89c709b5 Updating repository to use property 2019-05-29 14:43:22 -03:00
Matheus Lima 4533c86be3 small fix 2019-05-29 13:57:35 -03:00
Matheus Lima 8a25ca7f80 Reverting a change in the repository and replaced functional mapping by a for loop 2019-05-29 13:51:45 -03:00
Matheus Lima c41e46213a Moving conversion from the repository to the endpoint class 2019-05-29 13:43:02 -03:00
Matheus Lima 4615684de5 Changing the response type from the endpoint to bypass conversion 2019-05-29 13:29:17 -03:00
Chris Veilleux 4bf45cafc2 made the skill settings repository a property 2019-05-23 22:25:35 -05:00
Matheus Lima 67999eab64 Adding cache config 2019-05-23 16:22:21 -03:00
Matheus Lima 26fe7a2fc9 Expiring etags when the device preference are updated and making sure we are returning the correct system unit 2019-05-23 16:15:24 -03:00
Matheus Lima f444d275d6 Making the oauth endpoint to return the correct response 2019-05-16 19:37:44 -03:00
Matheus Lima 8ca34db143 Returning correct response in the oauth endpoints 2019-05-16 17:51:44 -03:00
Matheus Lima b88ca3d221 Fixed authorization url used by skills 2019-05-09 19:55:47 -03:00
Matheus Lima e259afd402 Removing the login session when the device is removed 2019-05-08 16:55:14 -03:00
Chris Veilleux 145cb39264 new endpoint to validate the pairing code before the add device request so that the UI can mark the pairing code field as invalid if the code does not exist. 2019-04-23 16:34:31 -05:00
Chris Veilleux c4776c5774 stubbed in view for oauth checks 2019-04-23 12:30:57 -05:00
Chris Veilleux 72327c696d Merge remote-tracking branch 'origin/test' into test 2019-04-22 16:58:34 -05:00
Chris Veilleux 2ee471a6e1 add api metrics table and collection. in the process, changed the database connection mechanism to only get a connection from the pool once per request. 2019-04-22 16:58:28 -05:00
Matheus Lima 12c6884173 Expiring device setting etag when a device is edited 2019-04-19 16:51:35 -03:00
Chris Veilleux bbcac41cc0 expire device etags when device attributes change 2019-04-18 13:38:31 -05:00
Chris Veilleux bb4fbd0ac2 Added logic to update a device from the UI, which led to some ancillary changes in logic to add a device. Minor refactoring also done. 2019-04-18 12:49:06 -05:00
Chris Veilleux 2610e260dc retrieve display name from skill for the ui 2019-04-04 17:31:18 -05:00
Chris Veilleux 900b4d1439 enable device delete 2019-04-04 16:59:51 -05:00
Chris Veilleux 580dc9d37b fixed an issue with the sso API failing due to the selene cache being defined as a base class instance attribute 2019-04-03 20:35:44 -05:00
Chris Veilleux b09d900204 enable update of device defaults 2019-04-03 19:53:19 -05:00
Matheus Lima 11ba261ed6 Adding etag manager in the account api and expiring skill etag when the skill is updated 2019-04-03 13:12:27 -03:00
Chris Veilleux b6542198f3 added a patch method to the preferences endpoint and did some refactoring 2019-04-02 20:35:27 -05:00
Matheus Lima 2c0061732c Fixing endpoint to use skill family_name instead of skill name 2019-04-02 19:11:45 -03:00
Chris Veilleux 549fdfb8af add a todo to revisit the post logic when I have a better understanding of Angular forms 2019-03-25 16:21:17 -05:00
Chris Veilleux 818f2dc863 ensure the geographical location is associated with an account before the device is added 2019-03-23 18:43:09 -05:00
Chris Veilleux cbb476ea4a fixed incorrect query parameters 2019-03-22 12:36:47 -05:00
Chris Veilleux 037892b4e5 fixed a bug where the API was passing an object instead of a string 2019-03-22 12:18:35 -05:00
Chris Veilleux e61a3ab461 removed link from skill to skill display 2019-03-22 12:05:01 -05:00
Chris Veilleux bbc893766f fixed a cut and paste issue 2019-03-22 00:21:50 -05:00
Chris Veilleux f94b1bbe6b applied code review changes 2019-03-21 12:24:46 -05:00
Chris Veilleux 3bd458476a implemented a post request to add a device and did some refactoring 2019-03-20 17:17:40 -05:00
Chris Veilleux 7d7f0bbd01 new endpoint for account defaults 2019-03-20 13:42:17 -05:00
Chris Veilleux 1f757a4ee9 new post method for account preferences 2019-03-19 17:59:36 -05:00
Chris Veilleux 159ce1c06b api endpoints for geographical locations and the repository code to support it 2019-03-15 01:05:19 -05:00
Chris Veilleux ef921c308b allow for a user with no preferences setup 2019-03-14 23:50:34 -05:00
Chris Veilleux 133bf2a8a5 applied schema changes 2019-03-14 23:49:38 -05:00
Chris Veilleux 10b7ea675a added endpoint to get membership types and the supporting repository logic 2019-03-08 17:27:45 -06:00
Chris Veilleux 84965186dc added geography endpoint and the repository code to support it 2019-03-05 16:04:38 -06:00
Chris Veilleux 1bfa7800c5 added voice endpoint and the repository code to support it 2019-03-05 15:43:32 -06:00
Chris Veilleux a039bcfb0e new endpoint to manage wake words and the repository changes to support it 2019-03-05 15:23:24 -06:00
Chris Veilleux a16bdae969 new account api endpoint to retreive account preferences, along with the necessary repository changes 2019-03-05 15:22:09 -06:00
Chris Veilleux ac7f1cb593 added device endpoint to account api and altered repository to serve it data 2019-03-05 15:20:31 -06:00
Chris Veilleux 581bf1812d renamed a few items in the database schema 2019-03-01 20:33:35 -06:00
Chris Veilleux 7cd7967091 added skill setting update logic. also added logic to return a number of devices per account 2019-02-28 21:48:35 -06:00
Chris Veilleux 61e884b0f6 implemented a sql trick to group by json that made the code a lot simpler 2019-02-26 14:09:31 -06:00
Chris Veilleux 638b74206d added some logic on how to determine the skill name displayed in the ui 2019-02-26 09:37:56 -06:00
Chris Veilleux d19a1fcdf6 new endpoint for account skills 2019-02-25 23:27:54 -06:00
Matheus Lima 23e056ca96 Created test to validate device pairing workflow 2019-02-20 20:25:21 -03:00
Matheus Lima 640f08ffbe Refactoring 2019-02-20 20:25:21 -03:00
Matheus Lima 750921fb7d Created endpoint to activate a device that is in a pairing process 2019-02-20 20:25:21 -03:00
Matheus Lima 5b6776c92e - Created endpoint to add a device to an account using a pairing code
- Renamed selene_cache module to cache
2019-02-20 20:25:21 -03:00
Chris Veilleux a80d71df02 account api initial commit with an account endpoint 2019-02-07 20:04:08 -06:00