Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the email match should be case insensitive when selecting the alias #3473

Open
wants to merge 5,201 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5201 commits
Select commit Hold shift + click to select a range
f157ddb
[client-app] Make resetEmailCache work without forcing re sign-in
jstejada Mar 13, 2017
7fc1e04
[client-app] Restart sync when computer awakes from sleep
jstejada Mar 13, 2017
3c88f90
bump(version): 1.0.38
Mar 14, 2017
30792a4
[client-app] Update changelog
jstejada Mar 14, 2017
af7d8c9
[client-app] only upload 7 characters of the commit hash
emorikawa Mar 14, 2017
87acb23
[client-app] Fix missing depedency for imap-provider-settings
jstejada Mar 14, 2017
27927e1
bump(version): 1.0.39
Mar 14, 2017
5b33cc1
[client-app] "two panel" -> "Reading Pane On"
emorikawa Mar 14, 2017
3a92eaf
[send-later] Add support for attachments
khamidou Mar 14, 2017
613ee2b
[client-app] upload nupkg for Windows autoupdater
emorikawa Mar 14, 2017
b3681e6
[client-app] update files ignored in build
emorikawa Mar 14, 2017
093f315
[client-app] don't bootsrap cloud stuff when building the client
emorikawa Mar 14, 2017
c8e31a7
bump(version): 1.0.40
Mar 15, 2017
e798e50
[iso-core] Upgrade nodemailer
spang Mar 11, 2017
4079fd4
bump(version): 1.0.41
Mar 16, 2017
f4b01b3
[client-app] don't exclude source maps
emorikawa Mar 16, 2017
67f9d26
bump(version): 1.0.42
Mar 16, 2017
4492b73
[client-sync] Only update lastReceivedDate if the message was actuall…
Mar 14, 2017
73e990f
[client-app] Don't show non-existent children on folder creation
Mar 15, 2017
e87bea7
Revert "[iso-core] Upgrade nodemailer"
spang Mar 16, 2017
27355c9
bump(version): 1.0.43
Mar 17, 2017
f1572f4
[dev] Fix path for tmp dir in daily script
jstejada Mar 17, 2017
64e6fef
[client-app] Update changelog
jstejada Mar 17, 2017
eb64ae6
[client-app] Update changelog
jstejada Mar 17, 2017
6532d3c
[client-sync] Add error handling when creating syncback requests
jstejada Mar 14, 2017
180f92b
[deploy-it] temp override for deploy branch rules
jerm Mar 18, 2017
d5b8e19
bump(version): 1.0.44
Mar 20, 2017
3909c88
[cloud-api] Fix query for delta stream transactions
jstejada Mar 20, 2017
3554fb2
[client-app] Fix passing cursor to delta streams
jstejada Mar 20, 2017
17da34c
[dev] Fix temp dir path in daily
jstejada Mar 21, 2017
d025aaf
[dev] Actually fix tmp dir path in daily
jstejada Mar 21, 2017
3b3057f
bump(version): 1.0.45
Mar 21, 2017
6048d6a
[client-app] Update changelog
jstejada Mar 21, 2017
6ea9ab3
[client-app] Don't report non-reportable errors in delta connection
jstejada Mar 16, 2017
8f5d367
[client-app] Correctly sign out of NylasID
jstejada Mar 14, 2017
65f9f8c
[client-app] :art: comment
jstejada Mar 21, 2017
2fe8bee
[client-sync] Refactor sync worker IMAPConnectionPool callbacks
Mar 21, 2017
b849793
[client-app] Fix DraftFactory specs
Mar 21, 2017
1f9c512
Fix build condition
khamidou Mar 21, 2017
3e3b0b8
Switch type of Metadata value column
khamidou Mar 22, 2017
470e656
[client-app] Ensure files get transferred in forwarded messages
Mar 21, 2017
9caefdc
[client-app] Rename downloadDataForFile(s) -> getDownloadDataForFile(s)
Mar 22, 2017
ce17f70
bump(version): 1.0.46
Mar 23, 2017
e13d483
[client-app] Record file download times
Mar 23, 2017
4ef8e76
[client-sync] Don't handle IMAP timeouts in the connection pool
Mar 21, 2017
1298d4c
[client-app] Update changelog
jstejada Mar 23, 2017
09b88a7
[client-app] Consolidate file download metric reporting
jstejada Mar 23, 2017
a8aee89
[client-app] Report hard crashes using Electron's built-in crash repo…
khamidou Mar 23, 2017
c5af73f
bump(version): 1.0.47
Mar 24, 2017
cd6d04c
[ei] Update changelog
jstejada Mar 24, 2017
4373877
[client-app] Correctly remove inline images with x button
jstejada Mar 23, 2017
41ad424
[client-app] Don't try to restart sync on every IdentityStore change
jstejada Mar 21, 2017
ae1c667
[client-app] Fix in identity store
jstejada Mar 24, 2017
11aa686
[client-app] Reindex threads when they're updated
Mar 8, 2017
8a3e47d
bump(version): 1.0.48
Mar 27, 2017
9216ef1
[client-app] Update changelog
jstejada Mar 27, 2017
951c874
[iso-core] Add indexes from SQL review
spang Mar 16, 2017
88dd952
[cloud-api] Timeout streaming API connections every 15 minutes
jstejada Mar 27, 2017
b703657
[*] add ONLY_CLIENT=false support for cloud & regular install
emorikawa Mar 27, 2017
7355527
[client-app] Retry queries when database is locked
Mar 24, 2017
b6887e3
[client-sync] Report latest sync activity
Mar 27, 2017
619c69a
[client-sync] Detect when sync workers are stuck
Mar 27, 2017
73f0f3e
[client-app] Detect when the worker window is unavailable
Mar 27, 2017
4ad4596
[client-app, client-sync] Add specs for detecting stuck sync/worker w…
Mar 27, 2017
44e51a0
[client-app] only re-install for optional deps on mac
Mar 27, 2017
fc5645b
[client-app] remap windows dev shortcuts
Mar 28, 2017
ddee8b8
[client-app] directly call windows relaunch on squirrel update
Mar 28, 2017
83cab70
[client-app] add better documentation to windows update
Mar 28, 2017
adff689
[client-sync] Change where we report sync activity
Mar 27, 2017
60549fe
bump(version): 1.0.49
Mar 28, 2017
caf5380
[client-app] Fix importing SyncActivity
jstejada Mar 28, 2017
1a1db50
[client-app] Update changelog
jstejada Mar 28, 2017
ff9d49e
[client-app] Fix runtime error in FetchMessagesInFolderTask
jstejada Mar 28, 2017
cc61b32
bump(version): 1.0.50
Mar 28, 2017
254b8df
[client-app] Update changelog
jstejada Mar 28, 2017
da74dc2
[client-app] change file description on Windows
Mar 28, 2017
60e6113
[client-sync] Implement the /contacts/rankings endpoint
Mar 22, 2017
0508180
[client-sync] Don't throttle while syncing first 500 threads
Mar 27, 2017
da018c3
[client-app] Report battery state changes to Mixpanel
Mar 27, 2017
d6a2b69
[client-sync] Also prioritize sent label for initial Gmail sync
Mar 27, 2017
b8883cd
[dev] Only bootstrap specific pkgs in postinstall for faster installs
jstejada Mar 27, 2017
e347ba2
[dev] Correctly ignore node_modules in .ebignore for faster deploys
jstejada Mar 27, 2017
cfb5c20
[client-sync] :art: typo
jstejada Mar 28, 2017
76234ea
[client-app] Correctly listen for new mail in between sync loops
jstejada Mar 28, 2017
a57e4bd
[cloud-api] Verify SMTP credentials in /auth endpoint
spang Mar 10, 2017
6202a46
[client-sync] Fix runtime error introduced in 08975c0
jstejada Mar 28, 2017
212dd44
[client-app] properly relaunch windows on autoupdate
Mar 28, 2017
9a7ce16
[client-app] add SHOW_HOT_WINDOW env for prod debugging of window lau…
Mar 28, 2017
e9be716
[dev] Make help message better on deploy-it
spang Mar 28, 2017
a214d91
[dev] Make deploy-it say what it's doing instead of hanging silently
spang Mar 28, 2017
f0cd18e
[dev] Make deploy-it print link to the EB console
spang Mar 29, 2017
9eabfa5
[dev] One more newline in deploy-it output
spang Mar 29, 2017
ca50e6c
[client-sync] Make sure to attach route files ending in .es6 to local…
jstejada Mar 28, 2017
8e7e8ef
bump(version): 1.0.51
Mar 29, 2017
7e123d4
[client-app] Update changelog
jstejada Mar 29, 2017
c2a0df1
[dev] Default billing server URL to staging for development, allow ov…
spang Mar 12, 2017
69aa71e
[client-app] Reindex threads when they're updated
Mar 8, 2017
78b9cf8
[client-sync] Fix "in:" for IMAP search
Mar 28, 2017
d8e22aa
[client-app] don't trigger your own opens & link clicks
emorikawa Mar 29, 2017
9d15ff7
[client-app] ensure gmail msg to 1 person get tracking stripped
emorikawa Mar 29, 2017
745dac7
[client-app] Don't delay db queries unless we are retrying
jstejada Mar 29, 2017
8e03ca6
[client-app] Reduce max retry delay for db queries
jstejada Mar 29, 2017
d26a3e7
[client-app] Improve logging for background database queries
jstejada Mar 29, 2017
ec51e98
[client-app] Improve logging for queries
jstejada Mar 29, 2017
caac7cd
[client-app] Log duration of db ANALYZE query
jstejada Mar 29, 2017
c7e4c2b
[client-app] Fix references to RetryableError imports
jstejada Mar 29, 2017
fa50657
[client-app] Add initial sync benchmarking script
Mar 28, 2017
df1acb8
[client-app] Fix thread reindexing loop
Mar 29, 2017
5196f0e
bump(version): 1.0.52
Mar 30, 2017
2b67f13
[client-app] Add better DB logging with ENABLE_SEQUELIZE_DEBUG_LOGGING
emorikawa Mar 30, 2017
b72e082
[client-app] Add silent flag to DB persists for thread indexing
emorikawa Mar 30, 2017
2d1a371
[client-app] Update changelog
jstejada Mar 30, 2017
c11a7ff
[client-sync] Interrupt long-running syncback tasks
Mar 29, 2017
4c1af8f
[client-sync] Convert syncback tasks to interruptible generators
Mar 29, 2017
5c08018
[client-app] Add search support for "has:attachment"
Mar 29, 2017
9270ff6
[client-app] Add script that benchmarks new commits
Mar 30, 2017
a776e6d
[client-sync] Report metrics about SyncbackTask runs
Mar 30, 2017
f5f5b60
[client-sync] Add provider to syncbackTask perf metric
Mar 30, 2017
f9c0a93
[client-app] use debug library for DB
emorikawa Mar 31, 2017
559ecb1
[client-app] rename DatabaseTransaction -> DatabaseWriter
emorikawa Mar 31, 2017
ae278fa
[client-app] add `DatabaseStore.write` which doesn't use Transactions
emorikawa Mar 31, 2017
13ac2fa
bump(version): 1.0.53
Mar 31, 2017
c6a339d
[client-sync] Fix the new syncback-task structure
Mar 31, 2017
ae2e212
[client-sync] Properly wrap the SyncWorker arg in an object
Mar 31, 2017
af6e6e6
[client-sync] Wrap more syncWorker args
Mar 31, 2017
58cf02a
[client-app] Don't hit contact rankings endpoint until account is ready
jstejada Mar 31, 2017
9181914
[client-app] Ensure sync worker can never continue running after bein…
jstejada Mar 31, 2017
590b17a
[client-app] Don't imeout removing sync worker when removing an account
jstejada Mar 31, 2017
4deef8b
[client-app] delay building new hot window to improve win perf
emorikawa Mar 31, 2017
0205ac3
[client-sync] Simplify Contact ranking query
Mar 31, 2017
328ea42
bump(version): 1.0.54
Mar 31, 2017
e6b399e
[client-app] remove the `ANALYZE` in favor of `pragma.optimize`
emorikawa Mar 31, 2017
f6a0ead
[client-app] Remove getUnindexedAccounts
Mar 31, 2017
c4763d4
[client-app] Update changelog
jstejada Mar 31, 2017
70bb602
[client-sync] Split Contact ranking query
Mar 31, 2017
1864a2d
[client-sync] Add comment about reason for try/catch block
Mar 31, 2017
96685be
[client-app] don't override existing bodies on K2
emorikawa Mar 31, 2017
7e0194e
bump(version): 1.0.55
Mar 31, 2017
be237d0
[client-app] Remove unecessary db setup for mail rules
jstejada Mar 31, 2017
020fd79
[client-app] Update changelog
jstejada Apr 1, 2017
b01976f
[client-app] Remove rogue scripts-tmp folder
jstejada Apr 3, 2017
11684c6
[client-app] enable snooze, send later, reminders on 1.0.56
emorikawa Apr 3, 2017
368201f
[client-app] add feature limits to reminders and send later
emorikawa Apr 3, 2017
2f082f8
[client-app] re-setup IdentityStore in new window
emorikawa Apr 3, 2017
7079b21
[client-sync] Don't assign duplicate roles in folder fetch
Mar 28, 2017
7818f42
[client-app] Fix sqlite build for older versions of clang
Apr 3, 2017
dfde1b9
bump(version): 1.0.56
Apr 4, 2017
f6bc2c4
bump(version): 2.0.0
emorikawa Apr 4, 2017
e06f729
[client-app] Limit search to focused perspective
Apr 3, 2017
f629818
[client-app] Remove sudo from benchmark-initial-sync.sh
Apr 4, 2017
7dec807
[client-sync] Fix mail listener imap connection
jstejada Apr 4, 2017
a461490
[client-sync] Ensure we use refreshed access token for mail listener …
jstejada Apr 4, 2017
4eef086
[client-app] Fix benchmark script
Apr 4, 2017
bd933f1
[scripts] Add script to upload benchmark data to Google Sheets
spang Apr 4, 2017
00e1df8
[client-app] Add script to run benchmarks once per day at specified time
Apr 4, 2017
2095f09
[scripts] Batch upload each row
spang Apr 4, 2017
d1b81b6
[client-app] Prevent from making any requests when NylasID isn't present
jstejada Apr 4, 2017
7d99567
[client-app] Make sure to fetch latest update url every time we check…
jstejada Apr 4, 2017
2b39af5
[client-app] Allow the packageMigrationManager to re-enable packages
Apr 4, 2017
5c8915f
[client-app] Fix the unapply transformation for overlaid components
Apr 4, 2017
2949ecf
[client-sync] :art: sync worker
jstejada Apr 4, 2017
f8d84a7
[iso-core] Remove unused vars from IMAPConnectionPool
jstejada Apr 5, 2017
d75a5ee
[client-app] Add better logging when restarting stuck sync worker
jstejada Apr 5, 2017
a3072f6
[client-sync] :art: logging
jstejada Apr 5, 2017
08a697e
[cloud-*] log errors according to bunyan specs
emorikawa Apr 5, 2017
78a1570
[cloud-*] remove old SignalFX reporter & add docs
emorikawa Apr 5, 2017
5269c11
[client-sync] Prevent IMAP connection leaking in sync worker
jstejada Apr 5, 2017
f708e3a
[iso-core] IMAPConnectionPool now correctly disposes connections `onD…
jstejada Apr 5, 2017
3653a66
bump(version): 2.0.1
Apr 5, 2017
fc7856b
[client-sync] Fix runtime error when getting sync activity for account
jstejada Apr 5, 2017
d9a9d66
[client-sync] Fix syncWorker arg
Apr 5, 2017
9659467
[client-app] Some final benchmark fixes
Apr 5, 2017
4904a9a
[client-app] Updates to feature limiting
emorikawa Mar 6, 2017
b5a19dd
bump(version): 2.0.2
Apr 5, 2017
cfe2971
[*] Revamp SSL options (including user-facing)
spang Apr 6, 2017
68b5550
bump(version): 2.0.3
Apr 6, 2017
bb03d3c
bump(version): 2.0.4
Apr 6, 2017
8633058
[isomorphic-core] Ensure IMAPConnPool uses updated account credentials
jstejada Apr 6, 2017
2ee67d2
[iso-core, cloud-*] move generate XOAuth2 & fix first auth usage
emorikawa Apr 6, 2017
50c0329
bump(version): 2.0.5
Apr 6, 2017
5880f2a
[client-app] Always fetch and update identity regardless of env
jstejada Apr 6, 2017
10d199f
[dev] Ensure daily script grabs current version after pulling latest …
jstejada Apr 6, 2017
3074ee2
bump(version): 2.0.6
Apr 6, 2017
d09312c
[cloud-*] Switch MySQL charset to utf8mb4
spang Apr 6, 2017
236c71e
[iso-core, cloud-*] catch JSON parse errors in DB columns
emorikawa Apr 7, 2017
0131837
[cloud-workers] [send-later] Fix send later token expiration
khamidou Apr 7, 2017
17ade15
bump(version): 2.0.7
jstejada Apr 7, 2017
7630103
[client-app] Ensure SyncbackMetadataTask dependency to prevent versio…
jstejada Apr 7, 2017
a30e63c
bump(version): 2.0.8
Apr 7, 2017
3befaf2
[client-app] Update changelog
jstejada Apr 7, 2017
b323e38
[client-sync] Increase sqlite page_size and cache_size
Apr 7, 2017
c808438
[client-sync] Transaction-ify processMessage
Apr 7, 2017
be4b0d7
[client-app] Add benchmark mode
Apr 6, 2017
e8957b7
[isomorphic-core] Handle weird MIME edge case with @ symbol
Apr 5, 2017
07d576d
[client-app] Fix delta streaming connection retries
jstejada Apr 10, 2017
c6db6c3
[client-app] Re-add imap to the onboarding accounts page
Apr 10, 2017
15c3e32
[client-sync] Poll for gmail attribute changes from `_mailListenerIMA…
Apr 10, 2017
a412580
bump(version): 2.0.9
Apr 11, 2017
f6f8f16
[client-app] Update changelog
jstejada Apr 11, 2017
f82c72a
[client-sync] Don't report stuck sync processes to Sentry
Apr 11, 2017
379edfe
[*] MessageFactory -> MessageUtils, SendUtils -> ModelUtils
Apr 5, 2017
840ebeb
[isomorphic-core] Move buildMime to MessageUtils, add includeBcc option
Apr 5, 2017
6159402
[isomorphic-core] Add missing .default to require
Apr 11, 2017
d226eaf
[client-app] Fix SyncbackMetadataTask dependency
Apr 11, 2017
0525767
[client-sync] Ensure allmail folder exists before trying to access it
jstejada Apr 11, 2017
545f6a3
bump(version): 2.0.10
Apr 11, 2017
58d2274
[client-app] Update changelog
jstejada Apr 11, 2017
8d9b247
[client-app] Rate limit database malformed error reports to sentry
jstejada Apr 11, 2017
d30559a
Revert "[client-sync] Transaction-ify processMessage"
jstejada Apr 12, 2017
b6771ea
[client-app] Fix unhandled rejection handling (fix ipc parse error)
jstejada Apr 12, 2017
1bf453d
[client-app] Don't double report unhandled rejections
jstejada Apr 12, 2017
811843f
Revert "[client-sync] Poll for gmail attribute changes from `_mailLis…
jstejada Apr 12, 2017
8d4ef16
[client-sync] Dispose of mail listener connection before getting new one
Apr 12, 2017
3396254
bump(version): 2.0.11
Apr 12, 2017
e4dcfa4
[client-app] Update changelog
jstejada Apr 12, 2017
664da98
[*] Remove useless docs
jstejada Apr 12, 2017
9c889c7
[client-app] Prevent old N1 config from getting wiped when installing…
jstejada Apr 13, 2017
d5a2afd
[client-app] Fix runtime error in FetchFolderList
jstejada Apr 13, 2017
a7b1034
[client-app] Prevent NM from overwriting N1 binary on windows
jstejada Apr 13, 2017
94dc4d0
bump(version): 2.0.12
Apr 13, 2017
aa7749d
[client-app] Update changelog
jstejada Apr 13, 2017
911d75b
[client-app] Correctly handle window.unhandledrejection events
jstejada Apr 13, 2017
fc55835
[client-app] Upload nupkg with correct name for win32 autoupdater to …
jstejada Apr 13, 2017
1f307f6
bump(version): 2.0.13
Apr 13, 2017
9fbee22
[client-app] Update changelog
jstejada Apr 13, 2017
91f5ca4
[client-app] Update changelog
jstejada Apr 13, 2017
b112343
[client-sync] Fix contact ranking error
Apr 13, 2017
c6f7a86
[client-sync] Init SyncProcessManager with Identity
jstejada Apr 14, 2017
373eb96
[client-sync] Correctly remove sync worker reference when destroying it
jstejada Apr 14, 2017
00aa499
[client-sync] Prevent duplicate accounts and sync workers
jstejada Apr 14, 2017
66b9bd1
bump(version): 2.0.14
Apr 14, 2017
f9a7a59
[client-app] Update changelog
jstejada Apr 14, 2017
2c22d1a
[client-app] Update changelog
jstejada Apr 14, 2017
5b99c56
[client-app] Remove dead mail rules code
jstejada Apr 15, 2017
26868f6
[client-app] Correctly handle db malformed errors in main process
jstejada Apr 15, 2017
ad50fde
[client-app] When resetting database, make sure to re-init db reader
jstejada Apr 16, 2017
4a25f63
[client-app] Database malformed errors shouldn't be retryable
jstejada Apr 16, 2017
8b9d98c
bump(version): 2.0.15
Apr 17, 2017
92c3d8c
[client-app] Fix benchmark mode
Apr 14, 2017
1f9e2e0
[client-app] Update changelog
jstejada Apr 17, 2017
be5c3d2
Merge private repo
jstejada Apr 17, 2017
0d8f85a
Fix broken image url in README.md (#3349)
binhonglee Apr 12, 2017
8d21d89
[client-app, client-sync] Move messages out of db into compressed fla…
Apr 13, 2017
148fbfd
[*] Postinstall should install client-sync regardless of private plugins
jstejada Apr 18, 2017
daf7f9e
[*] postinstall: Don't try to link cloud specs if pkgs don't exist
jstejada Apr 18, 2017
5c397f5
Merge remote-tracking branch 'private/for-merging' into merge-private
jstejada Apr 18, 2017
d407699
[client-sync] Correctly pass path when processing bodies
jstejada Apr 18, 2017
93abaec
Merge remote-tracking branch 'private/for-merging'
jstejada Apr 18, 2017
6d2c2b2
[client-app] Update changelog
jstejada Apr 18, 2017
23eba90
the email match should be case insensitive when selecting the alias
yehiasalam Apr 24, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": [
"electron",
"react"
],
"sourceMaps": "inline"
}
106 changes: 106 additions & 0 deletions .coffeelint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"arrow_spacing": {
"level": "ignore"
},
"camel_case_classes": {
"level": "error"
},
"coffeescript_error": {
"level": "error"
},
"colon_assignment_spacing": {
"level": "ignore",
"spacing": {
"left": 0,
"right": 0
}
},
"cyclomatic_complexity": {
"value": 10,
"level": "ignore"
},
"duplicate_key": {
"level": "error"
},
"empty_constructor_needs_parens": {
"level": "ignore"
},
"indentation": {
"value": 2,
"level": "error"
},
"max_line_length": {
"value": 140,
"level": "error",
"limitComments": true
},
"missing_fat_arrows": {
"level": "ignore"
},
"newlines_after_classes": {
"value": 3,
"level": "ignore"
},
"no_backticks": {
"level": "error"
},
"no_debugger": {
"level": "warn"
},
"no_empty_functions": {
"level": "ignore"
},
"no_empty_param_list": {
"level": "ignore"
},
"no_implicit_braces": {
"level": "ignore",
"strict": true
},
"no_implicit_parens": {
"strict": true,
"level": "ignore"
},
"no_interpolation_in_single_quotes": {
"level": "ignore"
},
"no_plusplus": {
"level": "ignore"
},
"no_stand_alone_at": {
"level": "ignore"
},
"no_tabs": {
"level": "error"
},
"no_throwing_strings": {
"level": "error"
},
"no_trailing_semicolons": {
"level": "error"
},
"no_trailing_whitespace": {
"level": "error",
"allowed_in_comments": false,
"allowed_in_empty_lines": true
},
"no_unnecessary_double_quotes": {
"level": "ignore"
},
"no_unnecessary_fat_arrows": {
"level": "warn"
},
"non_empty_constructor_needs_parens": {
"level": "ignore"
},
"prefer_english_operator": {
"level": "ignore",
"doubleNotLevel": "ignore"
},
"space_operators": {
"level": "ignore"
},
"spacing_after_comma": {
"level": "ignore"
}
}
6 changes: 0 additions & 6 deletions .dockerignore

This file was deleted.

5 changes: 0 additions & 5 deletions .env

This file was deleted.

2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"semi": "off",
"no-mixed-operators": "off",
"import/extensions": ["error", "never", { "json": "always" }],
"import/no-unresolved": ["error", {"ignore": ["nylas-exports", "nylas-component-kit", "electron", "nylas-store", "react-dom/server", "nylas-observables", "windows-shortcuts", "moment-round", "better-sqlite3", "chrono-node", "event-kit", "enzyme"]}],
"import/no-unresolved": ["error", {"ignore": ["nylas-exports", "nylas-component-kit", "electron", "nylas-store", "react-dom/server", "nylas-observables", "windows-shortcuts", "moment-round", "better-sqlite3", "chrono-node", "event-kit", "enzyme", "isomorphic-core"]}],
"import/no-extraneous-dependencies": "off",
"import/newline-after-import": "off",
"import/prefer-default-export": "off",
Expand Down
75 changes: 69 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,75 @@
.DS_Store
##### Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

##### Arcanist / Phab
**/.arcconfig
**/.arclint
**/arclib

##### Client Private Plugins (symlinked)
**/client-app/src/error-logger-extensions
**/client-app/src/nylas-private-*
**/internal_packages/nylas-private-*
**/internal_packages/activity-list
**/internal_packages/composer-mail-merge
**/internal_packages/composer-scheduler
**/internal_packages/link-tracking
**/internal_packages/open-tracking
**/internal_packages/send-later
**/internal_packages/send-reminders
**/internal_packages/thread-sharing
**/internal_packages/client-sync

##### Node modules
node_modules
dump.rdb
*npm-debug.log
storage/
lerna-debug.log
newrelic_agent.log
!packages/client-app/spec/fixtures/packages/package-with-incompatible-native-module/node_modules
**/npm-debug.log*
**/lerna-debug.log*

##### Certs for building
**/build/resources/certs

##### Misc swap files
**/*.swp
**/*.swo
**/*~
**/*#
**/.DS_Store
**/Thumbs.db
**/#emacs

# Built cloud files
n1_cloud_dist

# Built Nylas Mail client
packages/client-app/dist

# Tests
spec-saved-state.json

# Symlinked Jasmine config files
**/jasmine/config.json
!packages/isomorphic-core/spec/jasmine/config.json

# Symlinked isomorphic-core Specs
packages/client-app/spec/isomorphic-core

# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

# Sqlite amalgamation for scripts
scripts/sqlite

# Scripts for calculating statistics
scripts/toolbox
scripts/venv

# Python
*.pyc

# OAuth client secret for talking to Google Sheets
client_secret.json
59 changes: 59 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# The private Nylas monorepo build script. This will build a full signed
# release for the Nylas Mail client
sudo: false

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- clang
- fakeroot
- g++-4.8
- git
- libgnome-keyring-dev
- xvfb
- rpm
- libxext-dev
- libxtst-dev
- libxkbfile-dev

branches:
only:
- master
- /ci-.*/
- /stable.*/

matrix:
include:
- os: linux
env: NODE_VERSION=6.9 CC=gcc-4.8 CXX=g++-4.8 DEBUG="electron-packager:*" INSTALL_TARGET=client
- os: osx
env: NODE_VERSION=6.9 CC=clang CXX=clang++ SIGN_BUILD=true DEBUG="electron-packager:*" INSTALL_TARGET=client

before_install:
- openssl aes-256-cbc
-K $encrypted_faf2708e46e2_key
-iv $encrypted_faf2708e46e2_iv
-in packages/client-private-plugins/encrypted_certificates/travis/travis-files.tar.enc
-out packages/client-private-plugins/encrypted_certificates/travis/travis-files.tar
-d;
- mkdir packages/client-app/build/resources/certs;
- tar xvf packages/client-private-plugins/encrypted_certificates/travis/travis-files.tar
--directory=packages/client-app/build/resources/;
- source packages/client-app/build/resources/certs/mac/set_unix_env.sh;

install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION

script:
- npm install && npm run build-client && npm run upload-client

cache:
directories:
- node_modules
- apm/node_modules
Loading