Commit graph

229 commits

Author SHA1 Message Date
Naveen
8bc6659d71
Set drawable size in code 2023-08-22 14:27:40 +05:30
Naveen
8ebcaa3016
Add some new lines 2023-08-22 14:01:17 +05:30
Naveen
dccbc6ce7a
Use View binding in AutoCompleteTextViewAdapter.kt 2023-08-18 17:18:30 +05:30
Naveen
c7a9f44663
Minor code improvement 2023-08-17 16:45:03 +05:30
Naveen
0c01e607bb
Migrate from kotlin synthetics to View binding 2023-08-17 15:54:29 +05:30
Ensar Sarajčić
24756285cc Use recycle bin string for deletion when recycle bin is active 2023-07-25 14:54:32 +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
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ć
e86e089dc5 Move thread handling to unarchiveConversation method 2023-07-19 15:31:02 +02:00
Ensar Sarajčić
e07fbe40a6 Add confirmation for archiving conversations 2023-07-19 10:11:52 +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ć
e4269c8356 Remove needless extra empty line in ThreadAdapter 2023-07-10 16:47:50 +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
tibbi
e8d021a662 use nicer effects at long pressing conversations 2023-06-11 21:42:55 +02:00
Agnieszka C
bb61229cef Fixed deleting notification after deleting conversation ( #637) 2023-05-20 08:35:03 +02:00
Naveen
49597a8db3 Add some spacing between attachments and text 2023-02-19 15:17:51 +05:30
tibbi
9a7d56d0e8 adding a crashfix 2023-02-08 10:22:31 +01:00
tibbi
251d885836 renaming a menu item 2023-02-08 10:08:37 +01:00
Naveen
2d6ff0bc30 Fix scroll-up glitch when new message arrives 2023-01-15 08:42:15 +05:30
Naveen
6e6c65ad6a Disable calling non-numeric short codes from main screen 2023-01-06 18:52:34 +05:30
tibbi
e52cb19059 adding some conversation details related UI improvements 2023-01-01 22:42:59 +01:00
Naveen
7f9f925da4 Properly update text colors on theme change
and some code improvements
2022-12-11 14:45:47 +05:30
Naveen
716ebad21e Remove fade effect as items are already animated 2022-12-09 02:08:35 +05:30
Naveen
2fc70b2dc5 Fetch drafts on a background thread 2022-12-07 23:43:31 +05:30
Naveen
08b3379729 Update conversations on pin/unpin 2022-11-26 23:33:26 +05:30
Naveen
51f9662820 Properly start contact view intent 2022-11-26 03:24:18 +05:30
Naveen
8d283858e1 Add ability to rename group conversations 2022-11-21 02:51:51 +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
6cc8277694 Enable stable ids again
now we have stable ids, sorta
2022-11-19 06:08:01 +05:30
Naveen
89f378b973 Minor code consistency change 2022-11-18 01:45:17 +05:30
Naveen
3d9cb5bdac Disable setHasStableIds
because we really don't have stable ids (yet)
2022-11-18 01:00:33 +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
Naveen
2d36794a17 Merge branch 'master' into recyclerview_improvements 2022-11-16 14:03:36 +05:30
tibbi
c8818bfa57 lets lock number blocking 2022-11-13 20:14:46 +01:00
Naveen
9bdc8b6f7e Use DiffUtil at conversations screen 2022-11-13 00:38:11 +05:30
Tibor Kaputa
4fee6bb7b4
removing an unused import 2022-11-07 16:03:01 +01:00
Tibor Kaputa
cba85bb2fa
Merge branch 'master' into feature_attachments 2022-11-07 16:00:34 +01:00
tibbi
14859607ec limit shown attachment sizes in thread to avoid OOM 2022-11-07 15:47:34 +01:00
Tibor Kaputa
48d22d8aa5
moving overring functions at the top 2022-11-06 09:51:40 +01:00
Naveen
1c48352432 Fix issue previewing GIF files 2022-11-05 00:54:17 +05:30
Naveen
61a57aa2b5 Show icon for common mime types 2022-11-05 00:20:04 +05:30
Naveen
7c02e33bbd Remove unused click listeners and callbacks 2022-11-03 00:32:34 +05:30
Naveen
ecdbc9036a Extract all properties when adding contact attachment 2022-11-03 00:01:52 +05:30
Naveen
d202c3b172 Merge branch 'SimpleMobileTools:master' into feature_attachments 2022-11-02 18:14:05 +05:30