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
Tom Hacohen
2417f77a39
Sync: handle permission denied sync errors.
2020-09-25 10:04:33 +03:00
Tom Hacohen
5f8ca4326b
Bump version
2020-09-25 10:04:33 +03:00
Tom Hacohen
f725b3069b
List entries fragment: remove unused variable.
2020-09-25 10:04:33 +03:00
Tom Hacohen
117f4e41f4
Item: support showing item revisions.
2020-09-25 10:04:33 +03:00
Tom Hacohen
73bebcd7c4
Entries list: preserve scroll position when moving back to fragment.
2020-09-25 10:04:33 +03:00
Tom Hacohen
d768ab69cd
Fix parsing of #RRGGBBAA collection colors.
2020-09-25 10:04:33 +03:00
Tom Hacohen
3e7e90d466
Server url: use our etebase partner URL.
2020-09-25 10:04:33 +03:00
Tom Hacohen
1bdd4d78f4
Implement account settings and password change.
2020-09-25 10:04:33 +03:00
Tom Hacohen
a2a9a3e08c
Request sync after editing/removing a collection.
2020-09-25 10:04:33 +03:00
Tom Hacohen
cccbfba568
Contacts import: show a sensible error when address book is not found.
2020-09-25 10:04:33 +03:00
Tom Hacohen
7ff80aaf9b
SyncManager: fix crash with imported items.
2020-09-25 10:04:33 +03:00
Tom Hacohen
712346c7ae
Import: implement import in etebase.
2020-09-25 10:04:33 +03:00
Tom Hacohen
c24936ff7e
Collections: implement inviting members.
2020-09-25 10:04:33 +03:00
Tom Hacohen
cbe7e142dc
Members: implement removing members.
2020-09-25 10:04:33 +03:00
Tom Hacohen
df9f2f4ed4
Collection member listing.
2020-09-25 10:04:33 +03:00
Tom Hacohen
251e610fe8
First sync failures on first account addition.
2020-09-25 10:04:33 +03:00
Tom Hacohen
cea7f8fdc6
Implement showing changelog item.
2020-09-25 10:04:33 +03:00
Tom Hacohen
71e37fb9a6
Only allow collection owners to edit it.
2020-09-25 10:04:33 +03:00
Tom Hacohen
290aa159b2
Implement showing fingerprint.
2020-09-25 10:04:33 +03:00
Tom Hacohen
b9d3dc691b
Implement collection creation.
2020-09-25 10:04:33 +03:00
Tom Hacohen
74b4ef3ee9
Overhaul Etebase collection activity.
2020-09-25 10:04:33 +03:00
Tom Hacohen
be22beb7f9
EditCollection: add a fragment to edit collection.
2020-09-25 10:04:33 +03:00
Tom Hacohen
63a8bf91a9
ViewCollection: add a basic etebase collection viewing activity.
2020-09-25 10:04:33 +03:00
Tom Hacohen
481dcc1944
SyncManager: handle stoken being null (empty collection).
2020-09-25 10:04:33 +03:00
Tom Hacohen
52b7a84a1a
Sync adapter: handle some etebase exceptions.
2020-09-25 10:04:33 +03:00
Tom Hacohen
f8c0eaca35
Sync manager: add etebase support (pushing changes)
2020-09-25 10:04:33 +03:00
Tom Hacohen
6302ab42de
Sync manager: add etebase support (pulling changes)
2020-09-25 10:04:33 +03:00
Tom Hacohen
efdce8c557
Account: logout and clear cache on account removal.
2020-09-25 10:04:33 +03:00
Tom Hacohen
85fd9fdd7c
AccountSettings: fix issue when saved uri is null.
2020-09-25 10:04:33 +03:00
Tom Hacohen
ea0f974086
Account activity: lock the cache when using it and cleanup color parsing
2020-09-25 10:04:33 +03:00
Tom Hacohen
deb1bb831b
AddressBooksSyncAdapter: implement syncing etebase address books
2020-09-25 10:04:33 +03:00
Tom Hacohen
d6a0958d16
TaskListSyncAdapter: implement syncing etebase task lists
2020-09-25 10:04:33 +03:00
Tom Hacohen
1c284bce91
CalendarSyncAdapter: implement syncing etebase calendars.
2020-09-25 10:04:33 +03:00
Tom Hacohen
2069e9b215
LocalEtebaseCache: create a shared collection + meta type.
2020-09-25 10:04:33 +03:00
Tom Hacohen
608f1ff371
Sync collections and show them in the account page.
2020-09-25 10:04:33 +03:00
Tom Hacohen
2c0e14d3a3
EtebaseLocalCache: add stoken and fix issues with loading files.
2020-09-25 10:04:33 +03:00
Tom Hacohen
79b650da38
LocalEtebaseCache: make sure we always return the same item.
2020-09-25 10:04:33 +03:00
Tom Hacohen
eeb93f523d
Get account list: add etebase support.
2020-09-25 10:04:33 +03:00
Tom Hacohen
69b044a444
Remove redundant code.
2020-09-25 10:04:33 +03:00
Tom Hacohen
09c932c02c
Account Settings: add a flag to check if legacy (and use in account page).
2020-09-25 10:04:33 +03:00
Tom Hacohen
90cc39deeb
EtebaseLocalCache: add a class that implements a local cache for etebase.
2020-09-25 10:04:33 +03:00
Tom Hacohen
5da8edd54d
Login dialog: add support for login into etebase accounts
2020-09-25 10:04:33 +03:00
Tom Hacohen
476f756307
Simplify Configuration class - caldav/carddav aren't required.
2020-09-25 10:04:33 +03:00
Tom Hacohen
feed7c2119
Add lifecycle kotlin extensions.
2020-09-25 10:04:33 +03:00
Tom Hacohen
4bf36e7ad3
Add kotlin extensions, enable R8 and fix errors.
2020-09-25 10:04:33 +03:00
Tom Hacohen
693157f71e
Fix gradle warning.
2020-09-25 10:04:33 +03:00
Tom Hacohen
ee8c8d8fe1
Login credentials: keep the default uri (even if null).
...
We need this for etebase compat.
2020-09-25 10:04:33 +03:00
Tom Hacohen
65861b3f1c
Account settings: add support for storing an etebase session.
2020-09-25 10:04:33 +03:00
Tom Hacohen
1062ed5833
Update strings because usernames need not be emails anymore.
2020-09-25 10:04:33 +03:00
Tom Hacohen
6cd5a5bba6
Add etebase dep.
2020-09-25 10:04:33 +03:00
Tom Hacohen
6718da0615
strings: rename a string to make more sense.
2020-09-25 10:04:27 +03:00
Oğuz Ersen
c022571b87
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (315 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-09-25 09:57:54 +03:00
Artem
f985303583
Translated using Weblate (Russian)
...
Currently translated at 10.7% (34 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/ru/
2020-09-25 09:57:54 +03:00
Allan Nordhøy
92668188af
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 99.3% (313 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/nb_NO/
2020-09-25 09:57:54 +03:00
J. Lavoie
67a20c6f54
Translated using Weblate (Italian)
...
Currently translated at 31.7% (100 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/it/
2020-09-25 09:57:54 +03:00
J. Lavoie
e6b39f4f0b
Translated using Weblate (French)
...
Currently translated at 51.1% (161 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/fr/
2020-09-25 09:57:54 +03:00
J. Lavoie
c7b438ebbf
Translated using Weblate (German)
...
Currently translated at 52.3% (165 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/de/
2020-09-25 09:57:54 +03:00
Oğuz Ersen
b6922d17ee
Translated using Weblate (Turkish)
...
Currently translated at 31.1% (98 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-09-23 16:59:56 +03:00
Oğuz Ersen
6a697e0e26
Translated using Weblate (Turkish)
...
Currently translated at 30.7% (97 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
2020-09-23 16:59:56 +03:00
Tom Hacohen
637e576130
Bump version
2020-09-06 16:14:15 +03:00
Tom Hacohen
aefdfe5479
Update okhttp3 dependency.
2020-09-06 16:07:23 +03:00
Tom Hacohen
3001af5b2e
Update targetSdk version as required by gplay.
2020-09-06 14:38:32 +03:00
Tom Hacohen
d6919a3c90
Bump version
2020-09-06 14:29:42 +03:00
Tom Hacohen
09c75914d6
Update appcompat deps and update styles as required
2020-09-06 14:27:24 +03:00
Tom Hacohen
c6c3dd35f6
Explicitly handle securityException for tasks permissions.
...
It should be handled automatically by the sync adapter's
onSecurityException function. I have no idea why it doesn't work
automatically for some users (but is fine for me).
2020-09-06 13:21:24 +03:00
Tom Hacohen
c90bf78dc5
Enable R8 and fix errors.
2020-09-06 11:51:22 +03:00
Tom Hacohen
cf2198b1b8
Sync contacts: make the account user visible.
...
It doesn't really matter, because it doesn't actually do anything (although it should),
but it should be user visible.
2020-09-06 11:38:54 +03:00
Tom Hacohen
74e245de6d
Android 11: export address book
...
Changes in Android 11 made it so address books are no longer shown. This
changes fixes it.
Based on DAVx5's similar fix.
638f9f9264
2020-09-06 11:37:43 +03:00
Tom Hacohen
16aca21e50
Bump version.
2020-08-07 09:07:35 +03:00
Tom Hacohen
2284af19a7
Remove redundant code.
2020-08-07 09:07:16 +03:00
Tom Hacohen
30354e4158
Tasks: reorder menu now that there are multiple task providers.
2020-08-07 08:53:27 +03:00
Tom Hacohen
8d32a5a956
Tasks: improve warning messages to include Tasks.org.
2020-08-07 08:53:27 +03:00
Alex Baker
a36cfb8c9b
Use getWantedTaskProvider
2020-08-07 08:53:27 +03:00
Tom Hacohen
52bf0b615c
Add utilities to update and get the wanted tasks provider.
2020-08-07 08:53:27 +03:00
Tom Hacohen
5fca068845
Add a setting to choose if we prefer Tasks.org or OpenTasks.
2020-08-07 08:53:27 +03:00
Alex Baker
e01f54c687
Add Tasks.org support
2020-08-04 13:09:38 -05:00
Tom Hacohen
23357b1b27
Bump version.
2020-07-14 11:48:17 +03:00
Tom Hacohen
5e0bf79e9f
Bump journalmanager dependency.
...
Fix handling of gateway timeouts.
2020-07-14 11:47:10 +03:00
Tom Hacohen
a3b0f71c13
Add a link to install Tasks.org (recommended tasks provider).
2020-07-05 11:06:56 +03:00
Tom Hacohen
3103d4d42a
Add a notice about only OpenTasks lists showing in app.
2020-07-05 10:58:27 +03:00
Tom Hacohen
55d90d9a9d
Change contact link to lead to the website rather than email.
...
The support load was getting too much, and we want people to join the chat
anyway...
2020-07-05 10:21:54 +03:00
Tom Hacohen
b0208f13a5
Fix compilation.
2020-07-03 15:22:00 +03:00
Tom Hacohen
46047f85bb
Bump version.
2020-07-02 13:28:11 +03:00
Tom Hacohen
80a9f3a645
Change default collection names from 'Default' to be descriptive
...
Fixes https://github.com/etesync/android/issues/118
2020-07-02 13:27:46 +03:00
Tom Hacohen
218182f07d
Bump version.
2020-06-21 15:45:07 +03:00
Tom Hacohen
bc75e9371b
Add a notice to the import screen about the import importing everything
...
This was first flagged by a user here:
https://www.reddit.com/r/EteSync/comments/hbdxf8/quickest_way_to_revert_an_import_into_address_book/
2020-06-21 15:44:32 +03:00
Tom Hacohen
0539d27eea
Bump version.
2020-06-03 09:46:18 +03:00
Tom Hacohen
c2df2f8d44
Show a snack if missing permissions.
...
A lot of people don't grant etesync the appropriate permissions
and then complain it doesn't work. Hopefully this will fix this
point of failure.
2020-06-03 09:45:58 +03:00
Tom Hacohen
ea6b8347da
Bump version.
2020-03-27 20:23:47 +03:00
Tom Hacohen
47c96963e9
Journal: don't attempt fetching entries if we are already up to date.
...
For a while now, etesync servers return the last entry uid as part of the
general journal querying. We can use this to check if we even need to
update the journals or not, making the overall sync much faster because
we no longer need to fetch journals that haven't changed.
2020-03-27 20:23:40 +03:00
Tom Hacohen
1bbbac4bd8
Bump version.
2020-03-12 14:26:39 +02:00
Tom Hacohen
b530b4c02f
Tasks collection view: add a warning about tasks not showing without OpenTasks.
...
Related to #105 (though not a fix...).
2020-03-12 14:26:06 +02:00
bennypr0fane
d92bc50a1d
Update German translation and fix typos
...
Merge of #108
2020-03-06 19:09:08 +02:00
Tom Hacohen
7adcb1d5ba
Bump version.
2020-03-02 20:21:35 +02:00
Tom Hacohen
ec78fc52af
Member add: change confusing string.
...
A few users reached out about this and were confused, not understanding
what we mean by having the journal sharing disabled.
2020-03-02 20:21:35 +02:00
Tom Hacohen
d1abf5ace6
Bump version.
2020-02-28 22:45:16 +02:00
Tom Hacohen
bb2b116723
Fix crash when initialising database.
...
This bug was introduced a few commits ago, in:
9f6b63620e
2020-02-28 22:45:01 +02:00
Tom Hacohen
e8ff818792
Bump version.
2020-02-28 13:03:16 +02:00
Tom Hacohen
20387612db
Journal entry list: mark malformed entries with a bug icon.
...
This is an indication that an entry failed to parse.
2020-02-28 13:00:48 +02:00
Tom Hacohen
9f6b63620e
Sync: make malformed entry errors non-fatal.
...
What we do is we mark them as failed and note the error, though we don't
currently have a way to notify the user about these errors. This will
follow in the next commit.
2020-02-28 12:58:56 +02:00
Tom Hacohen
a62c77c306
Bump version.
2020-02-11 22:58:02 +02:00
Tom Hacohen
42c61ed087
Bump journalmanager dependency (fixes crash in login page).
...
The login page was crashing when you were putting the app in the background.
This is because the userinfo class wasn't serializable. This was fixed in
the newer version of the journalmanager library.
2020-02-11 22:57:35 +02:00
Tom Hacohen
202847f30c
Remove unused code.
2020-02-11 22:51:02 +02:00
Tom Hacohen
b702cc6c17
Bump version.
2020-02-10 12:57:24 +02:00
Tom Hacohen
d603245eb3
Fix DebugInfoActivity - was crashing when fetching services
...
The issue was introduced in df94fde5ff
because of a bad refactor by android-studio.
2020-02-10 12:56:13 +02:00
Tom Hacohen
b5fbd9c39e
Bump version.
2020-02-05 16:03:06 +02:00
Tom Hacohen
021c6595e3
Add a FAB to the collection view activity with info about EteSync.
...
Many users don't understand how EteSync works and think that this replaces
their existing apps. This should make it more obvious that they should
just use the apps they already use.
2020-02-05 16:03:06 +02:00
Tom Hacohen
ccc17ba141
Login: change the welcome message based if first login or not.
...
This shared login screen was a shortcut we took a while back, but it's
now time to fix it and make it clear what's going on, just like in the
other apps.
2020-02-05 15:09:46 +02:00