Commit Graph

31 Commits

Author SHA1 Message Date
adbenitez b96560b19a show verification status in title 2021-11-22 23:48:52 -05:00
bjoern 1eed088f66 rename isGroup() to isMultiUser() (#2063)
* rename isGroup() to isMultiUser()

* rename isGroupConversation()/isPushGroupConversation() to isMultiUser()

* rename chatIsGroup to chatIsMultiUser

* rename isGroupRecipient() to isMultiUserRecipient()
2021-09-30 21:31:18 +02:00
bjoern e71f5d9bba broadcasts android ui (#2060)
* add broadcasts ffi

* add 'broadcast' options to menu, chat, profile etc.

* generate initial broadcast names

* reword broadcast hint

* make 'Broadcasts Lists' experimental; while on that, also add a confirmation dialog to the location streaming switch (wording taken from ios)

* Update res/values/strings.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* comment on strings.xml

* tweak 'experimental' appearing, avoid the 'test tube'-emoji that is not supported on many devices

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-09-30 15:44:17 +02:00
B. Petersen b28a62a1ea remove functions from subclassed DcContext
the functions were part of ApplicationDcContext for no special reason,
however, now standing in the way of avoiding subclassing DcContext
(to use the DcContext objects returned from DcAccounts directly).
2021-07-26 18:41:42 +02:00
Hocuri f941fd3c53 Remove Deaddrop chat (Android UI) (#1975)
See deltachat/deltachat-core-rust#2514

Fixes #1963
Fixes #1890

Before deleting a chat the user is asked for confirmation. Before blocking not, because blocking is not "destructive" (i.e. can be completely reverted by unblocking the contact). I'm wondering whether we should show a snackbar with an Undo button though, but we can probably wait for user feedback on this.

* Start removing deaddrop chat

* Generally works

* Fix the buttons

(it's not easy to not show one of the buttons in
ConstraintLayout; if problems turn up, we should probably
just not use ConstraintLayout)

* fix more things

* restartLoader() instead of notifyDataSetChanged() because the latter didn't do anything

* Archived badge

* Rename "Contact request" to "Request"

* oops

* Remove setStockTranslation(8, context.getString(R.string.chat_contact_request));

* Remove commented-out code, we probably won't need it

* Don't show "Delete" button for 1:1 chats

* Get rid of short flickering when declining a request

* Set the app's night mode to match the preference

This added 6ms to startup time, but I think that's OK, as
we will also be able to use more `-night` views in the future

* Make "Accept" text a bit brighter and easier to read in dark mode

* Check if the chattype is Group instead of members.length == 1
2021-07-26 13:01:59 +02:00
adbenitez c4354a5a1e use mute API directly 2021-04-09 15:30:51 -04:00
B. Petersen 2c8bd39cd2 move email-address to subtitle, this is a unique element also used at other places; copy-to-clipboard goes to the menu 2021-03-09 01:59:17 +01:00
bjoern c814885f5c mailinglists3 (#1781)
* Adapt to mailing lists

* Change the question if this is a mailing list (untested)

* rm unused fn

* Adapt to getSenderName -> getOverrideSenderName (untested)

* Use dc_msg_get_sender_first_name() because sometimes the first name was not correctly shown in mailing lists

* Don't let the user modify mailing list groups

* Fix crash

* Make Unnamed newsletter translatable, make the subtitle of mailing lists "Mailing list"

* tweak and hide some controls for mailing lists

* Update src/com/b44t/messenger/DcChat.java

Co-authored-by: bjoern <r10s@b44t.com>

* adapt to new dc_msg_get_real_chat() api, remove dc_msg_get_sender_first_name()

* remove now dead code

* add mailing list name to contact-request-question

move question-creation to a helper class
to avoid duplicated code.

* fix DcMsg.getOverrideSenderName()

* adapt to new dc_decide_on_contact_request() api

* re-allow changing name+image for mailinglists, see recent discussions on PRs

* remove memberlist- and settings-tab from mailinglist profile until there is some use for them

* adapt to new DC_CHAT_TYPE_MAILINGLIST type

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-02-07 23:39:48 +01:00
B. Petersen dde0247681 adapt to new protect-api 2020-10-13 22:07:08 +02:00
B. Petersen d315362d2d add ephemeral icon to title bar 2020-07-11 16:14:46 +02:00
B. Petersen 008bc3cbf2 cleanup ConversationTitleView.setTitle() 2020-07-11 16:14:45 +02:00
B. Petersen 96105c1ac8 'compose title' is never used, remove dead code 2020-07-11 16:14:45 +02:00
Hocuri 40e24c3a39 Start transitioning to the mute functions of the core 2020-05-20 23:51:25 +02:00
B. Petersen fb235b7639 upgrade to androidx support libraries 2019-11-08 01:22:28 +01:00
B. Petersen 7571aac0cc adapt to device-messages api 2019-11-06 00:19:11 +01:00
B. Petersen 12b12087a1 remove getSubtitle() hack 2019-10-10 21:47:10 +02:00
B. Petersen bdccf84bf5 hack plurals string for 'N member(s)' 2019-10-05 20:20:29 +02:00
B. Petersen 1edf6c4db3 edit on click on avatar 2019-05-25 13:26:40 +02:00
B. Petersen 3b5c51b410 add avatar to new profile 2019-05-25 13:26:40 +02:00
B. Petersen afd8431220 playing around with location-streaming-state as floating icon 2019-04-19 02:14:50 +02:00
B. Petersen 5a644af56f show current state of the location-streaming in chatlist and chat 2019-04-18 17:17:35 +02:00
B. Petersen 6be0c34ec4 introduce an option 'Show classic email' 2019-03-02 13:03:19 +01:00
Ampli-fier d979c02e45 added menu_deaddrop_subtitle string 2019-01-19 17:53:45 +01:00
B. Petersen 7b09020afd test subtitle for contact-requests 2019-01-03 01:19:56 +01:00
B. Petersen defac037de rework strings 2018-12-12 17:55:08 +01:00
B. Petersen 983ee6bb80 remove TextSecurePreferences to Prefs which is more handy and has no branding 2018-11-28 16:52:04 +01:00
B. Petersen 126b730f7e allow muting chats and show the state, closes #146 2018-11-27 23:58:07 +01:00
daniel.boehrs fa8e9cefd3 verified-icon not always visible in chat-titlebar #120 2018-11-09 15:23:32 +01:00
B. Petersen 5c15784f66 hide unused controls in contact-requests, tackles #95 2018-10-22 01:21:15 +02:00
B. Petersen 19cf5884c9 remove sms-, invite- and register-reminders, cleanup Chatlist elements 2018-09-14 01:19:03 +02:00
B. Petersen b1a00a03d2 Initial commit 🌱 2018-08-14 17:20:46 +02:00