Commit Graph

237 Commits (master)

Author SHA1 Message Date
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