Commit graph

224 commits

Author SHA1 Message Date
Evan Morikawa
c0d7902f9f Add npm run restart 2016-07-11 11:49:11 -07:00
Juan Tejada
98c17c9780 Fix api logger decorator 2016-07-11 11:47:42 -07:00
Juan Tejada
ff334e169c Make npm start log output logs too 2016-07-11 11:43:51 -07:00
Juan Tejada
f648016c62 Lock logger versions 2016-07-11 11:28:53 -07:00
Juan Tejada
600245ebcb Fix cloudwatch config 2016-07-11 11:28:53 -07:00
Ben Gotow
4ce68e3dd4 Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-11 10:56:11 -07:00
Ben Gotow
93189b0f22 Try adding newrelic logging 2016-07-11 10:56:08 -07:00
Juan Tejada
dce872fac8 Adds bunyan for json logging on every package!
- Bunyan logs json output, and added a stream to send our logs to
cloudwatch
- Replaces /all/ instances of console.log. Turned eslint rule back on,
so we don't use console.log ever again.
- Added npm scripts to view pretty logs
2016-07-08 17:30:24 -07:00
Ben Gotow
14b5bef0a7 Fix error handling on connection close 2016-07-08 16:59:00 -07:00
Ben Gotow
016bad67b9 Temporarily patch /account to not check schema 2016-07-08 16:53:01 -07:00
Ben Gotow
26ac02e0bf Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-08 15:36:56 -07:00
Ben Gotow
8c122a57a3 Stop syncing in a hard loop 2016-07-08 15:36:50 -07:00
Evan Morikawa
ab8f1b4fbf Silent transactions if only syncState changes 2016-07-08 18:33:37 -04:00
Ben Gotow
53a2e7e56b Add ping to dashboard, wait to get shared db 2016-07-08 14:55:12 -07:00
Ben Gotow
3e348252ab Fix issue with default values — just implement in getters 2016-07-08 14:41:53 -07:00
Ben Gotow
4a341b6f02 Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-08 13:49:56 -07:00
Ben Gotow
17df581105 Use TEXT vs STRING, specify string column lengths 2016-07-08 13:49:51 -07:00
Evan Morikawa
ab3713830c Readme fixes 2016-07-08 12:12:11 -04:00
Evan Morikawa
6fecf0e40d Add redis to local pm2 2016-07-08 12:00:57 -04:00
Ben Gotow
fbfe693dbd Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-07 17:07:24 -07:00
Ben Gotow
e7affd3f65 Add dashboard pm2 config 2016-07-07 17:07:19 -07:00
Evan Morikawa
aca24ef18a Update dockerfile to start with env variable 2016-07-07 16:32:46 -07:00
Evan Morikawa
31e4d25448 Add API port to prod config 2016-07-07 16:10:35 -07:00
Evan Morikawa
1ff61beec9 package json fixed 2016-07-07 16:08:19 -07:00
Ben Gotow
2020ee1f19 Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-07 16:06:09 -07:00
Ben Gotow
f2418cef57 Minor updates to readme 2016-07-07 16:06:04 -07:00
Evan Morikawa
0972592aa5 Add ports to pm2-dev 2016-07-07 16:05:44 -07:00
Ben Gotow
0bfa8023f2 Merge branch 'master' of ssh://github.com/nylas/k2
Conflicts:
	Dockerfile
2016-07-07 15:27:56 -07:00
Ben Gotow
63f66fb7e7 Switch to PM2 for dev + prod 2016-07-07 15:25:45 -07:00
Halla Moore
a71e5c6a63 Merge branch 'master' of github.com:nylas/k2 2016-07-07 14:31:08 -07:00
Halla Moore
2db11d7dec Enhance sync stats on dashboard 2016-07-07 14:30:51 -07:00
Evan Morikawa
7a45506271 Update package.json to include lerna in main dependencies 2016-07-07 13:42:44 -07:00
Evan Morikawa
1ed55a6ee6 Add production flag to Dockerfile 2016-07-07 13:37:33 -07:00
Evan Morikawa
83e7d149a3 Fix Dockerfile 2016-07-07 13:36:38 -07:00
Evan Morikawa
21a89ee455 Remove Dockerrun.aws.json 2016-07-07 13:33:27 -07:00
Evan Morikawa
dfb3935969 Update package.json. Remove Procfile 2016-07-07 13:32:54 -07:00
Evan Morikawa
189cf21d2a Commit to test Docker automatic builds 2016-07-07 12:39:31 -07:00
Evan Morikawa
ac5fee1c39 Re-add .elasticbeanstalk to gitignore 2016-07-07 12:13:27 -07:00
Evan Morikawa
ecb97fa437 Revert "Remove sqlite"
This reverts commit f14443a83e.
2016-07-07 12:10:17 -07:00
Evan Morikawa
05de9f6cff Remove .elasticbeanstalk from gitignore 2016-07-07 12:10:01 -07:00
Evan Morikawa
a97ed5a311 Added Dockerrun.aws.json 2016-07-07 12:10:01 -07:00
Evan Morikawa
3820521d62 Dockerfile successfully building ping endpoint 2016-07-07 12:10:01 -07:00
Evan Morikawa
f14443a83e Remove sqlite 2016-07-07 12:10:01 -07:00
Ben Gotow
822b8e54e6 Allow usage with mysql in addition to SQLite 2016-07-07 11:37:55 -07:00
Halla Moore
40ab07cfdf Add account filtering (by error status) to dashboard 2016-07-06 16:49:16 -07:00
Halla Moore
44e377eb80 Merge branch 'master' of github.com:nylas/k2 2016-07-06 15:48:47 -07:00
Halla Moore
12560ab711 Add ability to apply a sync policy to all accounts from dashboard 2016-07-06 15:48:25 -07:00
Evan Morikawa
be277b8004 Add dockerfile 2016-07-06 15:30:35 -07:00
Evan Morikawa
2e4427d96e Add console to ping 2016-07-06 14:59:56 -07:00
Evan Morikawa
af9d5da17c Revert "Start just nylas-api"
This reverts commit 91d8cfa6c0b8fe4c6df007e095ca4af07e3fd3ef.
2016-07-06 13:51:17 -07:00