Commit Graph

3649 Commits

Author SHA1 Message Date
Asiel Díaz Benítez eb75aaae1a use Dismiss instead of Mark as Read in notification action (#2083) 2021-10-15 11:22:48 +02:00
Hocuri 1fcda9c2d2 Remove "View Profile" and "Add Attachment" from menu (#2079)
The menu has grown waaaaay to big, before it has been up to 8 entries,
now it's two entries less.
2021-10-13 22:31:38 +02:00
Asiel Díaz Benítez 242f47cae6 Merge pull request #2077 from deltachat/adb-switch-account-improvements
improve the account selector dialog
2021-10-13 15:33:44 -04:00
Hocuri d8913cf17e Adapt to new direct share api (#1852)
Fix #1777
2021-10-13 17:33:55 +02:00
Hocuri 71d8a0b5d8 Correct indentation 2021-10-13 14:30:23 +02:00
Hocuri ded3c5d43e Make the "selected account" checkmark green 2021-10-13 14:21:08 +02:00
adbenitez 8cdac36dc5 fix recycleview top padding 2021-10-13 04:02:43 -04:00
adbenitez 07d61fe44a update left margin of name and address 2021-10-13 03:56:26 -04:00
adbenitez ba40209723 add checkbox to selected account 2021-10-13 03:22:55 -04:00
adbenitez 584f2648e6 include selected account in list 2021-10-12 15:38:09 -04:00
Hocuri e55f1a9c20 Apply some of Android Studio's suggestions 2021-10-12 19:59:48 +02:00
Hocuri 1810508ff0 Remove unused elements in account_selection_list_fragment.xml 2021-10-12 17:21:32 +02:00
adbenitez e20c178705 add missing contentDescription to delete button in res/layout/selected_recipient_list_item.xml 2021-10-12 12:16:07 +02:00
Asiel Díaz Benítez 646ed8bb18 Update src/org/thoughtcrime/securesms/accounts/AccountSelectionListFragment.java
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:49:50 -04:00
Asiel Díaz Benítez bc0d103f13 Update src/org/thoughtcrime/securesms/accounts/AccountSelectionListFragment.java
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:47:13 -04:00
Asiel Díaz Benítez 90930ae1a7 Update res/layout/account_selection_list_item.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:46:56 -04:00
Asiel Díaz Benítez 6578e008df Update res/layout/account_selection_list_item.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:45:58 -04:00
adbenitez e1c52835e5 set click listener in AccountViewHolder 2021-10-10 13:43:37 -04:00
adbenitez 1895e30a9b adapt delete button to theme 2021-10-10 13:12:45 -04:00
adbenitez 746c666148 improve fallback avatar in account list 2021-10-10 02:05:58 -04:00
adbenitez 811f8eaf0b add unread count badge to account selector 2021-10-10 00:39:56 -04:00
adbenitez 3880fd67a5 improve the account selector dialog 2021-10-09 23:05:07 -04:00
Asiel Díaz Benítez 74adc7e4b2 Merge pull request #2071 from deltachat/adb-issue-2069
allow to select audio files in multi-select mode in Docs tab
2021-10-09 13:57:31 -04:00
Asiel Díaz Benítez 9c20275f6e Merge pull request #2047 from deltachat/adb-fix-reference-links
use loadDataWithBaseURL() instead of loadData()
2021-10-09 13:13:12 -04:00
Asiel Díaz Benítez 8cbb653740 Merge pull request #2076 from deltachat/adb-hidde-keyboard
hidde keyboard when compose panel is hidden
2021-10-08 13:23:06 -04:00
adbenitez 9d41055379 hidde keyboard when compose panel is hidden 2021-10-08 02:49:04 -04:00
Hocuri 624a1d08f2 Merge pull request #2065 from deltachat/fix-shared-image-being-set-as-draft-repeatedly
Fix shared image being set as draft repeatedly (Fix #2040)

The problem was that 

      if (isDirectSharing(this)) {
        openConversation(getDirectSharingChatId(this), -1);
      }

was called in refreshTitle(). But refreshTitle() is also called everytime the connectivity changes, so everytime the connectivity changes a new instance of ConversationActivity was opened.

The last three commits are actually independent (but I think uncontroversial) improvements, if you want I can also make a separate PR for this.
2021-10-05 11:01:23 +02:00
adbenitez 07dc53804d remove unnecessary call to notifyDataSetChanged() 2021-10-05 00:48:21 -04:00
adbenitez 19d1b56bf2 allow to select audio files in multi-select mode 2021-10-05 00:40:15 -04:00
Asiel Díaz Benítez c9689097d4 Merge pull request #2061 from deltachat/adb-issue-2016
Disable group editing actions if user can't edit group (ex. self not in group)
2021-10-04 17:00:51 -04:00
Hocuri dfb13ca7a4 Don't let the doze dialog make the tests fail 2021-10-04 16:03:19 +02:00
Hocuri b495b847f4 Remove forgotten dbg statement 2021-10-04 16:03:19 +02:00
Hocuri 925fec13b2 Move tests to separate packages so that I can e.g. run all offline tests 2021-10-04 16:03:19 +02:00
Hocuri 0f102ffc88 Fix #2040 2021-10-04 16:03:19 +02:00
Hocuri 2c6f849676 Add failing test 2021-10-04 16:02:44 +02:00
Hocuri a2ffa4cd5a Add very basic onboarding and sharing test (#2031)
* Start creating onboarding test

* Start adding sharing test

* Create very basic sharing test
2021-10-04 15:58:07 +02:00
adbenitez 02588ebb8b hidde add-member and qr-invite buttons if they can't be used at the moment 2021-10-03 16:57:54 -04:00
Hocuri 1b6965e43e Fix back button not working in connectivity view sometimes (#2064)
I noticed that sometimes the system back button (the one in the lower
left) does not work in the connectivity view. The top bar back button
worked.

This should fix this.

Also, I moved `getSupportActionBar().setTitle(R.string.connectivity)` to onCreate(). It had been in refresh() so that the title could be set to "Connectivity | Connected", "Connectivity | Connecting" and so on. But as we decided not to do this, there is no reason for it to be in refresh().
2021-10-03 16:50:39 +02:00
B. Petersen e664557435 update translations 2021-10-02 13:18:08 +02:00
adbenitez bf8ceed829 disable group editing actions for contact requests and groups where it doesn't makes sense (ex. self is not in group) 2021-10-02 00:20:39 -04:00
adbenitez 404c40379c disable buttons actions if user can't send in group 2021-10-02 00:15:33 -04:00
B. Petersen 2279ef38a3 update translations 2021-10-01 23:50:21 +02:00
bjoern a73f17144b add usage string for connectivity view (#2066)
moreover, fix the id used for 'Broadcast List'
2021-10-01 22:28:37 +02:00
B. Petersen 427e70fcbf update translations 2021-10-01 14:00:31 +02:00
B. Petersen 362ccd81c5 update translations 2021-09-30 21:37:42 +02: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
B. Petersen 154a6fce92 update translations 2021-09-30 15:57: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 bafccdec1f fix translation syntax error 2021-09-30 15:01:05 +02:00
B. Petersen 3db47cb2c6 update deltachat-core-rust submodule 2021-09-30 14:32:54 +02:00