Commit Graph

1901 Commits

Author SHA1 Message Date
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
tibbi 2a319f9550 allow deleting threads from the main screen 2020-04-05 13:25:24 +02:00
tibbi 560935b61e launch the NewMessageActivity on pressing FAB 2020-04-05 13:01:39 +02:00
tibbi ef455cd961 adding a FAB at the main screen 2020-04-05 12:54:42 +02:00
tibbi 2c1482ebdd reduce the alpha of the Send Message button, if unavailable 2020-04-05 12:17:37 +02:00
tibbi 1c1ccb7a4b show the addresses first letter at the SMS notification 2020-04-05 11:58:35 +02:00
tibbi a8a74e7eb0 fetch messages on background threads 2020-04-05 11:00:08 +02:00
tibbi 7f2470567d adding a new icon for the notifications 2020-04-05 10:55:24 +02:00
tibbi b48f18eaf8 adding the app icon in all colors 2020-04-05 10:29:16 +02:00
tibbi a3e89719b1 use the BigTextStyle notification style at received SMS 2020-04-04 22:11:23 +02:00
tibbi 1fe2f10d53 show a notification at receiving an SMS 2020-04-04 21:53:58 +02:00
tibbi 29c0f928ca use EventBus for triggering sms list refreshes 2020-04-04 21:23:28 +02:00
tibbi d3eee79d0e show the time at threads more often 2020-04-04 20:34:49 +02:00
tibbi 3ec40cb979 mark unread SMS as Read on open 2020-04-04 20:22:17 +02:00
tibbi 654359eaea store received SMS in the SMS provider 2020-04-04 20:11:40 +02:00
tibbi 3eb1127c74 show an error at messages that havent been sent 2020-04-04 19:41:48 +02:00
tibbi 35a2023866 adding the base basics of sending an SMS, not saving into SMS Provider yet 2020-04-04 19:14:45 +02:00
tibbi 3637afc0bb require being set as the default SMS app on QPlus too 2020-04-04 16:58:13 +02:00
tibbi 4273ff0b22 if the app is set as default, just go ahead 2020-04-04 16:49:00 +02:00
tibbi 0f4e89c8a9 do not allow using the app, if it isnt the default SMS handler 2020-04-04 16:44:40 +02:00
tibbi 8c29a55f86 splitting ThreadActivity into some functions 2020-04-04 15:53:35 +02:00
tibbi 7068199f7f adding some checks to avoid sending empty SMS 2020-04-04 15:41:49 +02:00
tibbi 2e078af782 send the targeted number at the Thread activity to be used 2020-04-04 15:25:21 +02:00
tibbi 2ed255ae5d improving the B&W theme 2020-04-04 13:19:36 +02:00
tibbi bd4269c3c9 adding a bottom input field for writing messages 2020-04-04 10:24:42 +02:00
tibbi 2fa899b05c add some empty space above thread datetime 2020-04-04 10:00:37 +02:00
tibbi feece9b90c show the date/time above the messages at the thread view 2020-04-03 23:43:53 +02:00
tibbi 4c66a31370 do not allow selecting the thread date time label 2020-04-03 23:36:53 +02:00
tibbi a9ba3ada0c improving the UI of section date time 2020-04-03 23:18:53 +02:00
tibbi 59c5d16f62 adding a DateTime thread view type 2020-04-03 23:07:34 +02:00
tibbi 9a47de4a30 limiting the chat bubbles width to 70% 2020-04-03 22:24:05 +02:00
tibbi d8b00aa4c9 adding some initial coloring at the incoming and outgoing messages 2020-04-03 22:08:51 +02:00
tibbi fc3e72d390 split messages between received and sent 2020-04-03 21:44:18 +02:00
tibbi 4b16fde919 improving the way contact name is fetched from number, handle some new cases 2020-04-03 21:04:02 +02:00
tibbi 715fa3174d do not show the messages year, if it is the current one 2020-04-03 20:22:24 +02:00
tibbi d20623c44a show the other persons name at the Thread title 2020-04-03 19:54:13 +02:00
tibbi f938c14cba show the appropriate messages at opening a thread 2020-04-03 19:51:23 +02:00
tibbi 70c1e7d6b7 select the appropriate messages at the individual ThreadActivity 2020-04-03 19:34:37 +02:00
tibbi a446a56afb moving the contact fetching functions in Context extensions 2020-04-03 19:30:00 +02:00
tibbi c1daccb969 implementing the Select All menu button 2020-04-03 17:27:40 +02:00
tibbi 067c1d3876 open a new ThreadActivity on clicking on a message 2020-04-03 17:26:01 +02:00
tibbi 10bda77c50 refresh the messages text color if it changes 2020-04-03 16:43:35 +02:00
tibbi 960b16c99b fetch the message Thread field too and group by it 2020-04-03 16:33:57 +02:00
tibbi c1363e4d22 avoid some unnecessary cursor parsing at fetching contact names 2020-04-03 16:21:12 +02:00
tibbi 862cc56f29 importing a class to shorten some code 2020-04-03 16:05:02 +02:00
tibbi c6b22ccc94 properly recognize Organization contacts too 2020-04-03 16:03:21 +02:00
tibbi 9ee08aba7b try fetching the senders name from phone number in some cases 2020-04-03 15:35:17 +02:00
tibbi fe9b9497b4 require the Telephony feature for installing the app 2020-04-03 14:43:20 +02:00
tibbi 6cd1dcfbde highlight unread messages a bit more 2020-04-03 13:15:58 +02:00
tibbi 1c81202231 highlight unread messages a bit, not enough yet 2020-04-03 13:03:10 +02:00
tibbi e6b8db6ad0 renaming SMS to Message in some cases for easier handling 2020-04-03 12:29:57 +02:00
tibbi 45e3d0b865 adding an initial implementation of the messages adapter 2020-04-03 12:20:39 +02:00
tibbi b239227794 request READ_SMS permission and fetch the available messages 2020-04-03 11:57:30 +02:00
tibbi 1350ce420a adding Settings and About sections 2020-04-03 10:26:54 +02:00
tibbi 25876ae5c0 adding some more generic boilerplate code 2020-04-03 10:19:28 +02:00
tibbi feb4cd6e9a uploading the initial project files 2020-04-03 10:12:58 +02:00