Ben Gotow
35c32a3645
After authing an account, close IMAP connection
2016-07-13 16:42:13 -07:00
Evan Morikawa
8c33c4976f
Better IMAP Error handling
2016-07-13 15:57:59 -07:00
Evan Morikawa
3d64affc52
Delta stream adhere to old Nylas spec
2016-07-13 12:37:38 -07:00
Annie
6e19cd84f5
Added view query param for contact and message routes
2016-07-13 11:37:35 -07:00
Evan Morikawa
e658f066dd
Change transaction schema to match current API
2016-07-12 18:31:00 -07:00
Ben Gotow
84d8979265
Add ability to auth gmail account via /auth
2016-07-12 13:24:48 -07:00
Ben Gotow
4fb848e91f
fix for re-authing the same account
2016-07-11 21:38:05 -07:00
Annie
87091a414a
Merge branch 'master' into contacts
2016-07-11 18:30:28 -07:00
Annie
c5dce43da7
Merge branch 'master' of github.com:nylas/K2
2016-07-11 18:30:19 -07:00
Ben Gotow
492ac21bb6
Primitive account deletion via DELETE /account
2016-07-11 16:56:18 -07:00
Annie
caee5dbef0
Merge branch 'master' of github.com:nylas/K2 into contacts
2016-07-11 16:42:15 -07:00
Annie
1fc30fa810
Merge branch 'master' of github.com:nylas/K2
2016-07-11 16:37:44 -07:00
Annie
e673573fcd
added folder view api route
2016-07-11 16:37:39 -07:00
Ben Gotow
3c63268eec
Return a new token for existing account instead of duplicating accounts
2016-07-11 16:01:18 -07:00
Ben Gotow
5085730902
Merge pull request #1 from nylas/contacts
...
Build(contacts): built contact model, added routes and processor
2016-07-11 15:22:04 -07:00
Evan Morikawa
1360599ffc
Fix deafult test account email address
2016-07-11 14:23:35 -07:00
Annie
5868fb5207
make changes requested before pull
2016-07-11 13:48:00 -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
2a776e6cff
Build(contacts): built contact model, added routes and processor
2016-07-08 17:06:21 -07:00
Ben Gotow
822b8e54e6
Allow usage with mysql in addition to SQLite
2016-07-07 11:37:55 -07:00
Evan Morikawa
2e4427d96e
Add console to ping
2016-07-06 14:59:56 -07:00
Evan Morikawa
e2e827297c
Add authless /ping endpoint that returns "pong"
2016-07-05 14:09:44 -07:00
Evan Morikawa
fd0c4d734c
Fix delta sync to properly includes sub models
2016-07-01 11:27:20 -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
3c2b8bcb15
Fix account creation redis publish, rename to make more clear
2016-06-30 13:25:13 -07:00
Halla Moore
d0666540b9
Added syncback tasks for folders
2016-06-30 11:54:12 -07:00
Ben Gotow
b033b94091
Break Category into Folder, Label, populate Gmail lables for messages
2016-06-30 09:29:21 -07:00
Jackie Luo
b3b5a5106c
Add endpoint for file downloads
2016-06-29 19:14:04 -07:00
Halla Moore
fd7570f6c8
Add various syncback tasks for messages
2016-06-29 18:52:58 -07:00
Halla Moore
80d80eb306
Added StarThread and UnstarThread imap tasks
2016-06-29 17:36:34 -07:00
Halla Moore
ef11508b38
Added MarkThreadAsUnread task
2016-06-29 17:23:18 -07:00
Halla Moore
d3fd671ff6
Update MarkThreadAsRead task
2016-06-29 17:01:30 -07:00
Evan Morikawa
5a56c9a4e4
AccountId -> accountId
2016-06-29 14:43:20 -07:00
Ben Gotow
53d6c6284e
Support for /threads?view=count/expanded, thread & message JSON includes folders
2016-06-29 12:02:31 -07:00
Ben Gotow
9ff7d3aea5
Add folders and labels to /threads response, version numbers to all models
2016-06-29 11:22:38 -07:00
Ben Gotow
6ecacdd591
Add account_id to all responses, downcase model ref columns
2016-06-29 10:36:35 -07:00
Halla Moore
8a53dca755
Merge branch 'master' of github.com:nylas/k2
2016-06-29 10:10:49 -07:00
Evan Morikawa
7180ebbb70
PUT route works on threads to create SyncbackRequests
2016-06-28 18:17:11 -07:00
Halla Moore
f5af9c0cb5
Added a syncback task to mark a thread as read, untested
2016-06-28 18:13:49 -07:00
Ben Gotow
222c68a598
Deprecate thread.cleanedSubject, since the only subject is the clean one
2016-06-28 18:11:55 -07:00
Ben Gotow
1d1186cb34
Add more attributes to /threads, move processor to it's own process
2016-06-28 18:10:52 -07:00
Halla Moore
b867bcb31e
Merge branch 'master' of github.com:nylas/k2
2016-06-28 15:56:35 -07:00