Commit Graph

35 Commits (0794380ca8f28503c08b252dd38c2b354b10e8dc)

Author SHA1 Message Date
Moxie Marlinspike 0794380ca8 Listen for recipient changes in conversations and group updates.
Closes #4079
// FREEBIE
10 years ago
Moxie Marlinspike f7e34a707d Don't blow away entire recipient cache on clear event.
Switch to marking recipients as "dirty" instead.

// FREEBIE
10 years ago
Moxie Marlinspike 410ec57f80 Don't create a canonical id for every character typed.
// FREEBIE
10 years ago
Moxie Marlinspike ce2f66ad17 Refactor colorization to support dark theme.
// FREEBIE
10 years ago
Moxie Marlinspike 78289ded8f Fully colorize conversations.
1. Switch from 300 to 500 colors.

2. Colorize incoming conversation bubbles.

3. Colorize recipeint preference activity toolbar.

4. Support inverted colors in avatars.

5. Make status bar icons tint according to secondary color.

// FREEBIE
10 years ago
Moxie Marlinspike fb9f16ad29 Colorize conversations.
// FREEBIE
10 years ago
Moxie Marlinspike 64df85f3ee Refactor contact photo logic to not reuse drawables.
// FREEBIE
10 years ago
Moxie Marlinspike ed0e1c07b9 Fix some memory leaks.
Fixes #3224
Closes #3228
// FREEBIE
10 years ago
Moxie Marlinspike 40af2a81db Support for per-recipient muting, blocking, and ringtones.
Fixes #757
Fixes #354
Fixes #222
Closes #1815
Closes #3378

// FREEBIE
10 years ago
Moxie Marlinspike 68234959c4 Fix for occasional generated avatar mis-sizing in conversation.
Drawables are (strangely) mutable objects.  We reuse a single
drawable for each recipient, but some avatar views (the
conversation list -- 40dp) are larger than others (the
conversation -- 30dp).

This results in a situation where TextDrawable doesn't render
itself appropriately, because the bounds are modified by a larger
view.

Giving the Drawable an intrinsic width and height resolves this
conflict.

// FREEBIE
10 years ago
Moxie Marlinspike 41cad291f9 Display a generated avatar icon rather than a single default.
If the contact doesn't have an image, render a color-coded
background and the first letter of the contact's name.

1) Don't display anything during recipient resolution.

2) Display a # icon in material gray for recipients with no name.

3) Display a material group icon in material gray for groups with
   no avatar icon set.

Closes #3104

// FREEBIE
10 years ago
Jake McGinty 62816ee51a rounded ImageView instead of Bitmap, crop-select
// FREEBIE
10 years ago
Jake McGinty e8b947dfde Pass recipient ids, not recipient objects
Fixes #2233
// FREEBIE
11 years ago
Lukas Barth e5e5b93884 Add k-9 style avatars to group conversations
Closes #1107
11 years ago
Moxie Marlinspike 0d102f76cc Move ListenableFutureTask up to parent. 11 years ago
Moxie Marlinspike f09abff407 Refactor out old classes. 11 years ago
Jake McGinty ff2ac8a66e refactor ListenableFutureTask and make saves async
// FREEBIE
11 years ago
Jake McGinty f6e04d0f89 use latest android number as recipient number
Fixes #791
// FREEBIE
11 years ago
Lukas Barth 2d9cd8eb52 Fixing race condition and other mistakes. Fixes #1603.
// FREEBIE
11 years ago
Lukas Barth 7c9282f306 Cache circle cropped photos on Recipient. 11 years ago
Jake McGinty ca6d8a8a0d refactor and improve contact selection
* unify single and multi contact selection activities
* follow android listview design recommendations more closely
* add contact photos to selection
* change indicator for push to be more obvious
* cache circle-cropped bitmaps
* dedupe numbers when contact has multiple of same phone number

// FREEBIE
11 years ago
Jake McGinty 86b3de2a93 group updates do things
// FREEBIE
11 years ago
Jake McGinty 9d9a0ec218 collection of fixes based on comments/small aesthetic stuff // FREEBIE 11 years ago
Moxie Marlinspike 067799be06 Display group actions and correctly handle group delivery. 11 years ago
Moxie Marlinspike 0af473d880 Merge branch 'groups' of github.com:WhisperSystems/TextSecure into groups 11 years ago
Moxie Marlinspike 0ace469d74 Support for multi-device.
1) In addition to the Recipient interface, there is now
   RecipientDevice.  A Recipient can have multiple corresponding
   RecipientDevices.  All addressing is done to a Recipient, but
   crypto sessions and transport delivery are done to
   RecipientDevice.

2) The Push transport handles the discovery and session setup
   of additional Recipient devices.

3) Some internal rejiggering of Groups.
11 years ago
Jake McGinty 9fd2c4753e ui wip 11 years ago
Moxie Marlinspike 5e6d39beea Move classes into library 11 years ago
Moxie Marlinspike b8f663b69c Move common crypto classes into TextSecureLibrary.
1) Move all the crypto classes from securesms.crypto.

2) Move all the crypto storage from securesms.database.keys

3) Replace the old imported BC code with spongycastle.
11 years ago
Moxie Marlinspike 2204584d8f Improve locking and performance on asynchronous contact loading. 12 years ago
Moxie Marlinspike 9b45e6068b Better asynchronous loading for Recipient information.
1) Switch back from AsyncTasks to an Executor and Futures.

2) Make the Executor operate LIFO.

3) Make the Executor thread a BACKGROUND_PRIORITY thread.
13 years ago
Moxie Marlinspike 9939830551 Refactor recipient access.
1) Refactor recipient class to support asynchronous loading operations.

2) Refactor recipient factory to simplify recipient access.

3) Consoliate everything into one recipient provider that is capable of
doing async lookups and intelligent caching.
13 years ago
Moxie Marlinspike 3cf77b6fd0 Display contact icons correctly in MMS ConversationItems 13 years ago
Moxie Marlinspike c6ae07ee5c Turn avatar images in conversations into QuickContactBadge equivalents.
This requires a few changes to Recipient in order to make sure we
have a Contact URI at click time.  While we're at it, let's git rid
of the OldRecipientProvider, which was for pre-2.0 contact stuff
(no longer supported, woohoo!).
13 years ago
Moxie Marlinspike bbea3fe1b1 Initial Project Import 14 years ago