Tom Hacohen
c90bf78dc5
Enable R8 and fix errors.
4 years ago
Alex Baker
a36cfb8c9b
Use getWantedTaskProvider
4 years ago
Alex Baker
e01f54c687
Add Tasks.org support
4 years ago
Tom Hacohen
df94fde5ff
Move CollectionInfo and SyncEntry to the journalmanager module.
4 years ago
Tom Hacohen
5db8545f8f
Upgrade ical4android.
4 years ago
Tom Hacohen
3c74cb1575
Optimise imports.
5 years ago
Tom Hacohen
c8a81862ea
Import: fix import of contacts.
5 years ago
Tom Hacohen
9018b6cdd0
Import: make it easy to report import issues to devs.
5 years ago
Tom Hacohen
8e457c5ec7
Import contacts: fix wrong import account.
5 years ago
Tom Hacohen
cac34e6785
Import: verify activity is not null when finishing import.
...
This is really just an ugly workaround for a crash. This whole thing needs to
be redone. It's currently quite broken when it comes to lifecycle handling and
a source for many issues.
5 years ago
Tom Hacohen
84ab0cb16f
Import: check if successfully acquired the provider before trying to import.
5 years ago
Tom Hacohen
1f9e7fa6a6
Revert: Import: always import, don't try to find duplicates based on UID
...
This is somehow a revert of 536bef9815
.
It was initially implemented as a workaround for #24 , but having
improved all the clients to deal with weird UIDs and matured a lot since
then, I believe this is no longer an issue.
Would have to keep a close eye for regressions.
5 years ago
Tom Hacohen
d358ac0ba4
Import: implement importing tasks from file.
...
Fixes #74 .
5 years ago
Tom Hacohen
f4ce548310
Import: replace size check with isEmpty().
5 years ago
Tom Hacohen
6381617f2c
Import: only dismiss import dialog if already showing.
...
This should fix a crash when the os kills the activity before import is done.
5 years ago
Tom Hacohen
e4b29832f5
Import: mark progressDialog as non-null.
5 years ago
Tom Hacohen
9c8daf1ebd
More optimise imports.
5 years ago
Tom Hacohen
7010967a31
Import: fix crash when import finishes while the activity is dead.
5 years ago
Tom Hacohen
bc829d0d1e
Improve logging in syncmanager and import.
5 years ago
Tom Hacohen
17b6e69c86
Move everything to use the new Logger
5 years ago
Tom Hacohen
6f453faf06
Import: cleanup code a bit.
...
This should make it easier to debug null errors.
5 years ago
Tom Hacohen
77d89f3b4b
Import: Rename poorly named class.
5 years ago
Tom Hacohen
b765f177c7
Migrate to AndroidX.
5 years ago
Tom Hacohen
1b15aaab19
Import: minor code cleanups.
5 years ago
Tom Hacohen
b64b95e204
Import from file: fix issues with sometimes importing from file.
5 years ago
Tom Hacohen
4fb49cf5f4
Import from file: dismiss dialog and print an error in a missed error case.
5 years ago
Tom Hacohen
b6453718f4
Import fragment: move the null assertions around a bit
...
Better this way. Easier to know what's going on.
5 years ago
Tom Hacohen
b13be67820
Import: improve group import and fix a potential crash
...
Fixes a potential crash when e.g. importing a file with a group that has
members that don't actually exist (e.g. importing a partial vcf).
This change also fixes importing files that have the groups show up
before their members.
5 years ago
Tom Hacohen
f9fc14b0dd
Address book import: add support for importing groups from file
...
Fixes #54
5 years ago
Tom Hacohen
0ae278aabd
Addressbook import: implement group import when importing from account.
...
Partially fixes #54 . Only the from account is currently implemented, but
that should be sufficient for most people already.
5 years ago
Tom Hacohen
e005064be6
Fix a lot of kotlin warnings
5 years ago
Tom Hacohen
723790178c
Optimise imports.
5 years ago
Tom Hacohen
c4daed9391
Upgrade vcard4android and ical4android.
...
This is a monster commit because to be honest, it's a monster change. It
was impossible to do it in smaller steps because things just wouldn't
compile.
We couldn't do the migration step by step because they moved to Kotlin
which was causing a lot of troubles.
Now we are all on Kotlin, so things should hopefully work just fine.
6 years ago
Tom Hacohen
cd33b5def8
Kotlin: move resources to Kotlin (almost compiles).
...
It just needs a few tiny wrappers around some public statics. I'm not
doing that because it'll sort itself out the moment we update
vcard4android and ical4android.
6 years ago
Tom Hacohen
e38c720d1a
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
4d516c5fe1
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
4c4c94ca1c
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
f77063ff1a
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
12c41b450c
Contact import: Don't list accounts with an empty account name or type.
6 years ago
Tom Hacohen
25759a4e86
Fix typo in error message.
6 years ago
Tom Hacohen
3efa76579e
Fix crash with missing contact downloader when importing.
6 years ago
Tom Hacohen
2e92422ea6
Import: fix showing the import finished dialog.
6 years ago
Tom Hacohen
c93e21e2d3
Contact import: fix accidental double-import.
6 years ago
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.
6 years ago
Tom Hacohen
dd96ea38d0
Remove lombok usage entirely, but keep it for the submodules
6 years ago
Tom Hacohen
0e6ee9c101
Fix content provider leak.
7 years ago
Tom Hacohen
71563eddfe
Import: fix crash when import finishes while the app is minimised.
7 years ago
Tom Hacohen
1cf1d0f5b0
BaseActivity: Add an activity that all other activities inherit from.
...
Now that we have this activity, remove the duplication of onResume/onPause and
onOptionsItemSelected.
7 years ago
Tom Hacohen
eb95eada91
Import: Add an alias for our addressbook and davdroid account types.
7 years ago
Tom Hacohen
2f95ddbda2
Import: Fix address book import.
...
The import code assumed there can be only one address book, and that
it's the main one. This commit fixes that wrong assumption.
7 years ago