Commit Graph

3962 Commits (7d32491968bc97e5539b5964755ca98484e158f7)
 

Author SHA1 Message Date
Michael Kirk 9f72db44ac Avoid lossy re-encoding of profile image
// FREEBIE
7 years ago
Michael Kirk 0290f176c0 Use profile name/avatar when creating new contact
// FREEBIE
7 years ago
Michael Kirk 9f45ddd393 Merge branch 'mkirk/gcm-verification' 7 years ago
Michael Kirk 97afa4d48a verification on decrypt
// FREEBIE
7 years ago
Michael Kirk b3ddd73cee Merge branch 'mkirk/new-profile-service-scheme' 7 years ago
Michael Kirk 135243e383 CR: variable rename, better comments, fix up tests
// FREEBIE
7 years ago
Michael Kirk 7499b3aaf0 Avatar API integration / WIP crypto scheme
Crypto Scheme:

- Name (un)padding
- WIP AES-GCM (funtioning, but need to verify against android
  implementation, and tag functionality)

Changes to avatar API:

- hard code avatar domain (cdn.signal.org)
- avatar form hands out new avatar key, invalidating old avatar
- preliminary aes-gcm integration

Also:

- New type to represent AES128 keys, rather than passing around opaque
  data blobs everywhere, we can use the compiler to help us make sure
  we're passing compliant keying material.

- Started using factory pattern for API requests. This is intended to be
  a lighter weight way to implement new API requests, rather than the
  current 1-method class ceremony.

// FREEBIE
7 years ago
Michael Kirk 283d36c55b remove avatar digest.
For ease of CDN cache expiry, each new avatar will have a unique URL, so
no need for a separate digest. Contents of file at URL will be verified
by forthcoming crypto scheme.

// FREEBIE
7 years ago
Michael Kirk fc3f9ae396 Replace server sent avatar URL with hardcoded
// FREEBIE
7 years ago
Michael Kirk 3919284433 Merge branch 'mkirk/call-debugging' 7 years ago
Michael Kirk 3d9796db77 Debug actions for calling
For testing stale hangup/busy messages

Extracted MessageSender promise API
Moved call debug actions to their own page

// FREEBIE
7 years ago
Michael Kirk a90f11490b Merge branch 'mkirk/fix-profile-crash' 7 years ago
Michael Kirk 9fdc3202af White listing must happen on main thread
followup to: ee613e4889

Again, this solves a crash, but we'll want to revisit the perf
implications.

// FREEBIE
7 years ago
Michael Kirk 69b75942fd Merge commit '2.15.3.2' 7 years ago
Michael Kirk d29dd5c2b3 Bumping build.
Failed to bump build before tagging 2.15.3.1, so the 2.15.3.1 tag will
not be submitted, and we'll skip right to 2.15.3.2.

// FREEBIE
7 years ago
Michael Kirk 1ee27996e4 Merge branch 'hotfix/2.15.3.1' 7 years ago
Michael Kirk 8da3108b53 Drop stale EndCall/BusyCall messages
// FREEBIE
7 years ago
Michael Kirk 370ce5ba01 Merge branch 'hotfix/2.15.3' 7 years ago
Michael Kirk 4cf860cfe9 pull latest translations
// FREEBIE
7 years ago
Michael Kirk 46e5240f81 bump version
// FREEBIE
7 years ago
Michael Kirk 93d2baa096 [JSQMVC] Fix scrolling crashes
- First occurs when the "Load More Messages" is shown, while scrolling and
  receiving new messages
- Second occurs when scrolling while popping/dismissing the keyboard
  (Not sure if receiving messages was a precondition for this crash)

// FREEBIE
7 years ago
Michael Kirk 0e241299d2 Discard GroupInfoRequest from unknown group
// FREEBIE
7 years ago
Michael Kirk 4f6d91ce6f Merge branch 'mkirk/fixup-tests' 7 years ago
Michael Kirk 40b99a15ed Fix up some tests
Included plausible test implementation for an in-memory profile manager.

Note two tests remain failing (they've been failing for a while)

// FREEBIE
7 years ago
Michael Kirk 620550a462 Merge branch 'mkirk/upload-profile-avatar' 7 years ago
Michael Kirk a3ae22c84f Upload profile avatar to service
WIP, this currently lacks crypto pending further discussion.

// FREEBIE
7 years ago
Michael Kirk 45a1f534ba Rename method to make way for new method.
No behavioral changes.

// FREEBIE
7 years ago
Michael Kirk 388b778a06 Merge branch 'mkirk/unknown-group-info-request' 7 years ago
Michael Kirk 72b3f3779b Discard GroupInfoRequest from unknown group
// FREEBIE
7 years ago
Michael Kirk a8bfa45f1a Merge branch 'mkirk/use-profile-data' 7 years ago
Michael Kirk 16c646a939 Use profile name/image when available.
Refactored the ContactAvatarBuilder to clarify intent of the two
methods. One is only used for non-signal contacts in the Invite flow.
The other should be used for any signal contacts so we have a single
consistent way of generating the avatar initials.

// FREEBIE
7 years ago
Michael Kirk 8f54df0ff9 Merge branch 'mkirk/whitelist-on-main' 7 years ago
Michael Kirk ee613e4889 Can only set whitelist on main thread
As written solves a crash, but we'll probalby want to revisit the perf
implications.

// FREEBIE
7 years ago
Michael Kirk e07ed50170 define avatar form URL
// FREEBIE
7 years ago
Michael Kirk 71be024fd9 [SPK] more asserts/logging
// FREEBIE
7 years ago
Matthew Chen 98e6685304 Merge branch 'charlesmchen/profile10a' 7 years ago
Matthew Chen e01fbc247e Refine profile logic.
// FREEBIE
7 years ago
Matthew Chen 09e65a674b Incomplete work to upload avatars.
// FREEBIE
7 years ago
Matthew Chen f6668d24c1 Download profile avatars.
// FREEBIE
7 years ago
Matthew Chen 9266c3a4f9 Clear profile state when a user’s profile key changes.
// FREEBIE
7 years ago
Matthew Chen 8b9749202d Load local user profile avatar if necessary.
// FREEBIE
7 years ago
Matthew Chen 21304c18a6 Once we've shared our profile key with a user (perhaps due to being a member of a whitelisted group), make sure they're whitelisted.
// FREEBIE
7 years ago
Matthew Chen fa1678f945 Merge branch 'charlesmchen/profiles9a' 7 years ago
Matthew Chen 98def41782 Respond to CR.
// FREEBIE
7 years ago
Matthew Chen 823927685d Update profile on service.
// FREEBIE
7 years ago
Matthew Chen 83d01eed76 Don’t encrypt/decrypt avatar URL or digest.
// FREEBIE
7 years ago
Matthew Chen cc789c7df5 Merge branch 'charlesmchen/profiles8' 7 years ago
Matthew Chen f6bcff5427 Fix rebase breakage.
// FREEBIE
7 years ago
Matthew Chen 83e2fbe28c Rework where profile key is attached in photos.
// FREEBIE
7 years ago
Matthew Chen b5fdc05b91 Move profile key to data, call, sync and null protos.
// FREEBIE
7 years ago