Commit Graph

685 Commits (95a5d383e924acc1e43b6e37cab69c2ea07f7716)

Author SHA1 Message Date
Chris Veilleux 95a5d383e9 changed "subscription" to "membership" 2019-02-25 01:46:43 -06:00
Chris Veilleux 20e865d6ab changed "subscription" to "membership" 2019-02-25 01:46:29 -06:00
Chris Veilleux 8d73d18e09 changed "subscription" to "membership" 2019-02-24 23:54:34 -06:00
Chris Veilleux 5d16ede767 changed to build a template database first, then the mycroft database is created from the template. this will allow for testing databases to be created form the blank template as well 2019-02-24 23:50:43 -06:00
Chris Veilleux e633ade60d changed "subscription" to "membership" 2019-02-24 23:49:12 -06:00
Chris Veilleux 0c1e7ec9d8 changed "subscription" to "membership" 2019-02-24 23:47:19 -06:00
Chris Veilleux ac01371c40 changed "subscription" to "membership" 2019-02-24 23:46:06 -06:00
Chris Veilleux 71abd36972 made user roles more production-ready 2019-02-23 12:51:15 -06:00
Chris Veilleux 72db7b96eb added logic to format date fields the way the UI likes it 2019-02-21 23:12:14 -06:00
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