Tom Hacohen
28b11e59ff
AddressBook: fix crash when fullname is undefined.
2020-01-22 21:42:08 +02:00
Tom Hacohen
9ec759bd44
Import: mime type detection is unreliable, allow filetype matching too.
2020-01-22 21:41:44 +02:00
Tom Hacohen
4f3c8895f3
Import: hopefully fix infinite loading on import.
2020-01-22 13:16:22 +02:00
Tom Hacohen
d0ec686592
Debug: added a debug route to let people easily inspect their journals.
...
Useful when people are helping with debugging.
2020-01-22 12:47:04 +02:00
Tom Hacohen
8567dd70b7
Import: better handle rejected files.
2020-01-20 17:17:35 +02:00
Tom Hacohen
d8a0aa19ca
Import: fix error handling to stop the loading and print the error.
2020-01-20 17:01:54 +02:00
Tom Hacohen
d268c0fab6
Event Edit: fix handling of recurring events with an until field.
...
It was slightly the wrong type because of typings were wrong. We now explicitly
convert it.
2020-01-14 22:46:12 +02:00
Tom Hacohen
7b22e0e76b
RRule: move filtering of empty values to inside the widget.
2020-01-14 22:40:07 +02:00
Tom Hacohen
09ff87ba33
Merge: implement rrule support when editing events
...
This is a merge of #73 in addition to some fixes and cleanups.
There are still things to be done, especially in the design department,
but things are at least working and usable.
2020-01-14 22:21:13 +02:00
Tom Hacohen
8440cac7e8
rrule: fix spacing and locations of code.
2020-01-14 22:19:58 +02:00
Tom Hacohen
16255e4cad
RRule: fix indentation.
2020-01-14 22:19:58 +02:00
Tom Hacohen
e2b732f212
RRule: remove redundant checks.
2020-01-14 22:19:58 +02:00
Tom Hacohen
af65d20444
rrule: handle empty/undefined values
2020-01-14 22:19:58 +02:00
Tom Hacohen
94d56c4715
rrule: force the interval to be 1 and never empty.
2020-01-14 22:19:58 +02:00
Tom Hacohen
116883e207
ical.js types: fix ICAL.Recur's type and adjust code accordingly
2020-01-14 22:19:58 +02:00
Tom Hacohen
dfe5518f38
RRule: improve design a bit
2020-01-14 22:19:58 +02:00
Tom Hacohen
4b20a0db5f
Event Edit: simplify code and make it persist the rrule
...
While at it, also fix an issue with byday needing to be string[] and not
number[]
2020-01-14 22:19:58 +02:00
Tal Leibman
3897d38fb0
components: EventEdit removed whitespace changes
2020-01-14 22:19:58 +02:00
Tal Leibman
0661190aef
components: EventEdit state name "rruleOptions" to "rrule"
2020-01-14 22:19:58 +02:00
Tal Leibman
bd98d833aa
components: EventEdit warning message
2020-01-14 22:19:58 +02:00
Tal Leibman
0657e79e45
widgets: name change "RRuleEteSync" to "RRule"
2020-01-14 22:19:58 +02:00
Tal Leibman
c7c8b09e41
widgets: RRule layout and styles
2020-01-14 22:19:58 +02:00
Tal Leibman
2dcf86238b
widgets: RRule change bymonth and byday to multi Select
2020-01-14 22:19:58 +02:00
Tal Leibman
3f05e43439
widgets: RRule disable complex recurring event options
2020-01-14 22:19:58 +02:00
Tal Leibman
86bd2a5420
widgets: RRule support bymonth repeat for multiple values
2020-01-14 22:19:58 +02:00
Tal Leibman
7b17a14a84
components: EventEdit add RRule widget
2020-01-14 22:19:58 +02:00
Tal Leibman
8d9482b720
widgets: change RRule to get type ICAL.Recur as prop
...
in ICAL.Recur many values are an array of numbers currently the
RRule widget only handle multiple values for weekday.
this change is not final since it may cause user data to be lost
when editing an existing event
2020-01-14 22:19:58 +02:00
Tal Leibman
aae9cd5d16
EventEdit: import RRuleEteSync
2020-01-14 22:19:58 +02:00
Tal Leibman
265f2a091b
Event Edit: change container to Fragment
2020-01-14 22:19:58 +02:00
Tal Leibman
3f1194f8bd
widgets: RRuleOptions to match RecurData in ical.js from etesync IOS
2020-01-10 15:20:57 +02:00
Tal Leibman
47ba581a24
widgets: change RRule wrapper to React.Fragment
2020-01-10 15:20:57 +02:00
Tom Hacohen
e88adc60e3
Update ical.js types.
2020-01-10 15:04:12 +02:00
Tom Hacohen
7e6ed69e35
SyncGate: fix issue with empty journals not working.
...
Before this we weren't able to import/add entries to empty journals.
This was introduced in c6eafadb8b
2020-01-05 11:17:22 +02:00
Tom Hacohen
db75d82322
Import: make sure imported contacts/events/tasks have a uid.
...
Fixes #71 .
2020-01-04 23:26:36 +02:00
Tom Hacohen
b54f25eee9
Handle contacts with null for a uid.
...
It seems like we aren't setting a uid for contacts without one when importing
so it's possible to get ones without a uid.
Opened ticket #71 to track this issue.
2020-01-04 23:26:36 +02:00
Tal Leibman
e54e24d8c1
DateTimePicker : add disabled property
2020-01-04 17:38:23 +02:00
Tal Leibman
6446777c79
widgets: add RRule widget
...
First step towards fixing #50
RRule widget for repeating tasks and calendar events
2020-01-04 17:14:24 +02:00
Tom Hacohen
c6eafadb8b
Store actions fetchAll: cleanup and only fetch if there's new data.
2019-12-30 11:14:09 +02:00
Tom Hacohen
0dffd71276
Import Dialog: log potential import errors to console and close dialog.
2019-12-24 19:15:57 +02:00
Tom Hacohen
3ef5c0c5e2
Upgrade create-react-app.
2019-12-24 18:57:28 +02:00
Tom Hacohen
a9611f4117
Remove debug log that got committed.
2019-12-24 18:54:11 +02:00
Tom Hacohen
052543261f
Unify ICAL parsing and omit property group names.
...
The property groups were causing us issues and making it very hard
to handle these properties. And since we were not dealing with them
anyway, it's better to just remove them (standard allows this).
ical.js doesn't deal with them correctly, which is the source of this
problem. More info:
https://github.com/mozilla-comm/ical.js/issues/411
2019-12-24 01:00:39 +02:00
Tom Hacohen
b4634abff4
Fix new account setup.
...
We were getting a 404 because the user info doesn't exist, and were erroring
because of it, which was not calling the then (just the catch).
We now handle the error condition.
2019-11-28 15:42:28 +02:00
Tom Hacohen
bc4cc87bbb
Update EteSync dependency.
2019-11-28 15:37:59 +02:00
Tom Hacohen
79d1438532
Don't exclude sourcemaps when deploying code.
2019-11-27 16:33:45 +02:00
Tom Hacohen
583e9090d8
TaskList: make it possible to view completed items.
2019-11-26 22:47:08 +02:00
Tom Hacohen
1eb561342f
TaskEdit: fix editing of tasks without a start/due/completion date.
2019-11-26 22:35:56 +02:00
Tom Hacohen
ec5d1faaa1
TaskList: convert to a pure functional component.
2019-11-26 22:28:04 +02:00
Tom Hacohen
1d792add0f
Update ical.js types.
2019-11-25 16:22:25 +02:00
Tom Hacohen
7f19a95bb9
Update @material-ui/icons
...
It was out of sync with @material-ui/core.
2019-11-25 16:05:56 +02:00