Commit Graph

72 Commits

Author SHA1 Message Date
Moez Bhatti 95ca4d05b4 Long-press to delete message 2017-11-23 01:12:00 -05:00
Moez Bhatti 60722d204f Compose contact selection (#7)
* Create empty compose activity

* Display all contacts in compose activity

* Remove unused method

* Updated design in MessagesActivity

* Show detailed contacts in compose suggestions

* Add observable EditText to Compose Toolbar

* Allow querying the list of contacts in Compose

* Add remaining fields from mms-sms contentprovider

* Update gradle build tools

* Added support for contact selection chips
2017-11-21 14:54:29 -05:00
Moez Bhatti a8476d3be2 Add remaining fields from mms-sms contentprovider 2017-11-17 16:57:00 -05:00
Moez Bhatti 67e778102e Swipe to archive (#6)
* Added support for moving conversations to archived inbox

* Optimized query for loading conversations

* Upgrade RxKotlin

* Explicitly define type for archivedConversationIntent

* Ensure that swipe functionality is only for Inbox
2017-11-15 14:55:18 -05:00
Moez Bhatti 0c7d5e5cec I can't believe I've done this 2017-11-05 18:59:15 -05:00
Lucy Yu 7dbb421a61 Swipe to archive (#5) 2017-11-05 14:42:43 -08:00
Moez Bhatti e300434608 Use Uri to load Contact photos in AvatarView 2017-11-01 22:14:19 -07:00
Moez Bhatti 359e601378 Upgrade to Realm 4.1.1 2017-11-01 15:34:22 -07:00
Moez Bhatti f02d440728 Fix cursor to MMS parsing 2017-10-31 22:51:13 -07:00
Moez Bhatti de36618a72 Create custom glide loader to load photos from phone number 2017-10-31 19:17:18 -07:00
Moez Bhatti 9ac7ee874b Load boxId for MMS 2017-10-31 17:50:51 -07:00
Moez Bhatti 97c0a7c0de Crash fix when trying to load contact details 2017-10-31 17:41:18 -07:00
Moez Bhatti 18c1fdfd31 Load high resolution contact photos 2017-10-31 17:36:33 -07:00
Moez Bhatti 6e76009174 Clean up getContactFromDb 2017-10-31 17:22:52 -07:00
Moez Bhatti d4b139b1d0 Pull address from MMS messages 2017-10-31 16:52:18 -07:00
Moez Bhatti f33dbc1852 Use Glide to load contact photos 2017-10-31 16:06:10 -07:00
Moez Bhatti f08ae5010f Clean up method for loading contact from db 2017-10-31 15:55:33 -07:00
Moez Bhatti e0c360245d Make contact retrieval by recipientId async 2017-10-31 15:47:48 -07:00
Moez Bhatti 6053c8e82d Move logic for marking message sent into repo 2017-10-02 13:15:23 -04:00
Moez Bhatti e09188cd7d Handle marking message failed/delivered in MessageRepository 2017-10-02 11:47:21 -04:00
Moez Bhatti b18027962a Create Mapper for Conversation -> Flowable<Conversation> and Interactor for syncing conversations 2017-10-02 11:10:25 -04:00
Moez Bhatti 62cde39fc9 Create mapper for Message -> MessageFlowable 2017-10-02 10:43:46 -04:00
Moez Bhatti 9ce6f8bc53 Remove redundant datastore classes 2017-10-01 21:05:20 -04:00
Moez Bhatti 4e90724d66 Move MarkSeen implementation to Interactors 2017-10-01 20:59:18 -04:00
Moez Bhatti 41aea8c618 Move message sending code into SendMessage.kt 2017-10-01 20:08:39 -04:00
Moez Bhatti 81a93a53e1 Create interactors for MarkSent and MarkFailed 2017-10-01 19:06:20 -04:00
Moez Bhatti 4ad44c47ca Create interaction for receiving message 2017-10-01 18:41:01 -04:00
Moez Bhatti d852349bf0 Reorder MessageTransaction functions 2017-09-29 18:25:29 -04:00
Moez Bhatti 132654b29c Use abstract references to MessageTransaction in MessageRepository 2017-09-29 18:13:30 -04:00
Moez Bhatti 69d4e5b954 Move code for changing message status into Transaction classes 2017-09-29 18:05:56 -04:00
Moez Bhatti a73f8081af Use @Inject constructors instead of providing deps in Module 2017-09-29 17:16:19 -04:00
Moez Bhatti 5a8b8f36ee Reorganize packages 2017-09-29 14:20:13 -04:00
Moez Bhatti 1ed758c245 Bind avatars inside of conversation 2017-09-27 21:16:22 -04:00
Moez Bhatti b329e29435 Load contact avatars in conversation list 2017-09-27 14:24:09 -04:00
Moez Bhatti 9c826ff71e Display notifications for incoming messages, mark seen when notification dismissed 2017-09-26 13:55:14 -04:00
Moez Bhatti d88bdf679d Add ability to mark messages Read or Sent 2017-09-26 12:35:50 -04:00
Moez Bhatti 6b8d190361 Display status of outgoing messages 2017-09-25 22:08:33 -04:00
Moez Bhatti bdc84dfe1e Make sure to show latest snippet in conversation list 2017-09-25 17:11:58 -04:00
Moez Bhatti 0bb0f47fe9 Don't require Conversation model to be able to store Messages 2017-09-25 16:17:44 -04:00
Moez Bhatti 4c1ecc03c6 When copying message to realm, use correct message from URI 2017-09-25 00:30:57 -04:00
Moez Bhatti e1b33538ba Add receivers for message Sent and Delivery confirmation 2017-09-23 01:11:09 -04:00
Moez Bhatti 7cd19d3572 Don't show conversations with no messages 2017-09-22 19:58:07 -04:00
Moez Bhatti 17eef8f034 Revamped data structure, use delegated properties for Conversation 2017-09-22 19:21:46 -04:00
Moez Bhatti f6063f9e37 Move Message and Conversation queries to appropriate Repository 2017-09-22 11:35:49 -04:00
Moez Bhatti 19b4c657ed Only display notifications for messages that are unread and unseen 2017-09-22 11:04:11 -04:00
Moez Bhatti 7456790a8c Reorganize extension functions 2017-09-22 03:35:35 -04:00
Moez Bhatti 895deff607 Show unread status for conversations 2017-09-21 23:56:25 -04:00
Moez Bhatti 5e3f7bbfaa Update dependencies 2017-09-21 14:17:38 -04:00
Moez Bhatti 3450fe2125 Revert "Insert 1 conversation into realm at a time"
This reverts commit bb676e499e.
2017-09-21 13:54:06 -04:00
Moez Bhatti 9a1ae958e0 Add ability to send messages 2017-09-20 00:19:55 -04:00