1
0
mirror of https://github.com/etesync/android synced 2024-11-22 07:58:09 +00:00
Commit Graph

1318 Commits

Author SHA1 Message Date
Tom Hacohen
198657d008 Update etebase dep.
Fixes crashes with Android older than Android 7.
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
9ca84001c2 Bump version 2020-10-28 15:11:42 +02:00
Tom Hacohen
1e4c761a54 Update etebase dep. 2020-10-28 15:11:42 +02:00
Tom Hacohen
c97e7902a0 Email invitation: fix french translation (was crashing).
The issue was that it had a space after the % so it was missing
a qualifier.
2020-10-28 15:08:48 +02:00
Tom Hacohen
50a366dcb5 Bump version 2020-10-27 09:37:34 +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
5f66f1f3e5 Bump version 2020-10-25 15:37:53 +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
bac6f0e947 Bump version code (changing version code scheme). 2020-10-22 09:44:44 +03:00
Tom Hacohen
9376e60276 Invitations: trigger a sync when accepting invitations. 2020-10-22 09:44:44 +03:00
Oğuz Ersen
1bedb331e7 Translated using Weblate (Turkish)
Currently translated at 100.0% (344 of 344 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-10-21 21:26:23 +03:00
Oğuz Ersen
54c39a464b Translated using Weblate (Turkish)
Currently translated at 100.0% (343 of 343 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-10-21 21:26:23 +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
d0051fd24c Update etebase dep. 2020-10-19 18:11:06 +03:00
Tom Hacohen
d17b5fb5d4 gradle: fix deprecation warning. 2020-10-19 18:07:59 +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
fac8ff65a8 Upgrade desugaring lib. 2020-10-18 11:42:21 +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
18c784692f Enable desugaring (needed by ical4android).
ical4j and thus ical4android now rely on java.time.ZoneOffset which is only available
in Android starting from Android 8. This will make it work on older Android versions
too.
2020-10-18 10:31:34 +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
koffevar
6a8ea1633d Translated using Weblate (Russian)
Currently translated at 21.1% (71 of 336 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/ru/
2020-10-15 13:58:13 +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
Allan Nordhøy
b524ae21f4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.5% (321 of 336 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/nb_NO/
2020-10-12 09:30:57 +03:00
Oğuz Ersen
0b7e351fac Translated using Weblate (Turkish)
Currently translated at 100.0% (336 of 336 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-10-08 23:41:51 +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
afe7f12a9d Translations: remove removed strings. 2020-10-07 11:47:51 +03:00
Danit Carmi
0139e69ee2 Translated using Weblate (Hebrew (Israel))
Currently translated at 69.0% (232 of 336 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/he_IL/
2020-10-07 11:46:57 +03:00
Danit Carmi
c54119a8eb Translated using Weblate (Hebrew (Israel))
Currently translated at 68.7% (227 of 330 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/he_IL/
2020-10-07 11:46:57 +03:00
Danit Carmi
ccf896302b Translated using Weblate (Hebrew (Israel))
Currently translated at 22.1% (73 of 330 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/he_IL/
2020-10-07 11:46:57 +03:00
Danit Carmi
e261082aac Added translation using Weblate (Hebrew (Israel)) 2020-10-07 11:46:57 +03:00
Oğuz Ersen
e6543e8c0a Translated using Weblate (Turkish)
Currently translated at 100.0% (337 of 337 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-10-07 11:37:10 +03:00
Oğuz Ersen
a88092cb9a Translated using Weblate (Turkish)
Currently translated at 100.0% (336 of 336 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-10-07 11:37:10 +03:00
Simon Vandevelde
0f1781de27 Translated using Weblate (Dutch)
Currently translated at 100.0% (336 of 336 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/nl/
2020-10-07 11:37:10 +03:00
Oğuz Ersen
6fbd1781ca Translated using Weblate (Turkish)
Currently translated at 100.0% (336 of 336 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-10-07 11:37:10 +03:00
Allan Nordhøy
6ca0419ac0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.2% (321 of 330 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/nb_NO/
2020-10-07 11:37:10 +03:00
Tom Hacohen
c5f9cd75b3 ChangePassword: remove confusing notice.
It was only there in the Android app anyway, and was confusing for most people.
2020-10-07 11:17:00 +03:00
Tom Hacohen
193c5d454f CollectionMembersAdd: fix strings. 2020-10-06 10:44:52 +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
02a758739d Fix caps in string.
Thanks to @SaltFactory for reporting.
2020-10-04 11:27:21 +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
025ff6a689 Adding member: change dialog title. 2020-10-01 11:00:16 +03:00
Tom Hacohen
b76b9e7f6d Update deps and adjust code accordingly. 2020-10-01 10:14:08 +03:00
Tom Hacohen
19c0f8988b Update requery. 2020-10-01 09:40:29 +03:00
Tom Hacohen
468b97f6f0 Invitations: show who the invitation is from. 2020-09-30 11:56:37 +03:00
Tom Hacohen
1a6376e61a Update etebase dep. 2020-09-30 11:56:37 +03:00
Simon Vandevelde
85aae2ac5b Translated using Weblate (Dutch)
Currently translated at 58.1% (192 of 330 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/nl/
2020-09-29 13:05:01 +03:00
Allan Nordhøy
17beb44ca9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.9% (320 of 330 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/nb_NO/
2020-09-27 15:42:24 +03:00
Oğuz Ersen
3057d05db5 Translated using Weblate (Turkish)
Currently translated at 100.0% (330 of 330 strings)

Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-09-26 11:27:21 +03:00
Tom Hacohen
f7852dc866 Update etebase dep. 2020-09-25 10:05:30 +03:00
Tom Hacohen
a0b2d7754c BaseConfigurationFinder: make the Etebase error catcher more generic. 2020-09-25 10:05:30 +03:00
Tom Hacohen
da26aaa179 Debug info: make the text selectable. 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
Tom Hacohen
d260d7699a Account settings: disable the account dashboard link until we implement it. 2020-09-25 10:05:30 +03:00
Tom Hacohen
52dcd459d9 Cleanup how we create address book names. 2020-09-25 10:05:30 +03:00
Tom Hacohen
9bfeb0c347 Collection view: improve empty collection messages. 2020-09-25 10:05:30 +03:00
Tom Hacohen
6e799d5887 Login and signup: improve dialog text. 2020-09-25 10:05:28 +03:00
Tom Hacohen
39ad32bbd0 Collection membership: implement leaving collections. 2020-09-25 10:04:33 +03:00
Tom Hacohen
bf1155d0b8 Invitations: implement invitations handling. 2020-09-25 10:04:33 +03:00
Tom Hacohen
b11ece37d5 SyncAdapter: fix crash when syncing empty accounts. 2020-09-25 10:04:33 +03:00
Tom Hacohen
2eeee1214f Signup: add a signup fragment so people can sign up from the app 2020-09-25 10:04:33 +03:00
Tom Hacohen
44503715a8 Login fragment: clear errors on validation success 2020-09-25 10:04:33 +03:00
Tom Hacohen
f40a4a9b5c Strings: add a username string. 2020-09-25 10:04:33 +03:00
Tom Hacohen
5bf69d27d3 Login page: remove EteSync-specific string + update forgot password link. 2020-09-25 10:04:33 +03:00
Tom Hacohen
cec32851cf Fix login/change password forms to have a consistent design. 2020-09-25 10:04:33 +03:00
Tom Hacohen
bf050aa53b HttpClient: use the http client builder when using etesync
If we don't use the http client builder we don't get cert4droid hooked
which means we won't correctly support self-signed certificates.
2020-09-25 10:04:33 +03:00
Tom Hacohen
048acdf26c Have a collection fetching cache like we had for etesync v1.
This is there because we usually sync all of the adapters in tandem and
we were fetching all of the collections multiple times because of it.
2020-09-25 10:04:33 +03:00
Tom Hacohen
b637f25f4a Update etebase dep and adjust code accordingly 2020-09-25 10:04:33 +03:00
Tom Hacohen
20a2c1b445 Contacts sync: try setting the sync to expedited so it maybe happens sooner. 2020-09-25 10:04:33 +03:00
Tom Hacohen
bc44062e93 Local resources: fix the mess of find by username/uid being all mixed up.
We were searching by filename but the function was called uid and other such
mixups. This change should now fix all of them by having a function for each
that actually does the right thing.
2020-09-25 10:04:33 +03:00
Tom Hacohen
97d1a40e49 AddressBook: set isSyncable=1 on creation and update readOnly
Set isSyncable=1 at creation (and not only after first sync)
2020-09-25 10:04:33 +03:00
Tom Hacohen
00a1a223d0 SyncManager: correctly set the item's UID in the metadata.
We were only populating the uid after setting it in the metadata so
we were always setting null in the metadata which was causing
errors.
2020-09-25 10:04:33 +03:00
Tom Hacohen
6459d71ab6 Make sure we never upload items without a uuid. 2020-09-25 10:04:33 +03:00
Tom Hacohen
6710459176 SyncManager tasks: fix bug with task lists being reset. 2020-09-25 10:04:33 +03:00
Tom Hacohen
f6a44a33da AccountActivity: fix crash when removing account. 2020-09-25 10:04:33 +03:00