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
Annie
cb20f8cecd
resolved merge -- Accounts and contacts are now both added to serilaization
2016-07-08 17:09:57 -07:00
Annie
2a776e6cff
Build(contacts): built contact model, added routes and processor
2016-07-08 17:06:21 -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
17df581105
Use TEXT vs STRING, specify string column lengths
2016-07-08 13:49:51 -07:00
Evan Morikawa
1ff61beec9
package json fixed
2016-07-07 16:08:19 -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
3820521d62
Dockerfile successfully building ping endpoint
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
2e4427d96e
Add console to ping
2016-07-06 14:59:56 -07:00
Halla Moore
3bfc5aff60
Merge branch 'master' of github.com:nylas/k2
2016-07-05 15:45:18 -07:00
Halla Moore
9c342c0c77
Add ability to edit sync policy from dashboard
2016-07-05 15:41:56 -07:00
Evan Morikawa
e2e827297c
Add authless /ping endpoint that returns "pong"
2016-07-05 14:09:44 -07:00
Juan Tejada
8b1f012a3c
Fix error serialization
...
- Remove cumbersome NylasError
- Add helper to serialize error when saving to account
2016-07-01 15:49:47 -07:00
Ben Gotow
a43b3fb015
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-01 15:41:29 -07:00
Ben Gotow
8453985b1f
Change worker removal so it waits for sync to complete
2016-07-01 15:41:22 -07:00
Jackie Luo
81145eae32
Change error styling
2016-07-01 13:24:08 -07:00
Jackie Luo
0af1a43794
Add first sync completion time
2016-07-01 13:15:55 -07:00
Ben Gotow
3ccb7f164b
Fix closing connection twice
2016-07-01 11:36:14 -07:00
Evan Morikawa
fd0c4d734c
Fix delta sync to properly includes sub models
2016-07-01 11:27:20 -07:00
Juan Tejada
05091a4447
Update thrown errors to use serializable NylasError
2016-07-01 10:24:39 -07:00
Juan Tejada
80f9ff38e3
Remove dead code
2016-07-01 10:19:25 -07:00
Jackie Luo
a99ffbce3c
Add favicon :snow_capped_mountain:
2016-06-30 17:31:52 -07:00
Jackie Luo
27eba6dfaa
Add sync times and update styles
2016-06-30 17:24:25 -07:00
Halla Moore
84ce3bdeb3
Merge branch 'master' of github.com:nylas/k2
2016-06-30 17:11:05 -07:00
Halla Moore
c5157b3553
Fixed 'in' filter for threads endpoint
2016-06-30 17:10:48 -07:00
Jackie Luo
ddf73b6b02
Keep track of sync completion timestamps
2016-06-30 17:04:13 -07:00
Halla Moore
ce61326f7c
Make query keys not camel case
2016-06-30 16:23:55 -07:00
Halla Moore
7221ae3bb9
Added File filtering
2016-06-30 16:19:57 -07:00
Halla Moore
f94acfcb9b
Added filename query to threads endpoint
2016-06-30 16:09:02 -07:00
Halla Moore
d68151a684
Merge branch 'master' of github.com:nylas/k2
2016-06-30 15:49:03 -07:00
Halla Moore
aec946f7de
Added 'in' query to messages endpoint
2016-06-30 15:23:34 -07:00
Halla Moore
6225f09018
Added some filter queries for Messages
2016-06-30 14:22:23 -07:00
Ben Gotow
04d482650c
Fix processor running out of file descriptors due to re-creating redis connections
2016-06-30 13:28:41 -07:00
Ben Gotow
65a6ea4546
Redis takes seconds, not milliseconds
2016-06-30 13:28:26 -07:00
Ben Gotow
3c2b8bcb15
Fix account creation redis publish, rename to make more clear
2016-06-30 13:25:13 -07:00