Commit graph

114 commits

Author SHA1 Message Date
Naveen
8bc6659d71
Set drawable size in code 2023-08-22 14:27:40 +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ć
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ć
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
Naveen
49597a8db3 Add some spacing between attachments and text 2023-02-19 15:17:51 +05:30
Naveen
2d6ff0bc30 Fix scroll-up glitch when new message arrives 2023-01-15 08:42:15 +05:30
Naveen
716ebad21e Remove fade effect as items are already animated 2022-12-09 02:08:35 +05:30
Naveen
51f9662820 Properly start contact view intent 2022-11-26 03:24:18 +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
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
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
Naveen
61a57aa2b5 Show icon for common mime types 2022-11-05 00:20:04 +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
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
Naveen
737189746e Always use proper primary color 2022-08-30 16:15:24 +05:30
Naveen
ad6abf7ccc Set text in xml 2022-08-29 15:54:09 +05:30
Naveen
3d0312ff44 Remove unnecessarily duplicated string 2022-08-29 14:08:26 +05:30
Naveen
317cb9b883 Check for nullability 2022-08-29 03:56:02 +05:30
Naveen
d2c883710f Add clarifying parentheses 2022-08-29 03:20:13 +05:30
Naveen
f07abeb54c Add vCard attachment preview 2022-08-29 03:19:50 +05:30
Pavel Poley
f3ef5dfd67 allow displaying older messages 2022-06-02 16:34:04 +03:00
Pavel Poley
e9c32e7487 allow displaying older messages 2022-06-01 17:45:09 +03:00
tibbi
45874d13d4 updating commons and target SDK to 31 2022-04-12 09:45:18 +02:00
tibbi
f389be0de1 removing a default value 2022-03-07 15:11:57 +01:00
tibbi
79f51e42d5 allow sharing attachments too 2022-03-07 13:53:32 +01:00
tibbi
394a990e9c add text message forwarding 2022-03-07 13:37:47 +01:00
tibbi
5e97a97e5f use rounded corners imageview instead of rounding it ourselves 2022-03-07 10:46:31 +01:00
tibbi
6349d18c62 use a transparent placeholder at loading mms images 2022-03-06 22:48:52 +01:00
tibbi
591f473a1f updating commons with PhoneNumber containing multiple fields 2022-02-06 22:44:20 +01:00
tibbi
8336ec0052 updating commons, kotlin + add some keyboard hiding 2022-02-05 21:07:43 +01:00
Agnieszka C
67f5404f26 Added opening contact details from the conversation view (#104) 2022-01-23 15:09:50 +01:00
Tibor Kaputa
9c56922b75
Merge pull request #257 from Aga-C/save-mms
Added saving MMS (#106)
2021-11-27 19:45:12 +01:00
tibbi
70a6e701dc updating commons + the new fastscroller handling 2021-11-27 19:35:30 +01:00
Agnieszka C
f2a25b46dd Added saving MMS (#106) 2021-11-20 13:39:52 +01:00