Commit Graph

443 Commits (e407976e58735ff460763fa0614eb7c933eadb76)

Author SHA1 Message Date
Tom Hacohen e407976e58 Journal Entries: make parse errors non-fatal here too.
This is in continuation to 9abb3dcad9.

Fixes #48
2019-11-20 21:01:46 +02:00
Tom Hacohen fc4b3294f1 Login screen: gracefully handle wrong encryption passwords. 2019-11-20 16:51:06 +02:00
Tom Hacohen 8656d1076f Update react-big-calendar. 2019-11-18 16:45:37 +02:00
Tom Hacohen fcf8f1af58 Upgrade material-ui. 2019-11-18 16:38:14 +02:00
Tom Hacohen 9abb3dcad9 Make parse errors non-fatal
Before this patch, parse errors would make the whole app stop and show
an error. Now we handle them more gracefully by showing the parsing
errors in a non-fatal way.

This was implemented in a hacky way, and will be changed once the web
app is refactored to better resemble the iOS app.

Fixes #48.
2019-11-18 13:12:50 +02:00
Tom Hacohen 95944d87b5 PrettyError: redesign to make more reusable. 2019-11-18 12:39:18 +02:00
Tom Hacohen 8fe360751e Address book: handle contact names with length 0.
We were handling non existent contact names, but not
ones with length 0. This fixes this.

Fixes #62.
2019-11-17 19:31:03 +02:00
Tom Hacohen fbb3aa154c Login Form: fix new user detection following promise middleware changes. 2019-11-12 22:31:45 +02:00
Tom Hacohen 7edb1abfb4 promise middleware: fix to correctly return an error promise on error. 2019-11-12 16:42:36 +02:00
Tom Hacohen c7d4a15f5f Move the etesync-js API to its own repo. 2019-11-12 09:55:35 +02:00
Tom Hacohen f3de2a641a eslint: changed unused-args to always warn. 2019-11-07 12:02:51 +02:00
Tom Hacohen 566261b91a lint: fix all remaining warnings! 2019-11-07 07:55:51 +02:00
Tom Hacohen ab5495e221 Eslint: update rules and adjust code accordingly. 2019-11-06 23:00:32 +02:00
Tom Hacohen 29d4153e60 Fix some tsserver suggestions. 2019-11-06 10:37:56 +02:00
Tom Hacohen 18c7dcc816 EteSync test: fix eslint errors. 2019-11-06 00:41:36 +02:00
Tom Hacohen b9aa69aba2 EteSync: update from iOS repo. 2019-11-06 00:24:49 +02:00
Tom Hacohen 11dd883f5f lint: replace tslint with eslint and fix new warnings and errors. 2019-11-06 00:18:17 +02:00
Tom Hacohen f29edf1563 Update ical.js types. 2019-11-05 18:19:28 +02:00
Tom Hacohen ad9b0717f8 Fix eslint complaint. 2019-11-05 18:19:28 +02:00
Tom Hacohen 514f4ccddb Login: show text about setting the encryption key on first login. 2019-10-29 16:11:38 +02:00
Tom Hacohen 25afd02ba5 Remove recompose dep and use React.memo instead. 2019-10-24 11:20:43 +03:00
Tom Hacohen a252078d65 Use the new getCryptoManager when editing journals/userInfos.
This also fixes an issue when editing and deleting journals after an encryption
password change.
2019-10-24 11:05:09 +03:00
Tom Hacohen f5df8cb4e1 api: import updated version from the ios repo.
Improves types and adds functionality to getting crypto managers.
2019-10-24 10:45:43 +03:00
Tom Hacohen 5aa9640987 store: fix fetchCount to include fetching entries and userInfo. 2019-10-20 13:04:07 +03:00
Tom Hacohen 77c70ffae6 Remove redundant sjcl collectors.
We don't need this because we rely on the browser to provide
good enough random values (which browsers do nowadays).
2019-10-19 11:14:29 +03:00
Tom Hacohen 631a8d1f25 Fix typing issues in EteSync.ts 2019-10-17 21:41:36 +03:00
Tom Hacohen ba8d899d5d Fix eslint warnings. 2019-10-17 00:02:18 +03:00
Claus Niesen ff47e38845 Fix display of recurring events.
Fixes #56
2019-10-15 09:52:00 +03:00
Tom Hacohen 41848aa7e3 Remove useless constructor 2019-09-10 22:41:31 +01:00
Tom Hacohen 21e7d7d822 Add missing img alt text. 2019-09-10 22:41:00 +01:00
Tom Hacohen 8d76e134e8 Contact: change the field copy button to use the correct icon. 2019-09-10 22:28:03 +01:00
Tal Leibman 6d45c31f98 Contacts: Add a button to copy fields to clipboard
Fixes #39
2019-09-10 22:12:47 +01:00
Tom Hacohen ea67bb4b87 AddressBook: fix handling of contacts with empty names.
Fixes #49
2019-09-02 15:36:50 +01:00
Tom Hacohen c0c5af0cab Fix issue with different items across collections sharing the same uid
The existing code falsely (and accidentally) assumed that all items
(even across different collections) will have unique uids. This is a
false assumption, especially when importing one collection into the
other.
2019-08-01 14:43:23 +01:00
Tom Hacohen e85d611aa6 Block sharing of old-style journals. 2019-07-10 12:09:43 +01:00
Tom Hacohen a0da029631 Sync helpers: add a function to create journal entry from sync entry. 2019-06-26 12:51:52 +01:00
Tom Hacohen 28c16ccae5 Journal members: implement giving access 2019-05-28 16:02:52 +01:00
Tom Hacohen d0c9a9c559 Crypto: Add function to get cryptomanager's encryption key. 2019-05-28 15:57:07 +01:00
Tom Hacohen 34e6fc3668 User info: make it possible to deserialize contentless user info. 2019-05-28 15:56:52 +01:00
Tom Hacohen 61a4347a64 PrettyFingerprint: add a widget for pretty showing of fingerprints. 2019-05-28 15:56:52 +01:00
Tom Hacohen 4255e9f3d8 Confirmation dialog: fix confirmation dialog titles. 2019-05-28 13:07:15 +01:00
Tom Hacohen 68b38f115f List: implement right icon for list items. 2019-05-28 11:26:29 +01:00
Tom Hacohen 85ac4da839 Journal members: implement revoking access. 2019-05-28 11:11:39 +01:00
Tom Hacohen a557ec1fd2 Fix creation of default journals for new accounts.
I don't know when it stopped working or why, but this fixes it.
It was obviously an error, and was caused by sloppy typing.
2019-05-27 20:12:26 +01:00
Tom Hacohen 46fe1ceeb6 Gracefully handle wrong encryption passwords.
Until now we just showed integrity error which could be one of many issues.
Now we show an explicit error message and only clear the encryption password
cache rather than the whole cache.
2019-05-21 16:56:34 +01:00
Tom Hacohen dfd6914cd9 Fix version number when saving events/todos. 2019-05-03 09:22:40 +01:00
Tom Hacohen d1293b08c3 Journal: implement importing entries from file
It still needs a bit of polished, such as proper error handling,
progress indication, chunked pushing and etc, though it does work!

Fixes #17
2019-03-27 17:11:55 +00:00
Tom Hacohen 8a58fb01fc Journal view: fix viewing of tasks directly from the journal. 2019-03-27 17:10:24 +00:00
Tom Hacohen 5de1087a2a Ical.js types: add support for getting all subcomponents. 2019-03-27 14:19:29 +00:00
Tom Hacohen cd28f282fb API helpers: split the function creating journal entry. 2019-03-15 18:45:34 +00:00