Commit Graph

321 Commits (c25ac2d6c0b4479031306834f0216d73f0ea93c9)

Author SHA1 Message Date
Tom Hacohen c25ac2d6c0 Improve error handling. 2018-07-04 19:26:46 +01:00
rugk 6456625716 Add access prohibition for external links 2018-03-23 18:08:32 +00:00
rugk 1e3e8707b2 Fix typo 2018-03-13 20:43:30 +00:00
Tom Hacohen 5842b7074a Login form: show a better error message. 2018-03-12 15:29:55 +00:00
Tom Hacohen 94214c9617 Calendar: fix switching back to months view when going back to calendar
Currently we preserve the watched date, so it's preserved when going
back to a calendar page. Now we also preserve the view.

Fixes #10
2018-02-23 10:19:31 +00:00
Tom Hacohen 99ccfaf441 Item creation: fix the cancel button.
It wasn't working because the callback was not connected, but the
onDelete callback was connected instead (which shouldn't have been).
2018-02-22 21:01:03 +00:00
Tom Hacohen 71f7df252a Fix event editing.
It was crashing due to 7917b1fbe1.
2018-02-22 20:58:55 +00:00
Tom Hacohen 5690906f6b tsconfig: set baseUrl to fix warning. 2018-02-22 20:46:48 +00:00
Tom Hacohen e2a418a914 Upgrade react-scripts-ts and typescript. 2018-02-22 20:38:45 +00:00
Tom Hacohen 4c441de728 Calendar: Fix navigating of month view (workaround big-calendar bug)
This is a workaround for:
https://github.com/intljusticemission/react-big-calendar/issues/718
2018-02-22 20:26:53 +00:00
Tom Hacohen 56c12012fe Types: update react-big-calendar types. 2018-02-22 20:26:53 +00:00
Tom Hacohen 7917b1fbe1 Calendar: Implement clicking on a time slot to add an event
You can now click (or select) a time slot to create an event that is
automatically populated with the selected times.

Fixes #8
2018-02-22 20:08:56 +00:00
Tom Hacohen 1fd4ee307d Fix all-days events not showing correctly (Update react-big-calendar)
This fixes #6.

Reference ticket in upstream:
https://github.com/intljusticemission/react-big-calendar/issues/680
2018-02-13 13:09:40 +00:00
Tom Hacohen d09895c655 Event edit: remove the word Date from the datetime placeholder.
It was confusing users who thought this was only a date picker. This makes
it more generic.
2018-01-17 16:07:32 +00:00
Tom Hacohen ed64bff3da Switch to react-datetime for the date time picker
The reason for that is because not all browsers support input
type=date/time
2018-01-17 12:17:06 +00:00
Tom Hacohen 2187f4cd22 Types ical.js: add to/from json. 2018-01-17 12:16:32 +00:00
Tom Hacohen f0ab21172a Types ical.js: fix fromJSDate. 2018-01-17 11:21:37 +00:00
Tom Hacohen 56a28bf9c8 Fix the type of the DateTimePicker's change callback. 2018-01-13 20:14:31 +00:00
Tom Hacohen 5dd2ff232f Remove stub package @types/reselect.
The types are already included in the original package.
2018-01-09 15:24:11 +00:00
Tom Hacohen 02bb9baea7 Add more properties needed by react-big-calendar. 2018-01-08 14:34:22 +00:00
Tom Hacohen 9c740a4c4d Add support for saving entries to shared journals. 2017-12-30 15:58:46 +00:00
Tom Hacohen 71e20bb65f UserInfo: Fix persistance of user info to cache. 2017-12-30 15:49:56 +00:00
Tom Hacohen e257f427eb Show an error message when userInfo doesn't exist. 2017-12-30 15:46:20 +00:00
Tom Hacohen b0cae39814 Add a widget to present errors nicely. 2017-12-30 15:42:49 +00:00
Tom Hacohen 8367767006 SyncGate: only get asymmetricKey from UserInfo if needed. 2017-12-30 15:34:26 +00:00
Tom Hacohen 719b0516f0 Support shared journals in side menu too.
This code path needs to be merged with SyncGate.
2017-12-30 15:33:25 +00:00
Tom Hacohen cf823f5efe Implement fetching userInfo and opening shared journals. 2017-12-30 15:16:16 +00:00
Tom Hacohen 80e9805d22 AsymmetricCrypto: we actually using pkcs8 not 1. 2017-12-30 15:14:23 +00:00
Tom Hacohen 12b578d44c UserInfo: Fix the HMAC calculation function. 2017-12-30 15:11:32 +00:00
Tom Hacohen 1ee224bd0b Add an action to fetch userInfo. 2017-12-30 14:35:49 +00:00
Tom Hacohen 00045d7cb0 CryptoManager: Add an option to load an already derived key. 2017-12-30 14:15:11 +00:00
Tom Hacohen 9a8f1cd33f Add AsymmetricCryptoManager for asymmetric encryption. 2017-12-30 13:20:25 +00:00
Tom Hacohen 3353b21162 CryptoManager: fix decrypt/encrypt bits type. 2017-12-30 13:06:49 +00:00
Tom Hacohen 1f961fbad1 UserInfo: implement setting and getting the keypair. 2017-12-30 12:32:52 +00:00
Tom Hacohen 45db0c12c5 Crypto manager: add methods to encrypt/decrypt from/to bytes. 2017-12-30 12:13:06 +00:00
Tom Hacohen fb738622fe API: Add API to handle UserInfo. 2017-12-30 11:45:58 +00:00
Tom Hacohen ac31f7093f Add a basic link about signed pages. 2017-12-29 15:47:11 +00:00
Tom Hacohen 2de13c9c0f Add a deployment script that supports signed pages. 2017-12-29 14:43:52 +00:00
Tom Hacohen c1780ce410 Add support for Signed Pages page signing.
This commit adds support for: https://github.com/tasn/webext-signed-pages

Subresource integrity currently needs to be applied manually due to the
lack of support in create react app. Will be automatic once it's there.
2017-12-29 14:20:42 +00:00
Tom Hacohen 78c19fe7c4 Fix one-day long allDay events. 2017-12-29 12:19:28 +00:00
Tom Hacohen 2056c62b80 Use the error boundary component to semi-gracefully catch errors. 2017-12-29 11:46:06 +00:00
Tom Hacohen 5a79fdb6b8 Add an error boundary component to catch errors. 2017-12-29 11:45:26 +00:00
Tom Hacohen e956ef3059 Change the delete confirmation dialog label. 2017-12-28 20:47:20 +00:00
Tom Hacohen 074fc8e6c0 Implement a common interface for pim types. 2017-12-28 17:43:17 +00:00
Tom Hacohen bfa186dc35 Merge duplicate onItemSave code. 2017-12-28 17:43:16 +00:00
Tom Hacohen 78b292f1c4 Implement contact and calendar event deletion. 2017-12-28 17:43:16 +00:00
Tom Hacohen 507c0e3a1a Add a configrmation dialog widget. 2017-12-28 17:43:16 +00:00
Tom Hacohen f760becae8 Add icons to save/cancel buttons on item edit pages. 2017-12-28 17:43:16 +00:00
Tom Hacohen 5e59557335 Add a link to the etesync website from the login page. 2017-12-28 17:43:16 +00:00
Tom Hacohen 9afe347f3d
Update README 2017-12-28 16:11:38 +00:00