1
0
mirror of https://github.com/etesync/android synced 2024-11-16 04:49:06 +00:00
Commit Graph

908 Commits

Author SHA1 Message Date
Tom Hacohen
4b6ce9ac5d Sync errors: better handle Unauthorized and PermissionDenied errors.
We now open the account settings instead of the debug activity.
2020-11-08 17:52:00 +02:00
Tom Hacohen
9fd370ff6e Fix potential crash in migration script. 2020-11-08 17:52:00 +02:00
Tom Hacohen
dfc1e78543 Import: fix error reporting to not be silent. 2020-11-08 17:52:00 +02:00
Tom Hacohen
4485fdbb08 Fix crashes. 2020-11-08 17:52:00 +02:00
Tom Hacohen
8a9161301e ViewCollection: fix crash when clicking options while still loading. 2020-11-03 14:47:23 +02:00
Tom Hacohen
eb09c3a0e0 Account Loader: use view models instead of AsyncTask.
Should fix rare crashes some users were experiencing.
2020-11-02 17:01:50 +02:00
Tom Hacohen
c953a273e5 Fix rare crash when syncing EteSync 1.0 accounts. 2020-11-02 09:32:32 +02:00
Tom Hacohen
06c511eb67 Event invitations: only send invitations for events we created locally. 2020-11-02 09:13:24 +02:00
Tom Hacohen
e3dc70bc11 Fix crashes with fragments that don't have a default constructor. 2020-11-01 16:49:49 +02:00
Tom Hacohen
cea216e6f7 DetectConfigurationFragment: use async task instead of loader.
It's cleaner, but it should also hopefully fix issues with some Android
devices killing the worker thread.
2020-10-30 12:52:58 +02:00
Tom Hacohen
586ad902c6 Crash reporting: including username when possible. 2020-10-27 09:37:34 +02:00
Tom Hacohen
8006ad1196 DebugInfo: include the crash exception if available. 2020-10-27 09:08:26 +02:00
Tom Hacohen
e6c172e60b Debug info: fix sending of crash information (visual feedback). 2020-10-27 09:06:09 +02:00
Tom Hacohen
db993e81eb Import: have a user facing error instead of a crash. 2020-10-27 08:53:18 +02:00
Tom Hacohen
b5aafc11c5 EditCollection: only show error if we are still attached to context. 2020-10-27 08:49:41 +02:00
Tom Hacohen
841a1f0fd9 LoginCredentials: fix crash with fragment.
All Fragment classes you create must have a public, no-arg constructor.
2020-10-27 08:43:44 +02:00
Tom Hacohen
5cd8ea82ff Change log view: be more defensive about malformed dates for events. 2020-10-27 08:26:49 +02:00
Tom Hacohen
f7e0e30b65 Crash reporting: change to the ACRA http reporter instead of email.
This solves all of the issues with ProtonMail and Tutanota, and is better
anyway.
2020-10-25 15:32:32 +02:00
Tom Hacohen
9376e60276 Invitations: trigger a sync when accepting invitations. 2020-10-22 09:44:44 +03:00
Tom Hacohen
3a96e16af3 Migration: fix crash after the end of migration. 2020-10-20 13:25:07 +03:00
Tom Hacohen
f7314a5cca Migration: improve the end-of-migration message. 2020-10-20 13:21:49 +03:00
Tom Hacohen
4ee571a4c9 Migration: remove unused parameter and use correct fragment manager. 2020-10-20 13:21:09 +03:00
Tom Hacohen
05b41c7f7d Migration: add a tool for migrating to EteSync v2. 2020-10-19 16:14:06 +03:00
Tom Hacohen
2277888aee Rename the etebase_fragment_activity layout. 2020-10-19 10:53:01 +03:00
Tom Hacohen
17e7085aa4 Fix crash when deleting an item before it was ever uploaded. 2020-10-18 10:51:47 +03:00
Tom Hacohen
fd94ea51f5 Signup page: add a notice about the pricing. 2020-10-16 18:58:20 +03:00
Tom Hacohen
b5355b47e3 Webview: cleanup the code a bit. 2020-10-16 18:54:28 +03:00
Tom Hacohen
181dd45e2c NewAccountWizard: don't show retry button when loading is successful. 2020-10-16 16:25:00 +03:00
Tom Hacohen
73c1d1ee0b Update etebase dep and adjust code accordingly. 2020-10-15 13:56:39 +03:00
Tom Hacohen
edb1579fe0 LocalCache: allow trying to unset non-existent collection. 2020-10-15 13:56:39 +03:00
Tom Hacohen
624372f527 NewAccountWizard: use the etebase types constants. 2020-10-15 13:56:39 +03:00
Tom Hacohen
008f91d715 Settings: Implement the dashboard link. 2020-10-15 13:56:39 +03:00
Tom Hacohen
46dbb22ff3 LocalCache: use the new Etebase FileSystemCache. 2020-10-07 16:54:09 +03:00
Tom Hacohen
9ce152f5be Use the library's isServerEtebase function. 2020-10-07 14:19:13 +03:00
Tom Hacohen
12d25a7785 Signup: add field validations.
We have centralised validation in the server, but it's not yet
exposed in etebase-java so we have to do it here too for now.
2020-10-07 13:49:50 +03:00
Tom Hacohen
918f30965d EtebaseCache: fix crash when removing and re-adding (sometimes).
Essentially the problem was that when we were removing the account, the cache
directory was removed. Though then when readding the account, we would get the
cache handler from our handler cache, which would already be init, so it'd
assume the directory already exists. This was only relevant if there were
network errors because otherwise the sync would also happen it the background
which would create the missing dirs anyway.

The solution: remove the object from the handler cache when removing account.
2020-10-06 10:26:40 +03:00
Tom Hacohen
db843d8798 NewAccountWizard: add a new account setup wizard. 2020-10-02 18:20:23 +03:00
Tom Hacohen
82ce1783bc CollectionEdit: update mtime when editing and deleting collections. 2020-10-01 11:47:00 +03:00
Tom Hacohen
a632ab9cf7 Invitations: add a confirmation dialog for sent invitations. 2020-10-01 11:12:20 +03:00
Tom Hacohen
b76b9e7f6d Update deps and adjust code accordingly. 2020-10-01 10:14:08 +03:00
Tom Hacohen
468b97f6f0 Invitations: show who the invitation is from. 2020-09-30 11:56:37 +03:00
Tom Hacohen
a0b2d7754c BaseConfigurationFinder: make the Etebase error catcher more generic. 2020-09-25 10:05:30 +03:00
Tom Hacohen
bf1acb1ff5 Improve logging for login/account creation 2020-09-25 10:05:30 +03:00
Tom Hacohen
2b88ad6896 Sync notifications: fix changes notifications to not show for items we pushed. 2020-09-25 10:05:30 +03:00
Tom Hacohen
16f7187a77 Mostly fix email sending for events with attendees.
We need to correctly set the organizer (and for that we need the email
address of the account).
2020-09-25 10:05:30 +03:00
Tom Hacohen
21d6459cd9 LocalEvent: fix crash when getting content of an event without a filename. 2020-09-25 10:05:30 +03:00
Tom Hacohen
86ea7e878e Sync: fix the sync notification to work with etesync 2.0 2020-09-25 10:05:30 +03:00
Tom Hacohen
f29d117cc6 Item view: implement restoring item to a previous revision state. 2020-09-25 10:05:30 +03:00
Tom Hacohen
be12f1d319 Collection creation: trigger an item load (even though empty).
We need it because otherwise the view collection looks as if it's just
loading, even though we know it's empty.
2020-09-25 10:05:30 +03:00
Tom Hacohen
44c29b4bcd Sync error notifications: only have one notification for refersh collections.
We were showing an error per sync type, now they are shared.
2020-09-25 10:05:30 +03:00