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

small fixes in documentation #3383

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
76 changes: 35 additions & 41 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,42 @@
# Nylas Mail Changelog

### 1.0.29 (2/21/2017)

- Fixes:

+ You can now click inline images in messages to open them
+ More IMAP errors have been identified as retryable, which means users will
see less errors when syncing an account
+ Improve performance of thread search indexing queries
+ Correctly catch Invalid Login errors when sending

- Development:

+ Developer bar in Worker window now shows single delta connection
+ More code converted to Javascript

### 1.0.28 (2/16/2017)

- nylas-mail:

+ [battery] Add BatteryStatusManager
+ fix(exports) Add backoff schedulers
+ feat(offline) Re add offline status notification
+ reafctor(scheduler): Move SearchIndexer -> SearchIndexScheduler
+ feat(backoff-scheduler): Add a backoff scheduler service

- K2:

+ [local-sync] :art: sync loop error handler
+ [sentry] Don't use breadcrumbs in dev mode
+ [cloud-api] remove latest_cursor endpoint
+ [cloud-api] Log error info on 5xx errors
+ [local-sync] Refresh Google OAuth2 tokens when Invalid Credentials occurs in sync loop
+ Add TODOs about retries in sending
+ [local-sync] Add exponential backoff when retrying syncback tasks
+ [SFDC] Update SalesforceSearchIndexer for new search indexing
+ [cloud-api,cloud-workers,local-sync] Bump hapi version
+ [cloud-api] Reduce request timing precision
+ Bump pm2 version to 2.4.0
+ [cloud-api] KEEP Timeout streaming API connections every 15 minutes
+ Revert [cloud-api] Timeout streaming API connections every 15 minutes
+ [cloud-\*] Properly listen to stream disconnect events to close redis connections
+ [cloud-core, cloud-api] add logging to delta connection
+ [cloud-api] Timeout streaming API connections every 15 minutes
+ [isomorphic-core] add accountId index definition to Transaction table
+ [cloud-api] recover from bad error from /n1/user
+ [local-sync] :art: comment
+ [local-sync] syncback(Part 5): Always keep retrying tasks if error is retryable
+ [local-sync] :fire: Message syncback tasks
+ [cloud-api] Change an extension from .js to .es6
+ [local-sync] syncback(Part 4): Don't always mark INPROGRESS tasks as failed at beginning of sync
+ [local-sync] syncback(Part 3): Fixup
+ [local-sync] syncback(Part 2): Reinstate send tasks back into the sync loop
+ [cloud-api] Add metadata tests
+ [local-sync, cloud-api] Add logic to handle thread metadata
+ [local-sync] syncback(Part 1): Refactor syncback-task-helpers
+ [iso-core] Detect more offline errors when sending
+ [local-sync] Add a better reason when waking sync for syncback
+ [local-sync] More retryable IMAP errors
- Fixes:

+ Fix offline notification bug that caused api outage
+ We now properly handle gmail auth token errors in the middle of the sync loop. This means less red boxes for users!
+ Less battery usage when initial sync has completed!
+ No more errors when saving sent messages to sent folders (`auth or accountId` errors)
+ No more `Lingering tasks in progress marked as failed errors`
+ Syncback tasks will continue retrying even after closing app
+ Syncback tasks retry more aggressively
+ Detect more offline errors when sending, sending is more reliable
+ Imap connection pooling (yet to land)
+ More retryable IMAP errors, means less red boxes for users
+ Offline notification now shows itself when we’re actually offline, shows countdown for next reconnect attempt

- Development:

+ More tests
+ Don't use breadcrumbs in dev mode
+ Add a better reason when waking sync for syncback in the logs
+ BackoffScheduler, BatteryManager added for reusability

### 1.0.27 (2/14/17)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nylas Mail - the open-source, extensible mail client
![N1 Screenshot](https://nylas.com/static/img/home/screenshot-hero-mac@2x.png)
![N1 Screenshot](https://nylas.com/static/img/nylas-mail/hero_graphic_mac@2x.png)

**Nylas Mail is an open-source mail client built on the modern web with [Electron](https://github.com/atom/electron), [React](https://facebook.github.io/react/), and [Flux](https://facebook.github.io/flux/).** It is designed to be extensible, so it's easy to create new experiences and workflows around email. Want to learn more? Check out the [full documentation](https://nylas.github.io/nylas-mail/).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Name=<%= productName %>
Comment=<%= description %>
GenericName=<%= productName %>
Exec=<%= linuxShareDir %>/nylas %U
Icon=nylas
Exec=/usr/bin/nylas-mail %U
Icon=nylas-mail
Type=Application
StartupNotify=true
StartupWMClass=<%= productName %>
Expand Down
115 changes: 0 additions & 115 deletions build/resources/linux/nylas.sh

This file was deleted.

38 changes: 19 additions & 19 deletions build/resources/linux/redhat/nylas.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Version: <%= version %>
Release: 0.1%{?dist}
Summary: <%= description %>
License: GPLv3
URL: https://nylas.com/N1
URL: https://github.com/nylas/nylas-mail
AutoReqProv: no # Avoid libchromiumcontent.so missing dependency

requires: libgnome-keyring
Expand All @@ -12,29 +12,29 @@ requires: libgnome-keyring
<%= description %>

%install
mkdir -p %{buildroot}/usr/local/share/nylas
cp -r <%= contentsDir %>/* %{buildroot}/usr/local/share/nylas
mkdir -p %{buildroot}/usr/share/nylas-mail
cp -r <%= contentsDir %>/* %{buildroot}/usr/share/nylas-mail

mkdir -p %{buildroot}/usr/local/bin/
mkdir -p %{buildroot}/usr/bin/

cp <%= linuxAssetsDir %>/nylas.sh %{buildroot}/usr/local/bin/nylas
chmod 755 %{buildroot}/usr/local/bin/nylas
ln -s ../share/nylas-mail/nylas %{buildroot}/usr/bin/nylas-mail
chmod 755 %{buildroot}/usr/bin/nylas-mail

mkdir -p %{buildroot}/usr/local/share/applications/
mv nylas.desktop %{buildroot}/usr/local/share/applications/
mkdir -p %{buildroot}/usr/share/applications/
mv nylas-mail.desktop %{buildroot}/usr/share/applications/

for s in 16 32 64 128 256 512; do
mkdir -p %{buildroot}/usr/local/share/icons/hicolor/${s}x${s}/apps
cp -p <%= linuxAssetsDir %>/icons/${s}.png %{buildroot}/usr/local/share/icons/hicolor/${s}x${s}/apps/nylas.png
mkdir -p %{buildroot}/usr/share/icons/hicolor/${s}x${s}/apps
cp -p <%= linuxAssetsDir %>/icons/${s}.png %{buildroot}/usr/share/icons/hicolor/${s}x${s}/apps/nylas-mail.png
done

%files
/usr/local/bin/nylas
/usr/local/share/nylas
/usr/local/share/applications/nylas.desktop
/usr/local/share/icons/hicolor/16x16/apps/nylas.png
/usr/local/share/icons/hicolor/32x32/apps/nylas.png
/usr/local/share/icons/hicolor/64x64/apps/nylas.png
/usr/local/share/icons/hicolor/128x128/apps/nylas.png
/usr/local/share/icons/hicolor/256x256/apps/nylas.png
/usr/local/share/icons/hicolor/512x512/apps/nylas.png
/usr/bin/nylas-mail
/usr/share/nylas-mail
/usr/share/applications/nylas-mail.desktop
/usr/share/icons/hicolor/16x16/apps/nylas-mail.png
/usr/share/icons/hicolor/32x32/apps/nylas-mail.png
/usr/share/icons/hicolor/64x64/apps/nylas-mail.png
/usr/share/icons/hicolor/128x128/apps/nylas-mail.png
/usr/share/icons/hicolor/256x256/apps/nylas-mail.png
/usr/share/icons/hicolor/512x512/apps/nylas-mail.png
6 changes: 3 additions & 3 deletions build/tasks/installer-linux-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = (grunt) => {
writeFromTemplate(specInFilePath, templateData)

// This populates nylas.desktop
const desktopInFilePath = path.join(linuxAssetsDir, 'nylas.desktop.in')
const desktopInFilePath = path.join(linuxAssetsDir, 'nylas-mail.desktop.in')
writeFromTemplate(desktopInFilePath, templateData)

const cmd = path.join('script', 'mkrpm')
Expand Down Expand Up @@ -92,14 +92,14 @@ module.exports = (grunt) => {
name: grunt.config('appJSON').name,
description: grunt.config('appJSON').description,
productName: grunt.config('appJSON').productName,
linuxShareDir: '/usr/share/nylas',
linuxShareDir: '/usr/share/nylas-mail',
arch: arch,
section: 'devel',
maintainer: 'Nylas Team <[email protected]>',
installedSize: installedSize,
}
writeFromTemplate(path.join(linuxAssetsDir, 'debian', 'control.in'), data)
writeFromTemplate(path.join(linuxAssetsDir, 'nylas.desktop.in'), data)
writeFromTemplate(path.join(linuxAssetsDir, 'nylas-mail.desktop.in'), data)

const icon = path.join('build', 'resources', 'nylas.png')
const cmd = path.join('script', 'mkdeb');
Expand Down