Commit graph

6006 commits

Author SHA1 Message Date
Ben Gotow
38c6ecea00 Limit number of results shown in search dropdown 2017-06-25 16:38:16 -07:00
Ben Gotow
29e7afce51 FTS5 search indexing is moving to c++ 2017-06-25 10:45:13 -07:00
Ben Gotow
ddb7d8d793 react-addons-test-utils => react-dom/test-utils 2017-06-25 01:24:25 -07:00
Ben Gotow
bd9983005c Remove deprecations still supported by client 2017-06-25 01:06:54 -07:00
Ben Gotow
555681546d Fix remaining references to draftId => headerMessageId 2017-06-25 00:59:16 -07:00
Ben Gotow
4966ae3650 Draft creation, saving, deletion moved to c++ 2017-06-25 00:46:01 -07:00
Ben Gotow
3c56e2fbfd Remove isomorphic-core and related packages 2017-06-24 20:34:01 -07:00
Ben Gotow
d53606922f Remove Attributes.ServerId 2017-06-24 20:03:35 -07:00
Ben Gotow
ab0908b263 Cleanup 2017-06-24 19:58:19 -07:00
Ben Gotow
f038c97144 Move thread counts logic to c++ 2017-06-24 18:40:41 -07:00
Ben Gotow
f37aa13780 Fix double fromJSON issue 2017-06-24 12:16:05 -07:00
Ben Gotow
0bec5719fd Fetch messages on demand 2017-06-24 02:28:13 -07:00
Ben Gotow
07428a1060 Remove keybase plugin 2017-06-23 18:23:12 -07:00
Ben Gotow
9977c566df Add fonts and sounds for now 2017-06-23 18:22:51 -07:00
Ben Gotow
07f838bfc9 Get rid of more code 2017-06-23 18:12:28 -07:00
Ben Gotow
2d1ce345c3 Get rid of more code no longer needed 2017-06-23 18:08:46 -07:00
Ben Gotow
6aa666837e Break apart category picker into labels vs folders 2017-06-23 18:01:14 -07:00
Ben Gotow
a9a57de215 Remove more perf and timing stuff 2017-06-23 16:30:28 -07:00
Ben Gotow
799ccce640 Revert "[client-app] Measure and report inline composer open times + consolidate timers"
This reverts commit f467664bde.

# Conflicts:
#	packages/client-app/src/flux/stores/draft-store.es6
2017-06-23 16:21:28 -07:00
Ben Gotow
2d423eeac3 Revert "[client-app] Measure and report search perf metrics"
This reverts commit aeddc92e8e.

# Conflicts:
#	packages/client-app/internal_packages/thread-search/lib/search-query-subscription.es6
2017-06-23 16:19:55 -07:00
Ben Gotow
e5a310ab3e Revert "[client-app] Measure and report app boot time"
This reverts commit 7cd5128db4.

# Conflicts:
#	packages/client-app/internal_packages/onboarding/lib/onboarding-root.jsx
#	packages/client-app/internal_packages/thread-list/lib/thread-list.cjsx
#	packages/client-app/src/browser/application.es6
2017-06-23 16:18:01 -07:00
Ben Gotow
63abbd582c Revert "[client-app] Measure and record times for opening account windows"
This reverts commit feda238d9c.

# Conflicts:
#	packages/client-app/internal_packages/onboarding/lib/onboarding-root.jsx
#	packages/client-app/src/browser/application.es6
2017-06-23 16:17:09 -07:00
Ben Gotow
08d8326ca4 Revert "[client-app] Measure and report composer window open times"
This reverts commit ecf3709669.

# Conflicts:
#	packages/client-app/internal_packages/composer/lib/main.jsx
#	packages/client-app/src/flux/stores/draft-store.es6
2017-06-23 16:16:30 -07:00
Ben Gotow
ff4b8b5eb4 Revert "[client-app] Measure and report sending times"
This reverts commit ae9aede300.

# Conflicts:
#	packages/client-app/src/flux/tasks/send-draft-task.es6
2017-06-23 16:12:37 -07:00
Ben Gotow
8288461302 Revert "[client-app] Measure and report time to select and load a thread"
This reverts commit 4c57fcfab4.

# Conflicts:
#	packages/client-app/internal_packages/message-list/lib/message-list.cjsx
2017-06-23 16:12:20 -07:00
Ben Gotow
e2f27c3287 Revert "[client-app] Measure and report times for trashing and marking as spam"
This reverts commit 19195e9686.

# Conflicts:
#	packages/client-app/src/flux/actions.es6
#	packages/client-app/src/flux/stores/thread-list-actions-store.es6
2017-06-23 16:11:53 -07:00
Ben Gotow
4540ae1cc6 Revert "[client-app] Measure and report times for removing labels from threads"
This reverts commit 6dbbf1e094.

# Conflicts:
#	packages/client-app/src/flux/actions.es6
#	packages/client-app/src/flux/stores/thread-list-actions-store.es6
2017-06-23 16:11:42 -07:00
Ben Gotow
1642b53c98 Revert "[client-app]: Measure and report time when dragging threads to sidebar"
This reverts commit fb85db0964.

# Conflicts:
#	packages/client-app/internal_packages/account-sidebar/lib/sidebar-item.coffee
#	packages/client-app/internal_packages/thread-list/lib/thread-list-quick-actions.cjsx
#	packages/client-app/src/flux/actions.es6
#	packages/client-app/src/flux/stores/thread-list-actions-store.es6
2017-06-23 16:11:17 -07:00
Ben Gotow
8348bb210c Revert "[client-app] Measure and report times for removing from inbox"
This reverts commit 90e49d31aa.

# Conflicts:
#	packages/client-app/src/flux/actions.es6
#	packages/client-app/src/flux/stores/thread-list-actions-store.es6
2017-06-23 16:10:15 -07:00
Ben Gotow
ef9a1b1164 Revert "[client-app] Measure and report archiving times"
This reverts commit a8fbcb0c93.

# Conflicts:
#	packages/client-app/internal_packages/thread-list/lib/thread-list-quick-actions.cjsx
#	packages/client-app/internal_packages/thread-list/lib/thread-list.cjsx
#	packages/client-app/src/flux/actions.es6
#	packages/client-app/src/flux/stores/thread-list-actions-store.es6
#	packages/client-app/src/global/nylas-exports.es6
#	packages/isomorphic-core/src/metrics-reporter.es6
2017-06-23 16:09:29 -07:00
Ben Gotow
0f6fdb4256 Fuck it - tasks don’t performLocal either 2017-06-23 14:57:52 -07:00
Ben Gotow
6d7fe519d9 Remove all database setup from JS app 2017-06-22 15:41:40 -07:00
Ben Gotow
5065ddcf7b Get rid of message bodies => files change, might put it back sometime, but really just download fewer 2017-06-22 15:41:30 -07:00
Ben Gotow
d4d6086636 Remove SetupQueryBuilder - CPP helper will build / migrate database 2017-06-22 15:13:25 -07:00
Ben Gotow
b01f8c485e Remove performRemotes, rip apart TaskQueue 2017-06-22 15:07:04 -07:00
Ben Gotow
af1de37b36 Remote worker-ui 2017-06-22 13:38:44 -07:00
Ben Gotow
973a411145 Remote client-sync 2017-06-22 13:37:29 -07:00
Ben Gotow
8076fa5c36 Finish Category => Folder Label, still use single relation table 2017-06-22 02:37:10 -07:00
Ben Gotow
73f82ec079 Remove Category concept, part 1 2017-06-21 15:16:48 -07:00
Ben Gotow
1219182b0a Remove clientId, serverId concept 2017-06-21 13:12:49 -07:00
Ben Gotow
48fbe1fbac Remove work window, connect to CPP 2017-06-20 00:33:18 -07:00
Ben Gotow
a5afcf17ee bump(version): React 15.6, Electron 1.7.3 2017-06-19 19:12:10 -07:00
Juan Tejada
6d2c2b2af5 [client-app] Update changelog 2017-04-17 23:10:26 -07:00
Juan Tejada
93abaec09a Merge remote-tracking branch 'private/for-merging' 2017-04-17 22:43:25 -07:00
Juan Tejada
d407699a44 [client-sync] Correctly pass path when processing bodies
Summary: see title

Test Plan: manual

Reviewers: mark

Differential Revision: https://phab.nylas.com/D4447
2017-04-17 22:41:51 -07:00
Juan Tejada
5c397f5f7a Merge remote-tracking branch 'private/for-merging' into merge-private 2017-04-17 22:02:29 -07:00
Juan Tejada
daf7f9ec6f [*] postinstall: Don't try to link cloud specs if pkgs don't exist
Summary: see title

Test Plan: manual

Reviewers: evan, spang, mark, halla

Reviewed By: halla

Differential Revision: https://phab.nylas.com/D4446
2017-04-17 22:00:53 -07:00
Juan Tejada
148fbfd936 [*] Postinstall should install client-sync regardless of private plugins
Summary: see title

Test Plan: manual

Reviewers: spang, evan, mark, halla

Reviewed By: halla

Differential Revision: https://phab.nylas.com/D4445
2017-04-17 22:00:43 -07:00
Mark Hahnenberg
8d21d89f0a [client-app, client-sync] Move messages out of db into compressed flat files
Summary:
Previously we stored message bodies uncompressed inside two different
databases. This was bad for a few reasons:

* Duplicate data in multiple places is an obvious waste of disk space
* Uncompressed data also made the disk footprint bigger than it might
  otherwise be
* Storing these large message bodies in the database made the db file
  larger than it otherwise could have been, increasing the size of
  tables and slowing down queries.

This diff adds support for storing message bodies outside of the
database in compressed flat files. It changes the use of the body column
in the K2 database and the MessageBody table in the edgehill database to
contain a blob of JSON that contains a path to the file on disk. We
use the new format in an incremental fashion without having to perform an
actual database migration by first checking if the body matches our expected
JSON format and treating it appropriately if it doesn't. Both databases refer
to the same file on disk, thus deduplicating the messages bodies. We also
transparently support gzipping the message bodies stored on disk when we
read from/write to the files. The real world space savings depends on the
compressibility of the messages, but we've seen up to ~60% improvement in disk
space usage for certain inboxes. Typical savings are closer to 20%. Also, by
storing messages as separate files on disk we can potentially integrate with
Spotlight search at some point in the future.

Test Plan:
Run locally, make sure that upgrade to this doesn't hose things,
look at size of DB, read emails

Reviewers: evan, spang, halla, juan

Reviewed By: halla, juan

Differential Revision: https://phab.nylas.com/D4422
2017-04-17 22:00:32 -07:00
BinHong Lee
0d8f85afa7 Fix broken image url in README.md (#3349) 2017-04-17 17:17:27 -07:00