Commit Graph
48 Commits
Author SHA1 Message Date
Chris Troutner 392b1b89ca fix(users): Achieved 100% test coverage of users controller 2020-11-12 07:56:13 -08:00
Chris Troutner ba44070650 fix(mocking): Added mock for koa context object 2020-11-12 07:44:14 -08:00
Daniel Gonzalez 9580be74f5 feat(users): Increased user controller to 100% test coverage 2020-11-11 23:24:47 -04:00
Chris Troutner 4be057a90a Minor formatting 2020-11-10 16:57:56 -08:00
Daniel Gonzalez 0dc807e24c refactor(auth): Got auth controller to 100% test coverage 2020-11-09 23:29:34 -04:00
Chris Troutner 883a57f6c9 fix(husky): Adding husky for pre-commit linting 2020-07-30 08:05:11 -07:00
Daniel Gonzalez d54feaa308 feat(contact): Ported /contact endpoint 2020-07-14 22:11:11 -04:00
Chris Troutner 316d93ac2b fix(email validation): Removing email validation that was failing for some TLDs 2020-06-08 07:41:24 -07:00
Chris Troutner 073c16edd6 fix(user tests): linting and refactored user tests 2020-02-13 17:30:24 -08:00
Chris Troutner c6880d4e5d fix(auth tests): removing alternate error handlers in tests 2020-02-13 14:29:09 -08:00
Chris Troutner 50c719eb51 feat(linting): Switched to standard for linting 2020-02-12 10:42:02 -08:00
Chris Troutner febb083c44 Commenting out a verbose test 2020-02-01 08:20:32 -08:00
danielhumgon c5f519973c fix(axios): Fixed the remaining calls to request-promise 2020-01-30 23:51:10 -04:00
Chris Troutner e164f5eb9d Merge branch 'master' into dh-axios 2020-01-30 10:05:02 -08:00
danielhumgon 46a1c5888e refactor(axios): Replaced request and request-promise with axios 2020-01-30 01:10:06 -04:00
danielhumgon 9fa7f9e011 refactor(user): Back-ported changes in user controller 2020-01-29 03:12:10 -04:00
danielhumgon f1f31be9d0 refactor(auth): Back-ported email/username auth changes 2020-01-27 02:22:07 -04:00
Chris Troutner 0592517e6e Fixing port bug in tests 2019-06-02 20:29:34 -07:00
Chris Troutner 91654fe7b8 feat(logging): Added Winston logging 2019-05-20 20:57:44 -07:00
Chris Troutner eb038bc2b8 Added unit test to users API 2019-05-20 20:43:08 -07:00
Chris Troutner 0f8fe82d50 Cleaned up console logs in tests 2019-05-20 20:32:16 -07:00
Chris Troutner 2c34e56bc3 Fixed startup bug with admin in tests 2019-05-20 20:24:26 -07:00
Chris Troutner 91861e657a fix(admin bug): fixed a bug with admin account and tests 2019-05-20 18:35:02 -07:00
Chris Troutner fe881f9275 Adding admin delete test case 2019-05-20 15:57:28 -07:00
Chris Troutner 0b8beb7df0 feat(admin user): Added admin user and unit tests around admin user 2019-05-16 20:44:06 -07:00
Chris Troutner 00fa492c86 Ported admin-type user validatoin from p2p vps server 2019-05-16 15:24:55 -07:00
Chris Troutner ff79decc02 Added tests for delete user 2018-11-05 11:40:10 -08:00
Chris Troutner 4c674d6443 Added tests for PUT /user/:id 2018-11-05 09:28:28 -08:00
Chris Troutner 5b1fb2f7a3 Added test for GET /user/:id 2018-11-05 09:22:12 -08:00
Chris Troutner 6ece560ae2 Tests for /GET users 2018-11-05 09:09:24 -08:00
Chris Troutner 2fd0778474 Removed mongodb deprecation warnings 2018-10-16 11:27:01 -07:00
Chris Troutner 8d749ad977 Tests are passing 2018-03-24 11:08:18 -07:00
Chris Troutner bf58f90dad Got first test working with controlled start 2018-03-24 10:52:38 -07:00
Chris Troutner 147222738a babel removal complete 2018-03-05 19:38:29 -08:00
Chris Troutner b4bb65c466 Replacing files with non-babel equivalent 2018-03-05 19:31:19 -08:00
Adrian Obelmejias de550f31df Use standard for linting rules 2016-08-30 16:58:35 -04:00
Connor Brathwaite bf86cfb173 updated dependencies and linted a few lines 2016-04-16 14:41:22 -04:00
Emil Ajdyna 5ebdc028e4 Use authorization header instead of query parameter for jwt 2016-03-31 20:12:01 +02:00
Marc-Olivier Fiset 9e0621532b Remove the salt field from the user model, as it's redundant 2016-03-30 10:05:57 -04:00
Adrian Obelmejias 3539d66d50 Use getUser as middleware for code reuse 2016-03-18 23:14:57 -04:00
Adrian Obelmejias 01d2007590 Update tests 2016-03-18 23:03:57 -04:00
Adrian Obelmejias 9dfad9dca5 Add tests for authentication 2016-03-16 21:20:23 -04:00
Adrian Obelmejias f2183f9904 Move server.js entrypoint to bin directory 2016-03-04 22:27:33 -05:00
Adrian Obelmejias ba2a51efe5 Add tests for user deletion 2016-02-15 18:22:52 -05:00
Adrian Obelmejias e87f6264da Add tests for /user/:id 2016-02-15 18:15:08 -05:00
Adrian Obelmejias 995c2c5d60 Clean db before tests 2016-02-15 18:04:26 -05:00
Adrian Obelmejias 697c001075 Add tests for user sign up 2016-02-15 17:42:21 -05:00
Adrian Obelmejias f74a6140be Add tests 2016-02-11 15:17:12 -05:00