Commit graph

213 commits

Author SHA1 Message Date
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
Naveen
23643d3198 Add support for sending all types of files 2022-11-02 18:03:35 +05:30
tibbi
c850b4d7f3 catch exceptions thrown at showing big message attachments 2022-10-26 19:12:17 +02:00
Naveen
8d75d5b133 Improve unknown attachment preview 2022-10-23 18:35:54 +05:30
Agnieszka C
38b150daa4 Fixed pin indicator color (#455) 2022-10-20 11:11:32 +02:00
Naveen Singh
6f07d6971a
Merge branch 'SimpleMobileTools:master' into feature_schedule_send 2022-10-06 01:47:52 +05:30
Naveen
c2320be6c1 Use proper text color for date 2022-10-06 01:00:47 +05:30
Naveen
9284859b8b Get icon width from xml resource 2022-10-01 01:46:26 +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
a4bd3364c6 Use subscriptionManagerCompat() everywhere 2022-09-18 22:57:28 +05:30
Naveen
8dc4687328 Use structured name when formatted name is empty 2022-08-31 17:34:51 +05:30
tibbi
d95985841a use a bit smaller font size around vcards 2022-08-31 12:37:11 +02:00
Naveen
737189746e Always use proper primary color 2022-08-30 16:15:24 +05:30
Naveen
b6e21507c1 Restructure code 2022-08-29 16:32:04 +05:30
Naveen
93848b1894 Set proper expand/collapse drawable on recycle 2022-08-29 16:12:16 +05:30
Naveen
66363caf4c Disable expand/collapse when there's only one item 2022-08-29 15:59:31 +05:30