Tom Hacohen
8f1f4785a6
Revert "Update requery and remove the afterLoad workaround."
...
Unfortunately this requery version introduced a regression. When adding
a new account, it takes syncign a few times until it works. It looks
like requery is not loading the recently saved instances.
This reverts commit f0f70ff1c61996d0e45d8f72d24654c739c325f7.
8 years ago
Tom Hacohen
57f447d372
Requery: Don't destroy and recreate db when updating.
8 years ago
Tom Hacohen
d80cce9aad
CryptoManager: add an HMAC_SIZE (in bytes) constant.
8 years ago
Tom Hacohen
56996b98c4
Update requery and remove the afterLoad workaround.
...
Prior to this version of requery there was an issue that prevented
afterLoad to be called in some cases. This issue forced us to add an
explicit call to afterLoad. It's now fixed, so the workaround is no
longer required.
Reference issue: https://github.com/requery/requery/issues/487
8 years ago
Tom Hacohen
c95aaaf5fd
HintManager: simplify by moving to strings and removing the need to register
8 years ago
Tom Hacohen
f89b225852
Update Changelog.
8 years ago
Tom Hacohen
c42602d030
Contacts/Event: Set PRODID to EteSync.
8 years ago
Tom Hacohen
4e0cd7f554
SyncManager: Use the last journal id as the ctag, instead of storing it.
...
We were storing the ctag separately although the data was already
present in the journal. The last entry's ID is always the CTAG.
This could cause issues if sync is aborted exactly at the right time.
I managed to trigger this issue on rare cases.
8 years ago
Tom Hacohen
338dd5e075
Database: Mark collections class as deprecated.
...
It's only used for migrations, and has been considered deprecated for a
while. Mark it as deprecated to make it extra obvious that this should
not be used.
8 years ago
Tom Hacohen
fcbf26a03b
Tests: Add journalentrymanager tests.
8 years ago
Tom Hacohen
14e6f757c5
Journalmanager: Change getUuid to getUid (the rest says uid too).
8 years ago
Tom Hacohen
7cefb64db2
CollectionInfo: rename url -> uid.
8 years ago
Tom Hacohen
2e7ac65883
Tests: Add some basic tests.
8 years ago
Tom Hacohen
dd425ecbe2
HttpUrl: Add a way to create from string host and auth token.
8 years ago
Tom Hacohen
d41b7827ee
Tests: Move constants to a shared file.
8 years ago
Tom Hacohen
9ba0f39660
Tests: Add basic authenticator tests.
8 years ago
Tom Hacohen
94f2682195
Tests: add basic encryption tests.
8 years ago
Tom Hacohen
a77e49c033
Tests: remove useless HttpClient test.
8 years ago
Tom Hacohen
70b549033c
Crypto: add an exception to when crypto version is too new.
8 years ago
Tom Hacohen
5abf635fa0
Base64: Pull in the base64 impl from the android source code.
...
It seems like this is the only (semi) sane way to get base64 to work on both
Android and local tests.
8 years ago
Tom Hacohen
e3c48a0560
ImportFragment: move to the import package.
8 years ago
Tom Hacohen
ea91063178
Use the safe getDrawable function instead of the version specific one.
8 years ago
Tom Hacohen
52723dac67
View collection: add a showcase to explain how to import.
8 years ago
Tom Hacohen
51d9c75c56
AccountActivity: Add a showcase to the account activity.
8 years ago
Tom Hacohen
cb140a3387
Main activity: Add a showcase for adding an account.
...
Turn it off by default if upgrading to this version, because this means
the user most likely already knows how to add an account.
8 years ago
Tom Hacohen
f650d38435
Hints manager: Add a class to manage hints (show once info)
...
This is much cleaner than what was there before, and enables to easily
add more hints.
8 years ago
Tom Hacohen
2570c9671d
Bump version
8 years ago
Tom Hacohen
4dd11a1912
Update minsdk version to 4.1 (16).
...
Prior to this version, the list of available crypto was quite poor.
8 years ago
Tom Hacohen
80fad58de4
Fix build break.
8 years ago
Ricki Hirner
c83b28c3bb
Account settings: restart loader after sync interval update
...
* debug info: add signature
8 years ago
Tom Hacohen
4920bc0c81
SSLSocketFactory: Update the cipher priority list to something more secure.
...
We can assume much safer ciphers since we control the server too and
we don't have to work with old insecure servers.
8 years ago
Ricki Hirner
3a0c112fad
Enable SSL_RSA_WITH_3DES_EDE_CBC_SHA for all Android versions
...
* refactor cipher selection
8 years ago
Tom Hacohen
c2e7914290
CollectionInfo: remove the obsolete support VEVENT and support VTODO.
8 years ago
Tom Hacohen
0a4d4a9d9e
Calendar sync adapter service: minor cleanup.
8 years ago
Tom Hacohen
b6f97ac955
Update cert/ical/vcard4android to latest.
8 years ago
Tom Hacohen
66f74e6eaf
Update gradle.
8 years ago
Ricki Hirner
1295e4557e
AccountsActivity: show message when global sync is disabled
8 years ago
Ricki Hirner
433484626f
Don't use uid2445 column on Android <4.2; alarm ACTION: compare only value (ignore parameters)
8 years ago
Ricki Hirner
f1ea00d816
Improve Android 7 workaround behavior in combination with CATEGORIES/VCard4 contact groups
8 years ago
Ricki Hirner
be833b03ee
Retain Events.UID_2445 when preparing events for upload
...
* move file name/UID generation from SyncManager to LocalContact, LocalEvent, LocalTask
* rename updateFileNameAndUID() to prepareForUpload()
* use random UUID for contacts, UidGenerator with Android device ID for events/tasks
* LocalEvent.prepareForUpload(): use existing UID_2445 if available
8 years ago
Ricki Hirner
97aefad0a2
Android 7 workaround: update hash after group membership operations
8 years ago
Tom Hacohen
c50ccf9b7a
Update changelog.
8 years ago
Tom Hacohen
d6558da503
Bump version.
8 years ago
Tom Hacohen
9486719cbb
Import: Resolved account name and icon when possible.
...
We assume the name of the account == package name, which is the best guess
we have. Android doesn't have a way to get account name/icon at the moment.
8 years ago
Tal Hacohen
e4fc23eb70
Journal - Load entries on background
8 years ago
Tom Hacohen
d5ba48e59c
Merge: Improve presentation of accounts in import screen
8 years ago
Tal Hacohen
2706021a5e
Import - Add account type to calendar account list
8 years ago
Tal Hacohen
bee502a440
Sort contacts accounts by name and type
8 years ago
Tom Hacohen
1227a66409
Import: Make icon acessible and get it for address book.
8 years ago
Tom Hacohen
15580374fa
Import: Make the select calendar/account lists nicer
...
This also adds an icon (that will soon be replaced with the icon of the
relevant account), and shares the design between the calendar and the
contacts.
8 years ago