Commit Graph

711 Commits (35fa76e6a2937a91350544929b739bf945d8cabc)

Author SHA1 Message Date
Chris Veilleux 35fa76e6a2 refactored how skill settings are retrieved. added skill settings change code 2019-02-28 21:46:05 -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
Chris Veilleux 1b7c382846 new repository for account skills 2019-02-25 23:27:04 -06:00
Chris Veilleux 8a1ee6c0db changed "subscription" to "membership" 2019-02-25 23:26:10 -06:00
Chris Veilleux 05bf20ac4d fixed a minor bug when an account has no refresh tokens 2019-02-25 23:25:37 -06:00
Chris Veilleux 6661f27caf resolve merge conflict 2019-02-25 13:33:50 -06:00
Matheus Lima 2ae8b408e2 adding TODO to change return in the API v2 2019-02-25 16:28:14 -03:00
Matheus Lima e722e519bf Fixed the endpoint used to get the subscription type of a device and created tests for this endpoint 2019-02-25 16:28:14 -03:00
Matheus Lima 88aaccd073 Adding test for the device setting endpoint 2019-02-25 16:28:14 -03:00
Matheus Lima 588525ea47 Created test to the endpoint used to fetch a device 2019-02-25 16:28:14 -03:00
Chris Veilleux cede611f0f Merge remote-tracking branch 'remotes/origin/tartarus-overhaul' into populate-profile-page 2019-02-25 12:06:22 -06:00
Chris Veilleux 144372ca1c remove tables that are no longer used 2019-02-25 11:13:24 -06:00
Chris Veilleux beecb4a4f2 added a column to link to a settings version and to store the settings.json file from the device. 2019-02-25 11:12:57 -06:00
Chris Veilleux ce7fa1a193 new table that replaces the old skill_settings_version. the settingsmeta.json is stored directly rather than being hashed 2019-02-25 11:10:35 -06:00
Chris Veilleux 42975024aa new package for re-usable testing code. first addition is some database setup and teardown logic 2019-02-25 01:58:41 -06:00
Chris Veilleux 02a9242c17 new base class for data repositories to eliminate some boilerplate code 2019-02-25 01:57:44 -06:00
Chris Veilleux 73fca3b7e1 added membership repository 2019-02-25 01:50:20 -06:00
Chris Veilleux f63d1ad633 added membership repository 2019-02-25 01:49:56 -06:00
Chris Veilleux 86883f31aa added non-pool connection to API 2019-02-25 01:48:35 -06:00
Chris Veilleux d71ae4831c moved database connection call into the get_base_config function so it is not attempted at import time. this is necessary to allow the behave tests to create a test database 2019-02-25 01:48:02 -06:00
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
Matheus Lima ae5c148b92 Removing unused import 2019-02-22 14:23:43 -03:00
Matheus Lima b68dabe0b9 Clean up and adding tests for the device email endpoint 2019-02-22 14:23:43 -03:00
Matheus Lima 577c470d90 - Using schematics to validate POST data
- Fixed test
- Fixed error handler to present a better error message
2019-02-22 14:23:43 -03:00
Matheus Lima af45f633d1 Created endpoint to send email to the account associated to a device 2019-02-22 14:23:43 -03: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