Commit Graph

11504 Commits

Author SHA1 Message Date
Matteo Pagliazzi ac7d3e642f port middlewares to authenticate users with headers and sessions 2015-11-07 15:37:38 +01:00
Blade Barringer 0cf964728e Merge pull request #6176 from crookedneighbor/api-v3_add-babel
Api v3 add babel
2015-11-05 08:47:44 -06:00
Blade Barringer 8967e6ee90 Give function more meaningful name. 2015-11-05 08:46:20 -06:00
Blade Barringer 07df642f15 Add gulp tasks for v3 testing 2015-11-04 21:27:19 -06:00
Blade Barringer 5cd3f0dd6e Fix eslint styling errors. 2015-11-04 21:19:58 -06:00
Blade Barringer 292177e51f Update eslintrc 2015-11-04 21:19:29 -06:00
Blade Barringer 77d60cd616 Add tests for error handling 2015-11-04 20:49:08 -06:00
Blade Barringer 87eb63ba9b Add case where errorhandlerr does not receive an error 2015-11-04 20:48:39 -06:00
Blade Barringer d5736e1178 Convert classes to use Babel syntax 2015-11-04 20:47:32 -06:00
Blade Barringer 2f6f0eb933 Add Babel require hook 2015-11-04 20:46:37 -06:00
Blade Barringer a4f12f06f4 Remove extraneous white space 2015-11-04 20:46:23 -06:00
Blade Barringer aaa4a7da12 Add sinon to helpers 2015-11-04 20:45:51 -06:00
Blade Barringer 0e8ad62607 Update nvmrc 2015-11-04 20:44:21 -06:00
Blade Barringer eae9adfaec Merge branch 'develop' into api-v3 2015-11-04 20:25:05 -06:00
Blade Barringer cde66d6167 Merge pull request #6183 from crookedneighbor/clientIdentifier
Client identifier
2015-11-04 20:03:31 -06:00
Blade Barringer 5a36d8e3f5 Switch to single quotes to conform to code style. 2015-11-04 18:03:50 -06:00
Blade Barringer 905e7b17ea Refactor user model 2015-11-04 18:00:40 -06:00
Blade Barringer 797287a75c Add and adjust tests for new register behavior. 2015-11-04 17:40:49 -06:00
Blade Barringer 8618716ca4 Update requester to take in additional set parameters. 2015-11-04 17:40:10 -06:00
Sabe Jones de5d2df94c fix(i18n): Add missing string 2015-11-04 16:04:51 -05:00
Sabe Jones c61e49f5a7 Merge pull request #6182 from HabitRPG/sabrecat/apps-page
Apps page
2015-11-04 14:46:49 -06:00
Sabe Jones df7e0236c2 fix(static): Improved /apps layout 2015-11-04 15:30:42 -05:00
Sabe Jones 8c4ecb8f6c feat(static): Apps page 2015-11-04 13:35:31 -05:00
Matteo Pagliazzi bea5fd6e59 add eslint task to tests 2015-11-04 18:58:50 +01:00
Matteo Pagliazzi 3135613be3 tweaks eslint rules, fixes gulp-eslint, adds some comments 2015-11-04 18:50:08 +01:00
Matteo Pagliazzi 235f1977ba finish .eslintrc file and update gulp task 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi f02ef9b6be add some eslint rules 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 54d89a59e3 add some eslint rules 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi cbca250b99 remove winston-mail and winston-newrelic from deps as they may not be compatible with v2 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 182e4bff6f wip api-v3: adds some comments and more eslint rules 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 5e73bc9f1c adds logger and starts logging errors 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 5f3e798016 add basic .eslintrc and correct some style issues 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 7b4d082ab8 use node v4 in travis 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 4322b8c3dc wip api-v3: add error handler middleware and custom error classes 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi b21df9edb3 use node 4, npm 3, mongoose 4 and express 4 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi f1dbe1b51d deprecate api v1 2015-11-04 18:26:38 +01:00
Phillip Thelen 7f189bebba disable tutorial/tour depending on client 2015-11-04 16:54:47 +01:00
Phillip Thelen 921ee881a5 Only create sample habits+dailies when registered through website 2015-11-04 16:41:13 +01:00
Phillip Thelen e13c008076 send "habitica-web" as x-client header 2015-11-04 16:26:50 +01:00
Blade Barringer a7f0a2a8ca Merge pull request #6171 from crookedneighbor/flag_messages_in_api
Flag messages in api
2015-11-04 08:58:34 -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 6ed3ba36ae Refactor task helper for unit and integration tests. 2015-11-03 21:21:16 -06:00
Sabe Jones 3691a59ddb fix(front-page): Update registered user count 2015-11-03 12:30:54 -06:00
Sabe Jones 1fa15ba24a Merge pull request #6167 from HabitRPG/sabrecat/content-201511
November backgrounds and Armoire
2015-11-03 11:58:51 -06:00
Blade Barringer 0923077f2f Correct task. 2015-11-03 08:49:10 -06:00
Blade Barringer b71f1f7862 Extract mocha function into taskHelper 2015-11-03 08:41:16 -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 24480e5f04 Merge branch 'develop' into srrvnn-develop 2015-11-03 07:31:48 -06:00