Commit Graph

1940 Commits

Author SHA1 Message Date
bjoern cc7bfbac51 show errors after account scanning failure (#2106)
reading captured error has a race with the thread that sets the error.

this is mitigated by sleep().

see https://github.com/deltachat/deltachat-core-rust/issues/2787
for details and a proper solution.
2021-11-02 22:11:30 +01:00
Hocuri 52e31dc141 Fix NullPointerException 2021-11-02 18:38:42 +01:00
bjoern 45187174f2 new group from profile (#2100)
* add 'New Group or Subject' to contact profiles and allow group creation from there

* preselect contacts on group-creation from profile

* remove dead code

* also for existing group-creation, do not finish calling activity needlessly (this is pretty unexpected behavior)

* on editing groups, just use isProtected() from the chat to edit
2021-10-31 15:24:50 +01:00
Asiel Díaz Benítez 090fc09657 show verified-checkmark in memberlist in group creation (#2101) 2021-10-30 14:08:56 +02:00
B. Petersen eedf1c4858 Revert "add 'New Group or Subject' to contact profiles and allow group creation from there"
This reverts commit 872044b811.
2021-10-29 10:44:29 +02:00
B. Petersen 872044b811 add 'New Group or Subject' to contact profiles and allow group creation from there 2021-10-29 10:34:46 +02:00
bjoern a0c96af983 make new 'join group' strings translatable, remove superfluous code (#2095)
* make new 'join group' strings translatable

* remove now superfluous group-join-progress-dialog

* remove thread-back-to-main roundtrip, joinSecurejoin() should return fast enough, not much different from any other chat creation
2021-10-27 17:23:45 +02:00
bjoern ab5c57736a re-add "Add Attachment" menu entry (#2094)
it was removed to have some less menu entries,
however, on recent discussions,
it turns out clearer and clearte that this will break some workflows
(writing text first, then adding attachment).

i just had a look at other "large" messengers -
all of them support "write text, then add attachment" -
as well as our iOS and Desktop apps.
also, this order seems to be pretty normal when it comes to "E-Mail".

all in all,
i think, we should not sacrify this workflow just to save one menu entry.

at some point,
maybe we want to have the "Attach" button always visible left of the input bar
as most other messengers do (as well as iOS and Desktop),
however, this is a larger thing and also has its drawbacks on smaller screens.

so, just leave things as is seems not to be the worse idea here.

the "View Profile" menu entry, however stays, removed,
so, there is some cleanup.
2021-10-27 10:42:53 +02:00
Asiel Díaz Benítez 420184bd5c Merge pull request #2075 from deltachat/adb-avatar-in-toolbar
add self avatar to conversation list's toolbar
2021-10-27 03:11:30 -04:00
adbenitez 41f78f0deb update avatar's tooltip message 2021-10-27 01:33:40 -04:00
adbenitez f4764b73a7 show account selector instead of profile 2021-10-27 00:21:16 -04:00
Asiel Díaz Benítez e5f6ba369f Merge pull request #2089 from deltachat/adb-improve-new-group
improve selected recipients list
2021-10-26 22:24:39 -04:00
adbenitez e843d49570 accept contact request before replying from notification 2021-10-25 00:39:54 -04:00
adbenitez d30da32582 improve selected recipients list 2021-10-20 23:42:59 -04:00
adbenitez 5f016bf598 update avatar on changes 2021-10-20 16:59:41 -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
adbenitez 4e9a5ce026 fix fallback avatar 2021-10-13 21:59:11 -04:00
Asiel Díaz Benítez 94a144106c Merge branch 'master' into adb-avatar-in-toolbar 2021-10-13 21:27:30 -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
adbenitez 9338981626 add self avatar to conversation list's toolbar 2021-10-07 20:43:05 -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