Commit Graph

55 Commits (487f6da2889769626f9d4784283a914c6c6d94c6)

Author SHA1 Message Date
Chris Veilleux 94fd50f523 added github login functionality 2019-04-26 12:13:30 -05:00
Chris Veilleux aaacdef936 fixed a bug that only occurred in rare circumstances where a user's password started with any of the letters in the word "Basic" or if the password had a colon in it. 2019-04-23 16:42:14 -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
Chris Veilleux eb6a6d7c61 removed remnants of the refresh_token db table 2019-04-18 17:41:52 -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 36e459ddb2 forgot to assign return value of federated authentication 2019-04-08 00:11:21 -05:00
Chris Veilleux 7f90820eab move logic to get email address from facebook/google into util so that both sso and account APIs can use it. 2019-04-07 23:33:09 -05:00
Chris Veilleux cf052d138b fixed an incorrect config 2019-04-02 17:30:10 -05:00
Chris Veilleux 56b8d012ed password reset functionality 2019-04-01 20:11:32 -05:00
Chris Veilleux 28977e6355 ensure the geographical location is associated with an account before the device is added 2019-03-25 19:02:48 -05:00
Chris Veilleux a684242648 to improve security, UI will pass authentication tokens to this endpoint instead of email addresses. endpoint will use tokens to obtain email address from provider. 2019-03-25 18:40:01 -05:00
Chris Veilleux af49cdb63a return no content (204) when logout is successful 2019-03-20 22:25:17 -05:00
Chris Veilleux ee879ff6b5 moved shared package out of dev 2019-03-08 16:56:53 -06:00
Chris Veilleux b7cbc5a733 fixed a bug where the request data was not un-serialized before processing 2019-03-05 22:39:06 -06:00
Chris Veilleux c806bcc689 added configs to uwsgi.ini files 2019-03-05 21:34:25 -06:00
Chris Veilleux 59872f4d24 socket change 2019-03-04 00:43:56 -06:00
Chris Veilleux c422ed26f5 changed environment setup to deal with new naming 2019-03-03 19:11:27 -06:00
Chris Veilleux 772a908237 removed flask-restful 2019-02-19 14:44:29 -06:00
Chris Veilleux 2b996a99ad convert from flask-restful to flask 2019-02-19 14:41:36 -06:00
Chris Veilleux 3c624ea1e0 new version of shared package 2019-02-18 14:53:53 -06:00
Chris Veilleux 4f5512ab63 changed to use new class signature 2019-02-18 14:53:34 -06:00
Chris Veilleux 4abb12b60c applied agreement repository to testing setup 2019-02-12 11:19:10 -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 02a3db7c0f moved token generation test code to api library for re-use 2019-02-07 20:02:43 -06:00
Matheus Lima edaba3c812 Fixes related to previous refactoring 2019-02-07 17:34:47 -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
Chris Veilleux 5fa2d6f707 removed commented-out code 2019-02-07 12:15:24 -06:00
Chris Veilleux 3ef7059e31 added docstrings 2019-02-07 12:14:54 -06:00
Chris Veilleux c487bcc7f9 removed a config that was used for tartarus 2019-02-07 12:14:33 -06:00
Chris Veilleux 8dccd5e360 removed some unused packages 2019-02-07 11:54:51 -06:00
Chris Veilleux fb359343e3 moved some of the feature setup/teardown to scenario level 2019-02-06 22:46:36 -06:00
Chris Veilleux fa5da2a914 added test for logout function 2019-02-06 13:37:39 -06:00
Chris Veilleux 8c38d69321 changed to add a dummy user at before feature and remove said user after feature 2019-02-05 17:41:13 -06:00
Chris Veilleux 1eb1d6152a passlib added 2019-02-05 17:37:26 -06:00
Chris Veilleux 745f7fd7e3 added ability to expire a token cookie 2019-02-05 13:25:22 -06:00
Chris Veilleux dc5a330a59 removed unused import 2019-02-05 13:00:36 -06:00
Chris Veilleux 6b6a687a00 updated tests to include the validate_federated endpoint 2019-02-05 12:59:23 -06:00
Chris Veilleux e6b8748296 replaced previous social login logic with new client-side implementation 2019-02-05 11:33:19 -06:00
Chris Veilleux aea9851116 moved the hook to add the cookies to the response into the base class to avoid re-coding it in every place it is needed. 2019-02-04 15:04:22 -06:00
Chris Veilleux c5c287047f added the behave and hamcrest packages for testing 2019-02-02 18:53:18 -06:00
Chris Veilleux 59c1075b7e added tests for internal login endpoint and fixed bugs the test uncovered 2019-02-02 18:52:43 -06:00
Chris Veilleux 7fd66423df changed url of internal login endpoint and removed database close logic as it was being called at the wrong time 2019-02-02 18:51:19 -06:00
Chris Veilleux ad0d4820f0 added logic to add a refresh token on sign in; moved refresh token functions in the account repository to their own repository; moved authentication repo into account repo 2019-02-01 22:08:59 -06:00
Chris Veilleux eb4a7e5343 performed some cleanup that was causing virtualenv issues 2019-02-01 15:26:47 -06:00
Chris Veilleux ff875fc79f added refresh token logic 2019-02-01 00:31:50 -06:00
Chris Veilleux 2a3c89961e added logger and fixed a couple of minor bugs 2019-02-01 00:30:22 -06:00
Chris Veilleux a69a262e87 added some docstrings 2019-01-30 23:20:40 -06:00
Chris Veilleux db1c1ffee8 removed app-specific config file because all configs are in the global file 2019-01-30 23:18:28 -06:00
Chris Veilleux 1b4574a367 changed to use new library config code and changed internal endpoint naming 2019-01-30 23:17:59 -06:00
Chris Veilleux 5b2d65d546 renamed from "antisocial" to "internal" and changed logic to use new architecture 2019-01-30 23:16:59 -06:00