mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
83e260436b
1) We now try to hand out cursors at a minimum. There has always been a fairly clean insertion layer that handles encrypting message bodies, but the process of decrypting message bodies has always been less than ideal. Here we introduce a "Reader" interface that will decrypt message bodies when appropriate and return objects that encapsulate record state. No more MessageDisplayHelper. The MmsSmsDatabase interface is also more sane. 2) We finally rid ourselves of the technical debt associated with TextSecure's initial usage of the default SMS DB. In that world, we weren't able to use anything other than the default "Inbox, Outbox, Sent" types to describe a message, and had to overload the message content itself with a set of local "prefixes" to describe what it was (encrypted, asymetric encrypted, remote encrypted, a key exchange, procssed key exchange), and so on. This includes a major schema update that transforms the "type" field into a bitmask that describes everything that used to be encoded in a prefix, and prefixes have been completely eliminated from the system. No more Prefix.java 3) Refactoring of the MultipartMessageHandler code. It's less of a mess, and hopefully more clear as to what's going on. The next step is to remove what we can from SmsTransportDetails and genericize that interface for a GCM equivalent. |
||
---|---|---|
.. | ||
auto_initiate_activity.xml | ||
change_passphrase_activity.xml | ||
contact_selection_activity.xml | ||
contact_selection_group_activity.xml | ||
contact_selection_group_item.xml | ||
contact_selection_list_activity.xml | ||
contact_selection_list_item.xml | ||
contact_selection_recent_activity.xml | ||
conversation_activity.xml | ||
conversation_fragment_cab.xml | ||
conversation_fragment.xml | ||
conversation_item_received.xml | ||
conversation_item_sent.xml | ||
conversation_list_activity.xml | ||
conversation_list_fragment.xml | ||
conversation_list_item_view.xml | ||
country_list_item.xml | ||
country_selection_fragment.xml | ||
country_selection.xml | ||
create_passphrase_activity.xml | ||
database_migration_activity.xml | ||
database_upgrade_activity.xml | ||
empty2.xml | ||
icon_list_item.xml | ||
identity_key_view.xml | ||
key_caching_notification.xml | ||
led_pattern_dialog.xml | ||
migration_notification_progress.xml | ||
passphrase_timeout_dialog.xml | ||
prompt_apn_activity.xml | ||
prompt_passphrase_activity.xml | ||
receive_key_activity.xml | ||
recent_call_item_selectable.xml | ||
recipient_filter_item.xml | ||
recipients_panel.xml | ||
registration_activity.xml | ||
registration_progress_activity.xml | ||
review_identities.xml | ||
save_identity_activity.xml | ||
verify_identity_activity.xml | ||
verify_imported_identity_activity.xml | ||
verify_keys_activity.xml | ||
view_identity_activity.xml |