202 Commits (a7cae3203bc096a466bb10d62c93a93113263e03)

Author SHA1 Message Date
Tom Hacohen 3730300411 Event/task edit: handle timezones.
Fixes #29
5 years ago
Tom Hacohen 6a0fc11ab3 Event/task edit: improve design. 5 years ago
Tom Hacohen fed79fcfea Task/event: show current timezone next to events with timezones.
We were previously showing the original timezone which was confusing.
5 years ago
Tom Hacohen 80e249c958 Task list: fix typing. 5 years ago
Tom Hacohen 9ae370ac01 Task list: simplify sort function. 5 years ago
Tom Hacohen d3b4145269 Use the new UNSAFE_componentWillReceiveProps function name
We should redesign these, but until then, this should unbreak linting.
5 years ago
Tom Hacohen e407976e58 Journal Entries: make parse errors non-fatal here too.
This is in continuation to 9abb3dcad9.

Fixes #48
5 years ago
Tom Hacohen 8656d1076f Update react-big-calendar. 5 years ago
Tom Hacohen fcf8f1af58 Upgrade material-ui. 5 years ago
Tom Hacohen 95944d87b5 PrettyError: redesign to make more reusable. 5 years ago
Tom Hacohen 8fe360751e Address book: handle contact names with length 0.
We were handling non existent contact names, but not
ones with length 0. This fixes this.

Fixes #62.
5 years ago
Tom Hacohen c7d4a15f5f Move the etesync-js API to its own repo. 5 years ago
Tom Hacohen f3de2a641a eslint: changed unused-args to always warn. 5 years ago
Tom Hacohen 566261b91a lint: fix all remaining warnings! 5 years ago
Tom Hacohen ab5495e221 Eslint: update rules and adjust code accordingly. 5 years ago
Tom Hacohen 29d4153e60 Fix some tsserver suggestions. 5 years ago
Tom Hacohen 11dd883f5f lint: replace tslint with eslint and fix new warnings and errors. 5 years ago
Tom Hacohen 514f4ccddb Login: show text about setting the encryption key on first login. 5 years ago
Tom Hacohen 25afd02ba5 Remove recompose dep and use React.memo instead. 5 years ago
Tom Hacohen ba8d899d5d Fix eslint warnings. 5 years ago
Claus Niesen ff47e38845 Fix display of recurring events.
Fixes #56
5 years ago
Tom Hacohen 8d76e134e8 Contact: change the field copy button to use the correct icon. 5 years ago
Tal Leibman 6d45c31f98 Contacts: Add a button to copy fields to clipboard
Fixes #39
5 years ago
Tom Hacohen ea67bb4b87 AddressBook: fix handling of contacts with empty names.
Fixes #49
5 years ago
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.
6 years ago
Tom Hacohen 49273fbc6f Calendar: scroll to 8am when opening week and day views.
Fixes #40.
6 years ago
Tom Hacohen aeca32afa8 AddressBook: make sort case insensitive.
Fixes #34.
6 years ago
Tom Hacohen ad45ad3f83 Update tslint and fix warnings. 6 years ago
Tom Hacohen 7da0a6009b More tslint fixes. 6 years ago
Tom Hacohen 9913adc756 Update tslint config and update code to conform. 6 years ago
Tom Hacohen 3b7fadcc69 Set the locale based on the settings.
Partially fixes #4
6 years ago
Tom Hacohen b46291f360 Make the login screen slightly nicer. 6 years ago
Tom Hacohen 5237b14b74 Event and task: show timezone information.
First steps towards #29.
6 years ago
Tom Hacohen 172cc4ce53 Task: rename the completed property to finished and include cancelled. 6 years ago
Tom Hacohen 66d95216f7 Add support for editing a task's status. 6 years ago
Tom Hacohen a32e2c9019 Event and task description: show the text preformatted.
We previously had it in a div, which was dropping newlines.
6 years ago
Tom Hacohen 47c259d803 Improve task viewing. 6 years ago
Tom Hacohen c2d4027e13 Move event date formatting function to a shared place. 6 years ago
Tom Hacohen 4db3b24743 Add task edit support. 6 years ago
Tom Hacohen 09ddfe8be8 Event: fix date calculation to account for exact same dates. 6 years ago
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.
6 years ago
Tom Hacohen 2fd674a456 Add support for tasks. 6 years ago
Tom Hacohen d11180fed6 Fix material ui depracations. 6 years ago
Tom Hacohen e4de0605f9 Fix all the issues that came with switching to react scripts 6 years ago
Tom Hacohen 8f13da7a39 Remove the secondary header and update the appbar instead. 6 years ago
Tom Hacohen cf435118d4 Secondary header: add support for more than just text. 6 years ago
Tom Hacohen 51e436be2e Remove the hacky getPalette function and use the theme instead. 6 years ago
Tom Hacohen a9b6978ae5 Add basic support for viewing tasks. 6 years ago
Tom Hacohen 7d5bbd5742 Allow non-email usernames when using own server
Fixes #19

Co-authored-by: Nemanja Nedeljković <nemanjan00@gmail.com>
6 years ago
Tom Hacohen e697d3d276 Make it clearer that the first encryption password entered sets it.
Fixes #26
6 years ago
Tom Hacohen e3e4a5288a Event edit: fix wording in confirmation dialog (contact -> event).
Fixes #27.
6 years ago
Tom Hacohen f4fab17fb9 Don't show recurring warning for non recurring events. 6 years ago
Tom Hacohen 493343dd92 Contact edit: fix default type for jabber. 6 years ago
Tom Hacohen 4d386f5a0a Contact edit: fix changing subfield types. 6 years ago
Tom Hacohen 31bb36187a Contact edit: improve design a bit. 6 years ago
Tom Hacohen edc662b7c0 Contact/event: fix creating items on non-default journals.
Fixes #22
6 years ago
Tom Hacohen c1d446551b Event Edit: upgrade material-ui. 6 years ago
Tom Hacohen 6a0b94fa0e Contact edit: upgrade material-ui. 6 years ago
Tom Hacohen 40ad15673d Searchable addressbook: upgrade material-ui. 6 years ago
Tom Hacohen a936ef2b64 Journal entries: upgrade material-ui. 6 years ago
Tom Hacohen 505795c711 Address book: upgrade material-ui. 6 years ago
Tom Hacohen 08bb517ef1 Login form: upgrade material-ui. 6 years ago
Tom Hacohen 5cdf5d5563 Contact: upgrade material-ui. 6 years ago
Tom Hacohen 0a9d4f8a10 Calendar: implement basic recurrence support.
At the moment it only shows recurrence in the calendar. You can't edit
specific instances, only the whole series (the first event). You can't
event edit the rrule at the moment. It's view only (mostly).

While this is not much, this is already a major boost to the usability
of etesync web.

Fixes #15.
6 years ago
Tom Hacohen 563f718597 Fix contact's birthday and anniversary date presentation. 6 years ago
Tom Hacohen e0ec5ee6c8 Encryption password login: add autofocus. 6 years ago
Tom Hacohen f828e3d290 Upgrade material-ui and start migrating to it. 6 years ago
Tom Hacohen ae26e34eb4 Update react, typescript recompose and etc. 6 years ago
Tom Hacohen 01b9921b2a Purge cache in case of an integrity error and show a nicer message. 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 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 71f7df252a Fix event editing.
It was crashing due to 7917b1fbe1.
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 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 56a28bf9c8 Fix the type of the DateTimePicker's change callback. 7 years ago
Tom Hacohen b0cae39814 Add a widget to present errors nicely. 7 years ago
Tom Hacohen 78c19fe7c4 Fix one-day long allDay events. 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 78b292f1c4 Implement contact and calendar event deletion. 7 years ago
Tom Hacohen f760becae8 Add icons to save/cancel buttons on item edit pages. 7 years ago
Tom Hacohen 84a0bf2a8e Add a cancel button when editing contacts and events.
Fixes #2.
7 years ago
Tom Hacohen e9f984dee9 SearchableAddressBook: add a search icon. 7 years ago
Tom Hacohen ee34109d14 Addressbook: add a searchable address book that lets us filter the list 7 years ago
Tom Hacohen c6df5c800a Addressbook: support passing a filter function and memoize the sort. 7 years ago
Tom Hacohen 7bd3051416 Unify the names of the props of ContactEdit and EventEdit. 7 years ago
Tom Hacohen 30cd979ba8 Journal entries: support filtering by entry uid. 7 years ago
Tom Hacohen ab3ebbff05 Fix the calendar widget on mobile. 7 years ago
Tom Hacohen b769c18021 Show a shorter login form (only enc password) if already logged in.
This is extremely useful for iOS devices where a PWA's session storage
is deleted every time it's minimised, and it's also useful for people
having multiple tabs open.
7 years ago
Tom Hacohen f74ec6f05a Merge JournalAddressbook and JournalCalendar. 7 years ago
Tom Hacohen a32002eabd Replace the a tag with an ExternalLink component.
This lets us handle behaviour more consistently, for example by opening
external links in a new tab.
7 years ago
Tom Hacohen 06887c58c3 Fix event types. 7 years ago
Tom Hacohen b876a90a5a Fix the calendar component to avoid re-rendering. 7 years ago
Tom Hacohen 5a1b3af9b0 Calendar: fix the unnecessary recration of closures. 7 years ago
Tom Hacohen 0d6ecfdbdf Calendar: remove the unneccesary events sort. 7 years ago
Tom Hacohen a77e9077bf Address book: make a component out of the list item. 7 years ago
Tom Hacohen 0ee6bbd340 Bring back list margin and remove the explicit contact padding 7 years ago
Tom Hacohen 441549f41d Move LoginForm to the component dir. 7 years ago
Tom Hacohen 5ee24d054d Move all of the view-only components to their own directory. 7 years ago