Commit Graph

786 Commits (9268c110ae64470f61ba190d166d0c864ca93782)

Author SHA1 Message Date
Tom Hacohen 0c59aef1dc Forgot password: fix the link to point to the faq entry. 2020-09-07 14:20:02 +03:00
Tom Hacohen e738622396 Signup: enforce a minimum password length. 2020-09-07 14:16:32 +03:00
Tom Hacohen dc98cd6010 Workaround typescript issue with list responses being any. 2020-09-06 18:51:24 +03:00
Tom Hacohen f36f8b3d18 Tasks: always show searchbar.
Partial fix for #156.
2020-09-06 18:51:24 +03:00
Ramzan bd649a61cc EventEdit: allow changing calendar when duplicating event 2020-09-06 18:51:24 +03:00
Ramzan 8d15a66e98 helpers: add parseDate function 2020-09-06 18:51:24 +03:00
Ramzan 88189c4e4e pim-types: add getter for bday property 2020-09-06 18:51:24 +03:00
Tom Hacohen 1565772933 Fix issue with yearly recurrence.
Should fix #158.
2020-09-06 18:51:24 +03:00
Tom Hacohen 3ce158ca88 Tasks: autocomplete from all of the tags options (not just hardcoded).
Partially fixes #152.
2020-09-06 18:19:19 +03:00
Tom Hacohen 9f426bf2c8 Collection members: show admins in the member list. 2020-09-06 18:13:05 +03:00
Tom Hacohen aed7862cab Collection creation: change title to Collection instead of journal. 2020-09-06 17:54:20 +03:00
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
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
Tom Hacohen 3ebaf35f49 Implement adding new collections and editing existing 2020-08-06 10:46:35 +03:00
Tom Hacohen 96ae079145 Add a collections section. 2020-08-06 10:46:35 +03:00
Tom Hacohen 1b73899182 Appbar: make sure it changes when the location changes. 2020-08-06 10:46:35 +03:00
Tom Hacohen b804a8945d Add back the tab navigation buttons. 2020-08-06 10:46:35 +03:00
Tom Hacohen a4ee9b57c9 Fix sidemenu and drawer menu icon for the home routes. 2020-08-06 10:46:35 +03:00
Tom Hacohen 09dc82df67 Fix Debug page. 2020-08-06 10:46:35 +03:00
Tom Hacohen 7f85d304a8 Store: fix cache collection storage. 2020-08-06 10:46:35 +03:00
Tom Hacohen b39f100bdb Create tasks route. 2020-08-06 10:46:35 +03:00
Tom Hacohen 32426b2460 Create the calendar route. 2020-08-06 10:46:35 +03:00
Tom Hacohen b29f19639a Contacts: implement FAB for adding contacts. 2020-08-06 10:46:35 +03:00
Tom Hacohen 36e5f2ccff Moved contact components under Contacts and remove from Pim. 2020-08-06 10:46:35 +03:00
Tom Hacohen 460c712411 Remove PimMain. 2020-08-06 10:46:35 +03:00
Tom Hacohen b796217cd1 Implement contacts editing. 2020-08-06 10:46:35 +03:00
Tom Hacohen 2edc95cce7 snap 2020-08-06 10:46:35 +03:00
Tom Hacohen 1f1d3b6a89 basic sync 2020-08-06 10:46:35 +03:00
Tom Hacohen 1817fbf87d Etebase change to login. 2020-08-06 10:46:32 +03:00
Tom Hacohen 6d18d494a7 JournalMembers: change to be a function component. 2020-08-06 09:46:20 +03:00
Tom Hacohen 6e4689f697 JournalEntries: change to be a function component. 2020-08-05 22:14:28 +03:00
Tom Hacohen cd7739a3d1 ImportDialog: change to be a function component. 2020-08-05 21:13:25 +03:00
Tom Hacohen 749d9de581 SideMenu: change to be a function component. 2020-08-05 17:35:33 +03:00
Tom Hacohen 2eaa9b503a SearchableAddressBook: change to be a function component. 2020-08-05 12:35:29 +03:00
Tom Hacohen c1b57eecfd App: change to be a function component. 2020-08-05 12:20:52 +03:00