Commit graph

314 commits

Author SHA1 Message Date
Ensar Sarajčić
e41630e543 Rename useThreadsArchive to isArchiveAvailable for clarity 2023-10-03 09:46:10 +02:00
Ensar Sarajčić
0e68da2710 Prevent using archive table if it doesn't exist
This closes #773
2023-10-03 09:38:45 +02:00
Naveen
4582bc5289
Properly clear messages from database 2023-09-30 02:21:49 +05:30
Naveen
69ff590cf0
Migrate to non-transitive R Classes 2023-08-24 20:59:34 +05:30
Naveen
66be224b38
Remove nested apply usage 2023-08-22 15:11:05 +05:30
Naveen
fead93ddf7
Remove messageHolderBinding variable 2023-08-22 14:09:04 +05:30
Naveen
8ebcaa3016
Add some new lines 2023-08-22 14:01:17 +05:30
Naveen
0c01e607bb
Migrate from kotlin synthetics to View binding 2023-08-17 15:54:29 +05:30
Ensar Sarajčić
450a0c22d1 Merge branch 'master' into feature/451-recycle-bin 2023-07-25 08:08:04 +02:00
Ensar Sarajčić
312f5bd0a8 Prevent duplication of messages on resend
This prevents duplication by ensuring that message is just
updated in case of SMS, instead of creating a new entry. In case
of MMS, due to the way it is sent internally, we delete original
message once we get result of the new one.

This closes #554
2023-07-24 11:03:48 +02:00
Ensar Sarajčić
bcb42d0ff5 Ensure recycle bin is ignored when disabled 2023-07-20 16:34:05 +02:00
Ensar Sarajčić
cc6e9358f6 Ensure recycled messages don't reappear in threads 2023-07-20 16:26:00 +02:00
Ensar Sarajčić
565f991932 Update recycle bin related strings 2023-07-20 16:20:29 +02:00
Ensar Sarajčić
3f06b521bf Add separate screen for recycle bin messages 2023-07-20 16:04:51 +02:00
Ensar Sarajčić
b29d664dc4 Merge branch 'master' into feature/451-recycle-bin 2023-07-20 14:12:20 +02:00
tibbi
fd65d26f8f updating commons and room 2023-07-19 16:52:20 +02:00
Tibor Kaputa
0c5242df2d
Merge pull request #698 from esensar/feature/177-conversations-archive
Implement archive feature for conversations using system API
2023-07-19 16:40:16 +02:00
Wilson
f6b5bbf455 add asking for Exact alarm permission before scheduling a message above Android API S 2023-07-18 16:21:18 -04:00
Ensar Sarajčić
555b6ebea3 Add support for recycle bin for messages
This adds support for moving messages to recycle bin instead of
deleting them right away. The feature is not active by default.

This closes #451
2023-07-18 11:34:25 +02:00
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