Commit graph

3332 commits

Author SHA1 Message Date
Aaron Sikes fd61c37985 Change pending unread notification stack to be a queue (#2517)
* Remove double negative from test label

It always takes me a second to read a double negative, and be sure I
understood correctly. It's also particularly troublesome for non-native
English speakers.

* Change pending unread notification stack to be a queue

Consider the case where a user launches N1, and has 3 unreads since
their last launch. Additionally, after N1 has launched, they begin
receiving a new mail every 2 seconds.

Current behavior would be a notification for 1 of the 3 unread emails,
then every 2 seconds a notification for the most recently received mail.
They would only finally receive notifications for the other 2 original
messages once they stopped getting new mail.
2016-07-08 11:30:33 -07:00
Logan Davis 40f9e5172a pgp-plugin update (#2534)
* Fix private key email-adder, add "no private key" error

The decrypt UI is seriously confusing some people. This commit
adds an error message that should at least stop them from trying
to decrypt a message without a private key to speak of. Also,
there was a dumb hardcoded true in validAddress.

* Adds incorrect passphrase notification; enables carriage return for popover

The passphrase popover was woefully inadequate. It didn't tell users
when they had the wrong password - it just closed without saying anything -
and you couldn't even use carriage return to submit the password.
This commit fixes those mistakes by buffing out passphrase-popover.cjsx.

* Adds private key popover to decrypt button

The decrypt UI was confusing and didn't provide the user with
an option to get a key imported from the message view. This
mondo commit adds an entirely new popover so that the user
never again will be forced to go to the preferences page.

* Adds more forgiving encrypted block parsing

* Overhauls decryption error handling

The decrypt UI didn't clearly communicate error messages from the
failure in PGPKeyStore.decrypt up to the user. This commit adds
nice error surfacing as well as some pretty colors.

* Fix encrypt modal key miscount error via getKeyContents coercion

On Linux and Windows, fs.watch double-triggers on some actions in
the key folder, for reasons that aren't super clear. This was causing
issues where the encrypt modal would report not having a key loaded
even though the key was totally loaded and saved. This commit sort
of kludgily forces the modal to run getKeyContents for every key
it has saved right before it returns them all. This would probably
be better fixed with a refactor the the PGP Keystore.

* remember to close popover, d'oh

* patch key picker modal styling for Linux and Windows

* response to review
2016-07-08 11:29:10 -07:00
Ollie Ford 9b75ea72e6 removes phishing warning for different subdomains (#2420)
This commit improves on nylas/N1#2343 (which allowed From and
Reply-To to be different aliases @ the same domain) by allowing the
address to differ by a subdomain.

For example, the pairs:

    From: foo@bar.com
    Reply-To: foo@sub.bar.com

    From: foo@bar.co.uk
    Reply-To: foo@other.bar.co.uk

    From: foo@bar.com
    Reply-To: foobar@bar.com
are each now allowed without warning.
2016-07-08 11:20:19 -07:00
Jonas Strømsodd e620b98d4c Make display of onboarding page conditional. (#2485)
When running against a custom Sync Engine, viewing the onboarding page
on startup does not make much sense. This here adds code that checks for
the `env` of the Nylas config and skips the onboarding if it is `local`
or `custom`.
2016-07-08 11:14:42 -07:00
Aaron Sikes 93b01d574a Mention test focusing and skipping in CONTRIBUTING (#2514) 2016-07-08 10:57:41 -07:00
Carson Ip ee3987ac70 Fix failing clean script (#2554)
The clean script fails since productName is "Nylas N1" which contains a
space and it appears to pkill 2 patterns. This is causing the script to
stop in my linux machine. Now the productName is wrapped with quotes to
prevent this from happening.
2016-07-08 10:57:12 -07:00
Ben Gotow 688147b2e3 Update Windows.py to remove Node 0.10x 2016-07-08 10:52:08 -07:00
Ben Gotow 856afb991a fix(auth): ssl_required => true instead of "on" 2016-06-30 13:38:54 -07:00
Jackie Luo 6837c0d675 update(readme): Remove Scheduler from plugins list 2016-06-29 17:19:03 -07:00
Jackie Luo 8decf37c39 🎨(tracking): Tweak style 2016-06-20 18:14:26 -07:00
Evan Morikawa 74e3d14d0f fix(win): fix alt-based worker window keyboard shortcut 2016-06-17 10:08:12 -04:00
Evan Morikawa bee6708a4a fix(analytics): fix identify debounce to prevent phantom profile 2016-06-17 10:08:01 -04:00
Evan Morikawa b755acda3d fix(github): fix view on Github buttton
Error due to action import.
Convert to ES6
2016-06-17 10:07:05 -04:00
Juan Tejada ce3cae93c5 fix(sidebar): Make sure saved sidebar accts are correct
- Sidebar accounts may become invalid when switching from staging to
prod
2016-06-16 16:40:47 -07:00
Juan Tejada 4c861ff007 fix(quoted-text): Add option to remove quoted-text, fix styles
- #2323
2016-06-16 15:37:58 -07:00
Jackie Luo fddb5e06f6 feat(spellcheck): Add option to disable spellcheck 2016-06-16 15:12:19 -07:00
Akash Nimare a3d62cf8f1 Fixed broken links. (#2470) 2016-06-16 15:09:24 -07:00
Jackie Luo 91d3e3d213 fix(subscription): Change copy to be less confusing 2016-06-16 12:23:06 -07:00
Annie 30bb68ddd5 fix(label-nesting): maintain nested labels when renaming a label
Summary:
when renaming nested labels, maintain nested path
fixes #2402

Test Plan: created nested labels and successfully tested in dev

Reviewers: juan

Reviewed By: juan

Subscribers: evan

Differential Revision: https://phab.nylas.com/D3028
2016-06-15 16:48:26 -07:00
Halla Moore 93455db929 fix(specs): Fix specs on Linux
Summary: Specs were failing on Linux, this diff fixes them.

Test Plan: Unit tests

Reviewers: evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3029
2016-06-15 16:30:52 -07:00
Keith Armstrong f8d0c82647 Update broken links for guides, docs, and API (#2455)
Also updated schemes of some links to https for consistency
2016-06-15 15:29:52 -07:00
Jackie Luo 3b9d38e493 fix(identity): Convert datetimes to milliseconds 2016-06-14 15:04:18 -07:00
Ben Gotow 5cb595e9fe fix(mail-merge): Patch to prevent interaction with other ParticipantTextFields 2016-06-14 14:02:32 -07:00
Ben Gotow 0511c12503 fix(keybase): Don't run specs which require keybase API 2016-06-14 13:26:10 -07:00
Ben Gotow 09addb80a2 Pgp patch (#2430)
* update icons

* style commit

* Debugs export function

The key Export function used to not successfully show items in
their directories and also depend on the most recent attachment
download location. This commit adds a new savedState attribute
just for Keybase keys and also handles the case where that value
is null.

* Forces delete to populate

fs.watch() was acting up and not triggering populates on deletes.
Now deleteKey() just triggers a populate.

* Re-enables decryption of attachments from Enigmail

Decryption of attachments was disabled in the Great Password Popover
Refactor of Early June 2016. This commit adds that feature back
(and makes some changes to getKeyContents to facilitate that
change).
2016-06-14 13:22:38 -07:00
Ben Gotow 3baa987c61 fix(keybase): Invite fetch doesn't need JSON parse 2016-06-14 12:26:43 -07:00
Ben Gotow 3b79b4a2e0 fix(identity): Show number of days remaining correctly 2016-06-14 11:52:15 -07:00
Adrian Grant d92dba6166 Add Website Launcher community plugin (#2407) 2016-06-14 11:43:41 -07:00
Ben Gotow b84bc5fd61 bump(version): 0.4.45 2016-06-14 01:45:52 -07:00
Ben Gotow b040433466 fix(login-links): Cap req to 1.5s, ensure pages always open 2016-06-14 01:23:22 -07:00
Ben Gotow 10753e128c fix(keybase): Add a small button to redeem a keybase invite 2016-06-13 17:40:21 -07:00
Jackie Luo 4ea106db3e 🎨(loading): Remove supplement text 2016-06-13 16:32:46 -07:00
Jackie Luo 9661430268 fix(view-on-github): Import Actions correctly 2016-06-13 16:19:46 -07:00
Ben Gotow bb2cf67722 fix(onboarding): Minor asset tweaks 2016-06-13 15:19:01 -07:00
Ben Gotow f49239dcf2 fix(pro): Add manual refresh to identity page 2016-06-13 12:06:53 -07:00
Juan Tejada 6b787259ef bump(version): 0.4.44 2016-06-13 12:05:11 -07:00
Evan Morikawa e6dc7f7b4b fix(analytics): move to work window 2016-06-13 13:14:15 -04:00
Evan Morikawa 75a785e683 fix(identity): enable proper People support 2016-06-12 21:13:46 -04:00
Jackie Luo b960a0bef7 fix(activity): Add thread ID to notifications 2016-06-10 15:55:21 -07:00
Ben Gotow 5f13982399 fix(pro): Replace subscriptionRequiredAfter 2016-06-10 14:36:37 -07:00
Juan Tejada 991453f4dc fix(send-task): Update to use Message::participants
- Fix participants method signature for correct default params
2016-06-10 13:27:40 -07:00
Ben Gotow 11fb1aefdc fix(sending): Minor changes to cleanup phase of sending 2016-06-10 12:35:56 -07:00
Juan Tejada e5b31603d3 fix(menus): Add missing Window menu to win32 and linux 2016-06-10 11:55:59 -07:00
Evan Morikawa b5212d1d1b fix(spec): fix failing draft specs 2016-06-10 11:54:47 -07:00
Evan Morikawa 7e749f2059 fix(multi-send): show dependent errors in session close task 2016-06-10 11:54:18 -07:00
Juan Tejada 1fffd843a0 fix(specs): Fix DraftStore and SendManyDraftsTask specs 2016-06-10 11:32:38 -07:00
Juan Tejada 95b44ed149 fix(mail-merge): Remove unecessary shouldComponentUpdate on decorator
- `shouldComponentUpdate` on ListensToMailMergeSession decorator prevented
the default TokenizingTexField from being rendered even when mail merge
was inactive.
- It incorrectly assumed that the only state the decorated component
cares about was the mail merge session state
2016-06-10 10:55:48 -07:00
Evan Morikawa 20b5b69b66 fix(draft): delay draft re-opening w/ errors to allow time to close 2016-06-10 09:32:18 -07:00
Juan Tejada d69126c8eb fix(mail-merge): Correctly update tokens when new csv is imported
- MailMergeBodyToken now keeps internal state to track when the column
its linked to has changed
- Fix subject regex
2016-06-10 00:28:44 -07:00
Ben Gotow 2fb8ecc9db fix(moves): Improve labeling of ChangeLabelTasks 2016-06-09 18:21:08 -07:00