Commit Graph

783 Commits (b434fc829a74f89f4e4a0bd17a653dc6426de183)

Author SHA1 Message Date
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 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
Tom Hacohen 8f5af8f63b Update etebase dependency. 2020-08-07 10:19:41 +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
Tom Hacohen 1877afca50 Remove wrong hardcoded url. 2020-08-06 10:56:18 +03:00
Tom Hacohen f28d4f6af0 Fix isAdmin and isReadOnly for collections. 2020-08-06 10:51:43 +03:00
Tom Hacohen 4047638e6f Completely remove EteSync dependency. 2020-08-06 10:47:07 +03:00
Tom Hacohen 8fb50df017 Remove more redundant code. 2020-08-06 10:46:35 +03:00
Tom Hacohen 0343c80fb9 SyncManager: remove persistor force-persist. 2020-08-06 10:46:35 +03:00
Tom Hacohen c69f5e27ad Journals: remove unused journals components. 2020-08-06 10:46:35 +03:00
Tom Hacohen 2f565994b7 CollectionMembers: add pages to control collection memberships. 2020-08-06 10:46:35 +03:00
Tom Hacohen 0bb7867059 Collection: add a changelog history page. 2020-08-06 10:46:35 +03:00
Tom Hacohen 059522532a Fix setting of mtime for newly created items. 2020-08-06 10:46:35 +03:00
Tom Hacohen 26788cc749 Collections: add collection list import page. 2020-08-06 10:46:35 +03:00
Tom Hacohen 3db3720eef CollectionList: show colorbox when color is available. 2020-08-06 10:46:35 +03:00
Tom Hacohen 3a690e351a Collections: implement import. 2020-08-06 10:46:35 +03:00
Tom Hacohen 9cf37a0fb4 Collections: add a component that views the collection. 2020-08-06 10:46:35 +03:00
Tom Hacohen d5a582e842 Task edit: fix task edit (setting the collection). 2020-08-06 10:46:35 +03:00
Tom Hacohen 9077f3878e ContactEdit: fix constructor's type and rename journalUid. 2020-08-06 10:46:35 +03:00
Tom Hacohen 8e8c779fa6 Event edit: fix event edit (setting the collection). 2020-08-06 10:46:35 +03:00
Tom Hacohen 877171b2ea App: cleanup the component and make sync add to fetch count. 2020-08-06 10:46:35 +03:00