Commit Graph

424 Commits (a13b52d37eeb439082692fd3e9980b12022037b7)

Author SHA1 Message Date
Chris Veilleux a13b52d37e Merge remote-tracking branch 'remotes/origin/test' 2019-06-18 15:37:23 -05:00
Chris Veilleux ecd5d23d3f changes to the open dataset opt-in flag are not being synced to the device because the etag is not expired when the change is made. 2019-06-18 15:11:28 -05:00
Matheus Lima d222756020 Changing the endpoint used to delete a skill settings block 2019-06-18 16:52:57 -03:00
Matheus Lima a067dcd544 Revert "Changing the endpoint used to delete a skill settings block"
This reverts commit def458234a3f33ff504ec204456bad9c48d26f53.
2019-06-18 16:39:58 -03:00
Matheus Lima a0f75988c8 Revert "Fixing DATE comparing"
This reverts commit ad1bd532a0.
2019-06-18 16:37:24 -03:00
Matheus Lima 942244cd77 Changing the endpoint used to delete a skill settings block 2019-06-18 15:37:39 -03:00
Chris Veilleux f9466358db Merge remote-tracking branch 'remotes/origin/dev' into fix-metrics-service
# Conflicts:
#	api/account/tests/features/steps/update_membership.py
#	api/public/tests/features/device_metrics.feature
#	api/public/tests/features/steps/common.py
#	shared/selene/testing/account.py
#	shared/selene/testing/api.py
2019-06-18 13:10:00 -05:00
Matheus Lima ad1bd532a0 Fixing DATE comparing 2019-06-17 21:47:59 -03:00
Chris Veilleux 1db96b3c05 Merge branch 'master' of https://github.com/MycroftAI/selene-backend 2019-06-16 18:48:04 -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 def8ae381b 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:03:36 -05:00
Matheus Lima 4bbd078987 Created endpoint to delete a given skill from a device 2019-06-14 18:02:10 -03:00
Matheus Lima f6934e075e Migrating DailyReport script to use the SeleneScript base class 2019-06-14 17:52:16 -03:00
Chris Veilleux 9d5a8d87c3 build a batch job that will update the last contact timestamp of a device with the value collected in the Redis database throughout the day 2019-06-13 20:29:28 -05:00
Chris Veilleux 3ee0c07912 changed update of a device's last_contact_ts to be done in Redis instead of Postgres 2019-06-13 17:52:39 -05:00
Chris Veilleux 9ea5fd8e5d Merge remote-tracking branch 'remotes/origin/dev' into fix-device-last-update 2019-06-13 15:57:57 -05:00
Chris Veilleux 1675e79c2f Merge remote-tracking branch 'remotes/origin/dev' into fix-duplicate-skills 2019-06-12 17:28:37 -05:00
Chris Veilleux de0ca3d1bf moved api testing library code to the testing library and minor refactor of account tooling 2019-06-12 15:19:50 -05:00
Chris Veilleux b0f7f8cbf7 added a username parameter to the token generation so that more than one account can be used in testing 2019-06-12 10:33:53 -05:00
Chris Veilleux 24dbd72f4d don't attempt to add a membership if one is not provided 2019-06-12 10:33:36 -05:00
Chris Veilleux 4e5bf29eb4 added test condition for finishing on-boarding as a separate step from new account creation 2019-06-12 10:32:53 -05:00
Chris Veilleux 8421868243 define constants for membership types 2019-06-11 16:48:50 -05:00
Chris Veilleux de6f19c43f added call to add_membership 2019-06-11 14:46:50 -05:00
Chris Veilleux 1bece30e13 added testing data for an account geography 2019-06-11 12:34:31 -05:00
Chris Veilleux 30005f1bc0 added terms of use agreement to test data 2019-06-11 12:29:14 -05:00
Chris Veilleux e1ff87bf2b add logic to update the device last_contact_ts whenever it makes and API call. 2019-06-10 16:19:26 -05:00
Chris Veilleux fd2b46d0b2 Change the core metrics collection to happen within Selene. 2019-06-08 19:23:29 -05:00
Chris Veilleux 8d08ce3c5a moved api testing code into the testing package 2019-06-08 19:13:01 -05:00
Matheus Lima af815058f4 Changing query used to build the daily report to date interval 2019-06-05 20:25:06 -03:00
Matheus Lima 617df8fdd1 Fixing query 2019-06-05 13:02:21 -03:00
Chris Veilleux cf669ce624 Merge remote-tracking branch 'remotes/origin/dev' into reusable-testing-data 2019-06-05 00:48:08 -05:00
Matheus Lima aa4ba119db fixing setting name 2019-06-04 21:10:45 -03:00
Chris Veilleux 5aca99de14 moved the base class in to the selene library to resolve import error 2019-06-04 14:10:42 -05:00
Chris Veilleux 66d1128fac
Merge branch 'dev' into refactor-skill-loader-script 2019-06-04 11:49:43 -05:00
Chris Veilleux 4286aff8b2 Repository code for the new job metrics table 2019-06-04 11:34:03 -05:00
Chris Veilleux a2bf81efd7 Added ability to handle different cursor factories 2019-06-04 11:32:46 -05:00
Chris Veilleux dd109e60c6 Added comments and the ability to handle different cursor factories 2019-06-04 11:20:27 -05:00
Chris Veilleux 67d47ed280 added log message 2019-06-03 22:00:07 -05:00
Chris Veilleux f3d3aa5709 fixed missing space in log message 2019-06-03 21:59:55 -05:00
Matheus Lima 01362b6c40 Fixing query to properly build the number of paid accounts in the daily report 2019-06-03 20:22:19 -03:00
Chris Veilleux e6ff629101 missing column in group by 2019-06-03 17:17:36 -05:00
Chris Veilleux 1d6e359c75 Merge remote-tracking branch 'remotes/origin/dev' into fix-skill-settings 2019-06-03 15:32:23 -05:00
Chris Veilleux a9fb88acaa fixed one skill duplication bug. I believe there may be others... 2019-06-03 15:31:30 -05:00
Matheus Lima df6ae5593a Fixing query 2019-06-01 19:33:44 -03:00
Matheus Lima b54387de66 Added logic to schedule a task to send the daily metrics email 2019-06-01 18:32:19 -03:00
Matheus Lima e53d3ccf41 Fixing query and logic used to build the report. The values in the columns where not matching. 2019-06-01 16:42:42 -03:00
Matheus Lima 7ffc36ef35 Adding email template and fixing column 2019-06-01 16:42:42 -03:00
Matheus Lima cf702a5feb Created script to send email with the metrics report 2019-06-01 16:42:42 -03:00
Matheus Lima 6643f59bf9 Created query to build the daily report 2019-06-01 16:42:42 -03:00
Chris Veilleux 8984cdc34d create test data for accounts and agreements 2019-05-30 21:12:41 -05:00