Commit Graph

79 Commits

Author SHA1 Message Date
B. Petersen 0db771d00d remove now dead code 2024-08-05 16:31:47 +02:00
B. Petersen fa513325d5 add videochat-invitations from attach-menu 2024-08-05 16:31:47 +02:00
B. Petersen 1a2efaa89b swap audio and contact attache buttons 2024-08-05 16:31:47 +02:00
bjoern 732e9776bb add 'Cancel' button to location steaming dialog (#3206)
that was just missing
(though cancellation was implicitly always possible using 'back'
or by tapping outside)
2024-08-05 15:11:00 +02:00
bjoern 09a8261567 remove email address from primary reaction UI (#3207)
as at other places,
we should tune down showning email addresses
also in the primary reaction UI.

ppl will recognize name and avatar,
and if in doubt, you can always tap a reaction to go to the full profile.
2024-08-05 14:57:08 +02:00
bjoern 5a9bfe5bbe send a videochat invitation to self chat (#3204)
there are not really reasons to not allow sending videochat invitations to the self chat:
- it is useful for testing
- one may forward them from there to somewhere else
- it is allowed on desktop and ios as well

in fact, i was very confused that it is not possible
when playing around with https://github.com/deltachat/deltachat-android/issues/3187 .
might be a relict where we did _only_ allow videochat in normal one-to-one chats.
2024-08-04 18:11:56 +02:00
Asiel Díaz Benítez df69228457 add "Invite Friends" to main menu (#3196)
* add "Invite Friends" to main menu

* tweak invitation message

* add back "new chat" menu item
2024-08-02 16:43:31 +02:00
Asiel Díaz Benítez 9edcb8fad9 Merge pull request #3191 from deltachat/issue-3190
replace trash icon in profile switcher with context menu
2024-08-02 10:42:11 +02:00
B. Petersen 4ec1874c27 toggle mute from account switcher 2024-08-01 22:23:11 +02:00
B. Petersen 2574c566a7 show 'delete' in red 2024-08-01 21:32:06 +02:00
B. Petersen 3c38db4ac7 register for context menu only if there is sth. to delete 2024-08-01 21:26:31 +02:00
B. Petersen 4a18c0150b make onContextItemSelected() being called 2024-08-01 21:15:55 +02:00
adbenitez 3e72837688 remove push notifications toggle 2024-08-01 11:49:17 +02:00
adbenitez 60830d389e repace trash icon in profile switcher with context menu 2024-07-31 15:59:51 +02:00
Asiel Díaz Benítez 8e802e1062 Merge pull request #3177 from deltachat/adb/issue-3162
prevent creating contact without encryption in chatmail account
2024-07-30 15:18:16 +02:00
Asiel Díaz Benítez d50eb32b38 Merge pull request #3176 from deltachat/adb/issue-3164
add "copy invite link" button to QrShowFragment
2024-07-30 15:08:46 +02:00
adbenitez 33c4b6223b rename var 2024-07-30 14:48:05 +02:00
adbenitez bcce0184fd share instead of copy 2024-07-30 14:35:04 +02:00
adbenitez ab85196ecf remove switch account 2024-07-30 11:50:04 +02:00
adbenitez 61ee6574eb revert change in QrCodeHandler 2024-07-30 11:20:51 +02:00
B. Petersen 0bcccb41a1 show '(un)block contact' in red as well 2024-07-27 17:56:31 +02:00
B. Petersen 90fce0033d tweak 'red' color 2024-07-27 12:22:58 +02:00
B. Petersen ae0021e224 color dangerous chat menu items in red 2024-07-27 12:22:58 +02:00
B. Petersen 00e76ab7a7 move all chat menu items to a single .xml file to allow grouping 2024-07-27 12:22:58 +02:00
B. Petersen 71e8a6a847 remove unused SendRelayedMessageUtil.cleanup() 2024-07-27 12:22:16 +02:00
B. Petersen ffd0864a67 remove unused passing around of contact's query parameter 2024-07-27 12:22:16 +02:00
B. Petersen 54a49c203f remove unused contact type attribute 2024-07-27 12:22:16 +02:00
B. Petersen 3a2922e887 remove unused stock string 'Contact' 2024-07-27 12:22:16 +02:00
B. Petersen 0d1d2ccd0c remove unused AudioSlidePlayer.startTime 2024-07-27 12:22:16 +02:00
B. Petersen 492fdb2753 if we do not translate the read receipt's body, do not translate the read receipt's subject as well 2024-07-26 18:13:47 +02:00
B. Petersen 7aea2d0b87 'read receipt' string is no longer needed
the stock string was removed,
and it is even considered to be better to leave the new one as english only,
see #3179
2024-07-26 18:13:47 +02:00
Asiel Díaz Benítez f74e693603 Merge pull request #3154 from deltachat/adb/expand-advanced-settings
expand advanced settings if they are modified
2024-07-26 14:36:25 +02:00
adbenitez 5128d94427 fix onClick() in LongClickCopySpan 2024-07-23 18:24:35 +02:00
adbenitez a25fd3f688 fix bug in LongClickCopySpan 2024-07-23 18:20:07 +02:00
adbenitez ea7f96c030 warn chatmail accounts when scanning QR code with mailto/address 2024-07-22 19:01:17 +02:00
adbenitez f577bf167c prevent creating contact without encryption in chatmail account 2024-07-19 21:14:52 +02:00
adbenitez 54d4414aaa add "copy invite link" button to QrShowFragment 2024-07-18 20:43:41 +02:00
B. Petersen ff9fe93a75 tune down copying email address
copying email addresses to the clipboard
is not proper way to get in contact in the light of chatmail -
even if the account is non-chatmail, the receiver may use chatmail.
or the copied contact.

it is better to point ppl to use 'Share' or 'Attach Contact' therfore
and not offer failing/corner-case things in the primary menu.

therefore, we do basically the same what desktop is doing all the years:
no special function, however, if you select text (desktop)
or long tap it (android now), you can copy it.
2024-07-17 19:44:51 +02:00
B. Petersen e7a9f60a12 clearer naming 2024-07-17 14:58:43 +02:00
B. Petersen 4324f324cc no sharing of a contact to multiple recipients at the same time, we can reconsider when that becomes a real-world need 2024-07-17 14:58:43 +02:00
B. Petersen 673c3412e9 add 'share' to contact's profile menu 2024-07-17 14:58:43 +02:00
Asiel Díaz Benítez f26752ede5 Merge pull request #3166 from deltachat/adb/issue-3163
hide "add contact manually" for chatmail accounts
2024-07-17 14:45:27 +02:00
link2xt e580bce258 feat: support backup transfer protocol v2 2024-07-16 17:14:50 +00:00
Asiel Díaz Benítez 307e4575b5 Merge pull request #3143 from deltachat/adb/issue-3126
allow to enable/disable notifications per-account
2024-07-13 17:26:11 +02:00
adbenitez 012206b323 hide "add contact manually" for chatmail accounts 2024-07-13 17:21:24 +02:00
B. Petersen 79aa5ad587 fix crash on some mailto: links
if the value part is missing,
it otherwise crashes when calling MailtoUtil.getText()
and the exception is not handled there (it is not in at least one case).

therefore, just catch the exception in this cornercase (same for bad encoding)
and return an empty string.
2024-07-13 15:54:38 +02:00
B. Petersen af20e73e80 create QrShowFragment in time
QrShowFragment is used by some menu entries
available also when the fragment is not displayed;
therefore, creation on displaying is too late.

(the crash is present only on some android versions,
as many android versions seem to create "neighboured tabs" anyways -
so there should also not be much performance loss)
2024-07-13 15:31:31 +02:00
adbenitez 355d026e7d expand advanced settings if they are modified
this helps avoid issues like user changing email address and password
and pressing "configure" button without realizing they have custom
imap, smpt, etc. settings
2024-07-10 19:06:40 +02:00
adbenitez 5eafe6ad49 update notifications preference key 2024-07-10 14:35:40 +02:00
Asiel Díaz Benítez 4f3a41bd99 Update src/main/java/org/thoughtcrime/securesms/LogViewFragment.java
Co-authored-by: bjoern <r10s@b44t.com>
2024-07-10 07:59:08 -04:00