Commit Graph

907 Commits (c5863442286dc89099435df27bfcf706af606628)

Author SHA1 Message Date
Tom Hacohen 22463b00dd Signup and login: clean up error handling. 2020-09-02 12:35:25 +03:00
Tom Hacohen 20fed45aee Update etebase dep. 2020-09-02 11:26:22 +03:00
Tom Hacohen 750eae59b4 Change to the recommended way of doing login-guarded pages.
It's also much cleaner in our case because the signup page is no longer
handled from inside the login page.
2020-09-01 18:34:30 +03:00
Tom Hacohen 835367ba9f Signup and login: link to eachother. 2020-09-01 18:10:14 +03:00
Tom Hacohen 6970ebc503 Add Signup page. 2020-09-01 17:58:17 +03:00
Tom Hacohen 99016871de LoginForm: migrate to functional component. 2020-09-01 17:34:00 +03:00
Tom Hacohen 8bcf436b99 Items edit: remove warnings about not all types being supported.
It's not really true anymore, we support essentially all of them, and if
we are missing any, we want it to be reported so we can fix it.
2020-09-01 17:25:14 +03:00
Tom Hacohen 82a3233a43 Update according to etebase-js changes. 2020-09-01 16:10:39 +03:00
Tom Hacohen 7ad14407ca Update etebase dep. 2020-09-01 16:10:39 +03:00
Tom Hacohen 02c4b264f2 Preserve content on deletion. 2020-09-01 12:59:42 +03:00
Tom Hacohen 3bb4429d16 Server url: use our etebase partner URL. 2020-08-31 15:40:29 +03:00
Tom Hacohen f7920df2ed Tasks: always show searchbar.
Partial fix for #156.
2020-08-28 09:27:29 +03:00
Tom Hacohen 824172d1d3 Birthday calendar: prepend '19' to double-digit birth years.
Without this we were creating malformed dates.
2020-08-25 13:19:49 +03:00
Tom Hacohen 9e0b1efda9
Merge pull request #160 from ramzan/hide-birthday-collection
Hide birthday collection when creating new events
2020-08-24 07:10:21 +03:00
Ramzan 109013e9ec EventEdit: allow changing calendar when duplicating event 2020-08-24 07:08:22 +03:00
Ramzan 593e30ad77 Hide read only journals when creating/editing an item 2020-08-24 07:08:14 +03:00
Tom Hacohen c8442d9440 Appbar: remove the useless back button - always open the menu.
Fixes #161
2020-08-22 10:34:41 +03:00
Tom Hacohen 5756bf37ba Make edit buttons disabled for readOnly journals. 2020-08-19 21:13:16 +03:00
Ramzan f526bcb293 SyncGate: create auto-generated SyncInfoJournal of address book birtdays 2020-08-19 20:53:27 +03:00
Ramzan 724095728e helpers: add parseDate function 2020-08-19 20:53:27 +03:00
Ramzan 9daf113ea3 pim-types: add getter for bday property 2020-08-19 20:53:27 +03:00
Tom Hacohen 562dc48610 Fix issue with yearly recurrence.
Should fix #158.
2020-08-19 20:42:29 +03:00
Tom Hacohen b434fc829a Fix item cache being deleted on fetch. 2020-08-12 17:44:54 +03:00
Tom Hacohen 5c077ddc0e SyncManager: make helper functions private. 2020-08-10 14:00:10 +03:00
Tom Hacohen a36a70e30c store: improve typing in cache deserialize. 2020-08-10 13:32:03 +03:00
Tom Hacohen 1ca1960c8e Update etesync dep. 2020-08-10 09:27:05 +03:00
Tom Hacohen c4d239dba3 Login: add signup link. 2020-08-09 10:24:20 +03:00
Tom Hacohen e58f3dd9e6 Rename cache/credentials2 to remove the 2.
As long as we keep the cache key the same, it's fine to change the user
facing parts.
2020-08-08 12:10:23 +03:00
Tom Hacohen 1268564b90 Move FIXME to the correct place. 2020-08-08 12:05:32 +03:00
Tom Hacohen 3187807842 Fix React warning. 2020-08-08 12:02:12 +03:00
Tom Hacohen ba89498ee9 Appbar: remove the useless back button - always open the menu. 2020-08-08 11:58:21 +03:00
Tom Hacohen b8442532e8 Improve error handling: failing to parse items/collections + syncmanager 2020-08-08 11:55:32 +03:00
Tom Hacohen 74f4409f56 Colors: fix handling of collection and event colors. 2020-08-08 10:50:44 +03:00
Tom Hacohen b93718a5cb Login: show a nice error when pointing to a bad Etebase server. 2020-08-08 10:23:24 +03:00
Tom Hacohen d464040d8e Router: add more 404s. 2020-08-08 10:13:56 +03:00
Tom Hacohen 58533f165d Login form: call the username username rather than email. 2020-08-08 10:04:14 +03:00
Tom Hacohen a540514f87 Login: make it visible that it's loading. 2020-08-08 10:03:41 +03:00
Tom Hacohen 430d313be1 helpers: import some helpers from iOS. 2020-08-08 09:53:38 +03:00
Tom Hacohen 14fd5832f5 Error boundary: simplify page. 2020-08-08 09:49:26 +03:00
Tom Hacohen 1489f8ec1b SyncCollections: fix the return type of the setSyncCollection action. 2020-08-08 09:45:31 +03:00
Tom Hacohen 2456b2645f Store: move the base64 serialization to the persistor serializers.
We were doing it earlier (in the store), and it was less efficient and
unnecessary. The correct place for the serialization is when actually
needing it.
2020-08-08 09:42:01 +03:00
Tom Hacohen 346dc95cee Rename Credentials2/Cache2 (left-overs from the etebase migration). 2020-08-07 18:28:02 +03:00
Tom Hacohen abf2224d31 Store: clear cache and sync items on logout. 2020-08-07 18:25:54 +03:00
Tom Hacohen 40c3a1f114 SyncManager: clean up collection handling. 2020-08-07 18:23:29 +03:00
Tom Hacohen 626771d2c5 Store: implement updating store in bulk. 2020-08-07 18:21:44 +03:00
Tom Hacohen 6e3bb42f96 Item batch: clean up reducers and update store on upload 2020-08-07 18:17:47 +03:00
Tom Hacohen 200102d222 createAction: fix the action type. 2020-08-07 17:45:50 +03:00
Tom Hacohen 2c2abbb7ae Collection upload: consolidate reducer and update store on upload. 2020-08-07 17:20:25 +03:00
Tom Hacohen 2f8794e8fd store: add a useAsyncDispatch function for type-correct async dispatch. 2020-08-07 17:17:16 +03:00
Tom Hacohen a7cae3203b Update etebase dep 2020-08-07 16:17:34 +03:00