Commit graph

245 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
a87f33f88f
Reset database on app update (again) 2023-09-19 23:41:54 +05:30
Naveen
69ff590cf0
Migrate to non-transitive R Classes 2023-08-24 20:59:34 +05:30
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
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
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ć
a5d6e7724c Reduce displayed data in message details dialog 2023-07-11 09:49:40 +02:00
Ensar Sarajčić
bdd506c96e Add message details menu button
Adds a "Properties" menu button in conversation, when one message
is selected, which displays details about the message:
- Type (SMS or MMS)
- Sender phone number (or receiver if it is a sent message)
- Used SIM
- Date sent at
- Date received at (if it is an incoming message)

This closes #19
2023-07-10 16:43:07 +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
Alier
b076da3840 Add Delete Action Button to Sms message 2023-06-24 04:09:35 +06: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
Naveen
c94b8852cd Avoid resetting conversation name in tmp threads 2023-02-28 19:17:04 +05:30
Naveen
83cdf0f623 Avoid resetting conversation name 2023-02-28 18:58:10 +05:30
Naveen
1f36738be0 Rewrite, move SMS related code into the app 2023-01-03 15:43:14 +05:30
tibbi
db6ddceb73 updating commons and min SDK to 23 2023-01-01 21:24:41 +01:00
Agnieszka C
06436ccf58 Fixed showing all drafts (#537) 2022-12-30 11:55:05 +01:00
tibbi
1eeb3c5356 removing a redundant check 2022-12-11 14:05:24 +01:00
Tibor Kaputa
7ea57de52b
Merge pull request #520 from Naveen3Singh/notification_improvements
Improve and organise notification related code
2022-12-11 12:26:58 +01:00
tibbi
420c1e9f5b fix an error message shown at launching the app 2022-12-08 09:18:04 +01:00
Naveen
0ab85419af Improve and organise notification related code
Improvements related to the "Mark as read" button but it's not completely fixed yet. There's still a minor issue on android 13 devices

### Changes:
 - Move notification related code to a separate helper
 - Update notification instead of cancelling when using inline replies
 - Disable sound on inline replies
 - Reuse existing transaction api extensions for sending inline replies
2022-12-04 00:49:41 +05:30
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
35d53ba267 Remove conversation type check 2022-11-26 03:28:15 +05:30
Tibor Kaputa
9d90ec13e1
formatting some code 2022-11-24 22:46:26 +01:00
shenzhigang
2e5a18a029 Fix Mms duplication on scroll to top 2022-11-24 21:50:51 +08:00
Naveen
48ebef6420 Fix conversation duplication glitch 2022-11-21 23:25:18 +05:30
Naveen
e0787d7c83 Persist sub id when sending sms messages 2022-11-21 21:00:26 +05:30
Naveen
8d283858e1 Add ability to rename group conversations 2022-11-21 02:51:51 +05:30
Naveen
da6354c9a1 Update the Ui ASAP when sending a message 2022-11-18 01:05:19 +05:30
Naveen
b4c5648ddc Properly handle attachment picker visibility 2022-11-08 02:13:24 +05:30
Tibor Kaputa
83677681e9
minor formatting 2022-11-06 10:41:58 +01:00
Naveen
09956f809d Properly parse attachment file names 2022-11-03 23:40:47 +05:30
Naveen
23643d3198 Add support for sending all types of files 2022-11-02 18:03:35 +05:30
Tibor Kaputa
d41c57093e
Merge pull request #438 from Naveen3Singh/feature_schedule_send
Add schedule send feature
2022-10-14 23:29:49 +02:00
tibbi
b271ed4d2d do not group suggested contacts by address 2022-10-11 19:29:05 +02:00
Naveen
203f10618f Prefer last modified time over last message time 2022-10-08 20:50:49 +05:30
Naveen
d6f71619cf Add options to edit, delete, and send the message now 2022-10-04 01:10:20 +05:30
Naveen
8aee6c560b Delay clearing of expired messages 2022-10-01 00:02:13 +05:30
Naveen
ee8130c767 Handle conversations with scheduled messages only 2022-09-28 02:05:06 +05:30
Naveen
2ff0880cb5 Handle sending scheduled messages 2022-09-27 16:08:45 +05:30
Naveen
7624174cad Add schedule send message creation ui
Move android-smsmms logic into a separate file
2022-09-26 03:02:07 +05:30
Naveen
f4575401f5 Use the existing extension for api version check 2022-09-18 22:54:51 +05:30
Naveen
6842e1c5b6 Respect default SMS SIM setting 2022-09-18 17:40:14 +05:30
tibbi
30399df77f reset messages at app upgrade 2022-06-29 14:27:37 +02:00
Naveen
ec02864751 Use vertical bar '|' as the address separator
https://github.com/tibbi/android-smsmms/pull/3 must be merged after this
2022-06-16 19:43:36 +05:30