Chris Veilleux
|
f60508a776
|
added open dataset agreement to the default test data
|
2019-06-19 13:58:49 -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
|
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
|
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
|
d07a0fec28
|
fixed failing tests
|
2019-06-11 14:47:56 -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
|
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
|
cf669ce624
|
Merge remote-tracking branch 'remotes/origin/dev' into reusable-testing-data
|
2019-06-05 00:48:08 -05:00 |
Chris Veilleux
|
8984cdc34d
|
create test data for accounts and agreements
|
2019-05-30 21:12:41 -05:00 |
Matheus Lima
|
3ee0fb7f00
|
Fixing typo
|
2019-05-29 16:43:24 -03:00 |
Matheus Lima
|
f2e7374b96
|
Fixing request to deal with arrays
|
2019-05-29 16:38:14 -03:00 |
Chris Veilleux
|
632ff7a15c
|
Merge remote-tracking branch 'origin/fix-skill-settings' into fix-skill-settings
|
2019-05-29 14:32:14 -05:00 |
Chris Veilleux
|
eea5c62125
|
do not convert field names to camel case.
|
2019-05-29 14:32:07 -05:00 |
Matheus Lima
|
a7d683da42
|
Adding missing parameter
|
2019-05-29 16:20:34 -03:00 |
Matheus Lima
|
289b068371
|
Fixing request used to update the skills settings
|
2019-05-29 15:08:30 -03:00 |
Matheus Lima
|
0e89c709b5
|
Updating repository to use property
|
2019-05-29 14:43:22 -03:00 |
Matheus Lima
|
4533c86be3
|
small fix
|
2019-05-29 13:57:35 -03:00 |
Matheus Lima
|
8a25ca7f80
|
Reverting a change in the repository and replaced functional mapping by a for loop
|
2019-05-29 13:51:45 -03:00 |
Matheus Lima
|
c41e46213a
|
Moving conversion from the repository to the endpoint class
|
2019-05-29 13:43:02 -03:00 |
Matheus Lima
|
4615684de5
|
Changing the response type from the endpoint to bypass conversion
|
2019-05-29 13:29:17 -03:00 |
Chris Veilleux
|
4bf45cafc2
|
made the skill settings repository a property
|
2019-05-23 22:25:35 -05:00 |
Matheus Lima
|
67999eab64
|
Adding cache config
|
2019-05-23 16:22:21 -03:00 |
Matheus Lima
|
26fe7a2fc9
|
Expiring etags when the device preference are updated and making sure we are returning the correct system unit
|
2019-05-23 16:15:24 -03:00 |
Chris Veilleux
|
ac6608ceca
|
removed remaining remnants of the old connection pooling
|
2019-05-22 19:56:44 -05:00 |
Chris Veilleux
|
71df9c9313
|
modified base endpoint class and tests to use new connection pooling mechanism
|
2019-05-22 15:41:30 -05:00 |
Matheus Lima
|
f444d275d6
|
Making the oauth endpoint to return the correct response
|
2019-05-16 19:37:44 -03:00 |
Matheus Lima
|
8ca34db143
|
Returning correct response in the oauth endpoints
|
2019-05-16 17:51:44 -03:00 |
Chris Veilleux
|
e385a6563a
|
un-comment the oauth API call
|
2019-05-16 15:26:04 -05:00 |
Matheus Lima
|
348bd6ace4
|
Created test
|
2019-05-14 18:58:31 -03:00 |
Matheus Lima
|
b88ca3d221
|
Fixed authorization url used by skills
|
2019-05-09 19:55:47 -03:00 |
Matheus Lima
|
e259afd402
|
Removing the login session when the device is removed
|
2019-05-08 16:55:14 -03:00 |
Chris Veilleux
|
145cb39264
|
new endpoint to validate the pairing code before the add device request so that the UI can mark the pairing code field as invalid if the code does not exist.
|
2019-04-23 16:34:31 -05:00 |
Chris Veilleux
|
c4776c5774
|
stubbed in view for oauth checks
|
2019-04-23 12:30:57 -05:00 |
Chris Veilleux
|
72327c696d
|
Merge remote-tracking branch 'origin/test' into test
|
2019-04-22 16:58:34 -05:00 |
Chris Veilleux
|
2ee471a6e1
|
add api metrics table and collection. in the process, changed the database connection mechanism to only get a connection from the pool once per request.
|
2019-04-22 16:58:28 -05:00 |
Matheus Lima
|
12c6884173
|
Expiring device setting etag when a device is edited
|
2019-04-19 16:51:35 -03:00 |
Chris Veilleux
|
bbcac41cc0
|
expire device etags when device attributes change
|
2019-04-18 13:38:31 -05:00 |
Chris Veilleux
|
bb4fbd0ac2
|
Added logic to update a device from the UI, which led to some ancillary changes in logic to add a device. Minor refactoring also done.
|
2019-04-18 12:49:06 -05:00 |
Chris Veilleux
|
af5d5b5be3
|
removed all logic related to storing refresh tokens on the database
|
2019-04-08 20:39:55 -05:00 |
Chris Veilleux
|
07e87b6e65
|
updated version
|
2019-04-08 00:12:08 -05:00 |
Chris Veilleux
|
2610e260dc
|
retrieve display name from skill for the ui
|
2019-04-04 17:31:18 -05:00 |
Chris Veilleux
|
900b4d1439
|
enable device delete
|
2019-04-04 16:59:51 -05:00 |
Chris Veilleux
|
580dc9d37b
|
fixed an issue with the sso API failing due to the selene cache being defined as a base class instance attribute
|
2019-04-03 20:35:44 -05:00 |
Chris Veilleux
|
b09d900204
|
enable update of device defaults
|
2019-04-03 19:53:19 -05:00 |
Matheus Lima
|
11ba261ed6
|
Adding etag manager in the account api and expiring skill etag when the skill is updated
|
2019-04-03 13:12:27 -03:00 |
Chris Veilleux
|
b6542198f3
|
added a patch method to the preferences endpoint and did some refactoring
|
2019-04-02 20:35:27 -05:00 |
Matheus Lima
|
2c0061732c
|
Fixing endpoint to use skill family_name instead of skill name
|
2019-04-02 19:11:45 -03:00 |
Chris Veilleux
|
4b100a4176
|
change the logic around membership changes to fix some things and adapt to a change in how the UI is sending the data.
|
2019-03-26 18:57:18 -05:00 |
Chris Veilleux
|
549fdfb8af
|
add a todo to revisit the post logic when I have a better understanding of Angular forms
|
2019-03-25 16:21:17 -05:00 |
Chris Veilleux
|
818f2dc863
|
ensure the geographical location is associated with an account before the device is added
|
2019-03-23 18:43:09 -05:00 |
Chris Veilleux
|
cbb476ea4a
|
fixed incorrect query parameters
|
2019-03-22 12:36:47 -05:00 |
Chris Veilleux
|
037892b4e5
|
fixed a bug where the API was passing an object instead of a string
|
2019-03-22 12:18:35 -05:00 |
Chris Veilleux
|
e61a3ab461
|
removed link from skill to skill display
|
2019-03-22 12:05:01 -05:00 |
Chris Veilleux
|
bbc893766f
|
fixed a cut and paste issue
|
2019-03-22 00:21:50 -05:00 |
Chris Veilleux
|
2b46cac1b5
|
added stripe package
|
2019-03-21 13:33:36 -05:00 |
Chris Veilleux
|
f94b1bbe6b
|
applied code review changes
|
2019-03-21 12:24:46 -05:00 |
Chris Veilleux
|
3bd458476a
|
implemented a post request to add a device and did some refactoring
|
2019-03-20 17:17:40 -05:00 |
Chris Veilleux
|
8f4e10aa4d
|
implemented add device tests
|
2019-03-20 17:16:46 -05:00 |
Chris Veilleux
|
7d7f0bbd01
|
new endpoint for account defaults
|
2019-03-20 13:42:17 -05:00 |
Chris Veilleux
|
1f757a4ee9
|
new post method for account preferences
|
2019-03-19 17:59:36 -05:00 |
Chris Veilleux
|
c851624256
|
Merge remote-tracking branch 'remotes/origin/dev' into add-device
# Conflicts:
# api/account/account_api/api.py
# api/account/tests/features/steps/update_membership.py
# shared/selene/api/endpoints/account.py
# shared/selene/data/account/repository/sql/get_active_membership_by_account_id.sql
|
2019-03-18 17:05:08 -05:00 |
Matheus Lima
|
ff16ce4477
|
Adding payment_id column into the account_membership table, and removing the previous subscription from stripe when a user changes his membership
|
2019-03-15 11:58:00 -03:00 |
Matheus Lima
|
d88d58525c
|
Fixing conflicts with dev branch
|
2019-03-15 11:31:47 -03:00 |
Matheus Lima
|
0b22767e7f
|
Applying camel case and fixing query used to get the active membership
|
2019-03-15 11:18:11 -03:00 |
Matheus Lima
|
b5a53d4c91
|
Fixed an created test for the membership updating
|
2019-03-15 11:14:21 -03:00 |
Matheus Lima
|
37058475b2
|
Created PATCH request to update membership
|
2019-03-15 11:14:21 -03:00 |
Chris Veilleux
|
aafcd5d3b6
|
added endpoint to get membership types and the supporting repository logic
|
2019-03-15 11:11:16 -03:00 |
Matheus Lima
|
f547a452a3
|
Created PATCH request to update membership
|
2019-03-15 11:07:12 -03:00 |
Matheus Lima
|
497d7b2740
|
Implemented stripe integration
|
2019-03-15 11:07:12 -03:00 |
Chris Veilleux
|
2cb58c50e8
|
added endpoint to get membership types and the supporting repository logic
|
2019-03-15 11:07:12 -03:00 |
Matheus Lima
|
d29a3ee857
|
Starting to implement the stripe integration
|
2019-03-15 11:07:12 -03:00 |
Chris Veilleux
|
159ce1c06b
|
api endpoints for geographical locations and the repository code to support it
|
2019-03-15 01:05:19 -05:00 |
Chris Veilleux
|
ef921c308b
|
allow for a user with no preferences setup
|
2019-03-14 23:50:34 -05:00 |
Chris Veilleux
|
133bf2a8a5
|
applied schema changes
|
2019-03-14 23:49:38 -05:00 |
Matheus Lima
|
9f75bf93c4
|
Applying camel case and fixing query used to get the active membership
|
2019-03-14 20:26:16 -03:00 |
Matheus Lima
|
a367c1d07c
|
Created more tests
|
2019-03-14 17:00:38 -03:00 |
Matheus Lima
|
7d87531e26
|
Fixed an created test for the membership updating
|
2019-03-14 14:31:55 -03:00 |
Matheus Lima
|
bdcdeffe18
|
Created PATCH request to update membership
|
2019-03-13 21:21:52 -03:00 |
Matheus Lima
|
9ba79f4a2d
|
Implemented stripe integration
|
2019-03-13 21:21:52 -03:00 |
Chris Veilleux
|
daad2ea4b2
|
added endpoint to get membership types and the supporting repository logic
|
2019-03-13 21:21:52 -03:00 |
Matheus Lima
|
0508824702
|
Starting to implement the stripe integration
|
2019-03-13 21:21:52 -03:00 |
Matheus Lima
|
7fc2a54ab0
|
Created PATCH request to update membership
|
2019-03-13 18:19:13 -03:00 |
Matheus Lima
|
f02d1f151e
|
Implemented stripe integration
|
2019-03-09 00:32:09 -03:00 |
Chris Veilleux
|
10b7ea675a
|
added endpoint to get membership types and the supporting repository logic
|
2019-03-08 17:27:45 -06:00 |
Matheus Lima
|
5ebad16060
|
Starting to implement the stripe integration
|
2019-03-08 19:37:45 -03:00 |
Chris Veilleux
|
c806bcc689
|
added configs to uwsgi.ini files
|
2019-03-05 21:34:25 -06:00 |
Chris Veilleux
|
84965186dc
|
added geography endpoint and the repository code to support it
|
2019-03-05 16:04:38 -06:00 |
Chris Veilleux
|
1bfa7800c5
|
added voice endpoint and the repository code to support it
|
2019-03-05 15:43:32 -06:00 |
Chris Veilleux
|
a039bcfb0e
|
new endpoint to manage wake words and the repository changes to support it
|
2019-03-05 15:23:24 -06:00 |
Chris Veilleux
|
a16bdae969
|
new account api endpoint to retreive account preferences, along with the necessary repository changes
|
2019-03-05 15:22:09 -06:00 |
Chris Veilleux
|
ac7f1cb593
|
added device endpoint to account api and altered repository to serve it data
|
2019-03-05 15:20:31 -06:00 |
Chris Veilleux
|
f1bd6ce1e2
|
added a uwsgi.ini file for the account api
|
2019-03-03 22:20:14 -06:00 |
Chris Veilleux
|
9595eef5c2
|
changed behavior tests to deal with naming changes
|
2019-03-03 19:09:16 -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
|
581bf1812d
|
renamed a few items in the database schema
|
2019-03-01 20:33:35 -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
|
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
|
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
|
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 |
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
|
afcbbc05a5
|
changed display name to username
|
2019-02-19 17:16:19 -06:00 |
Chris Veilleux
|
c4919b155b
|
Merge remote-tracking branch 'remotes/origin/tartarus-overhaul' into account-api
|
2019-02-19 14:01:34 -06:00 |
Chris Veilleux
|
0b555261b5
|
new tests for authentication token behaviors
|
2019-02-19 13:35:03 -06:00 |
Chris Veilleux
|
406f2a43a7
|
new file with common step code
|
2019-02-19 13:34:36 -06:00 |
Chris Veilleux
|
b98f667f30
|
refactored to build access and refresh tokens independently for re-usability in other tests.
|
2019-02-19 13:31:58 -06:00 |
Chris Veilleux
|
97cefc9ce1
|
minor refactor
|
2019-02-19 13:30:50 -06:00 |
Chris Veilleux
|
20e9f760b9
|
changed test to expect new value from UI
|
2019-02-19 10:58:01 -06:00 |
Matheus Lima
|
ed2e7eada6
|
Refactoring
|
2019-02-19 10:06:30 -03:00 |
Matheus Lima
|
73ad03c7b6
|
Created endpoint to communicate with the Google STT API
|
2019-02-19 10:06:30 -03:00 |
Chris Veilleux
|
ee5731d86e
|
applied code review corrections
|
2019-02-18 11:12:06 -06:00 |
Chris Veilleux
|
b45908da72
|
removed flask-restful
|
2019-02-15 21:47:10 -06:00 |
Chris Veilleux
|
fda4f7a788
|
added test for a missing attribute in the new account request
|
2019-02-15 21:45:08 -06:00 |
Chris Veilleux
|
16b2cffc21
|
converted from flask-restful to flask
|
2019-02-15 21:44:19 -06:00 |
Chris Veilleux
|
b762dc7f79
|
added schematics library
|
2019-02-15 01:02:03 -06:00 |
Chris Veilleux
|
3b083bed72
|
removed unused import
|
2019-02-15 01:01:30 -06:00 |
Chris Veilleux
|
eeb8213a46
|
behave tests for add account feature
|
2019-02-15 01:00:56 -06:00 |
Chris Veilleux
|
d8a6987888
|
change to reflect new data structure
|
2019-02-15 01:00:31 -06:00 |
Chris Veilleux
|
ec943dad50
|
changed to use IDs in repository objects
|
2019-02-15 00:12:31 -06:00 |
Chris Veilleux
|
58202b001f
|
added tests for agreement endpoint
|
2019-02-12 10:44:43 -06:00 |
Chris Veilleux
|
584e91c547
|
added agreement endpoint and logging config
|
2019-02-12 10:43:20 -06:00 |
Chris Veilleux
|
44cf4e9e6f
|
added tests of the account endpoint returning subscription and agreement data
|
2019-02-07 22:41:12 -06:00 |
Chris Veilleux
|
a80d71df02
|
account api initial commit with an account endpoint
|
2019-02-07 20:04:08 -06:00 |