Commit graph

31 commits

Author SHA1 Message Date
Juan Tejada
f2dbb2144b feat(labels): Add functioning endpoint for updating labels for messages & threads
- This commit also correctly sets the labels on the corresponding thread
whenever a message has its labels updated
- Fix removing labels from messages
2016-11-22 09:58:41 -08:00
Juan Tejada
45d682c957 feat(api): Can now set labels for messages 2016-11-21 17:41:57 -08:00
Evan Morikawa
45f132b746 Fix thread moving to support new Promises 2016-07-14 17:37:38 -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
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
2a77196fd9 Merge branch 'master' of github.com:nylas/k2 2016-06-29 17:23:27 -07:00
Halla Moore
ef11508b38 Added MarkThreadAsUnread task 2016-06-29 17:23:18 -07:00
Evan Morikawa
4d7f728a75 categoryUID -> categoryImapUID and messageId -> messageHeaderId 2016-06-29 17:10:34 -07:00
Halla Moore
d3fd671ff6 Update MarkThreadAsRead task 2016-06-29 17:01:30 -07:00
Evan Morikawa
6cb67e417c Fix to use Imap BOX and simplify move helper 2016-06-29 16:25:51 -07:00
Halla Moore
825ce2eba3 Use categoryUID instead of categoryId, change default value to match node-imap 2016-06-29 16:12:29 -07:00
Halla Moore
da27959009 Changed some variables so that first letter is lowercase 2016-06-29 15:07:29 -07:00
Evan Morikawa
905d797fd2 Remove comments 2016-06-29 14:25:42 -07:00
Halla Moore
bf39b51e08 Correct some function names/params 2016-06-29 14:00:47 -07:00
Halla Moore
2721617665 Use CategoryId instead of messageId 2016-06-29 12:28:22 -07:00
Evan Morikawa
0e80bce433 readonly false 2016-06-29 12:26:45 -07:00
Evan Morikawa
3753d9743a Fix return 2016-06-29 12:25:38 -07:00
Evan Morikawa
d26824771d Clean up loggin 2016-06-29 12:08:31 -07:00
Halla Moore
bdfee404e5 Add move imap wrapper, make sure wrapper methods are called 2016-06-29 12:07:28 -07:00
Evan Morikawa
7cf59c3c11 Fix retrun value in MoveToFolderIMAP task 2016-06-29 12:04:46 -07:00
Evan Morikawa
941180c1df Syncback WIP 2016-06-29 11:44:30 -07:00
Evan Morikawa
ab19133b20 Add SyncbackTask super class 2016-06-29 10:13:56 -07:00
Evan Morikawa
cf87325c5d Fix syncback request object 2016-06-29 10:13:56 -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
Evan Morikawa
306086091d syncbackMessageActions refactor 2016-06-28 18:13:49 -07:00
Halla Moore
f5af9c0cb5 Added a syncback task to mark a thread as read, untested 2016-06-28 18:13:49 -07:00
Evan Morikawa
cea7783a5f syncbackMessageActions refactor 2016-06-28 17:12:45 -07:00
Evan Morikawa
0f4ed7f4a1 Fix package json 2016-06-28 14:09:56 -07:00