Commit Graph

205 Commits

Author SHA1 Message Date
tibbi a5b11de6e1 mark messages not just as READ, but also SEEN 2020-04-11 20:36:07 +02:00
tibbi 32d3e0b21a use a different placeholder image at group conversations, not a letter 2020-04-11 20:07:39 +02:00
tibbi a4adf59323 cleaning up getMessages, threadId cannot be null 2020-04-11 19:43:39 +02:00
tibbi 21dd815f2a lets use the new Conversation model at the main screen 2020-04-11 19:41:48 +02:00
tibbi 882b75324d create a Conversations model, separate it from Messages 2020-04-11 19:15:31 +02:00
tibbi 9cf479c496 removing the redundant isOrganization field from Contact model 2020-04-11 17:25:58 +02:00
tibbi 269b813a61 renaming some variables to make them clearer 2020-04-11 15:56:23 +02:00
tibbi 20e3ddfa60 adding an avatar photo at the Threads, to be used only at group messages 2020-04-11 15:52:48 +02:00
tibbi c6f1bd8012 filter out blocked numbers earlier 2020-04-11 15:50:04 +02:00
tibbi 6544351480 filter out messages where every participant is blocked, or somehow invalid 2020-04-11 15:41:06 +02:00
tibbi e0052d5516 avoid using the Thread menu items before messages load in 2020-04-11 11:22:22 +02:00
tibbi 2a0a96718a group MMS at fetching by id too, not just sms 2020-04-11 11:11:33 +02:00
tibbi e79818d789 removing some redundant functions 2020-04-11 10:51:48 +02:00
tibbi f2c368e12e rename MessagesAdapter to ThreadsAdapter, no other change 2020-04-11 10:50:47 +02:00
tibbi 8f6bd84773 lets randomize the letter background colors a bit more 2020-04-11 10:34:44 +02:00
tibbi b606d9fdfc use the colored letters as placeholders everywhere 2020-04-11 10:23:36 +02:00
tibbi f96f992203 use a helper function at loading contact thumbnails 2020-04-11 00:05:40 +02:00
tibbi d8080848c6 make the contact images more colorful 2020-04-10 23:36:44 +02:00
tibbi 584fc7ca81 adding a contact avatar at the main screen 2020-04-10 22:44:28 +02:00
tibbi 0eb161e05a avoid showing accent characters at contact image placeholders 2020-04-10 22:02:51 +02:00
tibbi 718afea9d6 recognize contact photos at SMS too 2020-04-10 21:53:19 +02:00
tibbi bbc1f53a74 properly fetch contact photos too 2020-04-10 21:48:15 +02:00
tibbi e92576f876 adding the SMS MMS license 2020-04-10 20:19:31 +02:00
tibbi 02ba0e3651 properly handle and show received MMS 2020-04-10 20:06:14 +02:00
tibbi a25982e816 move the received message notification handling in Context extension 2020-04-10 19:00:14 +02:00
tibbi a791b681aa properly mark read MMS messages too, not just SMS 2020-04-10 18:51:47 +02:00
tibbi 7a883ce280 adding a null check at message participants 2020-04-09 22:01:33 +02:00
tibbi 5185a98ca9 cache participant fetching at the mainscreen to speed it up 2020-04-09 18:35:01 +02:00
tibbi 0984449a76 show video MMS attachments too 2020-04-09 13:41:51 +02:00
tibbi 0749c0bb9d try opening the mms attachment on fullscreen view on click 2020-04-09 13:22:02 +02:00
tibbi c8038cdcde reducing the chat bubble padding a bit 2020-04-09 13:17:23 +02:00
tibbi d0b4e17300 display mms attachments at the conversations 2020-04-09 10:52:14 +02:00
tibbi 500f2bc8fe adding MMS attachments at the Message class 2020-04-09 10:28:38 +02:00
tibbi 44a1d85436 properly obtain the sms senders name 2020-04-09 10:06:47 +02:00
tibbi cdc4d8b236 removing an ugly helper function for fetching name from id 2020-04-08 23:04:27 +02:00
tibbi c4972c9204 always use a proper thread title at the main screen 2020-04-08 22:32:18 +02:00
tibbi fb45d68835 properly set the thread title if it contains no messages 2020-04-08 22:31:15 +02:00
tibbi ef09a8871a go to new Thread activity only if it is different than the current 2020-04-08 22:25:52 +02:00
tibbi 156620c917 couple more threading improvements here and there 2020-04-08 22:15:43 +02:00
tibbi 8b37aab610 lets add a Participants field into Message 2020-04-08 20:36:59 +02:00
tibbi 424b77577c removing the Subject of the Messages, doesnt seem to be used 2020-04-08 20:20:54 +02:00
tibbi 3fd39a7acf adding some improvements related to fetching recipient names 2020-04-08 20:17:42 +02:00
tibbi 630c87c6d9 implementing the Manage People menu button at the conversation screen 2020-04-08 17:46:42 +02:00
tibbi f01bbb893e improve the way blocked numbers are checked 2020-04-08 14:00:15 +02:00
tibbi 88389a09c9 do not show blocked number messages on the main screen 2020-04-08 13:41:47 +02:00
tibbi bed5a80ccf implement number blocking from the Thread screen 2020-04-08 12:35:17 +02:00
tibbi 0fe917053c adding a menu item for blocking a number 2020-04-08 12:12:13 +02:00
tibbi 04152492a5 adding a Manage Blocked Numbers settings item 2020-04-08 11:59:34 +02:00
tibbi 4c7cecbe4e updating some resources 2020-04-08 11:56:16 +02:00
tibbi 1e54e6cde0 fetch only the wanted MMS messages at threads 2020-04-07 23:26:43 +02:00
tibbi e8f37b69de properly sort all fetched messages 2020-04-07 23:24:27 +02:00
tibbi bda8ff863c add initial MMS parsing 2020-04-07 22:56:28 +02:00
tibbi b00eea624c shortening some code by importing more specific packages 2020-04-07 12:43:33 +02:00
tibbi 10bc1d1278 simplifying cursor querying 2020-04-07 12:39:34 +02:00
tibbi 3b83e93192 lets not open the keyboard initially at opening a conversation 2020-04-07 12:24:49 +02:00
tibbi 0e6f8e1dbf show the keyboard at opening the thread screen 2020-04-06 23:23:20 +02:00
tibbi 6330f5952c show the thread Delete button only if there are actual messages present 2020-04-06 23:20:44 +02:00
tibbi a569ae2b05 add a menu button for deleting the whole opened conversation 2020-04-06 23:16:49 +02:00
tibbi 013fa62606 allow inserting not saved numbers in New Message activity 2020-04-06 23:11:49 +02:00
tibbi 3a23552326 removing some redundant views from the New Message activity 2020-04-06 23:03:32 +02:00
tibbi 40897178c7 lets hide the Manage People menu button until group SMS gets implemented 2020-04-06 22:59:53 +02:00
tibbi 5487dbb435 changing the hint text at creating a new conversation 2020-04-06 22:58:02 +02:00
tibbi 2a36a23782 at search results prioritize names that start with the search string 2020-04-06 22:32:16 +02:00
tibbi ec5c49ce1e allow toggling the Add Person UI at the thread activity 2020-04-06 22:22:25 +02:00
tibbi 900982999f use an AutocompleteTextView at the ThreadActivity 2020-04-06 22:18:50 +02:00
tibbi 97299a0900 make getAvailableContacts asynchronous 2020-04-06 22:06:58 +02:00
tibbi fdf4957da2 moving some contact fetching helper functions into Context Extensions 2020-04-06 22:00:57 +02:00
tibbi 4405495e6b do not allow removing the original contact from ThreadActivity 2020-04-06 21:43:07 +02:00
tibbi c4f209b8ff moving some more functions from NewMessage to Thread activity 2020-04-06 21:10:19 +02:00
tibbi 3f2b88785a add filtering by search string at the New Message activity 2020-04-06 20:46:26 +02:00
tibbi 8c765a25c3 do not add NewMessageActivity into the backstack 2020-04-06 20:34:25 +02:00
tibbi bc5e40bef3 removing a helper context extension function 2020-04-06 20:25:01 +02:00
tibbi 705f015a96 lets pass more info at the ThreadActivity again, as backup 2020-04-06 20:24:30 +02:00
tibbi 8736473b35 fill the Suggestions list with contacts 2020-04-06 19:20:17 +02:00
tibbi 979744cbd5 moving some views at the existing Thread activity 2020-04-06 12:44:53 +02:00
tibbi 6d8c889723 launch the given contacts thread at clicking on him at the New Message screen 2020-04-06 12:23:01 +02:00
tibbi cdfaa3cea9 show an Add Person menu button at the top menu of conversations 2020-04-06 11:58:14 +02:00
tibbi 8379a753b2 adding a helper function for opening a specific thread 2020-04-06 11:22:40 +02:00
tibbi 5b6b5db17b pass only the ThreadId to ThreadActivity, fetch other data 2020-04-06 11:13:47 +02:00
tibbi ba08a74cf9 move the cursor at the message text field after adding a recipient 2020-04-06 10:25:34 +02:00
tibbi 127d7d8930 adding some new views at the New Message screen 2020-04-06 10:23:26 +02:00
tibbi b5aa561a92 renaming contactId to id 2020-04-06 10:13:25 +02:00
tibbi 34fe393ea7 remove the selected contact at pressing X 2020-04-06 10:12:49 +02:00
tibbi 775c4da791 avoid adding the same contact multiple times 2020-04-06 10:07:02 +02:00
tibbi e7340d80ea correcting a side margin calculation 2020-04-06 10:03:11 +02:00
tibbi 1647df2d0c improve the way contact selection is shown 2020-04-06 09:55:39 +02:00
tibbi 741e619822 improve the way selected contacts are shown, properly create new lines 2020-04-05 23:32:51 +02:00
tibbi d15005bfd7 show the selected contacts at the top 2020-04-05 22:34:22 +02:00
tibbi 1b3c6d9dac try filtering out duplicate contacts at the autocomplete suggestions 2020-04-05 22:04:21 +02:00
tibbi dc806c97d0 adding some autocomplete suggestions at new messages 2020-04-05 21:50:37 +02:00
tibbi b67d2a8dfb fetch a list of available contacts at NewMessageActivity 2020-04-05 21:18:33 +02:00
tibbi d1f2046f2a get the prefix and suffix at name fetching too 2020-04-05 21:08:20 +02:00
tibbi 931f977c65 allow sharing message text directly 2020-04-05 20:00:26 +02:00
tibbi bed6ef764f allow copying a message value into the clipboard easily 2020-04-05 19:46:37 +02:00
tibbi e1f1583b17 add handling for storing sent messages 2020-04-05 19:12:02 +02:00
tibbi 420a88c74c creating a helper function for fetching the thread id 2020-04-05 17:38:25 +02:00
tibbi 3373ce66e1 add a contact searching field at the New Message activity 2020-04-05 17:16:48 +02:00
tibbi 251eca8823 adding a helper function for refreshing the messages 2020-04-05 15:06:27 +02:00
tibbi 049b8f9877 trigger a message refresh when the date/time format changes 2020-04-05 15:04:26 +02:00
tibbi 3cf6ce2e37 handle deleting individual messages 2020-04-05 13:38:33 +02:00