Matteo Pagliazzi
5c859ca52e
add req.t in place of i18n.t passing req.language, begins implementing user signup
2015-11-18 22:04:36 +01:00
Matteo Pagliazzi
bd980e166b
fix action method
2015-11-18 18:16:14 +01:00
Matteo Pagliazzi
d5d13477d7
wip user controllers: local login method
2015-11-18 18:02:35 +01:00
Matteo Pagliazzi
65a8d2e255
misc fixes and improvements, starts adding route tests
2015-11-18 12:36:13 +01:00
Matteo Pagliazzi
6fb4fdfd8a
create apidoc task in grunt, update package.json version
2015-11-18 11:50:55 +01:00
Matteo Pagliazzi
aa1b046cf2
add example apidoc comments, add notFound middleware
2015-11-17 16:48:50 +01:00
Matteo Pagliazzi
3fe6f87a96
fix linting
2015-11-15 22:44:17 +01:00
Matteo Pagliazzi
448ed70ab9
add example controller and lib to setup routes
2015-11-15 22:40:00 +01:00
Matteo Pagliazzi
b315d10c79
migrate utils to v3, uprade nodemailer
2015-11-14 17:43:56 +01:00
Matteo Pagliazzi
cf4eb7c89b
Merge pull request #6237 from HabitRPG/api-v3-firebase
...
port firebase lib to api v3
2015-11-14 13:14:50 +01:00
Matteo Pagliazzi
d89b1cb60d
port firebase lib to api v3
2015-11-14 02:50:58 +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
Blade Barringer
27d3d9d296
Merge pull request #6229 from HabitRPG/emails
...
Adjust the way email invitations resolve.
2015-11-13 07:18:41 -06:00
Blade Barringer
565aaff976
Merge pull request #6219 from HabitRPG/js_ify_common
...
Js ify common
2015-11-13 06:49:54 -06:00
Blade Barringer
e4679d6a63
Adjust the way email invitations resolve.
2015-11-12 18:58:01 -06:00
Blade Barringer
8e147d7b12
Allow users who register via facebook to see site tutorial.
2015-11-12 18:26:42 -06:00
Blade Barringer
abe778836d
Fixes #6225
2015-11-12 12:52:35 -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
Blade Barringer
1e106b3c53
Move old webhooks to v2 lib
2015-11-12 09:08:36 -06:00
Blade Barringer
858bf99930
Move old logging lib v2 directory
2015-11-12 08:18:23 -06:00
Blade Barringer
9408effb4e
Remove coffeescript dependency from website
2015-11-11 20:32:16 -06:00
Blade Barringer
c5445dc426
Merge branch 'develop' into api-v3
2015-11-11 19:42:39 -06:00
Blade Barringer
43064dcf9a
Wrap flag purcging code in check for flags object
2015-11-11 18:00:15 -06:00
Blade Barringer
13da95b552
Add tests for clearflags route
2015-11-11 17:58:41 -06:00
Sabe Jones
3672601999
fix(chat): Handle nonexistent message.flags
2015-11-11 16:25:36 -05:00
Blade Barringer
117a254cc8
Patch exploit that would allow users to auto-delete messages
2015-11-11 06:46:11 -06:00
Matteo Pagliazzi
249037b80f
upgrade some deps, and remove unused qs module
2015-11-11 12:12:44 +01:00
Matteo Pagliazzi
3795b1d151
wip: starts upgrading lodash to v3
2015-11-11 10:32:49 +01:00
Blade Barringer
1fc21167dc
Send back flag data if user had flagged the message.
2015-11-10 08:15:54 -06:00
Matteo Pagliazzi
ac7d3e642f
port middlewares to authenticate users with headers and sessions
2015-11-07 15:37:38 +01: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
Matteo Pagliazzi
b21df9edb3
use node 4, npm 3, mongoose 4 and express 4
2015-11-04 18:26:38 +01:00
Phillip Thelen
921ee881a5
Only create sample habits+dailies when registered through website
2015-11-04 16:41:13 +01: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
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
Blade Barringer
0894a3ea2d
Merge branch 'develop' into srrvnn-develop
2015-11-02 06:45:45 -06:00
Blade Barringer
ad6fbef85c
Move chat tests to new infrastructure
2015-10-30 14:47:14 -05:00
Blade Barringer
47168cfdc1
Merge pull request #6145 from crookedneighbor/test_updates
...
Update Tests to test server error messages against translation strings
2015-10-30 09:21:49 -05:00
Blade Barringer
aa111b3c1a
Update tests to assert against translation strings
2015-10-30 09:01:57 -05:00
Matteo Pagliazzi
0131ba3e45
reert all the deps upgrades
2015-10-30 14:16:35 +01:00
Matteo Pagliazzi
37d83fdade
mongoo 4 and new travis ci infrastructure
2015-10-29 16:35:02 +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
b70597e1d1
Merge pull request #6122 from crookedneighbor/batch_update_adjustment
...
Batch update adjustment
2015-10-27 21:35:19 -05:00
Blade Barringer
ed464a2b70
Merge pull request #6127 from crookedneighbor/reinstate_amplitude
...
Reinstate amplitude
2015-10-27 21:35:10 -05:00
Blade Barringer
a7c52e6086
Reinstate amplitude analytics
2015-10-27 19:37:57 -05:00
Matteo Pagliazzi
3bae95d3ae
remove console.log for push notifications
2015-10-27 22:11:47 +01:00
Matteo Pagliazzi
d05b00fb34
fix(analytics): enable analytics and correctly export methods
2015-10-27 17:39:37 +01:00