Commit Graph

329 Commits (e0ec5ee6c8c97524835915d090d7b275cf245aa8)

Author SHA1 Message Date
Tom Hacohen e0ec5ee6c8 Encryption password login: add autofocus. 2018-10-05 10:12:11 +01:00
Tom Hacohen f828e3d290 Upgrade material-ui and start migrating to it. 2018-10-04 23:31:17 +01:00
Tom Hacohen ae26e34eb4 Update react, typescript recompose and etc. 2018-10-04 22:45:30 +01:00
Tom Hacohen 01b9921b2a Purge cache in case of an integrity error and show a nicer message. 2018-08-22 20:37:13 +01:00
Tom Hacohen 73897700d9 Automatically create the default journals if there are none. 2018-08-13 11:26:52 +01:00
Tom Hacohen 1e1033fdf1 Actions fetchAll: return a promise rather than undefined. 2018-08-13 10:28:33 +01:00
Tom Hacohen 8e7243964d Automatically create user info when there is none. 2018-08-13 10:19:16 +01:00
Tom Hacohen 811f795304 Add an ugly fragile hack to make the calendar fill the vertical space.
This is very fragile, but at least if it breaks it falls back to the
previous behaviour so it's not the end of the world if it does.

Fixes #16.
2018-08-10 15:33:49 +01:00
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