Commit Graph

777 Commits (8484d8289bce0901b4e92edc1e8e2b5d8ade6086)

Author SHA1 Message Date
Chris Veilleux cf39ba2aca
Merge pull request #54 from MycroftAI/account-api
fixed a bug with new account logic when a user opts out of membership
2019-02-20 17:37:03 -06:00
Chris Veilleux 7116ae62d3 removed validtor-collection from requirements 2019-02-20 17:34:59 -06:00
Chris Veilleux 57d46dcd09 Merge remote-tracking branch 'remotes/origin/tartarus-overhaul' into account-api 2019-02-20 17:32:52 -06:00
Chris Veilleux a2a4b4e834 added checks to auth token refresh test to address bug. 2019-02-20 17:31:49 -06:00
Matheus Lima 1ad957142a Applying requested changes 2019-02-20 20:25:21 -03:00
Matheus Lima af83a190db Applying requested changes 2019-02-20 20:25:21 -03:00
Matheus Lima f978ca5239 Reverting change in the agreement repository 2019-02-20 20:25:21 -03: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
Matheus Lima 64e513a7df Created endpoint to get the device pairing code 2019-02-20 20:25:21 -03:00
Chris Veilleux f1e1ba60d1 fixed a bug with authentication logic that refreshed tokens when access token expired 2019-02-20 16:50:22 -06:00
Chris Veilleux 24faf0fbbd fixed a bug with new account logic when a user opts out of membership 2019-02-20 14:45:06 -06:00
Chris Veilleux 75fe9eed96
Merge pull request #53 from MycroftAI/account-api
Cleanup and testing
2019-02-20 13:03:54 -06:00
Chris Veilleux afcbbc05a5 changed display name to username 2019-02-19 17:16:19 -06:00
Chris Veilleux 772a908237 removed flask-restful 2019-02-19 14:44:29 -06:00
Chris Veilleux 2b996a99ad convert from flask-restful to flask 2019-02-19 14:41:36 -06:00
Chris Veilleux 517177078c return a dictionary instead of a string to make the response go through the coersion routine 2019-02-19 14:41:05 -06:00
Chris Veilleux c4919b155b Merge remote-tracking branch 'remotes/origin/tartarus-overhaul' into account-api 2019-02-19 14:01:34 -06:00
Chris Veilleux 0b555261b5 new tests for authentication token behaviors 2019-02-19 13:35:03 -06:00
Chris Veilleux 406f2a43a7 new file with common step code 2019-02-19 13:34:36 -06:00
Chris Veilleux e8a0a161d3 fixing token authentication bugs 2019-02-19 13:33:06 -06:00
Chris Veilleux b98f667f30 refactored to build access and refresh tokens independently for re-usability in other tests. 2019-02-19 13:31:58 -06:00
Chris Veilleux 97cefc9ce1 minor refactor 2019-02-19 13:30:50 -06:00
Chris Veilleux 8118c1b05c new error handler for authentication errors 2019-02-19 10:58:48 -06:00
Chris Veilleux 20e9f760b9 changed test to expect new value from UI 2019-02-19 10:58:01 -06:00
Matheus Lima dea0e6737f Changing code to use relative imports 2019-02-19 10:06:30 -03:00
Matheus Lima c02f308392 Created behave test for the google stt endpoint 2019-02-19 10:06:30 -03:00
Matheus Lima d6bab8fb8f Removed unused import 2019-02-19 10:06:30 -03:00
Matheus Lima 6c25c2f85d Migrating the project from flask-restful to flask 2019-02-19 10:06:30 -03:00
Matheus Lima ed2e7eada6 Refactoring 2019-02-19 10:06:30 -03:00
Matheus Lima 73ad03c7b6 Created endpoint to communicate with the Google STT API 2019-02-19 10:06:30 -03:00
Chris Veilleux 3c624ea1e0 new version of shared package 2019-02-18 14:53:53 -06:00
Chris Veilleux 4f5512ab63 changed to use new class signature 2019-02-18 14:53:34 -06:00
Chris Veilleux c2dfa9c318 removed the validator-collection package now that we are using schematics 2019-02-18 14:50:05 -06:00
Chris Veilleux 988a70752b jsonified the response object 2019-02-18 14:43:26 -06:00
Chris Veilleux be31c2d1ac
Merge pull request #52 from MycroftAI/add-insert-ts
Add insert ts
2019-02-18 14:40:01 -06:00
Chris Veilleux 2e306e084e changed value of membership type to match what was expected in API 2019-02-18 13:43:39 -06:00
Chris Veilleux 43d122a443 changed username to display_name 2019-02-18 13:41:10 -06:00
Chris Veilleux 5454b8130c added insert_ts to all tables 2019-02-18 13:25:26 -06:00
Chris Veilleux b5b7cfdef0 added some whitespace to make pylint happy 2019-02-18 13:01:17 -06:00
Chris Veilleux 5e8db7ec4c
Merge pull request #50 from MycroftAI/account-api
Create Account & Remove Flask Restful
2019-02-18 11:34:21 -06:00
Chris Veilleux ee5731d86e applied code review corrections 2019-02-18 11:12:06 -06:00
Chris Veilleux 8e62fc8b72 removed old version of response formatter 2019-02-15 22:13:55 -06:00
Chris Veilleux 24875c9e98 removed flask-restful 2019-02-15 21:48:03 -06:00
Chris Veilleux b45908da72 removed flask-restful 2019-02-15 21:47:10 -06:00
Chris Veilleux fda4f7a788 added test for a missing attribute in the new account request 2019-02-15 21:45:08 -06:00
Chris Veilleux 16b2cffc21 converted from flask-restful to flask 2019-02-15 21:44:19 -06:00
Chris Veilleux f5fb8b6dfe added blueprint for flask application setup common to all selene api's 2019-02-15 21:43:59 -06:00