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
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
..
models Profiles (#1453) 8 years ago
views Profiles (#1453) 8 years ago
Mp3LameEncoder.min.js Copy audio-related files into js/ instead of symlinking them (#1456) 8 years ago
WebAudioRecorderMp3.js Copy audio-related files into js/ instead of symlinking them (#1456) 8 years ago
XMLHttpRequest.js Certificate pinning via node XMLHttpRequest implementation (#1394) 8 years ago
background.js Profiles (#1453) 8 years ago
backup.js Separate dir selection from import, better import button text 8 years ago
chromium.js Remove extension.notification 8 years ago
components.js Introduce new filesize dependency 8 years ago
conversation_controller.js Remove dead code 8 years ago
database.js Flatten database migrations 8 years ago
debugLog.js Note how many debug logs we have after we load them from DB 8 years ago
delivery_receipts.js Additional logging when we get delivery receipt for unknown msg 8 years ago
emoji_util.js Use relative paths 8 years ago
expire.js Build expiration date 8 years ago
expiring_messages.js Fetch all conversations on startup of app, not on inbox load (#1437) 8 years ago
focus_listener.js Move focus listeners to their own file 8 years ago
i18n.js Use correct locale, fall back to en if we don't have translations 8 years ago
keychange_listener.js Fetch conversations once, clean up ConversationController API (#1420) 8 years ago
libphonenumber-util.js
libsignal-protocol-worker.js Update libsignal-protocol v1.0.0 9 years ago
libtextsecure.js Profiles (#1453) 8 years ago
notifications.js Make os notifications respect our sound setting (#1445) 8 years ago
read_receipts.js Read/Delivery Receipts: Wait for resolution in main queue 8 years ago
registration.js Refactor registration event 9 years ago
reliable_trigger.js Apply reliable trigger to Backbone.Collection as well 8 years ago
rotate_signed_prekey_listener.js Reschedule all timers on time travel, set interval back to 1000ms 8 years ago
signal_protocol_store.js isUntrusted: Return false if firstUse is true 8 years ago
spell_check.js Merge locale-provided strings into english for failover support 8 years ago
storage.js Import: Wait until db writes resolve before saying we're done (#1401) 8 years ago
wall_clock_listener.js Reschedule all timers on time travel, set interval back to 1000ms 8 years ago