Commit Graph

552 Commits (dfe5518f385b502d9b15d10d75fbd2089c54be8e)

Author SHA1 Message Date
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
Tom Hacohen 76bbb78404 Update etesync. 2019-11-25 16:04:50 +02:00
Tom Hacohen 3730300411 Event/task edit: handle timezones.
Fixes #29
2019-11-24 18:49:40 +02:00
Tom Hacohen bfc54018ce Widgets: add TimezonePicker widget. 2019-11-24 18:49:40 +02:00
Tom Hacohen 6a0fc11ab3 Event/task edit: improve design. 2019-11-24 18:49:40 +02:00
Tom Hacohen fed79fcfea Task/event: show current timezone next to events with timezones.
We were previously showing the original timezone which was confusing.
2019-11-24 18:49:40 +02:00
Tom Hacohen 52d4ad9967 ImportDialog: adjust to the changes in the previous commit. 2019-11-24 18:49:40 +02:00
Tom Hacohen d1b3d82024 pim-types: sync from iOS app.
Mainly about adding timezone support.
2019-11-24 18:49:40 +02:00
Tom Hacohen 80e249c958 Task list: fix typing. 2019-11-24 18:49:40 +02:00
Tom Hacohen 9ae370ac01 Task list: simplify sort function. 2019-11-24 18:49:40 +02:00
Tom Hacohen d3b4145269 Use the new UNSAFE_componentWillReceiveProps function name
We should redesign these, but until then, this should unbreak linting.
2019-11-24 18:49:40 +02:00
Tom Hacohen d4126e263f Update to react-scripts 3.3.0-next. 2019-11-24 18:49:40 +02:00
Tom Hacohen 34165035e8 Update typescript. 2019-11-24 18:49:40 +02:00
Tom Hacohen 58e432efec Import: reset loading state when done importing. 2019-11-24 18:49:40 +02:00
Tal Leibman ad10d75dab Journals List Import: remove add journal button 2019-11-23 18:05:28 +02:00
Tom Hacohen 284cb2413a Journals List Import: fix type error. 2019-11-23 17:21:33 +02:00