Commit Graph

395 Commits

Author SHA1 Message Date
tibbi cc2a4e596f remember the last used SIM card on a per-number basis 2020-05-03 23:12:00 +02:00
tibbi f5d3c2ab70 allow toggling SIM cards at sending messages 2020-05-03 22:57:31 +02:00
tibbi 49a7cd98f5 show a Select SIM button at message sending, if multiple are available 2020-05-03 22:33:32 +02:00
tibbi eff3b70c93 increase min SDK version to 22 to improve multi-SIM support 2020-05-03 22:06:21 +02:00
tibbi 23203620ef show 100 latest messages, not oldest 2020-05-03 21:22:05 +02:00
tibbi d5c9cd5cee properly align received unknown attachment message 2020-05-03 21:15:08 +02:00
tibbi ebe1ab967f moving some helper functions into Commons 2020-05-01 11:08:48 +02:00
tibbi 6db8d2a2d3 fix a glitch at setting the received sms time in the future 2020-05-01 00:12:22 +02:00
Sérgio Marques 400dd4526c
Update strings.xml 2020-04-29 22:27:40 +01:00
tibbi 502f68d7fa decode the received number at third party intents 2020-04-27 22:30:33 +02:00
Vytautas Gumbakis 87f10f88cf
Create lithuanian strings.xml 2020-04-23 00:50:23 +03:00
tibbi 8c202b62ae update version to 5.0.1 2020-04-19 21:34:06 +02:00
tibbi 5db1695692 make sure to always update the top menu colors 2020-04-19 21:29:01 +02:00
tibbi ebf2234f3f update commons to 5.26.5 2020-04-19 21:25:21 +02:00
tibbi aea826b57c properly handle multipart longer sms messages 2020-04-19 20:55:48 +02:00
tibbi 4b3051a845 catch and show exceptions thrown at sending messages 2020-04-19 20:41:12 +02:00
tibbi 4bb6f47f1b ignore blocked numbers below Android 7 2020-04-19 20:39:37 +02:00
Tibor Kaputa 8e0a2c6578
Merge pull request #2 from solokot/master
Russian translation
2020-04-15 21:19:49 +02:00
tibbi fb5f67d5b6 check if the SMS Role exists before relying on it 2020-04-15 21:15:10 +02:00
solokot e73962b1c9
Russian translation 2020-04-15 22:00:28 +03:00
tibbi a91c8d7334 moving the group colored icon creator in Commons 2020-04-15 19:48:54 +02:00
tibbi 3a515486ea moving the contact avatar creation into Commons 2020-04-15 18:09:09 +02:00
tibbi 1251d09900 moving an icon in Commons 2020-04-15 14:04:45 +02:00
tibbi 64ee324d1a properly sort multipart messages by date, then by id 2020-04-15 12:09:12 +02:00
tibbi b123be2a1a adding slovak translation 2020-04-14 14:25:50 +02:00
tibbi 4cc4bc7664 adding a dot 2020-04-14 13:57:44 +02:00
tibbi 80740d951e adding some app signing related things 2020-04-14 13:52:46 +02:00
tibbi 0acb7acdf2 properly handle deleting MMS messages 2020-04-14 12:19:48 +02:00
tibbi 1adcb0a789 lets append "debug" to the launcher name 2020-04-14 12:03:19 +02:00
tibbi 7fcf3e93e8 turns out the internet is not needed afterall? Lets remove it and see 2020-04-14 11:13:56 +02:00
tibbi 53681baa79 adding the app descriptions 2020-04-14 10:32:13 +02:00
tibbi 1504bfa98c refresh the messages if Blocked numbers change in some way 2020-04-14 10:19:30 +02:00
tibbi cfda56973d adding some extra checks to avoid showing blocked numbers on some places 2020-04-14 10:14:05 +02:00
tibbi 5956aef897 do not show blocked number conversations on the main screen 2020-04-14 10:09:39 +02:00
tibbi ab9aa5d2ba send the number to Thread activity too, use it if necessary 2020-04-14 09:58:19 +02:00
tibbi b231f2c644 update the Conversations title only if not empty 2020-04-13 23:33:16 +02:00
tibbi e828381c9a lets not use the ARCHIVED Threads field, not all devices have it 2020-04-13 22:24:23 +02:00
tibbi eeb458b9b5 use a helper function for setting up the letters scrollbar 2020-04-13 22:08:19 +02:00
tibbi 9b758b617d adding a fastscroller with letters at the contact list 2020-04-13 21:58:12 +02:00
tibbi 06f61b55cb avoid showing the same contact multiple times at Suggestions 2020-04-13 21:15:04 +02:00
tibbi c1652efb2e addadding a New Conversation shortcut 2020-04-13 21:10:47 +02:00
tibbi 9103968595 adding some implementation of HeadlessSmsSendService 2020-04-13 21:00:23 +02:00
tibbi ce886b5b87 handle the SEND_MULTIPLE intent too 2020-04-13 20:21:14 +02:00
tibbi b7034a728c recognize Uri attachments at third party mms intents 2020-04-13 20:08:01 +02:00
tibbi 0836bdb9af show a placeholder at contact suggestions, if none are found 2020-04-13 18:46:18 +02:00
tibbi e8205c7c44 adding some placeholders if no contacts have been found 2020-04-13 15:55:36 +02:00
tibbi 078e8c4f14 open the keyboard at new conversation, if it is empty 2020-04-13 15:36:08 +02:00
tibbi ff05ec1623 renaming NewMessage to NewConversation, no other change 2020-04-13 15:26:25 +02:00
tibbi 2d1df0322f show a placeholder text on the main screen, if there are no conversations 2020-04-13 15:22:36 +02:00
tibbi b717f415b2 adding some placeholder strings 2020-04-13 14:30:24 +02:00
tibbi cd26b96384 rely on klinkerapps library at sending SMS too, not just MMS 2020-04-13 13:06:30 +02:00
tibbi fce6ed2640 handle read and send sms separately 2020-04-13 11:58:44 +02:00
tibbi 956e798558 allow adding not saved contacts to group threads 2020-04-13 11:42:51 +02:00
tibbi 8f913867f4 avoid showing some warnings if READ_CONTACTS permission isnt given 2020-04-13 11:28:19 +02:00
tibbi fec69ff4c3 fixing some coloring issues 2020-04-13 11:20:18 +02:00
tibbi 2b01622533 remove the mms attachments after sending the message 2020-04-13 11:03:22 +02:00
tibbi 2166a5bbe2 remove attachments at pressing X 2020-04-13 10:55:23 +02:00
tibbi 5fb6d81586 allow adding multiple mms attachments 2020-04-13 10:44:44 +02:00
tibbi f768d0cde9 properly handle any mms attachment types 2020-04-13 10:24:27 +02:00
tibbi e04061c4ef allow sending MMS without text 2020-04-13 10:12:11 +02:00
tibbi 854e125079 highlight selected messages at the Conversation screen 2020-04-13 10:04:06 +02:00
tibbi a40438a08c try harder at opening unknown attachments, guess mimetype from filename 2020-04-12 23:30:34 +02:00
tibbi c4e7fc3068 show the unknown attachment filename, if available 2020-04-12 23:25:41 +02:00
tibbi ba8f14de3b renaming attachment type onto mimetype 2020-04-12 23:17:37 +02:00
tibbi 5c79ca361d add a generic Attachment view for handling others than images and videos 2020-04-12 23:11:42 +02:00
Sérgio Marques 2bc6a7d9d1
Add Portuguese language 2020-04-12 21:15:54 +01:00
tibbi db5ddd9bd1 fix a glitch with clicking on MMS attachments 2020-04-12 21:59:14 +02:00
tibbi 98e20fc7cd renaming a view to make it clearer 2020-04-12 21:55:03 +02:00
tibbi aecaec8773 crop too tall mms attachments 2020-04-12 21:43:42 +02:00
tibbi 8827e21178 limit the fetched SMS and MMS messages to 100 2020-04-12 20:46:43 +02:00
tibbi 7c355e9aae determine the message attachments size at fetching 2020-04-12 20:41:31 +02:00
tibbi 81b12dea70 do not allow null Uri at attachments 2020-04-12 19:59:57 +02:00
tibbi cc6dcafa88 add handling for multiple attachments in one mms 2020-04-12 19:30:03 +02:00
tibbi a5d8633593 prepare for handling multiple mms attachments 2020-04-12 18:13:40 +02:00
tibbi 59ba80d65a adding a FAQ item about the internet access 2020-04-12 17:34:39 +02:00
tibbi 554f087d56 allow sending MMS, sadly it needs internet access 2020-04-12 16:00:59 +02:00
tibbi 2ffdaa0712 check the Send Message button availabilty at adding an attachment 2020-04-12 15:20:54 +02:00
tibbi 52a7376694 show a preview of the attached file 2020-04-12 13:33:30 +02:00
tibbi bed1d90434 launch a Pick PhotoVideo intent at pressing the attachment button 2020-04-12 12:17:06 +02:00
tibbi 9202e9d1b5 properly handle typing in multiple lines high text 2020-04-12 11:58:56 +02:00
tibbi ff1edd12b6 adding an Add Attachment button at the sending screen 2020-04-12 11:41:52 +02:00
tibbi 8263327f70 handle clicks at contact suggestions 2020-04-12 11:01:08 +02:00
tibbi 827be7225b fill the suggested contacts before the remaining ones 2020-04-12 10:56:00 +02:00
tibbi 5a462775fd show some suggestions at top of the contact picker screen 2020-04-12 10:50:05 +02:00
tibbi e792ff37ab show a Play icon at video MMS items 2020-04-12 09:47:03 +02:00
tibbi 18f8b271e1 add handling for Share Text intent 2020-04-11 23:36:03 +02:00
tibbi 6d4f0bf7aa do not show empty conversations on the main screen 2020-04-11 23:26:50 +02:00
tibbi e966b7bccd handle the SEND_TO intent properly 2020-04-11 23:00:10 +02:00
tibbi 7f441218d2 show an avatar at the incoming messages 2020-04-11 22:44:02 +02:00
tibbi 6ef4a3b23a fetch the conversations snippet manually, if empty 2020-04-11 21:44:57 +02:00
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
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