Commit Graph

744 Commits (91a77c5720fe0a609e1f4db375a034814b5ebfa9)

Author SHA1 Message Date
Chris Veilleux 91a77c5720 added sslmode to connection config to support DigitalOcean database hosting 2019-03-04 00:44:53 -06:00
Chris Veilleux 59872f4d24 socket change 2019-03-04 00:43:56 -06:00
Chris Veilleux f1bd6ce1e2 added a uwsgi.ini file for the account api 2019-03-03 22:20:14 -06:00
Chris Veilleux 5efaa7c290
Merge pull request #62 from MycroftAI/dev
tartarus overhaul to test
2019-03-03 21:54:41 -06:00
Chris Veilleux 63aabea6ed
Merge pull request #61 from MycroftAI/tartarus-overhaul
Neo4j to postgres converter
2019-03-03 21:00:05 -06:00
Chris Veilleux a0cb3069c0
Merge pull request #57 from MycroftAI/skills-setting
Updating the neo4j-postgres converter
2019-03-03 20:59:05 -06:00
Matheus Lima a5dcdf0c94 Applying model changes 2019-03-03 22:46:00 -03:00
Matheus Lima a90833f178 Fixing tests after rebase 2019-03-03 22:46:00 -03:00
Matheus Lima d599fb9540 Filling the account_agreements table 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
Matheus Lima d38d51e568 Filling the table device.device_skill 2019-03-03 22:46:00 -03:00
Matheus Lima 17f57f61c7 Updating the neo4j-postgres converter to match with the new database model. Also using batch insertions to speed up the processing time 2019-03-03 22:46:00 -03:00
Chris Veilleux e38259c8ae Merge remote-tracking branch 'origin/dev' into dev 2019-03-03 19:24:53 -06:00
Chris Veilleux 0533be1e40 initial version of jenkinsfile 2019-03-03 19:21:46 -06:00
Chris Veilleux 24a2befda6
Merge pull request #60 from MycroftAI/tartarus-overhaul
Tartarus overhaul to dev
2019-03-03 19:19:22 -06:00
Chris Veilleux c422ed26f5 changed environment setup to deal with new naming 2019-03-03 19:11:27 -06:00
Chris Veilleux 9595eef5c2 changed behavior tests to deal with naming changes 2019-03-03 19:09:16 -06:00
Chris Veilleux f14e6d27c1 Merge remote-tracking branch 'remotes/origin/populate-profile-page' into tartarus-overhaul 2019-03-03 18:40:43 -06:00
Chris Veilleux 4a703aa211 changed name of settings_meta table to settings_display and added some progress print statements 2019-03-03 18:39:26 -06:00
Chris Veilleux 78e3a3bc41
Merge pull request #59 from MycroftAI/populate-profile-page
Add ability to update skill settings
2019-03-03 18:23:30 -06:00
Chris Veilleux 2f4206a2ab removed hash column again because it was determined to be used in a device ownership feature that will be deprecated. 2019-03-03 18:20:47 -06:00
Chris Veilleux 6ce6e21acf removed hash column again because it was determined to be used in a device ownership feature that will be deprecated. 2019-03-03 18:03:43 -06:00
Chris Veilleux 96649e7ebf added hash column back to support older versions of core 2019-03-03 14:09:46 -06:00
Chris Veilleux 581bf1812d renamed a few items in the database schema 2019-03-01 20:33:35 -06:00
Chris Veilleux 0d6cb7d3f1 resolve merge conflicts 2019-02-28 22:01:21 -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 e16369c565 added snake_to_camel import 2019-02-28 21:47:04 -06:00
Chris Veilleux 3c5983a194 added repository method to get the number of devices for an account. 2019-02-28 21:46:32 -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 c3608a10bf
Merge pull request #56 from MycroftAI/populate-profile-page
Populate profile page
2019-02-28 20:44:22 -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
Matheus Lima eccb83ed44 - Refactoring to use a AccountRepository to get an account using the device id
- Created tests for the metrics service
2019-02-25 19:03:08 -03:00
Matheus Lima a6533fbe32 Removed blocking operation from the db transaction 2019-02-25 16:42:11 -03:00
Matheus Lima edc43ed39a Created endpoint to communicate with metrics service 2019-02-25 16:42:11 -03: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