Commit Graph

30 Commits

Author SHA1 Message Date
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
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
0131ba3e45 reert all the deps upgrades 2015-10-30 14:16:35 +01:00
Matteo Pagliazzi
92fc2683c6 fix(cluster): use for loop instead of _.times 2015-10-29 16:04:30 +01:00
Matteo Pagliazzi
f9ab04e4f9 upgrade to express 4.x
cleanup package.json

put errorHandler middleware as the last one

use accepts module instead of req.acceptedLanguages

use normal object notation as it is supported is es5

remove deprecations from auth controller

remove deprecations from groups controller

Revert "remove deprecations from groups controller"

This reverts commit 7cf36295ebbc50c1f2b210a8ab447d7f2c41dba9.

Revert "remove deprecations from auth controller"

This reverts commit deecd701e0551862ba53ea894f2d87a746384fed.

request limit upped to 1mb and 10k chars for query parameters

Upgrade to Express 4.x
2015-10-29 15:59:45 +01:00
Blade Barringer
2cc4d65d78 Allow disabling logger in non-prod for testing 2015-10-08 22:42:09 -05:00
Blade Barringer
2683b2b0a0 Use var to declare mongoose 2015-10-03 20:55:28 -05:00
Matteo Pagliazzi
37ae48891c wip: firebase 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi
47f6f2febe refactor middlewares in their own folder, move buildFiles to libs/buildFiles 2015-08-14 11:50:09 +02:00
Kevin Gisi
cfdcadb2bc Added redirects to habitica for non-API urls 2015-07-30 13:20:24 -04:00
Matteo Pagliazzi
71108ee935 feat(email): WIP start implementing unsubscription page and related features 2015-04-07 14:04:03 +02:00
Tyler Renelle
16c4c420bb chore(server): small updates to better support recent nodejs buildpack 2015-02-23 23:48:46 -07:00
Blade Barringer
df5ff3d5a1 Downgraded coffeescript module to 1.6 2015-02-12 13:31:21 -06:00
Blade Barringer
a6a0282c82 Corrected common image paths 2015-02-12 12:05:38 -06:00
Blade Barringer
17032a4f13 Reverted changes back into website/src 2015-02-10 16:06:32 -06:00
Blade Barringer
bf4f2299e2 Moved src to website/src (again) 2015-02-10 16:04:17 -06:00
Blade Barringer
e243887563 Deleted website/src 2015-02-10 16:03:11 -06:00
Blade Barringer
ac4dbf6eec Added /register. Required for newer version of coffee-script module 2015-02-09 13:37:30 -06:00
Blade Barringer
8a25a5a744 Corrected paths 2015-02-09 13:32:56 -06:00
Blade Barringer
67f478bb0e Adjusted paths to files 2015-02-05 16:37:22 -06:00
Blade Barringer
28b9ad11cb Added paths for common scripts 2015-02-04 13:22:41 -06:00
Blade Barringer
5d9cda3b76 Corrected some paths to serve files directly from comon 2015-02-04 12:25:14 -06:00
Blade Barringer
08daed21ce Removed register task from coffee script require 2015-02-03 19:40:23 -06:00
Blade Barringer
277f7347ab Updated coffee script parser to parse the common scripts 2015-02-03 16:45:43 -06:00
Blade Barringer
53b81ec0e8 corrected public directory path 2015-02-03 14:41:22 -06:00
Blade Barringer
220942fb9d Corrected path to common files 2015-02-03 14:17:21 -06:00
Blade Barringer
8a8ce8d80d Moved folders to website directory 2015-02-03 14:10:55 -06:00