You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/js/views
Lilia ae190fed44
Profiles (#1453)
* Add AES-GCM encryption for profiles

With tests.

* Add profileKey to DataMessage protobuf

// FREEBIE

* Decrypt and save profile names

// FREEBIE

* Save incoming profile keys

* Move pad/unpad to crypto module

// FREEBIE

* Support fetching avatars from the cdn

// FREEBIE

* Translate failed authentication errors

When AES-GCM authentication fails, webcrypto returns a very generic error. The
same error is thrown for invalid length inputs, but our earlier checks in
decryptProfile should rule out those failure modes and leave us safe to assume
that we either had bad ciphertext or the wrong key.

// FREEBIE

* Handle profile avatars (wip) and log decrypt errors

// FREEBIE

* Display profile avatars

Synced contact avatars will still override profile avatars.

* Display profile names in convo list

Only if we don't have a synced contact name.

// FREEBIE

* Make cdn url an environment config

Use different ones for staging and production

// FREEBIE

* Display profile name in conversation header

* Display profile name in group messages

* Update conversation header if profile avatar changes

// FREEBIE

* Style profile names small with ~

* Save profileKeys from contact sync messages

// FREEBIE

* Save profile keys from provisioning messages

For standalone accounts, generate a random profile key.

// FREEBIE

* Special case for one-time sync of our profile key

Android will use a contact sync message to sync a profile key from Android
clients who have just upgraded and generated their profile key. Normally we
should receive this data in a provisioning message.

// FREEBIE

* Infer profile sharing from synced data messages

* Populate profile keys on outgoing messages

Requires that `profileSharing` be set on the conversation.

// FREEBIE

* Support for the profile key update flag

When receiving a message with this flag, don't init a message record, just
process the profile key and move on.

// FREEBIE

* Display profile names in group member list

* Refresh contact's profile on profile key changes

// FREEBIE

* Catch errors on profile save

// FREEBIE

* Save our own synced contact info

Don't return early if we get a contact sync for our own number

// FREEBIE
8 years ago
..
app_view.js AppView: Store initialLoadComplete value for late openInbox 8 years ago
attachment_preview_view.js Normalize views' template fetching pattern 10 years ago
attachment_view.js Fix saving attachments 8 years ago
banner_view.js Confirmaton on send, banner when 'unverified' 8 years ago
confirmation_dialog_view.js ConfirmationDialogView: Make showCancel an explicit option 8 years ago
contact_list_view.js Profiles (#1453) 8 years ago
conversation_list_item_view.js Profiles (#1453) 8 years ago
conversation_list_view.js Remove log message 9 years ago
conversation_search_view.js Fetch conversations once, clean up ConversationController API (#1420) 8 years ago
conversation_view.js Profiles (#1453) 8 years ago
debug_log_view.js Add link to github on debug log 9 years ago
error_view.js Remove all concept of 'key conflict' from the app 8 years ago
file_input_view.js Fix relative paths 8 years ago
group_member_list_view.js Show call to action on group member list when verifying 8 years ago
group_update_view.js Remove erroneous license file and headers 10 years ago
hint_view.js Add hint for users with no groups or contacts 10 years ago
identicon_svg_view.js Fix svg icon colors 9 years ago
identity_key_send_error_view.js Improve experience when discovering identity key error on send 8 years ago
import_view.js Import: Wait until db writes resolve before saying we're done (#1401) 8 years ago
inbox_view.js Remove migration-related functionality, leaving export stuff 8 years ago
install_choice_view.js Import: choice on first startup, workflow, ported to Node.js fs API 8 years ago
install_view.js Fix exception in install view 8 years ago
key_verification_view.js Key verification error popup: Remove cancel, empty resolve() 8 years ago
last_seen_indicator_view.js Preserve lastSeenIndicator location when not focused 8 years ago
list_view.js Object.assign -> _.extend(), for to make Chrome 45 and below work 8 years ago
message_detail_view.js Restore 'cancel' button on delete message confirmation dialog 8 years ago
message_list_view.js Scroll to bottom when adding a new message (#1450) 8 years ago
message_view.js Profiles (#1453) 8 years ago
network_status_view.js More refactoring to reduce global event dependencies 8 years ago
new_group_update_view.js Remove comments after NewGroupUpdateView investigation 8 years ago
phone-input-view.js Get standalone registration working in development 8 years ago
recipients_input_view.js Simplify event arguments 10 years ago
recorder_view.js Use error.stack instead of error for console log 8 years ago
scroll_down_button_view.js Scroll down button: when scrolled up, or new non-visible message 8 years ago
settings_view.js Remove 'safety number approval' option from settings dialog 8 years ago
standalone_registration_view.js Import: choice on first startup, workflow, ported to Node.js fs API 8 years ago
timestamp_view.js Fixed bubble timestamp update timer breakdown 9 years ago
toast_view.js Generalize toast view template 9 years ago
whisper_view.js Full export, migration banner, and full migration workflow - behind flag (#1342) 8 years ago