Juan Tejada
b58c11605c
Moves metrics into its own pkg to be able to instrument other services
...
- With the Metrics module inside nylas-core, and bc of our current lerna
setup, we required other modules like sequelize and redis before requiring
newrelic, thus preventing them from being properly instrumented
2016-07-14 11:20:58 -07:00
Juan Tejada
592b2af986
Update metric type for accounts_syncing_count
2016-07-14 10:49:40 -07:00
Juan Tejada
16b91ea394
Update metrics with signalfx - report # of syncing accts per host
2016-07-14 10:39:05 -07:00
Juan Tejada
0c900b072d
Add new relic to all pkgs + Revert to PromiseUtils methods
...
- PromiseUtils does not conflict with newrelics changes to Promise
- Other misc fixes
2016-07-13 19:08:24 -07:00
Ben Gotow
ec9f8581f7
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-13 18:26:49 -07:00
Ben Gotow
66951b4b1a
Add more logging to process claiming
2016-07-13 18:26:46 -07:00
Annie
a07174cc4e
fixed json parsing of message
2016-07-13 18:19:13 -07:00
Halla Moore
0706701378
Make the grayAfter time more appropriate for production, 10 mins
2016-07-13 18:00:17 -07:00
Halla Moore
49f475cdd1
Add collapsed dashboard view
2016-07-13 17:45:54 -07:00
Juan Tejada
5c1704ac8e
Fix thenReturn + misc logger fixes
2016-07-13 17:41:07 -07:00
Ben Gotow
07e3f3ab19
Make dashboard boxes slightly smaller
2016-07-13 17:34:42 -07:00
Ben Gotow
2a05e69e4c
Sort IDs as numbers not strings
2016-07-13 17:25:39 -07:00
Ben Gotow
b43b623ca6
Expand promise utils
2016-07-13 17:22:02 -07:00
Juan
1eeb9128c0
Merge pull request #2 from nylas/linux-readme
...
Add Linux setup instructions to README.md
2016-07-13 16:54:43 -07:00
Juan
b60595f0f8
Merge pull request #3 from nylas/remove-bluebird
...
Remove bluebird
2016-07-13 16:54:21 -07:00
Ben Gotow
35c32a3645
After authing an account, close IMAP connection
2016-07-13 16:42:13 -07:00
Juan Tejada
ab9c01a249
Remove bluebird
...
- Implement `each` and `promisifyAll` + other bluebird fns
2016-07-13 16:35:22 -07:00
Evan Morikawa
87905d0145
Fix transaction log to ignore syncState changes
2016-07-13 16:31:34 -07:00
Halla Moore
fcbaac302b
Change dashboard error appearances
2016-07-13 16:31:14 -07:00
Halla Moore
971b64b4c2
Add other dashboard optimizations
...
Fix typo in Account's shouldComponentUpdate method
Consolidate intervals into custom window events
Manually update ElapsedTime contents
2016-07-13 16:31:14 -07:00
Ben Gotow
93942e792d
Also conert imap errors in createConnectionPromise
2016-07-13 16:20:43 -07:00
Evan Morikawa
8c33c4976f
Better IMAP Error handling
2016-07-13 15:57:59 -07:00
Halla Moore
0b9933b514
Re-render accounts in more scenarios and update onWebsocketConnectedFake
2016-07-13 14:53:56 -07:00
Halla Moore
b03b8b537d
Optimize dashboard rendering
...
Add version to local copy of account and only re-render entire account
if the version is different. Create an ElapsedTime component that
re-renders on its own, and update SyncGraph to re-render on its
own as well.
2016-07-13 14:34:27 -07:00
Ben Gotow
a5e3ddb445
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-13 12:39:11 -07:00
Ben Gotow
a11ee2987b
Change proxy to honor null values, create helper for open box name
2016-07-13 12:39:07 -07:00
Evan Morikawa
3d64affc52
Delta stream adhere to old Nylas spec
2016-07-13 12:37:38 -07:00
Halla Moore
f2f6dec35a
Add dashboard optimizations
...
Make account elements absolutely positioned and opaque
Send account updates all at once, at timed intervals
2016-07-13 12:35:49 -07:00
Juan Tejada
7f72ab7f14
Add loggly logging service to test it out
...
- Adds env to all logs, cleans up code a bit
2016-07-13 11:58:46 -07:00
Ben Gotow
ffc2593c4e
Log all box attributes to help track down bug
2016-07-13 11:42:34 -07:00
Evan Morikawa
1c0c4ee61e
Add redis-server back into pm2
2016-07-13 11:41:46 -07:00
Annie
6e19cd84f5
Added view query param for contact and message routes
2016-07-13 11:37:35 -07:00
Ben Gotow
7056a4b8f4
Fix bug with accounts that have uidmin=0, not 1
2016-07-13 11:30:22 -07:00
Ben Gotow
ecc8bd67d3
Clean up dashboard websocket code a bit
2016-07-13 11:11:32 -07:00
Ben Gotow
8629b5a055
New function to stub dashboard view
2016-07-13 10:57:05 -07:00
Ben Gotow
ea4d5d0054
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-12 18:33:33 -07:00
Annie
17f920fb90
Ordered inbox messages chronologically
2016-07-12 18:33:19 -07:00
Ben Gotow
eac4f72431
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-12 18:32:00 -07:00
Ben Gotow
e89975456b
Fix scenario where sync worker is re-assigned the same account before fully releasing it
2016-07-12 18:31:55 -07:00
Evan Morikawa
e658f066dd
Change transaction schema to match current API
2016-07-12 18:31:00 -07:00
Halla Moore
1ce430cd2a
Add an auto refresh option to the dashboard's syncback requests modal
2016-07-12 18:27:04 -07:00
Halla Moore
8e790a0e15
Spruce up the dashboard
...
Consloidate modal functionality into its own component and make
general appearance fixes, especially with the Syncback Request
Details.
2016-07-12 18:27:04 -07:00
Ben Gotow
3e8623d383
Move charset definition to single location
2016-07-12 18:03:08 -07:00
Ben Gotow
a62e858389
Make charset explicit on connection and models
2016-07-12 17:41:16 -07:00
Ben Gotow
efc8d8ba12
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-12 16:46:17 -07:00
Ben Gotow
562cedf971
Fix sync worker stopping forever on errors
2016-07-12 16:46:14 -07:00
Annie
83a6a8008b
Add thread id to message model
2016-07-12 16:27:57 -07:00
Ben Gotow
9d7343eb91
Fix UTF7 reference - prod will not use ssh
2016-07-12 16:24:03 -07:00
Ben Gotow
ae082c5b53
Fix support for Gmail accts with non-english folders
2016-07-12 16:12:04 -07:00
Ben Gotow
8b1e9564cf
Fix UTF7 support — module didn’t support Node6
2016-07-12 16:11:29 -07:00