Commit Graph

324 Commits (master)

Author SHA1 Message Date
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 8130f587b2 no need for an error message if we are adding agreements 2019-02-15 21:38:53 -06:00
Chris Veilleux 1605d8f33d fixed a bug where passing a nested dictionary to a dataclass constructor did not build the child data objects correctly 2019-02-15 00:45:23 -06:00
Chris Veilleux cefbb22d05 add IDs to dataclasses for account object 2019-02-15 00:10:42 -06:00
Chris Veilleux eaabe37c5c ensure the subquery only returns one row 2019-02-15 00:10:11 -06:00
Chris Veilleux 16f676c2f1 include the agreement ID in the agreement object 2019-02-15 00:07:10 -06:00
Chris Veilleux 4f2e0f5274 refactored to take an account id instead of account object as the id is the only field in the object used 2019-02-15 00:06:25 -06:00
Chris Veilleux 0f0ede9d50 added a repository for agreements 2019-02-12 10:40:29 -06:00
Chris Veilleux 03414990bc applied schema changes 2019-02-12 10:39:58 -06:00
Chris Veilleux dcaf17b5f3 added new validator-collection package and used it to validate the email address on the account object. 2019-02-08 16:25:12 -06:00
Chris Veilleux 75d576f84d define a decorator for executing all sql within a class method in a transaction. commits will occur on success, rollbacks on failure. 2019-02-08 16:12:12 -06:00
Chris Veilleux 65d19a147d ensure all add account insert statements occur within a transaction 2019-02-08 15:15:28 -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 0afedc89c3 added start date to the subscription data 2019-02-07 21:01:30 -06:00
Matheus Lima ba213a8486 Changes to use relative imports 2019-02-07 18:05:07 -03:00
Matheus Lima 492d298a1e Using relative imports to define package level APIs 2019-02-07 17:48:39 -03:00
Matheus Lima edaba3c812 Fixes related to previous refactoring 2019-02-07 17:34:47 -03:00
Matheus Lima e38274e92a Fixes related to previous refactoring 2019-02-07 17:12:21 -03:00
Chris Veilleux 0b28b18b39 moved all data access layer code into a new selene.data package 2019-02-07 13:14:40 -06:00