Commit Graph

4734 Commits

Author SHA1 Message Date
adbenitez 8df57da27b improve mailto Intent handling in ShareActivity 2023-10-23 15:47:00 +02:00
B. Petersen 9562f4089f use 'Verified by me' instead 'Verified by you'
when talking about this function,
it is most times called 'Verified by me'.

this also makes translations easier to languages that
have diferent forms (as 'Du' vs. 'Sie' in german)

even though, we're most times using 'You' when the 'App talks to you',
we have some exceptions as 'Me' in the summary already,
where the 'You' does not work well.

(we leave the key as is, this is not really shown to translators anyways,
better key might be 'verified_by_self', however, it is not worth
opening this issue as the key is already in use -
and it is also not needed to force retranslation,
locales should use what fits and sounds best, may it be 'Me' or 'You')
2023-10-20 15:48:25 +02:00
B. Petersen ba01f1751f update translations 2023-10-20 15:48:25 +02:00
bjoern 2d01fd9b6f sending reactions (#2680)
* add basic reaction view

* reuse pill background

* make pill border a little more visible; this affects sended reactions as well as received ones

* use 🤣 instead of 😂 to differ more from 😢

also, 😂 is a bit outdated for younger generations
(so is probably 🤣 but not that much)
(alternative would be 💀 for laughing,
but that is probably not compatible between generations)

* use 🙁 instead of 😢 for 'sad' to distict from lol

lol gets revered to 😂 as
🤣 seems to be even a more non-go (thanks for expertise, young folks!)

* wording: we add one reaction, not many

* show/hide add-reaction-view together with action mode

* pass message&view to showAddReactionView()

* add sendReactions() api

* create AddReactionView class

* send reactions on click

* hide AddReactiobView on sending emoji

* detect self-reaction

* feat: remove selections

* position AddReactionView atop of parent view

* move AddReactionView up a bit

* padding top/bottom

* center for now, this also postpones rtl/ltr

* force initial layout

* move slightly more off the bubble, keep away a bit from screen margin

* move AddReactionsView left/right depending on incoming/outgoing mails

* do not allow reactions in read-only chats

* do not allow to react to videochat-invitations and info; the latter may makes sense at some point, however, to lower burder on other implementations, we do not send them for now

* hide reaction-picker when leaving action mode with 'back'

* hide reaction-picker when leaving action mode with 'back'

* scroll reaction-panel together with recyclerview; this does not happen if new messages come in, however, this is a minor (and a stable panel position can be regarded even as a feature)

* add sending reactions as an experimental feature as long not at least all system display reactions

* clarify that reactions are currently not seen by all members

* prefer View.INVISIBLE over offscreen hack
2023-10-20 15:17:24 +02:00
Hocuri 01ac589b88 Ask for the name when creating a broadcast list (#2653)
Before https://github.com/deltachat/deltachat-core-rust/pull/4644, when creating a broadcast list, the UIs didn't ask for a name since the name wasn't shown to the recipients and therefore not that important.

As of https://github.com/deltachat/deltachat-core-rust/pull/4644, broadcast lists will create their own chat for the recipients, showing the broadcast lists's name, so we need to ask the user for a name when creating a broadcast list.
2023-10-19 10:22:03 +02:00
B. Petersen 0432933dee bump version to 1.41.1 2023-10-14 17:06:27 +02:00
B. Petersen 981e4af192 update CHANGELOG for 1.41.1, android part 2023-10-14 17:06:27 +02:00
B. Petersen 6ce409becc update CHANGELOG for 1.41.1, core part 2023-10-14 17:06:27 +02:00
B. Petersen eb3ce4613f update translations 2023-10-14 16:06:28 +02:00
B. Petersen bcf230491f update deltachat-core-rust to 'chore(release): prepare for 1.125.0' of 'v1.125.0' 2023-10-14 16:06:28 +02:00
Asiel Díaz Benítez 1444d1b56b Merge pull request #2744 from deltachat/adb/swipe-msg-with-reactions
move reaction pills together with swiped message bubble
2023-10-13 15:17:57 -04:00
adbenitez 9005e620c6 move reaction pills together with swiped message bubble 2023-10-13 20:34:10 +02:00
Asiel Díaz Benítez 1ba2916abd Merge pull request #2741 from deltachat/adb/issue-2740
update dcContext in ConversationListAdapter.changeData()
2023-10-12 16:12:42 -04:00
Asiel Díaz Benítez 4a59e2cfd3 Update src/org/thoughtcrime/securesms/ConversationListAdapter.java
Co-authored-by: bjoern <r10s@b44t.com>
2023-10-12 16:01:42 -04:00
adbenitez 1553c41147 get global DcContext instance from ApplicationContext 2023-10-12 21:33:25 +02:00
Asiel Díaz Benítez 20d592c1ae Merge pull request #2743 from deltachat/adb/issue-2742
remove unnecessary code in ChatBackgroundActivity
2023-10-12 14:51:55 -04:00
adbenitez 7ef7aba4a1 fix context weak reference usage 2023-10-12 19:57:46 +02:00
adbenitez eff3c3cf4f remove unnecesary code in ChatBackgroundActivity 2023-10-12 19:50:06 +02:00
adbenitez 06f165f22c add back WeakReference 2023-10-12 19:13:16 +02:00
adbenitez d97777cf66 add comment in SearchListAdapter 2023-10-12 19:06:41 +02:00
adbenitez 54591994c3 update dcContext in ConversationListAdapter.changeData() 2023-10-12 17:55:58 +02:00
Asiel Díaz Benítez febcee030f Merge pull request #2739 from deltachat/adb/issue-2738
tweak action bar theme for dark mode
2023-10-12 11:52:34 -04:00
Asiel Díaz Benítez d4a33d6857 Merge pull request #2737 from deltachat/adb/issue-2736
avoid NullPointerException in ConversationListFragment.updateReminders()
2023-10-12 11:44:59 -04:00
B. Petersen 8c93155e4a do not change things on import-backups on older androids 2023-10-12 16:45:37 +02:00
B. Petersen 5442d48998 attaching audio is same as attaching files 2023-10-12 16:45:37 +02:00
B. Petersen 4697ed2c29 keep asking for READ_EXTERNAL_STORAGE on backup export (may be needed for getting a fine file name) 2023-10-12 16:45:37 +02:00
B. Petersen aa8fc5f02c explain asking for gallery permissions 2023-10-12 16:45:37 +02:00
B. Petersen 4d82d04e1f adapt media export, key import/export 2023-10-12 16:45:37 +02:00
B. Petersen d18ead79da use manageKeys() as name for the import/export keys function (exportKeys() is misleading) 2023-10-12 16:45:37 +02:00
B. Petersen 53ee084186 import needs READ access only 2023-10-12 16:45:37 +02:00
B. Petersen 321c8db1e1 support writings backups and logs on android11 2023-10-12 16:45:37 +02:00
B. Petersen b38dbd6797 fix welcome for android 11 2023-10-12 16:45:37 +02:00
B. Petersen 0588b07e52 factor out 'always grant on sdk 33' 2023-10-12 16:45:37 +02:00
B. Petersen 9b9d2e4daa READ_EXTERNAL_STORAGE permission is still needed for <sdk33 2023-10-12 16:45:37 +02:00
adbenitez b0c473378d tweak action bar theme for dark mode 2023-10-11 20:40:39 +02:00
adbenitez 65254c030c avoid NullPointerException in ConversationListFragment.updateReminders() 2023-10-11 18:14:14 +02:00
Asiel Díaz Benítez 96de8c4895 Merge pull request #2734 from deltachat/adb/issue-2733
use more permissive mime type in key selection
2023-10-11 09:38:16 -04:00
adbenitez 9380534399 use more permissive mime type in key selection 2023-10-10 16:47:23 +02:00
Asiel Díaz Benítez f1acb6c445 Merge pull request #2731 from deltachat/adb/issue-2730
registration screen: make checkbox use acent color
2023-10-09 09:18:32 -04:00
adbenitez 31f96e1f9d registration screen: make checkbox use acent color 2023-10-08 00:07:00 +02:00
Asiel Díaz Benítez 6df1413125 Merge pull request #2729 from deltachat/adb/code-cleanup2
cleanup code, fix some linter warnings
2023-10-07 17:15:02 -04:00
Asiel Díaz Benítez cb81a7e2c1 Update src/org/thoughtcrime/securesms/WebxdcActivity.java
Co-authored-by: bjoern <r10s@b44t.com>
2023-10-07 17:02:35 -04:00
adbenitez d4c763e282 fix some linter warnings 2023-10-07 21:59:26 +02:00
adbenitez d125e0d8be remove unused variables and @SuppressWarnings("unused") annotations 2023-10-07 16:28:26 +02:00
Asiel Díaz Benítez 542dc94f3c Merge pull request #2728 from deltachat/adb/issue-2725
allow to properly click in audio messages in multi-select mode
2023-10-06 18:41:32 -04:00
adbenitez 5513f780da rename toggleState() to togglePlay() 2023-10-07 00:31:37 +02:00
adbenitez 4dc1abf135 add comment 2023-10-06 23:26:21 +02:00
adbenitez b24ab37931 allow to properly click in audio messages in multi-select mode
also allow to long-press in play button to select message
2023-10-06 21:21:15 +02:00
holger krekel 3d48669b1a according to https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository this should work 2023-10-06 18:34:28 +02:00
B. Petersen ac1f2ebdd9 rename blocked-contacts-activity
`BlockedAndShareContactsActivity` is no longer used for sharing contacts,
this was always a misleading name
and is done since #2719 by `AttachContactActivity`.
2023-10-05 23:46:23 +02:00