Commit Graph

1208 Commits (cf1dcbf4ae8af6efab352be78aa238d0d7fff653)

Author SHA1 Message Date
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
Chris Veilleux 57b54b6f2d
Merge pull request #182 from MycroftAI/fix-device-last-update
add logic to update the device last_contact_ts whenever it makes an API call.
2019-06-13 21:08:59 -05:00
Chris Veilleux f69607d5d2 added a docstring and fixed a few bugs encountered in testing. 2019-06-13 20:53:38 -05: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 e9e6dee130
Merge pull request #183 from MycroftAI/fix-account-api-tests
Fix account api tests
2019-06-13 15:56:11 -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 869e7ece42 refactored tests to use the stripe API more and use a list of accounts in the test context. 2019-06-12 15:15:40 -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 ca272af1a9 added a username parameter to the token generation so that more than one account can be used in testing 2019-06-12 10:30:53 -05:00
Chris Veilleux 8421868243 define constants for membership types 2019-06-11 16:48:50 -05:00
Chris Veilleux d07a0fec28 fixed failing tests 2019-06-11 14:47:56 -05:00
Chris Veilleux de6f19c43f added call to add_membership 2019-06-11 14:46:50 -05:00
Chris Veilleux 506bb8b213 mock the call to stripe as we never really created an account 2019-06-11 14:45:50 -05:00
Chris Veilleux 567018391a added a docstring 2019-06-11 14:45:18 -05:00
Chris Veilleux ef7ccf7393 added HTTP status code 204 (no content) to the acceptable values for a successful API call 2019-06-11 13:21:26 -05:00
Chris Veilleux 67a5d50fca changed feature name 2019-06-11 13:20:25 -05:00
Chris Veilleux 953f4c82b7 moved account removal into its own feature 2019-06-11 13:19:52 -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 6f07963b52 refactored to use more common testing functionality and reduce frequency of some fixtures 2019-06-10 18:19:12 -05:00
Chris Veilleux 53a1da19d8 removed unused import 2019-06-10 18:17:59 -05:00
Chris Veilleux 9402fc6eb7 replaced check for HTTP status OK with common step 2019-06-10 18:17:30 -05:00
Chris Veilleux 2f459597c5 added check for terms of use 2019-06-10 18:17:04 -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 36a90171f0 Merge remote-tracking branch 'remotes/origin/dev' into test 2019-06-07 12:24:28 -05:00
Chris Veilleux 8499e85ae3
Merge pull request #177 from MycroftAI/fix-market-search
fixed bug with the search bar in the marketplace
2019-06-07 12:23:46 -05:00
Chris Veilleux d0461b7f64 fixed bug with the search bar in the marketplace 2019-06-07 12:19:33 -05:00
Matheus Lima 830ce5a4d6 Merge branch 'dev' into test 2019-06-05 20:29:09 -03: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 3bd02f969a Merge branch 'dev' into test 2019-06-04 21:23:52 -03:00
Matheus Lima c3e32f7495 Fixing endpoint base class 2019-06-04 21:23:35 -03:00
Matheus Lima 2c10a20084 Merge branch 'dev' into test 2019-06-04 21:18:55 -03:00
Matheus Lima 05adaa380f Adding device_id to authentication validation 2019-06-04 21:18:21 -03:00
Matheus Lima 628736d4a2 Merge branch 'dev' into test 2019-06-04 21:11:03 -03:00
Matheus Lima aa4ba119db fixing setting name 2019-06-04 21:10:45 -03:00
Matheus Lima f9651a44cc Merge branch 'dev' into test 2019-06-04 20:09:40 -03:00
Matheus Lima 06768674aa fixing typo 2019-06-04 20:09:15 -03:00
Matheus Lima ec09713256 Merge branch 'test' of github.com:MycroftAI/selene-backend into test 2019-06-04 19:51:21 -03:00
Matheus Lima 32f7363d1f Adding URL to download premium voices 2019-06-04 18:34:01 -03:00
Chris Veilleux 1d84e0cb97 removed unused package 2019-06-04 14:55:10 -05:00