Tom Hacohen
2570c9671d
Bump version
2017-04-06 12:02:49 +01:00
Tom Hacohen
4dd11a1912
Update minsdk version to 4.1 (16).
...
Prior to this version, the list of available crypto was quite poor.
2017-04-06 10:55:33 +01:00
Tom Hacohen
80fad58de4
Fix build break.
2017-04-06 10:34:05 +01:00
Ricki Hirner
c83b28c3bb
Account settings: restart loader after sync interval update
...
* debug info: add signature
2017-04-06 10:08:16 +01:00
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.
2017-04-06 10:04:15 +01:00
Ricki Hirner
3a0c112fad
Enable SSL_RSA_WITH_3DES_EDE_CBC_SHA for all Android versions
...
* refactor cipher selection
2017-04-06 09:30:07 +01:00
Tom Hacohen
c2e7914290
CollectionInfo: remove the obsolete support VEVENT and support VTODO.
2017-04-05 19:24:55 +01:00
Tom Hacohen
0a4d4a9d9e
Calendar sync adapter service: minor cleanup.
2017-04-05 18:56:45 +01:00
Tom Hacohen
b6f97ac955
Update cert/ical/vcard4android to latest.
2017-04-05 18:40:47 +01:00
Tom Hacohen
66f74e6eaf
Update gradle.
2017-04-05 18:39:54 +01:00
Ricki Hirner
1295e4557e
AccountsActivity: show message when global sync is disabled
2017-04-05 18:37:24 +01:00
Ricki Hirner
433484626f
Don't use uid2445 column on Android <4.2; alarm ACTION: compare only value (ignore parameters)
2017-04-05 18:34:24 +01:00
Ricki Hirner
f1ea00d816
Improve Android 7 workaround behavior in combination with CATEGORIES/VCard4 contact groups
2017-04-05 18:32:52 +01:00
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
2017-04-05 18:29:15 +01:00
Ricki Hirner
97aefad0a2
Android 7 workaround: update hash after group membership operations
2017-04-05 18:09:58 +01:00
Tom Hacohen
c50ccf9b7a
Update changelog.
2017-04-03 23:07:37 +01:00
Tom Hacohen
d6558da503
Bump version.
2017-04-03 22:56:00 +01:00
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.
2017-04-03 22:52:39 +01:00
Tal Hacohen
e4fc23eb70
Journal - Load entries on background
2017-04-03 22:11:52 +01:00
Tom Hacohen
d5ba48e59c
Merge: Improve presentation of accounts in import screen
2017-04-03 22:09:36 +01:00
Tal Hacohen
2706021a5e
Import - Add account type to calendar account list
2017-04-03 21:41:47 +03:00
Tal Hacohen
bee502a440
Sort contacts accounts by name and type
2017-04-03 21:40:54 +03:00
Tom Hacohen
1227a66409
Import: Make icon acessible and get it for address book.
2017-04-03 14:21:21 +01:00
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.
2017-04-03 13:47:13 +01:00
Tom Hacohen
7915a51f1f
Import: Make account import activity prettier.
2017-04-03 13:10:35 +01:00
Tom Hacohen
0d848f0573
Merge: Add import from local accounts
...
This set of commits add import from local accounts.
It's a bit rough around the edges, but it's good enough to go in, so work can continue
collaboratively.
2017-04-03 12:56:52 +01:00
Tal Hacohen
9684123f68
Use App.log instead of Log in import fragmnets
2017-04-03 14:33:04 +03:00
Tal Hacohen
6820d9d413
Change desgin of both import lists
2017-04-03 14:27:48 +03:00
Tal Hacohen
8d208b3438
Refactor calendar account to import package
2017-04-03 14:27:48 +03:00
Tal Hacohen
1e9e055924
Import - Use ResultFragment in all import framgnets
2017-04-03 14:27:47 +03:00
Tal Hacohen
56aba7c669
Extract ResultFragment from ImportFragment
2017-04-03 14:27:25 +03:00
Tal Hacohen
a7c5ccadc9
Import - Change toolbar title according to relevant fragment
2017-04-03 14:27:24 +03:00
Tal Hacohen
1629ffba9f
Import - Add fragment to import all contacts from account
2017-04-03 14:27:23 +03:00
Tal Hacohen
7cac473c74
Import - Split ImportActivity to fragments and activity
2017-04-02 14:04:14 +03:00
Tal Hacohen
33a310344b
Import - Add all events to selected calendar
2017-03-30 16:09:22 +03:00
Tal Hacohen
594c401038
Import - Show calendars in expandable list view
2017-03-30 16:09:22 +03:00
Tal Hacohen
466870ff50
Import - Add basic import activity
2017-03-30 16:09:22 +03:00
Tal Hacohen
2261d6e385
Import calendar: Add calendar account class.
...
CalendarAccount loads all different accounts and their calendar lists.
2017-03-30 10:10:32 +03:00
Tom Hacohen
1482fb01cb
JournalManager: make jorunal version read-only.
2017-03-29 23:46:11 +01:00
Tom Hacohen
cd5e5487a8
JournalManager: make IntegrityException inherit from GeneralSecurityException.
2017-03-29 18:27:50 +01:00
Tom Hacohen
cf805d4e72
JournalManager: add version info to Journals and use it in crypto
...
The crypto class now behaves differently depending on the version of the
journal.
The current difference is in the key derivation, and that the new
version of the crypto also hmacs the version automatically whenever it
hmacs anything.
The versioning was added for better future-proofing of the code.
The derivation change was done because before we were creating the same
password for all of the journals, now we do it per-journal. This means
that we can, if needed in the future use this password as the journal
password when sharing journals without compromising the security of the
rest of the journals.
2017-03-29 18:27:39 +01:00
Tom Hacohen
7357447786
Collectioninfo: fix typo in ToString field exclusion.
2017-03-29 15:10:52 +01:00
Tom Hacohen
c3e30138dd
Syncmanager: get a collection info for all sync managers.
2017-03-29 14:47:43 +01:00
Tom Hacohen
01add874dc
Remove unneeded fixme.
2017-03-29 13:27:56 +01:00
Tom Hacohen
d2eaf5f434
Use the new CryptoManager instead of the main encryption password.
...
This will give us more flexibility in the future because now the
encryption key and derivation is all managed in one place.
2017-03-29 13:01:04 +01:00
Tom Hacohen
4004eca762
Syncmanager: use the journalId as the unique collection id.
2017-03-29 12:45:14 +01:00
Tom Hacohen
1e6fc5a9cb
Crypto: rename Cipher to CryptoManager.
2017-03-29 12:35:44 +01:00
Tom Hacohen
abd13d4d3d
Crypto: refactor the Cipher class.
...
Include the hmac in the cipher class.
Derive keys on class creation instead of on encrypt/decrypt.
2017-03-29 12:27:22 +01:00
Tom Hacohen
0fbee1ea02
JournalManager: rename Helpers to Crypto.
...
These are crypto helpers, this should have been named this way from the start.
2017-03-29 12:12:35 +01:00
Tom Hacohen
225d01c143
Crypto: Only create random generator as needed.
2017-03-29 12:02:13 +01:00