Commit Graph

3626 Commits

Author SHA1 Message Date
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
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
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
B. Petersen 62b8a7d646 update translations 2021-09-30 01:42:01 +02:00
B. Petersen a1aae81bb4 update translations 2021-09-24 18:10:11 +02:00
bjoern 3af9fdcea6 do not say, device-messages can be deleted from the server somehow (#2059)
it is a bit nitpicking and also a cornercase,
however, yes, it was not correct before.
2021-09-24 18:04:33 +02:00
bjoern 1ef4b23811 prefer 'All' over 'No Limit' (#2055) 2021-09-22 18:45:05 +02:00
B. Petersen 17bdd6e0da fix typo in english source strings 2021-09-22 02:06:37 +02:00
B. Petersen 6a574bacc6 update translations 2021-09-22 02:03:30 +02:00
B. Petersen db647e773e update translations 2021-09-21 11:15:58 +02:00
B. Petersen 7b4e7d5990 update translations 2021-09-21 01:57:40 +02:00
B. Petersen 96b38e60b5 make check-translations.sh accept escaped percent sign 2021-09-21 01:55:43 +02:00
B. Petersen fe113cb520 hotfix: remove superfluous backslash 2021-09-21 01:47:54 +02:00
bjoern d7072d57df add translations recently needed by core: connectivity, quota, device messages and some other bits (#2053) 2021-09-21 01:00:26 +02:00
B. Petersen 35573e1ec9 update deltachat-core-rust submodule 2021-09-20 21:46:24 +02:00
B. Petersen 9e3f08c7b7 update translations 2021-09-20 14:24:26 +02:00
B. Petersen 95bc9cb236 update translations 2021-09-19 21:06:45 +02:00
bjoern a33ff17f3f pull in translatable/lasting strings from desktop (#2050)
* pull in translatable/lasting strings from desktop -> _locales/_untranslated_en.json

* fix typo

* add missing headline

* Update res/values/strings.xml

Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>

Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
2021-09-19 18:34:09 +02:00
B. Petersen 75366e78e4 update translations 2021-09-18 23:22:45 +02:00
B. Petersen 9214d0cf76 bump version 2021-09-18 23:12:26 +02:00
B. Petersen 3fce5bbd21 update deltachat-core-rust submodule 2021-09-18 22:29:08 +02:00
B. Petersen e4a02f3d4b update translations 2021-09-14 17:11:10 +02:00
B. Petersen f556585460 update translations 2021-09-13 23:27:03 +02:00
bjoern beb601bc06 do not download large messages automatically (#2045)
* add download-ffi methods

* add 'Download' button for incomplete messages

* show 'downloading' animation

* make download_limit configurable

* set button to 'disabled' and text to 'Downloading...' on downloading; color does not really reflect that yet, but that can probably be tweaked by xml

* make 'download message body' translatable
2021-09-13 23:07:49 +02:00
B. Petersen 8c750a43ca update deltachat-core-rust submodule 2021-09-13 21:15:30 +02:00