Commit Graph

725 Commits (f6d4a726708e59044fb9f43fe696890dbd5fdda1)

Author SHA1 Message Date
Tom Hacohen f6d4a72670 Collection edit: validate colors before allowing saving. 2020-09-06 17:52:30 +03:00
Tom Hacohen 085298f14c Sync manager: fix handling of removedCollections. 2020-09-04 17:08:12 +03:00
Tom Hacohen c7a4110cbb Invitations: implement viewing, accepting and rejecting invitations. 2020-09-04 17:01:22 +03:00
Tom Hacohen aed87399c0 Members: fetch members in chunks. 2020-09-04 15:11:26 +03:00
Tom Hacohen 485b65cb69 Implment item and collection change history. 2020-09-04 15:11:26 +03:00
Tom Hacohen 1f00fbe8cc GenericChangeHistory: split the change history to its own component. 2020-09-04 14:23:06 +03:00
Tom Hacohen da95830d9f CacheItems: don't delete when deleted, just mark as such.
This is needed for the change history to work properly.
2020-09-04 12:12:47 +03:00
Tom Hacohen f2d051a4a6 Improve handling of Etebase errors. 2020-09-04 12:00:16 +03:00
Tom Hacohen b370c59184 Show a nicer dialog for sync errors. 2020-09-04 11:59:58 +03:00
Tom Hacohen d4a05faa0a Error reducer: fix handling of appending errors.
Apparently if the payload is an instante of an Error object, payload creator won't
be called.

Info: https://redux-actions.js.org/api/createaction
2020-09-04 11:53:01 +03:00
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 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 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 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 460c2e2b4a Pim: move all of the item save/delete functions to one place. 2020-08-06 18:37:12 +03:00
Tom Hacohen 85ef564b63 Autorefresh: remove url hack. 2020-08-06 11:02:18 +03:00
Tom Hacohen dc7f2fb47c Remove redundant code. 2020-08-06 11:01:27 +03:00
Tom Hacohen e01012160b Collection edit: remove the word journal. 2020-08-06 10:58:56 +03:00
Tom Hacohen dcb1337905 Event clone: also clone collection/item Uid. 2020-08-06 10:58:43 +03:00