1
0
mirror of https://github.com/etesync/android synced 2024-11-26 18:08:11 +00:00
Commit Graph

1313 Commits

Author SHA1 Message Date
Tom Hacohen
277da4a770 Update changelog. 2018-04-11 10:23:36 +01:00
Tom Hacohen
2e5a38ca42 Bump version. 2018-04-11 10:22:36 +01:00
Tom Hacohen
8982e4a800 Don't crash when deleting a non-existent record
This shouldn't even happen, but it apparently happened to a user. This
commit changes it so it logs a warning instead of crashing.
2018-04-11 10:17:31 +01:00
Tom Hacohen
5a64bd90cc Fix adding members on some devices.
Networking is not allowed on the main thread, and on some devices with strict
mode on, even the creation of the http handler is enough to trigger an
exception (i.e even if not used from the thread).

This moves even the creation to a thread which fixes the issue.
2018-04-10 13:38:28 +01:00
Tom Hacohen
2b17b56c8c Update Changelog. 2018-02-06 23:36:21 +00:00
Tom Hacohen
743dde9f83 Bump version. 2018-02-06 23:34:55 +00:00
Tom Hacohen
1e7a38159f Increase HTTP logging verbose level.
HTTP requests and responses are logged when logging to file. Until now,
only the existence of requests was logged. With this change, also the
content and headers of the requests and responses is printed to the log.
2018-02-06 19:15:04 +00:00
Tom Hacohen
0c786e0b7c Update submodules to fix fdroid build issue. 2018-01-29 12:04:53 +00:00
Tom Hacohen
d3cf4134c0 Update Changelog. 2018-01-25 14:42:40 +00:00
Tom Hacohen
f8211207fd Bump version. 2018-01-25 14:38:31 +00:00
Tom Hacohen
a28b46f8f9 Don't print content of added/changed contacts and groups.
Before this change we were printing added/changed contacts and groups
to the adb log. This is not a big deal on its own, but now since we
have ACRA, we share these logs on crash (if user approves) so it's
better to remove personal information to make sure it's not being
accidentally shared.
2018-01-25 10:51:50 +00:00
Tom Hacohen
730e5c0119 Debug Info: improve warning text about personal information. 2018-01-24 17:23:59 +00:00
Tom Hacohen
2f1a9281b8 SyncManager: change pushing entries in chunks to also process in chunks
Android annoyingly kill sync managers that don't have a significant
amount of network traffic within a given minute. This means that if we
have a lot of entries to process, we may get killed by the system if we
have a lot of entries to prepare for pushing. We were sending in chunks,
for network performance, but now we make the whole process work in
chunks.

This should fix an issue reported by a user who imported a significant
amount of contacts in one go.

This is similar to the issue fixed for fetch in:
f7104bbcef
2018-01-24 16:02:20 +00:00
Tom Hacohen
5a2f8260c7 Sync: don't re-apply local entries.
We were doing it to make sure we don't get overridden by
server changes. But we already changed this behaviour in
the past, so this call was just doing nothing and slowing
down the sync.
2018-01-24 15:22:08 +00:00
Tom Hacohen
90434e0d82 ACRA: Share more logs (500 last lines instead of 100) 2018-01-24 12:00:38 +00:00
Tom Hacohen
64a86e50d4 Debug info: when sharing, also share the full ACRA info. 2018-01-24 11:58:40 +00:00
Tom Hacohen
7f015dc661 Update Changelog. 2018-01-23 10:49:12 +00:00
Tom Hacohen
32b01d78a0 Bump version. 2018-01-23 10:42:21 +00:00
Tom Hacohen
2e92422ea6 Import: fix showing the import finished dialog. 2018-01-22 16:40:48 +00:00
Tom Hacohen
c93e21e2d3 Contact import: fix accidental double-import. 2018-01-22 16:40:48 +00:00
Tom Hacohen
536bef9815 Import: always import, don't try to find duplicates based on UID.
This was causing issues when importing from a Google account in some cases
because we were getting weird UIDs.

This was also problematic when importing from other sources that
reported weird UIDs.
2018-01-22 16:40:48 +00:00
Tom Hacohen
dd96ea38d0 Remove lombok usage entirely, but keep it for the submodules 2018-01-22 16:40:36 +00:00
Tom Hacohen
c65640586b Properly switch to kapt2 as the annotation processor 2018-01-22 13:49:57 +00:00
Tom Hacohen
c1460792b2 Update gitignore. 2018-01-21 21:45:14 +00:00
Tom Hacohen
a685620a37 Update gradle and add kotlin support 2018-01-19 20:48:57 +00:00
Tom Hacohen
c9dca4c0bf Update requery 2018-01-19 20:32:01 +00:00
Tom Hacohen
1046164b83 Delombokify: remove Setter/Getter usages. 2018-01-19 19:44:03 +00:00
Tom Hacohen
13c718977e Delombokify: remove RequiredArgsConstructor usages. 2018-01-19 19:26:25 +00:00
Tom Hacohen
6ab3401bf5 Move journal owner tests to the journal and make case insensitive. 2018-01-19 19:01:47 +00:00
Tom Hacohen
b8299a81ce Add ACRA for crash reporting.
This will make it easier to identify and fix crashes.

Until now we relied on user to automatically figure out if the app has
crashed and gather debug info manually. This didn't work well,
especially in places like "import" where they just assumed the import
finished successfully if there was a crash.

This change makes it so whenever there's a crash, the email app is
opened with a template email and the stack trace attached.

This should make it easier for us to detect and fix issues.

Important to note: nothing is sent automatically.
2018-01-19 15:40:12 +00:00
Tom Hacohen
16e0a57f67 Update support libs. 2018-01-19 15:40:12 +00:00
Tom Hacohen
5ddde0671d Update gradle. 2018-01-19 15:40:12 +00:00
Tom Hacohen
b8043a563a Switch ical/vcard/cert4android to our own repos.
DAVdroid have updated to kotlin, and kotlin is problematic with
annotation processors which was breaking the whole build.

This also meant we were not able to update to a new gradle version or
import just partial, smaller fixes. Now we have control over the
submodules as well, which fixes the above issues. At least for now.
2018-01-19 15:40:12 +00:00
Tom Hacohen
99afd923d5 Add detection and a pop-up of vendor specific bugs.
Some device manufacturers (I'm looking at you Xiaomi!) made some changes
to Android that break content providers and other background apps. This
affects a few apps, including DAVdroid from which EteSync is derived.

This change attempts to automatically detect such devices, alert users
and point them to the relevant FAQ entry.

I've already had to deal with a few bug reports stemming from this
issue, so it's good to have this handled automatically.

This addresses #22
2018-01-18 11:42:27 +00:00
Tom Hacohen
9277581607 File logging: make it more obvious how to get rid of the notification.
Fixes #23.
2018-01-17 14:26:08 +00:00
Tom Hacohen
80700c181a Update Changelog. 2018-01-07 17:29:57 +00:00
Tom Hacohen
524cf282c7 Bump version. 2018-01-07 17:29:25 +00:00
Tom Hacohen
9d12e9c809 Fix confusing error message when creating/fetching user info. 2018-01-07 17:29:10 +00:00
Tom Hacohen
c3c7ac9554
Fix chat link 2017-12-28 16:10:16 +00:00
Tom Hacohen
2f16291cdb
Add badges to readme 2017-12-28 16:08:14 +00:00
Tom Hacohen
1d37d57b06 Update Changelog. 2017-12-26 12:01:21 +00:00
Tom Hacohen
e2beec0968 Bump version. 2017-12-26 12:00:58 +00:00
Tom Hacohen
d39ed22c82 Update store description. 2017-12-26 12:00:40 +00:00
Tom Hacohen
5d084aa79f Update changelog. 2017-12-16 14:48:23 +00:00
Tom Hacohen
b0adc3c6c8 Bump version. 2017-12-16 14:47:28 +00:00
Tom Hacohen
3a1b980384 Improve error message when using the wrong password on account creation. 2017-12-16 14:46:00 +00:00
Tom Hacohen
4567f2347e Remove product flavours. 2017-12-16 14:09:44 +00:00
Tom Hacohen
cf15bc39c0 Update compile and target sdk version. 2017-12-11 17:28:49 +00:00
Tom Hacohen
7035b0bba9 Update changelog. 2017-12-11 11:19:13 +00:00
Tom Hacohen
904e9482d7 Bump version. 2017-12-11 11:18:49 +00:00