326 Commits (01b9921b2a43e16adf8879307fc88dce469b095c)
 

Author SHA1 Message Date
Tom Hacohen 01b9921b2a Purge cache in case of an integrity error and show a nicer message. 6 years ago
Tom Hacohen 73897700d9 Automatically create the default journals if there are none. 6 years ago
Tom Hacohen 1e1033fdf1 Actions fetchAll: return a promise rather than undefined. 6 years ago
Tom Hacohen 8e7243964d Automatically create user info when there is none. 6 years ago
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.
6 years ago
Tom Hacohen c25ac2d6c0 Improve error handling. 7 years ago
rugk 6456625716 Add access prohibition for external links 7 years ago
rugk 1e3e8707b2 Fix typo 7 years ago
Tom Hacohen 5842b7074a Login form: show a better error message. 7 years ago
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
7 years ago
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).
7 years ago
Tom Hacohen 71f7df252a Fix event editing.
It was crashing due to 7917b1fbe1.
7 years ago
Tom Hacohen 5690906f6b tsconfig: set baseUrl to fix warning. 7 years ago
Tom Hacohen e2a418a914 Upgrade react-scripts-ts and typescript. 7 years ago
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
7 years ago
Tom Hacohen 56c12012fe Types: update react-big-calendar types. 7 years ago
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
7 years ago
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
7 years ago
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.
7 years ago
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
7 years ago
Tom Hacohen 2187f4cd22 Types ical.js: add to/from json. 7 years ago
Tom Hacohen f0ab21172a Types ical.js: fix fromJSDate. 7 years ago
Tom Hacohen 56a28bf9c8 Fix the type of the DateTimePicker's change callback. 7 years ago
Tom Hacohen 5dd2ff232f Remove stub package @types/reselect.
The types are already included in the original package.
7 years ago
Tom Hacohen 02bb9baea7 Add more properties needed by react-big-calendar. 7 years ago
Tom Hacohen 9c740a4c4d Add support for saving entries to shared journals. 7 years ago
Tom Hacohen 71e20bb65f UserInfo: Fix persistance of user info to cache. 7 years ago
Tom Hacohen e257f427eb Show an error message when userInfo doesn't exist. 7 years ago
Tom Hacohen b0cae39814 Add a widget to present errors nicely. 7 years ago
Tom Hacohen 8367767006 SyncGate: only get asymmetricKey from UserInfo if needed. 7 years ago
Tom Hacohen 719b0516f0 Support shared journals in side menu too.
This code path needs to be merged with SyncGate.
7 years ago
Tom Hacohen cf823f5efe Implement fetching userInfo and opening shared journals. 7 years ago
Tom Hacohen 80e9805d22 AsymmetricCrypto: we actually using pkcs8 not 1. 7 years ago
Tom Hacohen 12b578d44c UserInfo: Fix the HMAC calculation function. 7 years ago
Tom Hacohen 1ee224bd0b Add an action to fetch userInfo. 7 years ago
Tom Hacohen 00045d7cb0 CryptoManager: Add an option to load an already derived key. 7 years ago
Tom Hacohen 9a8f1cd33f Add AsymmetricCryptoManager for asymmetric encryption. 7 years ago
Tom Hacohen 3353b21162 CryptoManager: fix decrypt/encrypt bits type. 7 years ago
Tom Hacohen 1f961fbad1 UserInfo: implement setting and getting the keypair. 7 years ago
Tom Hacohen 45db0c12c5 Crypto manager: add methods to encrypt/decrypt from/to bytes. 7 years ago
Tom Hacohen fb738622fe API: Add API to handle UserInfo. 7 years ago
Tom Hacohen ac31f7093f Add a basic link about signed pages. 7 years ago
Tom Hacohen 2de13c9c0f Add a deployment script that supports signed pages. 7 years ago
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.
7 years ago
Tom Hacohen 78c19fe7c4 Fix one-day long allDay events. 7 years ago
Tom Hacohen 2056c62b80 Use the error boundary component to semi-gracefully catch errors. 7 years ago
Tom Hacohen 5a79fdb6b8 Add an error boundary component to catch errors. 7 years ago
Tom Hacohen e956ef3059 Change the delete confirmation dialog label. 7 years ago
Tom Hacohen 074fc8e6c0 Implement a common interface for pim types. 7 years ago
Tom Hacohen bfa186dc35 Merge duplicate onItemSave code. 7 years ago