Commit Graph

106 Commits

Author SHA1 Message Date
Blade Barringer 8a42a3a51e Merge branch 'develop' into api-v3 2016-04-08 21:31:41 -05:00
Blade Barringer 74dace9b5a chore: Re-enable New Relic
closes #7011
2016-04-05 20:08:31 -05:00
Matteo Pagliazzi 6cbbdcdcbe v3: port static pages, make routes lib more flexible, share middlewares between v2 and v3, port v1, simplify server.js 2016-04-01 19:07:03 +02:00
Blade Barringer 6921c1694a feat: Allow routes to not need an async handler 2016-03-17 09:24:29 -05:00
Matteo Pagliazzi 8e3284a4e3 wip(shared): adapt to v3 2016-03-13 22:26:32 +01:00
Matteo Pagliazzi 863ca9954e errors working with babel 6, export v3 shared modules in main common module 2016-03-05 18:58:40 +01:00
Blade Barringer b97511db31 fix: Use module.exports instead of export default 2016-03-04 13:29:51 -06:00
Matteo Pagliazzi 96c582e062 fix tests, move most errors to shared code 2016-03-03 19:16:03 +01:00
Matteo Pagliazzi 80f791c86b add tests, move CustomError to common, fix casting 2016-03-03 00:16:28 +01:00
Matteo Pagliazzi e5224a7b2a add support for user._tmp, disable user.filters since it is not used 2016-02-29 23:20:13 +01:00
Matteo Pagliazzi 3512233966 add meta/models controller to get public models paths 2016-02-29 01:04:19 +01:00
Matteo Pagliazzi bb461f0c5a Merge branch 'develop' into api-v3 2016-02-26 10:08:24 +01:00
Matteo Pagliazzi 82c4f91317 put newrelic behind a flag 2016-02-25 21:05:42 +01:00
Matteo Pagliazzi 68a57bc2f6 enable strict mode to allow use of let, const without babel 2016-02-22 11:45:26 +01:00
Matteo Pagliazzi 9ef4b6409e Merge branch 'develop' into api-v3 and move new relic to new location 2016-02-22 11:43:35 +01:00
Matteo Pagliazzi d3e1a415a8 require newrelic as the first thing on startup 2016-02-21 22:39:55 +01:00
Matteo Pagliazzi f4d66c7384 config newrelic 2016-02-21 22:30:25 +01:00
Matteo Pagliazzi 4dfb24af6e enable newrelic 2016-02-21 22:02:37 +01:00
Matteo Pagliazzi 91be89e05a Merge pull request #6735 from HabitRPG/api-v3-dataexport
[API v3] Data export
2016-02-20 21:17:32 +01:00
Matteo Pagliazzi fb343f8feb port push notifications in api v3 2016-02-19 20:34:55 +01:00
Matteo Pagliazzi cc31d266e4 port locals middleware, add some tests and a lot of fixes 2016-02-19 18:42:03 +01:00
Matteo Pagliazzi a6db8e693f refactor dataexport controller 2016-02-19 12:13:48 +01:00
Matteo Pagliazzi 2f3ae32a0e finalize invite to quest route and startQuest method 2016-02-08 23:30:49 +01:00
Matteo Pagliazzi 35e6274cd6 Move cron and preening code to server, add support for quests in cron 2016-02-08 22:18:57 +01:00
Matteo Pagliazzi b1848da8de do not output server logs when testing, ability to run tests and server separately 2016-01-29 14:43:14 +01:00
Matteo Pagliazzi 4518d3693c add exportChallengeCsv route (missing tests) 2016-01-27 20:28:54 +01:00
Blade Barringer e5f1c44a3e feat: Add removeFromArray function 2016-01-25 18:08:01 -06:00
Matteo Pagliazzi 25b0c3be2b porh auth controller to es7 async functions 2015-12-30 22:59:36 +01:00
Matteo Pagliazzi a5aeb6917e allow getGroup to optionally work for groups where the user is not a member 2015-12-29 21:36:52 +01:00
Matteo Pagliazzi 08e0c67089 refactor pushNotifications 2015-12-29 20:57:37 +01:00
Blade Barringer b3050e5a67 chore(dependency): Upgrade lodash from v2 to v3 2015-12-29 07:45:03 -06:00
Matteo Pagliazzi 3002db3d75 add ability to update tasks, can pass additional fields to Model.sanitize at runtime 2015-11-29 19:05:24 +01:00
Matteo Pagliazzi d67836ee1f allow for additional transform functions for toJSON and sanitize 2015-11-25 15:42:29 +01:00
Matteo Pagliazzi 94fc1c9bef baseModel: delete properties instead of setting them to undefined, transform toJSON only not toObject 2015-11-25 15:19:21 +01:00
Matteo Pagliazzi 77d25ddc32 correctly add _id default 2015-11-25 13:43:34 +01:00
Matteo Pagliazzi 3f1faf113e add baseModel plugin with some tests 2015-11-24 18:51:48 +01:00
Matteo Pagliazzi 6451264572 start porting register local user handler, several bug fixes 2015-11-19 12:13:54 +01:00
Matteo Pagliazzi de75849c7a fix apidoc comment 2015-11-18 18:06:37 +01:00
Matteo Pagliazzi 65a8d2e255 misc fixes and improvements, starts adding route tests 2015-11-18 12:36:13 +01:00
Matteo Pagliazzi 18503e31c3 fix linting 2015-11-17 19:31:51 +01:00
Matteo Pagliazzi 2a51117d21 comment errors according to apidoc, add new tests and fix existing ones 2015-11-17 19:22:47 +01:00
Matteo Pagliazzi aa1b046cf2 add example apidoc comments, add notFound middleware 2015-11-17 16:48:50 +01:00
Matteo Pagliazzi 30eed12903 Merge pull request #6245 from HabitRPG/api-v3-routes
Api v3 Routes
2015-11-16 17:07:46 +01:00
Blade Barringer cc0eefd97d Remove coffeescript dependency 2015-11-15 15:45:30 -06: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 83eb2308fb Merge pull request #6232 from HabitRPG/api-v3-utils
[API v3] Port Utils
2015-11-15 20:01:48 +01:00
Matteo Pagliazzi 19ce7c9b53 add tests for emails (wip) and encryption, misc fixes 2015-11-14 17:43:56 +01:00
Matteo Pagliazzi b315d10c79 migrate utils to v3, uprade nodemailer 2015-11-14 17:43:56 +01:00
Matteo Pagliazzi 6343bc9f59 port buildManifest lib 2015-11-14 15:50:57 +01:00