Commit Graph

440 Commits (a557ec1fd26b9422c6548872e9c144362a297fb6)

Author SHA1 Message Date
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 be43fd5b51 Fix type in page title.
Fixes #41.
2019-03-27 12:10:29 +00:00
Tom Hacohen cd28f282fb API helpers: split the function creating journal entry. 2019-03-15 18:45:34 +00:00
Tom Hacohen 941b47b59a API helpers: rename createJournalEntry -> addJournalEntry.
Following the change from the previous commit.
2019-03-15 18:43:22 +00:00
Tom Hacohen 9b7f24eb8a Store actions: Rename createEntries -> addEntries. 2019-03-15 18:41:29 +00:00
Tom Hacohen 49273fbc6f Calendar: scroll to 8am when opening week and day views.
Fixes #40.
2019-03-15 13:40:16 +00:00
Tom Hacohen 4b09b9832a Task: fix allDay when a task doesn't have a startDate. 2019-02-26 08:26:31 +00:00
Tom Hacohen 494bc2e3bd Fix viewing tasks with no start or end date. 2019-02-26 08:24:13 +00:00
Tom Hacohen f26af1e1ac Journal actions: split fetchAll and fetching journal entries. 2019-02-25 23:05:04 +00:00
Tom Hacohen 8cc20ec3ed Fix removal of deleted jorunals from the journal list.
Fixes #36.
2019-02-25 23:01:37 +00:00
Tom Hacohen ae3f32cc01 Store: handle addJournal correctly (include empty entry list).
Fixes #35.
2019-02-25 22:48:10 +00:00
Tom Hacohen aeca32afa8 AddressBook: make sort case insensitive.
Fixes #34.
2019-02-24 19:31:02 +00:00
Tom Hacohen ad45ad3f83 Update tslint and fix warnings. 2019-02-22 16:27:35 +00:00
Tom Hacohen a7251f6dc7 Update tslint. 2019-02-22 09:52:12 +00:00
Tom Hacohen 7da0a6009b More tslint fixes. 2019-02-22 09:43:05 +00:00
Tom Hacohen 9913adc756 Update tslint config and update code to conform. 2019-02-22 09:38:12 +00:00
Tom Hacohen 3d67ad13b6 Remove redundant semi-colons. 2019-02-21 21:36:08 +00:00
Tom Hacohen 5c94954c96 Store reducers: fix inconsistent empty lines. 2019-02-21 14:29:33 +00:00
Tom Hacohen 812c8df61a store reducers: fix copy paste for type. 2019-02-21 14:29:13 +00:00
Tom Hacohen 7e406e4f77 Split the store construction to a separate file. 2019-02-21 14:14:46 +00:00
Tom Hacohen a4fca53541 Rename the locale settings to locale
I was trying to make it easier for people, but on second thought, en-GB
is definitely not representative of Europe, so having this split was
confusing.
2019-02-16 19:35:58 +00:00
Tom Hacohen 3b7fadcc69 Set the locale based on the settings.
Partially fixes #4
2019-02-16 19:22:31 +00:00
Tom Hacohen 43044750e3 Add support for settings (route and store). 2019-02-16 19:22:05 +00:00
Tom Hacohen b46291f360 Make the login screen slightly nicer. 2019-02-16 18:22:15 +00:00
Tom Hacohen e4c2cece16 Remove the unneeded isomorphic fetch. 2019-02-15 16:11:22 +00:00
Tom Hacohen 5f60119c91 Update node-rsa. 2019-02-15 15:43:49 +00:00
Tom Hacohen 5237b14b74 Event and task: show timezone information.
First steps towards #29.
2019-02-15 10:59:49 +00:00
Tom Hacohen 172cc4ce53 Task: rename the completed property to finished and include cancelled. 2019-02-14 22:00:13 +00:00
Tom Hacohen 66d95216f7 Add support for editing a task's status. 2019-02-14 21:57:19 +00:00
Tom Hacohen a32e2c9019 Event and task description: show the text preformatted.
We previously had it in a div, which was dropping newlines.
2019-02-14 21:47:32 +00:00
Tom Hacohen 47c259d803 Improve task viewing. 2019-02-14 21:47:32 +00:00
Tom Hacohen e90a92ed57 Add a function to format just a date. 2019-02-14 21:47:32 +00:00
Tom Hacohen c2d4027e13 Move event date formatting function to a shared place. 2019-02-14 21:47:32 +00:00
Tom Hacohen 4db3b24743 Add task edit support. 2019-02-14 21:47:32 +00:00
Tom Hacohen 09ddfe8be8 Event: fix date calculation to account for exact same dates. 2019-02-14 20:15:48 +00:00
Tom Hacohen 8b81d79c5b Upgrade many of the deps. 2019-02-14 18:32:37 +00:00
Tom Hacohen 7336fe5527 Change the max container width to 30rem. 2019-02-14 18:23:44 +00:00
Tom Hacohen 8e8397eef1 Bump material ui versions. 2019-02-14 18:18:57 +00:00
Tom Hacohen 2847723221 Disable javascript inlining as was clashing with CSP. 2019-02-14 11:23:49 +00:00
Tom Hacohen 82434cec2c Fix exception by moving to the better props type declaration.
Seems like a regression with React (or a deprecation?) as it used to
work. Though the separate interface style is better and works better
with typescript anyway.
2019-02-14 11:12:56 +00:00
Tom Hacohen 2fd674a456 Add support for tasks. 2019-02-14 11:12:56 +00:00
Tom Hacohen d11180fed6 Fix material ui depracations. 2019-02-14 11:09:05 +00:00
Tom Hacohen 59aef075f5 Fix issue with navigation in journal views. 2019-02-14 10:40:27 +00:00
Tom Hacohen e4de0605f9 Fix all the issues that came with switching to react scripts 2019-02-14 10:21:51 +00:00
Tom Hacohen 3c05beef0b Move to react-scripts now that it supports typescript. 2019-02-14 10:21:51 +00:00