Commit Graph

105 Commits

Author SHA1 Message Date
Moez Bhatti bee3d2f490 Update copyright and optimize imports 2018-07-24 15:36:08 -04:00
Moez Bhatti dbbb7ffcdf Persist pinned status across message sync 2018-07-24 14:51:23 -04:00
Moez Bhatti 4602bda96f Make GlideApp accessible with data module 2018-07-23 17:26:15 -04:00
Moez Bhatti cb62bcee1d #965 - Add ability to pin conversations 2018-07-23 14:37:42 -04:00
Moez Bhatti 1a01171908 #1160 - Customize notification actions 2018-07-23 01:34:35 -04:00
Moez Bhatti bdba5ddaa7 Add missing subId column when syncing messages 2018-07-19 12:18:03 -04:00
Moez Bhatti 892b18c844 #1250 - Save images not being stored correctly 2018-07-19 02:08:23 -04:00
Moez Bhatti 63e3ff2444 Support devices which don't support column subId 2018-07-18 15:55:53 -04:00
Moez Bhatti 57b371400e #1082 - Fix MMS not received by recipients 2018-07-11 23:40:11 -04:00
Moez Bhatti 44b90ef135 Handle case where Uri from inserting SMS is null 2018-07-10 21:59:41 -04:00
Moez Bhatti 98856e7189 Improve image compression
Previously, we'd jump from a 100% quality jpeg compressed bitmap to a 60% quality compressed bitmap at 1/4th the resolution. This meant that an image that was slightly over the auto-compression threshold would lose an unnecessarily large amount of resolution/quality.

This new method is more precise with how it compresses the images, and will bring the compressed size much closer to the target size
2018-07-09 02:29:16 -04:00
Moez Bhatti 9cea675bd8 Don't log tryOrNull errors unnecessarily 2018-07-02 18:01:01 -04:00
Moez Bhatti 95b80ad408 Fix crash when attempting to save draft for invalid conversation 2018-07-02 17:51:31 -04:00
Moez Bhatti ed80392e9c Use SmsManagerFactory to safely obtain SmsManager 2018-06-30 15:33:49 -04:00
Moez Bhatti ffe9935e44 Update all scheduled message alarms when device is rebooted 2018-06-29 23:19:54 -04:00
Moez Bhatti d58d39911d Insert received message to ContentProvider immediately, update contentId later 2018-06-28 19:26:30 -04:00
Moez Bhatti f22e8c9322 Convert Transaction to Kotlin, remove unused classes 2018-06-28 17:44:04 -04:00
Moez Bhatti 7ef15dd448 Scheduled messages will automatically be sent 2018-06-27 17:13:32 -04:00
Moez Bhatti cf371ddf85 Add option to delete scheduled message or send immediately 2018-06-27 16:57:27 -04:00
Moez Bhatti 81d77eb1d9 Simplify API for sending messages 2018-06-27 16:22:42 -04:00
Moez Bhatti d3ceec01fd Allow manual sending of scheduled messages 2018-06-27 12:25:19 -04:00
Moez Bhatti 61c8ca17e8 Unlock scheduled tab, show pending scheduled messages 2018-06-26 22:36:28 -04:00
Moez Bhatti 75b728c301 Allow selecting schedule time for message 2018-06-26 17:00:42 -04:00
Moez Bhatti 431edfe2ee Add ScheduledMessage to realm schema 2018-06-26 15:28:01 -04:00
Moez Bhatti 4644ab003d #1200 - Fix new conversations failing to sync on Huawei devices 2018-06-21 23:39:58 -04:00
Moez Bhatti c455fd3974 Add usage of goAsync() in MarkReadReceiver and MarkSeenReceiver 2018-06-21 09:35:02 -04:00
Moez Bhatti 9b624d33d5 Move lambdas outside of parentheses 2018-06-21 08:57:08 -04:00
Moez Bhatti 89b43adfab Update Kotlin and KTX versions 2018-06-20 19:38:41 -04:00
Moez Bhatti 327bb52c60 Migrate to AndroidX 2018-06-20 19:13:10 -04:00
Moez Bhatti a5f518042e Move packages to com.moez.QKSMS 2018-06-20 14:29:07 -04:00
Moez Bhatti 55c208d443 Update ContentDescription for SIM selector 2018-06-19 12:33:55 -04:00
Moez Bhatti 52c99faed1 #1079 - Can't send or receive new messages on HTC and Huawei devices 2018-06-19 03:12:44 -04:00
Moez Bhatti 1b022e46e3 Divide MessageRepository into itself and Conversation Repository 2018-06-15 22:08:05 -04:00
Moez Bhatti 6e14b1ab11 Fix case where Conversation isn't returned and can't send message 2018-06-14 20:20:14 -04:00
Moez Bhatti 5ede84acf5 #1112 - Mark conversations read/unread 2018-06-12 13:42:23 -04:00
Moez Bhatti 73887558fa Add support for Android 5.0 2018-06-11 20:16:16 -04:00
Moez Bhatti 9ced706ff0 Use system getOrCreateThreadId if available 2018-06-11 15:10:37 -04:00
Moez Bhatti bd6c5ca5e5 #45 - Rename group chats 2018-06-09 01:23:22 -04:00
Moez Bhatti d4093cc8ff Load maxValue in KeyManager lazily 2018-06-09 00:24:24 -04:00
Moez Bhatti 69392e10a3 #763 - Support viewing vCard attachments 2018-06-08 22:53:33 -04:00
Moez Bhatti 125f6fd2b1 Use default SmsManager when subId is -1 2018-06-07 14:36:54 -04:00
Moez Bhatti 6385a57070 Fix crash when phone permission not granted 2018-06-07 14:23:07 -04:00
Moez Bhatti f7fca34efa Improve logging for failed messages 2018-06-07 04:23:11 -04:00
Moez Bhatti b2b4e140e2 #1076 - Video playback support 2018-06-06 15:52:19 -04:00
Moez Bhatti fc99ae83ad #678 - Allow deciding between sending as group or individual 2018-06-05 19:45:42 -04:00
Moez Bhatti 1f345da920 #207 - Dual SIM support
commit c3dc3ada558c466be5115cd7ddbf9651a229c217
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Sat Jun 2 02:54:06 2018 -0400

    Dual SIM support for QK Reply

commit 48688dd4720bd1b3abc049d365e208e1dfe5ccb8
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Sat Jun 2 00:37:08 2018 -0400

    #1172 - Load all recipients and subId from threadId when sending message from notification reply bar

commit 0b7195fb134c0a9f2a6b551176c6c25a26bf5838
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Fri Jun 1 23:43:30 2018 -0400

    Fix missing subId for RetrySending params

commit 0d3ec43c0e60bab4acc293947ea9f6d2228c1b19
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Fri Jun 1 23:27:56 2018 -0400

    Switch to appropriate SIM when new message is received

commit 1ae883af890104cf1da9e970571371c95666db66
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Fri Jun 1 23:07:16 2018 -0400

    Fix message grouping for incoming messages

commit 2bf7b2d99ddbfdcafff873f305180d6d38c37d65
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Fri Jun 1 22:56:31 2018 -0400

    Correctly assign subId for incoming SMS

commit 1f6028f8921320358a3053a2dbc2c6e05410964b
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Fri Jun 1 20:52:01 2018 -0400

    Abstract SubscriptionManager usage behind SubscriptionUtils

commit 8b18f16271f19a42800c737cfbd867365c4aa781
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Fri Jun 1 20:05:52 2018 -0400

    Store subId when receiving SMS

commit f0e4ffdf15eb54d8ef78adfe244943ef4cb95d4e
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Fri Jun 1 19:52:40 2018 -0400

    Use appropriate SIM card based on last message

commit b7893d69891e4fb61755b0733a5fab561e86bbf3
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Thu May 31 00:20:42 2018 -0400

    Fix crash when device doesn't support multi-sim

commit bb038068129227e931167976628e1a535efb09a0
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Wed May 30 23:54:14 2018 -0400

    Show sim indicator when subId changes in conversation

commit 952f15f7ebfb85a03feef51373ef30568b76d5eb
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Wed May 30 22:13:57 2018 -0400

    Send message from selected SIM

commit 4cfab7ca9ec9bd9c7ce82b3eb5f228cf511a7c7b
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Wed May 30 21:46:01 2018 -0400

    Fix filename for ActiveSubscriptionObservable

commit 720cb79cb4fbfb98b10e169f2fea84be02fd2f91
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Wed May 30 20:35:30 2018 -0400

    Allow cycling through inserted sims

commit fa95980e9bc8e8c01dab7b4b8e4ed3a1c9a0f0b0
Author: Moez Bhatti <moez.bhatti@gmail.com>
Date:   Wed May 30 18:26:44 2018 -0400

    Show sim card slot in compose bar
2018-06-02 02:58:42 -04:00
Moez Bhatti f71d2564b2 Sync subId when syncing message 2018-05-30 12:17:16 -04:00
Moez Bhatti c0968e4b42 Migrate services and receivers to data package 2018-05-29 11:11:38 -04:00
Moez Bhatti 7888112f58 #972 - Allow using gallery app to attach photos 2018-05-18 16:42:01 -04:00
Moez Bhatti 43ef8bd0f6 Sync contacts during message sync instead of after 2018-05-18 13:26:28 -04:00