Commit Graph

846 Commits (0b1fca1141ed0e4ec2ce5c1b6f4dcc28c55e48f3)

Author SHA1 Message Date
Chris Veilleux 0b1fca1141 we aren't using categories so we changed the business rule to make device names unique for an account 2019-03-20 13:35:06 -05:00
Chris Veilleux 3393f3395f added payment_id to query to fix a bug 2019-03-20 13:34:10 -05:00
Chris Veilleux 4afa558cd8 added geography_id 2019-03-20 13:33:41 -05:00
Chris Veilleux 877701faf9 added logic to add a device.geography row 2019-03-20 13:32:53 -05:00
Chris Veilleux a25aa7f665 fixed unique index definition 2019-03-20 11:07:01 -05:00
Chris Veilleux d7ce0ac3de new account_default table repository code 2019-03-20 11:04:13 -05:00
Chris Veilleux 604c156013 minor change to wake word schema 2019-03-20 11:03:58 -05:00
Chris Veilleux c60af46dd3 new account_default table repository code 2019-03-20 11:03:37 -05:00
Chris Veilleux dd94d69269 schema changes to split the defaults out from the preferences 2019-03-20 10:50:35 -05:00
Chris Veilleux 1f757a4ee9 new post method for account preferences 2019-03-19 17:59:36 -05:00
Chris Veilleux bbf5a58dc5 changes for new device.geography and device.account_preferences tables 2019-03-19 17:59:06 -05:00
Chris Veilleux 8d76de0d79 made geography not nullable 2019-03-19 17:28:33 -05:00
Chris Veilleux e5838736ab changed device.geography table and device.preferences table to have references to geography schema tables 2019-03-19 16:46:15 -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
Chris Veilleux f0229319d5 added order by clause for display purposes 2019-03-18 00:23:43 -05:00
Matheus Lima 6ee52127e8 minor refactoring 2019-03-15 18:13:30 -03: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
Chris Veilleux 0967d2d458 updated to reflect that the UI will send a null membership type if the user does not sign up 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
Matheus Lima 532762bec7 Implemented stripe integration 2019-03-15 11:13:29 -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 cc409d1b5e Starting to implement the stripe integration 2019-03-15 11:09:38 -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
Chris Veilleux 885d36b34e added stripe_plan to the insert statements 2019-03-15 11:07:12 -03:00
Chris Veilleux 428fc2aad8 added stripe plan name column 2019-03-15 11:07:12 -03:00
Chris Veilleux 397a7a4c77 removed unused module 2019-03-15 11:07:12 -03:00
Chris Veilleux 0d667e4d84 moved shared package out of dev 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 5864191030 anal indentation fixing 2019-03-15 00:49:00 -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
Chris Veilleux f30d5ed709 Merge remote-tracking branch 'remotes/origin/stripe-integration' into add-device 2019-03-14 19:12:56 -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
Chris Veilleux 8abafdd851 apply schema changes 2019-03-14 00:03:24 -05:00
Chris Veilleux 791d56559e applied schema changes 2019-03-14 00:02:49 -05:00
Chris Veilleux bd438b9c93 Merge remote-tracking branch 'remotes/origin/stripe-integration' into add-device 2019-03-13 19:48:25 -05:00
Chris Veilleux 27de472229 updated to reflect that the UI will send a null membership type if the user does not sign up 2019-03-13 19:47:58 -05:00
Chris Veilleux 13095c34b6 Merge remote-tracking branch 'remotes/origin/stripe-integration' into add-device 2019-03-13 19:25:27 -05: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
Chris Veilleux 91ed8d33a3 added stripe_plan to the insert statements 2019-03-13 21:21:52 -03:00