2017-02-17 06:53:20 +08:00
|
|
|
##### Elastic Beanstalk Files
|
|
|
|
.elasticbeanstalk/*
|
|
|
|
!.elasticbeanstalk/*.cfg.yml
|
|
|
|
!.elasticbeanstalk/*.global.yml
|
2015-08-15 06:40:11 +08:00
|
|
|
|
2017-02-17 06:53:20 +08:00
|
|
|
##### Arcanist / Phab
|
|
|
|
**/.arcconfig
|
|
|
|
**/.arclint
|
|
|
|
**/arclib
|
2015-09-23 11:11:51 +08:00
|
|
|
|
2017-02-17 06:53:20 +08:00
|
|
|
##### Client Private Plugins (symlinked)
|
2017-08-11 10:23:40 +08:00
|
|
|
**/app/src/error-logger-extensions
|
2017-02-17 06:53:20 +08:00
|
|
|
**/internal_packages/composer-mail-merge
|
|
|
|
**/internal_packages/composer-scheduler
|
2016-12-17 02:08:21 +08:00
|
|
|
|
2017-02-17 06:53:20 +08:00
|
|
|
##### Node modules
|
[local-sync, cloud-api, cloud-workers] Fix msg id collision, tracking and sending issues, some refactoring
Summary:
This diff solves a few separate issues from T7313, T7316, T7282, and it refactors
the send code a little bit.
Initially, the problem that led to this diff was generating message ids that
wouldn't collide (which was causing errors in the message-processor). Collisions
in ids were being caused by messages that contained the exact same participants,
subject and date (most likely due bots or scripts sending emails in quick
succession)
To prevent collisions this commit adds the `message-id` header as part of the
database message id, and ensures that we set it correctly before sending, and
that it remains consistent through send, multi-send, and the sync loop.
During the refactor and review, I removed some code that assumed that we were
syncing drafts (which we aren't), and also fixes a few other known and
unknown issues around sending, message creation, and tracking, like assigning
the correct date header (we were previously assigning the draft creation date
from within N1), fixing the tracking regex, among other smaller bugs/typos.
Will address inline TODOs in a separate diff
Test Plan: TODO!!! I will add tests in another diff
Reviewers: evan, halla, jackie, khamidou
Reviewed By: halla, jackie
Differential Revision: https://phab.nylas.com/D3507
2016-12-15 11:35:19 +08:00
|
|
|
node_modules
|
2017-08-11 10:23:40 +08:00
|
|
|
!app/spec/fixtures/packages/package-with-incompatible-native-module/node_modules
|
2017-02-17 06:53:20 +08:00
|
|
|
**/npm-debug.log*
|
|
|
|
**/lerna-debug.log*
|
2016-07-06 04:21:27 +08:00
|
|
|
|
2017-02-17 06:53:20 +08:00
|
|
|
##### Certs for building
|
2017-08-11 12:24:12 +08:00
|
|
|
certs
|
|
|
|
**/*.p12
|
|
|
|
**/*.cer
|
2017-02-17 06:53:20 +08:00
|
|
|
**/build/resources/certs
|
2016-11-23 04:25:27 +08:00
|
|
|
|
2017-02-17 06:53:20 +08:00
|
|
|
##### Misc swap files
|
|
|
|
**/*.swp
|
|
|
|
**/*.swo
|
|
|
|
**/*~
|
|
|
|
**/*#
|
|
|
|
**/.DS_Store
|
|
|
|
**/Thumbs.db
|
|
|
|
**/#emacs
|
2017-02-18 02:47:01 +08:00
|
|
|
|
|
|
|
# Built cloud files
|
|
|
|
n1_cloud_dist
|
2017-02-22 00:56:47 +08:00
|
|
|
|
2017-08-17 04:20:54 +08:00
|
|
|
# Built client
|
2017-08-11 10:23:40 +08:00
|
|
|
app/dist
|
2017-02-22 03:36:18 +08:00
|
|
|
|
2017-02-22 00:56:47 +08:00
|
|
|
# Tests
|
|
|
|
spec-saved-state.json
|
2017-02-24 04:12:13 +08:00
|
|
|
|
2017-03-01 07:46:54 +08:00
|
|
|
# Symlinked Jasmine config files
|
|
|
|
**/jasmine/config.json
|
2017-03-03 02:38:59 +08:00
|
|
|
|
2017-02-24 04:12:13 +08:00
|
|
|
# Elastic Beanstalk Files
|
|
|
|
.elasticbeanstalk/*
|
|
|
|
!.elasticbeanstalk/*.cfg.yml
|
|
|
|
!.elasticbeanstalk/*.global.yml
|
2017-03-29 03:24:51 +08:00
|
|
|
|
|
|
|
# Sqlite amalgamation for scripts
|
|
|
|
scripts/sqlite
|
2017-04-05 06:01:59 +08:00
|
|
|
|
|
|
|
# Scripts for calculating statistics
|
|
|
|
scripts/toolbox
|
2017-04-06 06:34:13 +08:00
|
|
|
scripts/venv
|
2017-04-05 06:01:59 +08:00
|
|
|
|
|
|
|
# Python
|
|
|
|
*.pyc
|
|
|
|
|
|
|
|
# OAuth client secret for talking to Google Sheets
|
|
|
|
client_secret.json
|
2017-08-13 09:41:59 +08:00
|
|
|
/app/mailsync
|
2017-07-05 07:00:54 +08:00
|
|
|
/logfile.txt
|
2017-08-12 02:38:25 +08:00
|
|
|
/app/dist-docs
|
2017-08-14 01:57:54 +08:00
|
|
|
/app/mailsync.dSYM.zip
|
2017-10-06 05:10:15 +08:00
|
|
|
/snap/snapcraft.yml
|
2017-10-28 08:31:14 +08:00
|
|
|
|
|
|
|
**.so*
|
|
|
|
**.bin
|
|
|
|
**.tar.gz
|
2017-12-01 01:07:23 +08:00
|
|
|
/app/mailsync.dSYM
|