Commit graph

295 commits

Author SHA1 Message Date
Ensar Sarajčić
857a4f0b93 Implement archive functionality using system API 2023-07-17 16:43:31 +02:00
Ensar Sarajčić
7dbd6c5d9f Add proper strings for archive operations 2023-07-12 10:37:20 +02:00
Ensar Sarajčić
47861f605d Add support for archiving conversations
Archiving messages currently acts like recycle bin in
Simple Gallery, meaning that after 30 days, conversations
will be deleted permanently. Any updates to the conversation
(new messages) removes it from archive.

This closes #177
2023-07-11 16:52:47 +02:00
Ensar Sarajčić
daf11dc6fd Properly look up participants in MMS group conversations
Application was always picking first participant when tapping on avatars
in conversations. It was also using first participant for MMS notifications.

This stores sender's phone number in the database, so it can be used to look
up correct participant in the list of participants. If matching on number fails,
matching on name is attempted. If both of these fail, it falls back to previous
behavior, which is just picking the first participant.

This may also be connected to #32, but I am not sure, since this should just
be related to behavior when tapping on avatars. Mixing up avatars in the
conversation should be a different issue.

This closes #433, closes #500, closes #384
2023-07-07 10:58:17 +02:00
Ensar Sarajčić
8675de70c2 Handle app locking for threads too 2023-06-30 10:55:30 +02:00
Tibor Kaputa
dd48fa544e
Merge pull request #651 from yparitcher/history
refresh sms history based on oldest sms loaded, ignoring mms
2023-05-19 22:49:21 +02:00
yparitcher
707d7499e3
better method: limit the total of sms+mms to MESSAGES_LIMIT
this causes the sms and mms to load together for a smoother flow
2023-05-10 20:35:12 -04:00
yparitcher
7b5d32e624
refresh sms history based on oldest sms loaded, ignoring mms
all mms are always loaded, the number of messages only concerns sms, so only reference sms to determine the oldest loaded message

this should load all sms messages when there are mms messages in between

Fixes: #535
2023-05-10 15:37:43 -04:00
Ryan Mullin
41083ef754 Made ThreadActivity launch in singleTop mode and added onNewIntent. 2023-04-25 18:14:24 -07:00
Tibor Kaputa
758d538e64
Merge pull request #589 from Naveen3Singh/improve_compressor
Improve image compression
2023-03-04 20:34:26 +01:00
Naveen
c94b8852cd Avoid resetting conversation name in tmp threads 2023-02-28 19:17:04 +05:30
Naveen
751fe359e7 Show error toast for attachments larger than MMS limit 2023-02-19 14:37:41 +05:30
Naveen
c931eb0171 Send MMS attachments separately
If the message contains text, it is sent with the last attachment.
2023-02-19 03:03:51 +05:30
tibbi
f65a4a9a8c allowing entering Conversation details at single recipient threads too 2023-02-08 10:12:18 +01:00
Agnieszka C
795d7c7dc6 Fixed notification not disappearing on resume (#573) 2023-01-21 11:14:54 +01:00
Naveen
b68c672be6 Use text color as fab icon color 2023-01-16 18:09:58 +05:30
Naveen
fce31b7bcf Reduce minimum scroll distance to 1 2023-01-15 09:30:31 +05:30
Naveen
bdafa4b847 Change fab bg color 2023-01-15 09:12:30 +05:30
Naveen
37944e8b40 Add helper fab for quick scroll to bottom 2023-01-15 08:43:19 +05:30
Naveen
2d6ff0bc30 Fix scroll-up glitch when new message arrives 2023-01-15 08:42:15 +05:30
Naveen
164605e42f Ensure we are on main thread 2023-01-06 20:25:49 +05:30
Naveen
f0c3333a72 Disable replying to non-numeric short codes
Also, break down large thread layout file
2023-01-06 18:32:31 +05:30
Naveen
1f36738be0 Rewrite, move SMS related code into the app 2023-01-03 15:43:14 +05:30
tibbi
c1c9cf0419 move SearchActivity to be a part of MainActivity 2023-01-02 21:59:50 +01:00
tibbi
553c216997 use a different color for the bottom thread bar 2023-01-02 12:26:59 +01:00
tibbi
aa26c332df adding some thread UI redesigns 2023-01-02 11:49:26 +01:00
Tibor Kaputa
0686611c95
Merge pull request #498 from Naveen3Singh/feature_group_details
Add ability to change group names
2022-11-25 23:00:04 +01:00
Naveen
51f9662820 Properly start contact view intent 2022-11-26 03:24:18 +05:30
Naveen
740fd1f0eb Update thread title on resume 2022-11-21 22:53:29 +05:30
Naveen
e0787d7c83 Persist sub id when sending sms messages 2022-11-21 21:00:26 +05:30
Naveen
5aac009102 Add conversation details page 2022-11-21 17:28:21 +05:30
Naveen
8d283858e1 Add ability to rename group conversations 2022-11-21 02:51:51 +05:30
Naveen
a54a65c081 Minor code formatting 2022-11-19 22:59:19 +05:30
Naveen
398c2237bc Retain scroll position when deleting messages
Removed the call to `refreshMessages()` as it's not really needed here and also because it'll reset the scroll position in some cases
2022-11-19 22:46:18 +05:30
Naveen
4295e5cf55 Fix scheduled message glitch and clarify logic 2022-11-19 05:30:11 +05:30
Naveen
da6354c9a1 Update the Ui ASAP when sending a message 2022-11-18 01:05:19 +05:30
Naveen
d8dadd1f55 Use DiffUtil with thread recyclerview
Also added a progress indicator at the top while fetching older messages
2022-11-17 02:25:36 +05:30
tibbi
ce35553eca fixing an error toast message 2022-11-15 23:03:57 +01:00
tibbi
c8818bfa57 lets lock number blocking 2022-11-13 20:14:46 +01:00
tibbi
bc8bd5dc5f fixing some spacing 2022-11-10 16:45:18 +01:00
Tibor Kaputa
56ea66634d
Merge branch 'master' into enter-to-send 2022-11-10 16:41:07 +01:00
Naveen
10b0135922 Apply window insets 2022-11-08 02:16:07 +05:30
Naveen
b4c5648ddc Properly handle attachment picker visibility 2022-11-08 02:13:24 +05:30
elena
407538e497 Add option to send on enter pressed 2022-11-07 18:41:51 +00:00
Naveen
1e67cd0fdf Use 'application/txt' when sending text files 2022-11-07 15:35:57 +05:30
Naveen
40a77118bf Add "Choose video" button 2022-11-07 03:24:53 +05:30
Naveen
42d4c72137 Let base activity configure bottom bar 2022-11-07 00:43:59 +05:30
Naveen
48438c6553 Automatically wrap buttons on bigger screens 2022-11-06 23:54:24 +05:30
Naveen
69c4d62e42 Redesign attachment picker buttons 2022-11-06 23:09:45 +05:30
Naveen
b6407dc49b Use lookup key to load contacts 2022-11-06 21:00:35 +05:30