mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-15 12:39:28 +08:00
💌 A beautiful, fast and fully open source mail client for Mac, Windows and Linux.
964bc3208f
Summary: Previously, if you were to close the app while you had any tasks queued, these would be marked as failed the next time you open the app, showing an annoying error message and reverting any optimisitic actions. However, we don't need to be so defensive about retrying tasks because the only tasks we can't retry are the Sending tasks. All of the other tasks like moving or changing labels are fine to retry (trying move the same set of uids twice wont cause an error) This commit adds an extra status to syncback requests, "NOTRETRYABLE". Only NOTRETRYABLE requests will be marked as failed at the beginning of the sync loop, and any INPROGRESS tasks will be marked as NEW so they can be retried Depends on D3896 Test Plan: manual Reviewers: mark, evan, spang, halla Reviewed By: evan, halla Differential Revision: https://phab.nylas.com/D3898 |
||
---|---|---|
.ebextensions | ||
arclib | ||
migrations | ||
packages | ||
scripts | ||
.arcconfig | ||
.arclint | ||
.babelrc | ||
.dockerignore | ||
.eslintrc | ||
.gitignore | ||
.tern-project | ||
Dockerfile | ||
lerna.json | ||
package.json | ||
pm2-debug-cloud-api.yml | ||
pm2-dev.yml | ||
pm2-prod-api.yml | ||
pm2-prod-workers.yml | ||
README.md | ||
test_accounts.txt |
K2 - Local Sync Engine & Cloud Services for Nylas Mail
This is a collection of all sync and cloud components required to run N1.
- Cloud API: The cloud-based auth and metadata APIs for N1
- Cloud Core: Shared code used in all remote cloud services
- Cloud Workers: Cloud workers for services like send later
- Isomorphic Core: Shared code across local client and cloud servers
- Local Sync: The local mailsync engine integreated in Nylas Mail
See /packages
for the separate pieces. Each folder in /packages
is
designed to be its own stand-alone repository. They are all bundled here
for the ease of source control management.
Initial Setup for All Local & Cloud Services:
New Computer (Mac):
- Install Homebrew
- Install NVM
brew install nvm
- Install Node 6 via NVM:
nvm install 6
- Install Redis locally
brew install redis
New Computer (Linux - Debian/Ubuntu):
- Install Node 6+ via NodeSource (trusted):
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
- Install Redis locally
sudo apt-get install -y redis-server redis-tools
benefit of letting us use subdomains.