Commit Graph

1407 Commits (92e056fa57c28bb6ce9dcb87043fdba5422ef177)

Author SHA1 Message Date
Chris Veilleux e411332667 fixed to use skill_id in the skill manifest object 2019-06-25 18:11:19 -05:00
Chris Veilleux 32ad6a0921 fixed a minor issue 2019-06-25 18:10:34 -05:00
Chris Veilleux ec5ea8af9a add re-usable check for when and endpoint returns a 304 "Not Modified" http code when etags are hit 2019-06-25 18:09:30 -05:00
Chris Veilleux 4ec2410ad7 minor refactor 2019-06-25 17:42:57 -05:00
Chris Veilleux 4082b53af5 use canned test data instead of depending on real data being on the database 2019-06-25 17:42:34 -05:00
Chris Veilleux e534bc7091 fixed to no longer pass account id 2019-06-25 17:42:00 -05:00
Matheus Lima 709c805c34 Merge branch 'test' 2019-06-25 16:33:05 -03:00
Matheus Lima 7e72507d6b Created stripe webhook 2019-06-25 16:25:15 -03:00
Chris Veilleux 5931125608 removed unused imports 2019-06-21 14:10:01 -05:00
Chris Veilleux 861b043238 removed account_id from constructor as not all methods use it 2019-06-20 20:58:35 -05:00
Matheus Lima 4f4f66baae Fixing date parsing 2019-06-20 21:05:31 -03:00
Matheus Lima 1caa0dc209 Merge branch 'master' of github.com:MycroftAI/selene-backend 2019-06-20 20:44:12 -03:00
Matheus Lima f64fe8e3b6 Fixing date paramter 2019-06-20 20:43:56 -03:00
Chris Veilleux 88909dbf5a changed name of sql file to be more specific to avoid naming conflicts 2019-06-20 16:04:58 -05:00
Chris Veilleux 56d70ee55e removed unused dataclasses 2019-06-20 11:55:55 -05:00
Chris Veilleux 2291892636 moved cache key into the cache util file 2019-06-20 11:37:51 -05:00
Chris Veilleux 69f73128b8 renamed NotModifiedError to NotModifiedException as data not being modified is not an error 2019-06-20 11:36:43 -05:00
Chris Veilleux 361d2f095e minor refactor 2019-06-20 11:19:26 -05:00
Chris Veilleux 0df2cfe3ec added error conditions 2019-06-20 10:59:43 -05:00
Chris Veilleux 297d18d221 remove the API call to get a skill manifest as it is not used by the device 2019-06-20 10:52:29 -05:00
Chris Veilleux 93a212e673 added logic to the skill manifest endpoint to reconcile the manifest uploaded by the device with the manifest stored on the database 2019-06-19 22:18:32 -05:00
Chris Veilleux a85f8d7723 add a step for generating the authentication header so that the code doesn't have to be repeated 2019-06-19 22:11:55 -05:00
Chris Veilleux e08c0f8498 rename step to prevent duplicate values 2019-06-19 22:11:03 -05:00
Chris Veilleux 52305bd9f7 minor refactor 2019-06-19 15:57:51 -05:00
Chris Veilleux b031418bec changed to use test data setup library 2019-06-19 15:57:30 -05:00
Chris Veilleux f28ec2c502 Changed account preferences upsert to use the AccountPreferences object instead of a dictionary 2019-06-19 15:56:31 -05:00
Chris Veilleux c5f2e2dce7 expose some entities for import in other packages 2019-06-19 15:55:39 -05:00
Chris Veilleux e5718d3e82 minor refactor 2019-06-19 15:53:59 -05:00
Chris Veilleux 7dd49a7044 changed agreement removal code to use environment variable to check for dev environment instead of function argument 2019-06-19 14:25:17 -05:00
Chris Veilleux f60508a776 added open dataset agreement to the default test data 2019-06-19 13:58:49 -05:00
Chris Veilleux 4eab27b329 moved logic to get a device's skills to the DeviceSkill repository. 2019-06-18 16:35:38 -05:00
Chris Veilleux a13b52d37e Merge remote-tracking branch 'remotes/origin/test' 2019-06-18 15:37:23 -05:00
Chris Veilleux 557bda246d
Merge pull request #186 from MycroftAI/expire-tag-on-opt-in
changes to the open dataset opt-in flag are not being synced to the d…
2019-06-18 15:15:03 -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 f4fc8bd90a
Merge pull request #179 from MycroftAI/fix-metrics-service
Fix metrics service
2019-06-18 13:14:41 -05: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
Matheus Lima 4bf25a6e47 Fixing date used to generate the daily report 2019-06-17 19:25:17 -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 cf1dcbf4ae fixed a couple of issues with test code introduced by coding changes for account API 2019-06-16 18:46:11 -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 6ac5ca8ddd 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:05:14 -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 ab0a14faea Adding date to daily report script 2019-06-14 18:01:22 -03:00
Matheus Lima f6934e075e Migrating DailyReport script to use the SeleneScript base class 2019-06-14 17:52:16 -03:00