Tom Hacohen
95c8bff9be
Cache the Pim related calculations.
...
No need to recalc everything if the input is the same.
2017-12-15 18:24:59 +00:00
Tom Hacohen
58eedd1c37
Cache the SyncGate calculations.
...
This was taking quite a lot of time and caching this significantly
improves performance.
We only need it because of the react-redux-router bug, but good to have
it in the meanwhile.
2017-12-15 18:11:08 +00:00
Tom Hacohen
360a6ad826
Create our own dedicated avatar widget.
2017-12-15 16:57:29 +00:00
Tom Hacohen
1a1bdc77af
Add our own list widget.
...
The material ui one is extremely inefficient and was causing noticeable
delays.
2017-12-15 16:50:51 +00:00
Tom Hacohen
08022994f2
Add recompose as a dep.
2017-12-15 16:49:59 +00:00
Tom Hacohen
97eaa756fe
Add FIXMEs for the withRouter workaround
...
Because of: https://github.com/ReactTraining/react-router/issues/5795
We have to use withRouter which triggers a lot of extra renderings.
This means that until the bug is fixed we have to use withRouter and
some memoization to make sure we don't recalc everything all the time.
2017-12-15 12:52:22 +00:00
Tom Hacohen
50a9094a8b
Explicitly include react-router as a dep.
2017-12-15 12:43:58 +00:00
Tom Hacohen
264145eb72
Pim: no longer pass the match object.
2017-12-14 14:35:29 +00:00
Tom Hacohen
9f396173b0
Move etsync decryption logic to sync gate.
...
This shares more of the code, and also lets us be more efficient because
we now do these calculations less.
2017-12-14 14:31:17 +00:00
Tom Hacohen
6c4f077d0f
Add missing new for records.
2017-12-14 12:06:12 +00:00
Tom Hacohen
4f88ff6364
Adjust code to work with es5 as a target.
2017-12-14 11:13:01 +00:00
Tom Hacohen
a6ad199023
Make all of the React.Components Pure.
2017-12-14 10:58:25 +00:00
Tom Hacohen
c3e686002e
Move the store to immutable.js
...
This significantly helps with reducing the number of copies we do,
because in most cases a refresh will not change a journal.
2017-12-14 10:58:25 +00:00
Tom Hacohen
6d09ea1ac6
Add immutable.js.
2017-12-14 10:58:25 +00:00
Tom Hacohen
ce71c5422f
Pim: cleanup the syncenttry and journals processing..
2017-12-14 10:58:25 +00:00
Tom Hacohen
cabd82b382
Journal: remove accidental ; in content.
2017-12-13 15:56:41 +00:00
Tom Hacohen
ce2c89aa50
Login form: disallow connecting to HTTP addresses in production.
2017-12-13 15:48:44 +00:00
Tom Hacohen
3231131e7e
Add basic validation for events.
2017-12-13 15:31:04 +00:00
Tom Hacohen
f12bc374f4
ContactEdit: remove unset properties.
2017-12-13 15:23:37 +00:00
Tom Hacohen
c51804d7fe
Event and contact: update last modified.
2017-12-13 15:22:00 +00:00
Tom Hacohen
de3f96a10d
ContactEdit: add IMPP.
2017-12-13 15:12:25 +00:00
Tom Hacohen
29ffb5a74b
Add a few more contact fields.
2017-12-13 15:01:58 +00:00
Tom Hacohen
1524600e4b
In iCal, all day events are until the end date not including
...
Adjust accordingly, and add some basic validation.
2017-12-13 14:40:06 +00:00
Tom Hacohen
29ae3005ea
EventEdit: don't discard fields we don't handle and add a note about it.
2017-12-13 14:18:45 +00:00
Tom Hacohen
da935c0836
Fix editing events of a journal other than the default.
2017-12-13 14:11:56 +00:00
Tom Hacohen
6d4c9c01e0
Fix saving of contacts.
2017-12-13 14:11:56 +00:00
Tom Hacohen
8c3adcdc94
Don't save empty properties.
2017-12-13 14:11:56 +00:00
Tom Hacohen
fec1edf711
Make contact view more ressilient.
2017-12-13 14:11:56 +00:00
Tom Hacohen
cf396ff904
Add missing version properties.
2017-12-13 14:11:56 +00:00
Tom Hacohen
a7eb74bee1
Cleanup ContactEdit a bit and add address support.
2017-12-13 14:11:56 +00:00
Tom Hacohen
574df977c2
Store: fix test.
2017-12-13 14:11:56 +00:00
Tom Hacohen
b7a6e123cd
Improve contact edit.
2017-12-13 14:11:56 +00:00
Tom Hacohen
46ecb57af8
Update icaljs definitions.
2017-12-13 14:11:56 +00:00
Tom Hacohen
daf27ca517
ContactType: Add a way to clone.
2017-12-13 14:11:56 +00:00
Tom Hacohen
6d76559d08
Initial version of contact editing.
2017-12-13 14:11:48 +00:00
Tom Hacohen
9521e3dae3
Fix the journal action to be change when changing event.
2017-12-12 22:50:12 +00:00
Tom Hacohen
7e271b1542
Event edit: add info text for the journal selector.
2017-12-12 22:50:12 +00:00
Tom Hacohen
cfd6db6fb5
Go back on successful save.
2017-12-12 22:50:12 +00:00
Tom Hacohen
0c9dfd7087
Add a way to edit events.
2017-12-12 22:50:12 +00:00
Tom Hacohen
81c3f4d27e
Add a way to create new events.
2017-12-12 22:50:12 +00:00
Tom Hacohen
e22b520b5a
EteSync api: fill in the collection info's uid.
2017-12-12 22:43:45 +00:00
Tom Hacohen
29a608db79
Pim page: add a button for creating contacts and events.
2017-12-12 22:43:45 +00:00
Tom Hacohen
cbb596a516
Update README
2017-12-12 17:12:27 +00:00
Tom Hacohen
221bdd4716
Use the sjcl random number generator for encryption.
2017-12-12 17:00:35 +00:00
Tom Hacohen
2507dfd5b3
Fix issue with sync entry being set and get differently.
2017-12-12 16:56:24 +00:00
Tom Hacohen
9c8df0a854
Add an action to create entries and add some store tests.
2017-12-12 16:47:31 +00:00
Tom Hacohen
441560dc72
Add a way to get the ical representation to events.
2017-12-12 15:50:18 +00:00
Tom Hacohen
df538c368a
EventEdit: add uuid to events.
2017-12-12 15:49:03 +00:00
Tom Hacohen
2af9e41404
Fix indentation.
2017-12-12 14:21:18 +00:00
Tom Hacohen
82c5a70eaa
Add a simple widget for editing events.
2017-12-12 14:21:18 +00:00