Commit Graph

202 Commits

Author SHA1 Message Date
Matteo Pagliazzi 83eb2308fb Merge pull request #6232 from HabitRPG/api-v3-utils
[API v3] Port Utils
2015-11-15 20:01:48 +01:00
Matteo Pagliazzi 78e5d913f5 update test to match possible html string 2015-11-15 17:27:22 +01:00
Matteo Pagliazzi a80be380f9 add txt emails tests 2015-11-14 18:58:33 +01:00
Matteo Pagliazzi a8b3780cc0 add send email tests 2015-11-14 18:13:17 +01:00
Matteo Pagliazzi 3b75fe6ade add tests for emails (wip) and encryption, misc fixes 2015-11-14 17:43:56 +01:00
Matteo Pagliazzi 466797cc6c add some basic tests 2015-11-14 15:50:57 +01:00
Blade Barringer 4cd4c588a8 Add tests for browser selection of language and refactor 2015-11-13 18:22:20 -06:00
Blade Barringer 43058f1642 Add queries for which req pieces take precedence. 2015-11-13 18:22:17 -06:00
Blade Barringer 500c520c59 Move sandbox stub to test that uses it 2015-11-13 18:22:16 -06:00
Blade Barringer 49a6a7167b Merge branch 'api-v3' into api-v3-i18n 2015-11-13 10:49:21 -06:00
Blade Barringer c6f059c1df Move delete cacth to afterEach 2015-11-13 10:40:31 -06:00
Blade Barringer 6bb107f9e0 Set up analytics middleware to test prod and non prod behavior. 2015-11-13 10:35:58 -06:00
Blade Barringer 810a818334 Add headers to req generator and unpend failing test. 2015-11-13 09:36:18 -06:00
Blade Barringer a6a9c3c74f Use context blocks instead of describe blocks. 2015-11-13 09:27:17 -06:00
Blade Barringer db67451a38 Add done callback to test. 2015-11-13 09:24:03 -06:00
Blade Barringer 939bc893c6 Correct test to check req status after function is finished. 2015-11-13 09:21:22 -06:00
Blade Barringer eab9d7b3ba Reorganize i18n tests. 2015-11-13 09:15:11 -06:00
Matteo Pagliazzi 60b51b8862 Merge branch 'api-v3' into api-v3-i18n 2015-11-12 16:36:19 +01:00
Matteo Pagliazzi 4af8a8f7aa add tests for i18n and getUserLanguage 2015-11-12 16:24:08 +01:00
Blade Barringer a18c2f7444 Port v2 webhook lib to v3 2015-11-12 09:03:28 -06:00
Blade Barringer 533440ce55 Merge pull request #6214 from HabitRPG/api-v3-add-password-tests
Add tests for password utilities
2015-11-11 19:43:50 -06:00
Blade Barringer c5445dc426 Merge branch 'develop' into api-v3 2015-11-11 19:42:39 -06:00
Blade Barringer 13da95b552 Add tests for clearflags route 2015-11-11 17:58:41 -06:00
Blade Barringer cdb05e1b42 Add analytics service to v3 2015-11-11 17:30:36 -06:00
Matteo Pagliazzi ac4f26a94f add tests for password utilities 2015-11-11 16:05:35 +01:00
Blade Barringer 117a254cc8 Patch exploit that would allow users to auto-delete messages 2015-11-11 06:46:11 -06:00
Matteo Pagliazzi 8f9d2a5f9a change to erro handler middleware to log full error object and support express-validator 2015-11-11 10:12:13 +01:00
Blade Barringer 1fc21167dc Send back flag data if user had flagged the message. 2015-11-10 08:15:54 -06:00
Blade Barringer c8ee1eaaec Add support for passing in custom env file to nconf. 2015-11-09 18:41:04 -06:00
Matteo Pagliazzi 7dd6eb76c9 add express-validator, add body parser middleware, support some more errors in error handler middleware 2015-11-08 22:48:31 +01:00
Blade Barringer 832e837f6a Simplify nconf test 2015-11-08 09:07:43 -06:00
Blade Barringer 0d7f984fce Add setupNconf function 2015-11-08 08:47:46 -06:00
Blade Barringer b323c3b5e9 Use res and req generators in error handler test 2015-11-07 09:26:13 -06:00
Blade Barringer 30ba9582b5 Merge branch 'develop' into api-v3 2015-11-06 19:07:28 -06:00
Blade Barringer 1e4570ff88 Move all delete user tests to new structure 2015-11-05 08:17:06 -06:00
Blade Barringer 77d60cd616 Add tests for error handling 2015-11-04 20:49:08 -06:00
Blade Barringer cde66d6167 Merge pull request #6183 from crookedneighbor/clientIdentifier
Client identifier
2015-11-04 20:03:31 -06:00
Blade Barringer 797287a75c Add and adjust tests for new register behavior. 2015-11-04 17:40:49 -06:00
Blade Barringer 269fd2a94f Add test for admin flagging a message 2015-11-04 08:00:35 -06:00
Blade Barringer 799190a898 Merge branch 'develop' into flag_messages_in_api 2015-11-04 07:56:34 -06:00
Blade Barringer 8c95de0835 Move api tests to v2 namespace 2015-11-03 08:31:20 -06:00
Blade Barringer 1a68b5e9ee Refactor and add tests to flagged messages. 2015-11-03 08:00:14 -06:00
Blade Barringer 6f3be77961 Add tests for flagged messages in get group object test 2015-11-02 07:46:21 -06:00
Blade Barringer da06e0736a Adjust style of tests. 2015-10-31 21:37:44 -05:00
Blade Barringer f84a10ee4e Simplify delete user test 2015-10-31 21:37:17 -05:00
Jeremy Abbott 19128cf8f2 Fnished user in solo group tests
Also minor code cleanup in random files.
2015-10-31 16:19:50 -05:00
Blade Barringer 421b402948 Add helper to check the existence of a document 2015-10-31 10:55:28 -05:00
Blade Barringer ad6fbef85c Move chat tests to new infrastructure 2015-10-30 14:47:14 -05:00
Blade Barringer 6f18470b65 Update readme 2015-10-30 09:04:19 -05:00
Blade Barringer aa111b3c1a Update tests to assert against translation strings 2015-10-30 09:01:57 -05:00