Commit Graph

258 Commits

Author SHA1 Message Date
moezbhatti a91643e882 Display recent, starred, and contact groups in compose 2019-12-26 23:30:52 -05:00
moezbhatti 8f67de736a Sync starred contacts and groups 2019-12-26 23:30:52 -05:00
moezbhatti 28cad9bbc9 Sort contacts with letter names first 2019-12-26 23:30:52 -05:00
Moez Bhatti 93dbd14b5b Add comment to explain mms weirdness 2019-12-03 21:40:31 -05:00
Moez Bhatti 5dac7404d3 Fix MMS appearing to have sent but not going through
Closes #1528
2019-12-02 23:42:41 -05:00
Moez Bhatti 4794167b6b Make sure that new conversations appear in list after creation 2019-12-01 02:54:40 -05:00
Moez Bhatti 6bd8480e4e Include archived conversations in search results 2019-11-28 02:53:53 -05:00
Moez Bhatti 898e67df25 Respect max MMS dimensions from sms manager config 2019-11-21 10:11:25 -05:00
Moez Bhatti cfd5bb723c Refresh realm before trying to resend
Fixes #1523
2019-11-20 23:15:11 -05:00
Moez Bhatti 8fd888744a Fix crash when blocking group 2019-11-19 02:16:51 -05:00
Moez Bhatti 5927138a29 Fix phone number matching, add tests 2019-11-19 02:13:09 -05:00
moezbhatti b8bf62b8b6 Make sure lastMessage gets assigned when syncing conversation 2019-11-15 18:41:36 -05:00
moezbhatti c6127d0dd2 Revert to targetting API 28
Targetting 29 broke storage on devices running 29
2019-11-14 00:49:08 -05:00
moezbhatti b8836affad Retry sending failed MMS 2019-11-12 21:51:11 -05:00
moezbhatti 443e58b29b Upgrade coroutines 2019-11-12 20:33:41 -05:00
moezbhatti 9e418b4d7a Migrate data for new conversation schema 2019-11-11 00:41:32 -05:00
moezbhatti 335c5757c4 Store lastMessage instead of it's fields in conversation 2019-11-09 03:43:15 -05:00
moezbhatti 7b9aa89d17 Allow saving multiple attachments with same name
Closes #1518
2019-11-08 02:31:53 -05:00
moezbhatti 76c89dfed6 Improve phone number matching when country code might be there 2019-11-08 01:05:48 -05:00
moezbhatti ae2d482d95 Use tel: schema for glide handler 2019-10-28 00:58:02 -04:00
moezbhatti 916cf65716 Don't expect message part to be non-null 2019-10-28 00:35:30 -04:00
moezbhatti d1d99f5283 Support for Q Roles
Closes #1409
2019-10-28 00:26:32 -04:00
moezbhatti 24e185ee62 Upgrade remaining modules to api 29 2019-10-28 00:26:20 -04:00
moezbhatti 42d693a08f Less strict check to determine if a string is a phone number 2019-10-27 11:40:57 -04:00
moezbhatti 19052d4f93 Fix MMS being stuck sending!
Fixes #1401
2019-10-25 02:13:13 -04:00
moezbhatti 54089df316 Do a better job at finding the right conversation 2019-10-25 01:34:26 -04:00
moezbhatti b573755b20 Use Long for subject instead of RealmObject 2019-10-25 00:50:36 -04:00
moezbhatti 3215436f32 Save part to disk and share using content provider
Fixes #1508 and fixes #1468
2019-10-20 20:04:45 -04:00
moezbhatti 0b2de845c0 Organize saved files in /Media folder 2019-10-20 17:02:12 -04:00
moezbhatti 629e7a2d72 Create generic file binder to allow viewing any unhandled mms part type 2019-10-17 01:31:44 -04:00
moezbhatti d46193abba Show blocking reason if available 2019-10-10 19:15:38 -04:00
moezbhatti 56d13dfe3e Stricter check for phone number equality 2019-10-05 19:42:05 -04:00
moezbhatti 2e512fcc1f Include MMS in search results
Closes #1471
2019-09-29 19:03:29 -04:00
moezbhatti 748fc05cc0 Fix unicode stripping for search
Fixes #1420
2019-09-29 18:43:23 -04:00
moezbhatti f649f593a8 Allow clicking anywhere in row to click through to conversation 2019-09-27 00:26:10 -04:00
moezbhatti f64d1befb1 #1328 - Show label for custom number 2019-09-17 23:58:34 -04:00
moezbhatti 228986a1b4 Speed up filtering for new blocked numbers 2019-09-15 21:11:04 -04:00
moezbhatti ded1b7fb99 Check if emitter is already disposed 2019-09-11 19:02:34 -04:00
moezbhatti ab99b3756e Use moshi codegen for release, update proguard 2019-09-10 10:52:55 -04:00
moezbhatti 6614089486 Fix changelog version logic 2019-09-10 00:11:19 -04:00
moezbhatti 71f5b7d9b6 Fix issues with release builds 2019-09-09 21:58:32 -04:00
George Zacharia 914b7a235d Fix build
$SRCDIR\data\src\main\java\com\moez\QKSMS\manager\ChangelogManagerImpl.kt: (59, 31): Using 'parse(String): HttpUrl?' is an error. moved to extension function
$SRCDIR\data\src\main\java\com\moez\QKSMS\manager\ChangelogManagerImpl.kt: (72, 45): Using 'body(): ResponseBody?' is an error. moved to val
$SRCDIR/data/src/main/java/com/moez/QKSMS/repository/BackupRepositoryImpl.kt: (161, 30): Using 'buffer(Source): BufferedSource' is an error. moved to extension function $SRCDIR/data/src/main/java/com/moez/QKSMS/repository/BackupRepositoryImpl.kt: (161, 42): Using 'source(File): Source' is an error. moved to extension function $SRCDIR/data/src/main/java/com/moez/QKSMS/repository/BackupRepositoryImpl.kt: (180, 27): Using 'buffer(Source): BufferedSource' is an error. moved to extension function $SRCDIR/data/src/main/java/com/moez/QKSMS/repository/BackupRepositoryImpl.kt: (180, 39): Using 'source(File): Source' is an error. moved to extension function
2019-09-09 21:19:08 -04:00
George Zacharia 69befba445 Add missing dependency
Fixes the errors 
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (28, 8): Unresolved reference: okhttp3
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (29, 8): Unresolved reference: okhttp3
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (30, 8): Unresolved reference: okhttp3
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (31, 8): Unresolved reference: okhttp3
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (32, 8): Unresolved reference: okhttp3
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (33, 8): Unresolved reference: okhttp3
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (58, 23): Unresolved reference: HttpUrl
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (59, 23): Unresolved reference: Request
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (60, 20): Unresolved reference: OkHttpClient
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (62, 25): Unresolved reference: Response
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (64, 43): Unresolved reference: Callback
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (65, 25): 'onResponse' overrides nothing
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (65, 55): Unresolved reference: Call
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (65, 71): Unresolved reference: Response
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (66, 25): 'onFailure' overrides nothing
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (66, 54): Unresolved reference: Call
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (70, 24): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (72, 41): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (73, 39): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (75, 24): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (76, 68): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (76, 73): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (77, 75): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (79, 71): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (79, 76): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (80, 78): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (82, 68): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (82, 73): Cannot infer a type for this parameter. Please specify it explicitly.
$SRCDIR/data/src/main/java/com/moez/QKSMS/manager/ChangelogManagerImpl.kt: (83, 75): Cannot infer a type for this parameter. Please specify it explicitly.
2019-09-09 21:19:08 -04:00
moezbhatti 4c9130e11a Migrate blocked conversations to qk blocking manager 2019-09-08 21:41:48 -04:00
moezbhatti 07f7d0b7fa Move location of sia preference migration 2019-09-08 21:41:48 -04:00
moezbhatti f564a9c142 Mark conversation unblocked right away when unblocking from qk client 2019-09-08 21:41:48 -04:00
moezbhatti e1b1a6c8db Don't unblock numbers not reported by SIA 2019-09-08 21:41:48 -04:00
moezbhatti 03af81336c Offer to migrate blocked numbers 2019-09-08 21:41:48 -04:00
moezbhatti c5fa1ce0f5 Don't show blocking dialog if not necessary 2019-09-08 21:41:48 -04:00
moezbhatti d91c9043da Don't use system blocking provider, since it won't let messages reach QKSMS anyway 2019-09-08 21:41:48 -04:00