Commit Graph

1923 Commits

Author SHA1 Message Date
adbenitez e843d49570 accept contact request before replying from notification 2021-10-25 00:39:54 -04:00
bjoern 1519374049 check can_send() on tapping avatar (#2086)
editing name/avatar is only possible when one can send to a chat;
for the menu entry, this is already checked (the menu entry is hidden then),
but it was forgotten on avatar tapping.
2021-10-19 17:14:19 +02:00
Asiel Díaz Benítez e6883ec021 Merge pull request #2084 from deltachat/adb-issue-2006
select previous account when rolling back account creation
2021-10-15 15:51:23 -04:00
Asiel Díaz Benítez ff778bf32f Merge pull request #2082 from deltachat/adb-issue-2067
don't add members if back button is pressed
2021-10-15 15:46:05 -04:00
Asiel Díaz Benítez e6e975a566 Merge branch 'master' into adb-issue-2006 2021-10-15 15:20:13 -04:00
Asiel Díaz Benítez 930f6fef8d Update src/org/thoughtcrime/securesms/connect/AccountManager.java
Co-authored-by: bjoern <r10s@b44t.com>
2021-10-15 15:18:22 -04:00
Asiel Díaz Benítez 6c510e4f20 Merge pull request #2081 from deltachat/adb-issue-2068
disable fullscreen keyboard
2021-10-15 15:15:35 -04:00
bjoern 1fa5025767 simpler account switching (#2080)
remove the "progress" dialog that shows up for a fraction of a second.
as all accounts are already in memory since the switch to dc_accounts_t,
there is nothing that can take so much time to satisfy a "wait" dialog.

the switching is now at least visually nicer -
however, due to less task switching and less code,
it should also be a bit faster.
2021-10-15 11:32:36 +02:00
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
adbenitez ac2ad2ed33 select previous account when rolling back account creation 2021-10-15 02:05:47 -04:00
adbenitez dcad6b2073 don't add members if back button is pressed 2021-10-14 02:28:46 -04:00
adbenitez f0572aac26 disable fullscreen keyboard 2021-10-14 02:22:00 -04: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
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
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
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
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 b495b847f4 Remove forgotten dbg statement 2021-10-04 16:03:19 +02:00
Hocuri 0f102ffc88 Fix #2040 2021-10-04 16:03:19 +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
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
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
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
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 d7072d57df add translations recently needed by core: connectivity, quota, device messages and some other bits (#2053) 2021-09-21 01:00:26 +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
Asiel Díaz Benítez c4f7a72493 allow to export all selected attachments (#2048)
* allow to export more than one attachment

* tweak strings
2021-09-06 23:31:52 +02:00
adbenitez 9f252ae41c use loadDataWithBaseURL() instead of loadData() 2021-09-05 16:37:26 -04:00
bjoern 5b937b5653 profile: show tab containing 'status' for device chat (#2039)
the device chat's status contains some useful information
since https://github.com/deltachat/deltachat-core-rust/pull/2613 -
unfortunately, the whole tab was hidden on android.

ios and desktop should be fine in this regard.
2021-08-20 22:56:28 +02:00
bjoern ed1b363d70 add device message for 1.22 (#2036)
* add device message for 1.22

* adapt 1.22 device message for ios, for desktop, update_1_22 could fit (or we can add another later)
2021-08-20 17:58:27 +02:00