Commit graph

436 commits

Author SHA1 Message Date
Evan Morikawa e772e11196 [local]: rename folder nylas-api to local-api 2016-11-22 15:34:00 -08:00
Halla Moore 845139826b [local-sync] Check for missing Category roles by localized display names
Sometimes imap mailboxes aren't properly flagged with their roles, so we
check the display names against known variations to see if we can find any
missing roles.
2016-11-22 15:31:35 -08:00
Juan Tejada 5e42a7dd9e Merge branch 'master' of github.com:nylas/K2 2016-11-22 15:16:00 -08:00
Ben Gotow 1ec3c2e162 [cloud] fix(*): remove all traces of loggly 2016-11-22 15:13:48 -08:00
Juan Tejada 637d3ac6cc fix local-sync package 2016-11-22 15:13:28 -08:00
Ben Gotow 0aa11cf9d2 [cloud] fix(*): add things back to package.json 2016-11-22 14:54:40 -08:00
Evan Morikawa d4608dd3a6 Update package.json post lerna install 2016-11-22 14:52:42 -08:00
Evan Morikawa 3907c20271 Fix package.json 2016-11-22 14:47:18 -08:00
Karim Hamidou 372beeef52 More structure adapts.
Conflicts:
	packages/local-sync/package.json
2016-11-22 14:26:48 -08:00
Karim Hamidou 4d91dcd3a3 Basic structure changes to run K2 in N1 2016-11-22 14:23:16 -08:00
Ben Gotow 424ee4e1d2 [local] Fix package json 2016-11-22 13:55:04 -08:00
Ben Gotow 23ffaf4a83 [cloud] fix(eb): Oops 2016-11-22 13:25:58 -08:00
Ben Gotow 9fbc7b8b00 [cloud] fix(eb): Switch port to 80 to see if it fixes it 2016-11-22 13:24:26 -08:00
Ben Gotow 651ba4af4b [cloud] fix(docker): Define port used by docker 2016-11-22 13:17:31 -08:00
Karim Hamidou 0c5dd6ded7 Flesh out skeleton. 2016-11-22 12:25:27 -08:00
Juan Tejada ddd5641463 fix(folders): Properly update thread folders on sync 2016-11-22 12:24:13 -08:00
Karim Hamidou 3d31150bbb (fix) Set up base structure for local sync. 2016-11-22 12:01:45 -08:00
Ben Gotow 291106694b Bump eslint 2016-11-22 11:58:34 -08:00
Ben Gotow 27ba2544dd Pull in cloud packages 2016-11-22 10:58:27 -08:00
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
Evan Morikawa b13aa32f60 fix(readme): minor readme changes 2016-11-21 18:18:21 -08:00
Juan Tejada 45d682c957 feat(api): Can now set labels for messages 2016-11-21 17:41:57 -08:00
Evan Morikawa 1b1d356753 fix(package): re-order package.json files 2016-11-21 17:07:52 -08:00
Juan Tejada eba33080ac fix(messages): Fix raw message api endpoint 2016-11-21 14:36:54 -08:00
Ben Gotow 8efd4f7935 Fix another linter issue 2016-11-21 14:05:38 -08:00
Ben Gotow e87e67cea3 Fix linter issues 2016-11-21 14:00:35 -08:00
Halla Moore 7906e3303d Add placeholders for various routes that N1 uses. 2016-11-21 13:50:34 -08:00
Halla Moore 0fe6343137 Remove filtering from the collection APIs.
Affected collections were categories, contacts, files, messages, and threads.
2016-11-21 13:50:29 -08:00
Ben Gotow e10e51ab5d A few changes to support linking to K2 via the new GUI 2016-10-11 00:44:10 -07:00
Ben Gotow f9f78968b1 Use defaultValue as a template, fix critical sync issue 2016-07-15 19:01:50 -07:00
Ben Gotow 549ced6128 Revert change, @evan’s fix is better 2016-07-15 16:28:13 -07:00
Ben Gotow 18a8e5f09a Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-15 16:25:21 -07:00
Ben Gotow 7efe5db7e9 USE_CONSOLE_LOG for simple console logs 2016-07-15 16:25:18 -07:00
Halla Moore 8140076e17 Remove auto-scaling for the collapsed dashboard view, at least for now. 2016-07-15 16:09:17 -07:00
Ben Gotow 5095f0626f Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-15 13:29:25 -07:00
Halla Moore 0dad9bf7fa Auto-scale MiniAccounts in the collapsed, ungrouped dashboard view 2016-07-15 13:20:09 -07:00
Evan Morikawa dffb87bd4a Report errors earlier 2016-07-15 13:15:26 -07:00
Evan Morikawa 5e0bcc5eff Quieter logging on dev 2016-07-15 13:07:12 -07:00
Ben Gotow e13097045b Log boxname and category name as well 2016-07-15 12:39:28 -07:00
Halla Moore 0abd70c746 Add option to group by process in collapsed dashboard view 2016-07-15 12:31:07 -07:00
Ben Gotow 579fe43fdf Log when recovering from uidvalidity, don’t do it on first sync 2016-07-15 11:47:26 -07:00
Ben Gotow 95793877c6 Do file creation in a transaction, and with fewer saves 2016-07-15 11:14:35 -07:00
Ben Gotow e5bada04d3 Do contact insertion in a transaction 2016-07-15 10:23:01 -07:00
Ben Gotow 979401883d Make db connection pools smaller 2016-07-15 10:22:49 -07:00
Ben Gotow ac3f96e2d4 Fix accounts syncing in a hard loop due to redis loopback 2016-07-15 10:07:33 -07:00
Ben Gotow 13a723e663 Correctly detect condstore to lower db load 2016-07-15 09:46:31 -07:00
Ben Gotow 13879db9c8 Wait until tables are created before queueing sync 2016-07-14 19:32:13 -07:00
Ben Gotow 08c7ca8b0d Use EC2 instance ID instead of hostname 2016-07-14 18:52:30 -07:00
Ben Gotow 5062f8d02b Sort process ids 2016-07-14 18:33:46 -07:00
Ben Gotow 1996666516 Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-14 18:18:54 -07:00