Commit Graph

916 Commits (d0008b57b5f4b825561a0c4eab14151ab6771f3e)

Author SHA1 Message Date
Moxie Marlinspike d0008b57b5 Fix for NPE on null PDUs
// FREEBIE
10 years ago
Jake McGinty b3707021b1 maintain one ContactsDatabase instance per Loader
Fixes #3004
Closes #3041
Closes #3034

// FREEBIE
10 years ago
Moxie Marlinspike 7b3bd2fbf7 Replace rather than insert into push db on duplicate incoming.
Combined with the switch to server acked messages, this will
prevent the race condition that occurred when an incoming message
showed up at exactly the moment the app updated.

It'd be great if we could just do REPLACE INTO, but it's too
late to add a UNIQUE() constraint. =(

Fixes #2287
Closes #3029

// FREEBIE
10 years ago
Jake McGinty a330f6f689 Prevent NPE when thumbnail click not set
Fixes #3042
Fixes #3044
Closes #3046
// FREEBIE
10 years ago
Rhodey Orbits d8521637bb use Locale from DynamicLanguage for displaying dates
1) fixed DateUtils to use SimpleDateFormat for everything because it respects Locale
2) added getCurrentLocale() method to DynamicLanguage
3) allow PassphraseRequiredActionBarActivity.initFragment() to accept a Locale
4) updated classes that depend on DateUtils to pass down Locale from DynamicLanguage

Fixes #2684
Closes #2725
// FREEBIE
10 years ago
Christoph Haefner 424a463b21 Add notification functionality to Android Wear devices.
This should allow for Android Wear device- and Pebble-users to
easily mark an incoming message as read via the smartwatch.

http://developer.getpebble.com/blog/2014/12/19/Leverage-Android-Actionable-Notifications/

Closes #3010
10 years ago
Rhodey Orbits 790c6980fe improved challenge sms verification in SmsListener
some carriers prepend or append arbitrary text to sms messages
enroute, SmsListener failed to handle the append case.

Fixes #2919
Closes #3032
// FREEBIE
10 years ago
Moxie Marlinspike 95a94eeebf Create our own dialog when GooglePlayServicesUtil can't.
Fixes #2505
Closes #3005

// FREEBIE
10 years ago
agrajaghh bcd9aa84d6 show message timestamp in the notification
Fixes #2632

Closes #2635
10 years ago
Rhodey Orbits c6a4877391 Fix recent emoji sort order
The recent emoji tab was sorting emoji as last in last out instead
of last in first out. Also, if an emoji was already in the recent
emoji cache its order would not be updated on reinsert.

Fixes #2967
Closes #2946

// FREEBIE
10 years ago
Jake McGinty f42d100f15 Use Glide for loading part thumbnails
Closes #2885

// FREEBIE
10 years ago
Rhodey Orbits 9ba19df2af Eliminate ghost thread when all messages deleted in a thread.
Fixes #2262
Closes #2842

// FREEBIE
10 years ago
Rhodey Orbits dbc28746c0 allow scroll on message details view of long messages
Fixes #2686
Closes #2771
// FREEBIE
10 years ago
Moxie Marlinspike efcdb7eb66 Add GroupId to PushNotificationReceivedJob
Pending message requests should probably be made sequentially.

// FREEBIE
10 years ago
Moxie Marlinspike 7ba75c3291 Use REST interface instead of WebSockets on GCM events.
Closes #2994

// FREEBIE
10 years ago
agrajaghh 8de695585d remove unused EncryptedSmsCharacterCalculator
Closes #3000

//FREEBIE
10 years ago
Carey Metcalfe 7724964a36 Correct the notification repeat interval
Switch to 2min from 10sec.

Closes #3002
10 years ago
Jake McGinty 64fc83326f bump sdk to 22, update notifications
Notification updates include:

1) Setting theme colors
2) Using high-res contact photos
3) Updating the notification icon to latest

Closes #2935
Fixes #2923
Fixes #2732
Fixes #2548

// FREEBIE
10 years ago
Moxie Marlinspike 262c1e47ad Fix NPE when outgoing media message is deleted.
// FREEBIE
10 years ago
Jake McGinty 6d2b87d385 don't change cursor if adapter is null
Fixes #2970
Closes #2977

// FREEBIE
10 years ago
Jake McGinty a28408b29f enforce NonNull on incoming MMS content location
Fixes #2959
Closes #2975

// FREEBIE
10 years ago
Jake McGinty 4a9028aedd only set non-null bitmaps for notifications
Fixes #2960
Closes #2979

// FREEBIE
10 years ago
Jake McGinty 7aaedf500f fix off-thread UI interactions in ConversationItem
Fixes #2966
Closes #2973

// FREEBIE
10 years ago
Moxie Marlinspike 1c90b59bb8 Don't attempt send failure notifications for deleted messages.
Fixes #2963

// FREEBIE
10 years ago
Moxie Marlinspike b9541a65b0 Fix list partitioning helper.
Fixes #2934

// FREEBIE
10 years ago
Jake McGinty 77e846d24e Fix cursor leak when resolving contact photos
Closes #2933

// FREEBIE
10 years ago
Adrian Chifor 58664fcddb Call changeMasterSecretPassphrase in AsyncTask
Fixes #2768
Closes #2893
10 years ago
Rhodey Orbits 857135aab1 Fix media thumbnail view operation.
An extreme edge case wasn't happening on the UI thread.

Fixes #2800
Closes #2801

// FREEBIE
10 years ago
Jake McGinty 1cc581aed8 Migrate conversation list to RecyclerView
Closes #2890

// FREEBIE
10 years ago
Rhodey Orbits f5724795cf Update thread timestamp on draft creation.
Fixes #1055
Closes #2909

// FREEBIE
10 years ago
Jake McGinty e4e24f7ae5 Enforce media constraints on group messages
Fixes #2913
Closes #2917

// FREEBIE
10 years ago
Jake McGinty 1f9a0fab3c Fix sendComplete UI updates on destroyed views
Fixes #2915
Closes #2924

// FREEBIE
10 years ago
Jake McGinty 01020c1c09 Fix missing MasterSecret in PartProvider
Fixes #2706
Closes #2910

// FREEBIE
10 years ago
Rhodey Orbits efb4f388a5 set list adapter to null when appropriate
set list adapter to null when (recipients or threadId == null) to
prevent old messages from being displayed when forwarding a
message to a recipient for which there is no existing
 conversation.

Fixes #2883
Closes #2884

// FREEBIE
10 years ago
Moxie Marlinspike b77afa8903 Upgrade to libtextsecure 1.2.5
Fixes #2703

// FREEBIE
10 years ago
Jake McGinty 34fa05cccc Fix multi-thread intents launching a conversation
Fixes #2877
Closes #2880

// FREEBIE
10 years ago
Moxie Marlinspike 0efdada928 Prompt user to rate app
Closes #2841

// FREEBIE
10 years ago
Jake McGinty 0c7dba6d43 Pass MasterSecret into pref fragments
Fixes #2868
Closes #2870

// FREEBIE
10 years ago
Jake McGinty c50658a4f5 Revert "Fix re-registering missing MasterSecret"
This reverts commit beceee846a.
10 years ago
Rhodey Orbits 87760a795d Add "new message to <number>" always.
Fixes #2660
Closes #2854

// FREEBIE
10 years ago
Rhodey Orbits f4fe024e50 Correct default value of 'pref_key_ringtone'.
Fixes #2793
Closes #2831

// FREEBIE
10 years ago
Moxie Marlinspike 797b296f3a Break long filter thread id calls up into chunks of 900.
// FREEBIE

Fixes #2462
Closes #2860
10 years ago
Moxie Marlinspike b8a231c40f Remove dynamicLanguage/dynamicTheme from VerifyIdentityActivity
This already happens in the parent.

Fixes #2853

// FREEBIE
10 years ago
Jake McGinty 5cb94f02b3 Fix failed SMIL generation when part name is null
Fixes #2851
Closes #2866

// FREEBIE
10 years ago
Rhodey Orbits db7a657001 fix LoaderManager inefficiencies
Redundant calls in ConversationActivity and ConversationListActivity
was causing unnecessary view invalidations.

Closes #2592
10 years ago
Jake McGinty ca2c8b961e Fix sharing text via ShareActivity intents
Fixes #2855
Closes #2865

// FREEBIE
10 years ago
Jake McGinty 796c5de5d5 Fix crash when username is null in mms auth
Fixes #2850
Closes #2863

// FREEBIE
10 years ago
Jake McGinty beceee846a Fix re-registering missing MasterSecret
// FREEBIE

Closes #2861
10 years ago
Jake McGinty 6c59eb052e Prevent crash from strange SQLite error
Full fix may require packaging and using our own SQLite via JNI. Needs
further investigation.

Fixes #2506
Closes #2843

// FREEBIE
10 years ago
Jake McGinty 0ff99258ac move routing logic to all activities
Fixes #2239
Closes #27923

// FREEBIE
10 years ago