Commit Graph

50 Commits

Author SHA1 Message Date
Blade Barringer 805d4bba24 Adjust for linter. 2015-11-13 18:29:19 -06:00
Blade Barringer f672ac8c59 Port over change to v2 lib 2015-11-13 18:22:20 -06:00
Blade Barringer dc8d52e00a Correct paths in v2 lib 2015-11-13 18:22:20 -06:00
Blade Barringer 06dd343d47 Adjust i18n script to actually display zh_TW language. 2015-11-13 18:22:19 -06:00
Matteo Pagliazzi 0daa63c2ca Merge branch 'api-v3' into api-v3-i18n 2015-11-13 19:38:31 +01:00
Matteo Pagliazzi 8fd82c6808 fix some requires 2015-11-13 17:50:34 +01:00
Matteo Pagliazzi 879ec97408 fix some requires 2015-11-13 17:41:18 +01:00
Blade Barringer be672e570c Merge branch 'api-v3' into api-v3-i18n 2015-11-13 07:44:48 -06:00
Blade Barringer 6e8e1648d9 Merge branch 'develop' into api-v3 2015-11-13 07:38:24 -06:00
Matteo Pagliazzi de21b72027 move old i18n version to api-v2 folder and use new i18n where possible 2015-11-12 16:43:02 +01: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 1e106b3c53 Move old webhooks to v2 lib 2015-11-12 09:08:36 -06:00
Blade Barringer a18c2f7444 Port v2 webhook lib to v3 2015-11-12 09:03:28 -06:00
Matteo Pagliazzi a07d4dad12 port i18n lib to es6 and extract middleware 2015-11-12 15:28:43 +01:00
Blade Barringer 858bf99930 Move old logging lib v2 directory 2015-11-12 08:18:23 -06:00
Blade Barringer 9a3e4c8f8b Move old analytics lib to v2 directory. 2015-11-12 07:51:51 -06:00
Blade Barringer 9408effb4e Remove coffeescript dependency from website 2015-11-11 20:32:16 -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 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
Matteo Pagliazzi 367223e15c port password utilities to api v3 2015-11-11 13:05:46 +01:00
Matteo Pagliazzi 3795b1d151 wip: starts upgrading lodash to v3 2015-11-11 10:32:49 +01:00
Blade Barringer e518e2795f Correct setupConfig to use proper linting. 2015-11-09 19:11:25 -06:00
Blade Barringer c8ee1eaaec Add support for passing in custom env file to nconf. 2015-11-09 18:41:04 -06:00
Blade Barringer 447d4c332d Remove extraneous nconf setup. 2015-11-08 08:56:27 -06:00
Blade Barringer 1ef6839eea Add IS_PROD to logger utility 2015-11-08 08:49:16 -06:00
Blade Barringer 0d7f984fce Add setupNconf function 2015-11-08 08:47:46 -06:00
Blade Barringer d5736e1178 Convert classes to use Babel syntax 2015-11-04 20:47:32 -06:00
Matteo Pagliazzi 3135613be3 tweaks eslint rules, fixes gulp-eslint, adds some comments 2015-11-04 18:50:08 +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 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 ed0e4c6d20 Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other \
for the upcoming api v3

Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other for the upcoming api v3

move api v2 routes in a separate folder, rename apiv1 file for better readability, remove auth routes for api v1

move api-v2 controllers in subdirectory

move unorganized files to /libs

fix gulp requires and separate server in old (api v1 and v2) and new (api v3) app

fix require paths

fix require paths

fix require paths

put api v1 back

Reorganize files under /src and separate express app in one for api v1 and v2 and the other for v3
2015-11-02 17:43:32 +01:00
Matteo Pagliazzi 4600e96dc0 firebase can be enabled through config 2015-09-06 20:19:53 +02:00
Matteo Pagliazzi 607ddbb1f2 typos and disable firebase 2015-09-06 20:11:24 +02:00
Matteo Pagliazzi ef9aecf531 disable firebase syncing for tavern 2015-09-06 20:08:31 +02:00
Matteo Pagliazzi b395596614 firebase should only run in production 2015-09-06 16:35:49 +02:00
Matteo Pagliazzi 995e3a796d store group name on firebase 2015-09-06 16:29:45 +02:00
Matteo Pagliazzi 4c89538d18 typos and comments 2015-09-06 16:22:12 +02:00
Matteo Pagliazzi 521c999963 delete groups and users from firebase when deleted on habitica 2015-09-06 16:09:13 +02:00
Matteo Pagliazzi 9764e31e2a firebase: remove instead of set(false) 2015-09-05 16:33:41 +02:00
Matteo Pagliazzi c89cf20bd3 sync groups' members with firebase 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi 0f1d514460 typo 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi 6d91a1905a remove unnecessary code 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi 491652d712 fix several typypos and a missing dep 2015-08-14 12:00:09 +02:00
Matteo Pagliazzi 47f6f2febe refactor middlewares in their own folder, move buildFiles to libs/buildFiles 2015-08-14 11:50:09 +02:00