Commit Graph

65 Commits

Author SHA1 Message Date
B. Petersen d3f2a268b1 use 'Group Name' as placeholder for group name
before if was just 'Name',
which can lead to confusion
when heading instructions as "create a group with that person":
one may create a group and enter the email address to "Name" ...

same with 'Broadcast List Name'
2023-11-01 18:54:43 +01:00
adbenitez 43e8f85ed1 fix bug in group creation activity
don't ask to create verified group if the user is creating a broadcast list
2023-10-31 21:39:01 +01:00
adbenitez 83c5b73995 offer to create verified group 2023-10-31 02:25:47 +01:00
adbenitez 30bca270e1 remove QR button in group creation screen 2023-10-30 19:11:31 +01:00
Hocuri 01ac589b88 Ask for the name when creating a broadcast list (#2653)
Before https://github.com/deltachat/deltachat-core-rust/pull/4644, when creating a broadcast list, the UIs didn't ask for a name since the name wasn't shown to the recipients and therefore not that important.

As of https://github.com/deltachat/deltachat-core-rust/pull/4644, broadcast lists will create their own chat for the recipients, showing the broadcast lists's name, so we need to ask the user for a name when creating a broadcast list.
2023-10-19 10:22:03 +02:00
adbenitez bf54dd9027 use DC_CHAT_NO_CHAT instead of 0, remove unused line of code 2023-09-30 23:39:11 +02:00
adbenitez 2ad6186ea3 make fields final 2023-09-30 22:45:07 +02:00
adbenitez 74bae4e371 properly set language for all activities, also on screeen rotation 2023-09-27 20:58:51 +02:00
adbenitez 9e4d0971b8 remove unused code 2023-06-12 16:17:41 +02:00
adbenitez 592607dd0e use image editor for avatar selection when possible
also update old android-crop dependency
2023-06-11 20:22:43 +02: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
adbenitez d30da32582 improve selected recipients list 2021-10-20 23:42:59 -04: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
Hocuri b8cbc6d3b0 Add some @NonNull annotations, remove unused method (#2028)
This was in an attempt to find the cause for #2026. I didn't succeed,
but this is an improvement, anyway.
2021-08-11 23:13:12 +02:00
B. Petersen 634c8d1e49 use accounts event emitter 2021-07-26 21:37:32 +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 4c0d03772d Better profile and group picture selection by using attachment selector (#1837)
fix #1836

AvatarSelector is mostly copied from AttachmentTypeSelector. I first started to make it a subclass, but there were so many functions that had to be changed that I decided against it (esp. also the constructor, so I would have had to create another constructor to allow AvatarSelector to bypass the "normal" constructor). Could still be done though, of course.

I think (hope joy) that the commits are clear enough that this can be reviewed commit-by-commit. In the first commit, commenting out code means "Moved somewhere else"

I found it easier to look at the first commit using gitk than GitHub as GitHub doesn't show it as copied from AttachmentTypeSelector but as a new file. (of course you can also just review normally, going throug it file-by-file :)

* Don't show remove button if there is no image yet

* Remove unnecessary animation that just made things look worse

* Delete now-unused ClearProfileAvatarActivity

* For groups, also use the attachment-chooser-dialog

* Remove confirmation dialog for removing avatar (The user has to confirm anyway, and this was not correctly translated)
2021-03-16 11:58:44 +01:00
B. Petersen 113a6c8f75 remove DcEventCenter from wrapper as it belongs to *.connect 2021-03-05 11:28:33 +01:00
B. Petersen 41603e6688 pass DcEvent object to handlers to avoid error-prone casts 2020-09-20 15:50:40 +02:00
B. Petersen e0c1396f4c streamline wording
we have already the string menu_group_name_and_image
to be used as an 'edit' button label.
the string 'edit' is ommitted to keep things a bit shorter.
if we like, we can change that string, however,
maybe things are just fine :)
2020-06-06 18:40:35 +02:00
B. Petersen 6f2a40ecb3 do not delete the group-avatar on editing group-name 2020-05-14 01:59:52 +02:00
cyBerta a6f9110a85 Merge pull request #1204 from deltachat/verifiy-explain
add verified group hint
2020-01-03 12:15:53 +01:00
Hocuri b090232702 Move to qrScanActivity 2020-01-03 00:20:18 +01:00
B. Petersen 337be725fb add verified group hint, simplify new-group xml 2020-01-02 21:47:59 +01:00
B. Petersen fb235b7639 upgrade to androidx support libraries 2019-11-08 01:22:28 +01:00
cyBerta 41dc94387b don't allow to remove yourself from the multiselect contact list, fixes #833 2019-06-26 16:03:27 +02:00
B. Petersen d3214cf470 simplify edit-view 2019-05-25 13:26:40 +02:00
B. Petersen e91bead522 remove dead code 2019-05-25 13:26:40 +02:00
cyBerta 26949980db #891 search during forwarding, forward to archives, forward to new contacts 2019-05-09 14:14:45 +02:00
B. Petersen c7ed32852d do not load participant list without need 2019-03-29 17:35:42 +01:00
chklump 9a78bfe878 Fix for #698 part 2: "Me" not part of the group when clicked on "QR invite code" and no one joined. 2019-02-10 13:09:10 +01:00
chklump 16a8b21eec Fix for #698 part 1: Crash when creating new group with empty name. 2019-02-10 13:09:04 +01:00
B. Petersen 127a1c0023 allow qr-code-scanning during group creation, fixes #229 2019-01-14 01:24:24 +01:00
B. Petersen 9ff2e8839d show qr-invite code also for normal chats, tune-down verify wording a bit 2019-01-08 18:06:47 +01:00
chklump 27c6c3ab69 * Initialize the ContactSelectionListFragment from the SelectedRecipientsAdapter intead of from the initial group, so repeated opening, selecting and deselecting, closing cycles of the ContactMultiSelectionActivity show correct behaviour. 2019-01-06 14:38:07 +01:00
chklump e8e100a72e * Initialize the ContactSelectionListFragment with the selection from GroupCreateActivity, tackles #47.
* If contact is unselected in ContactSelectionListFragment, which was previously in the group, delete it from GroupCreateActivity, also.
2019-01-06 14:19:51 +01:00
B. Petersen cdf2aad98e simplify color handling 2018-12-13 14:41:32 +01:00
B. Petersen defac037de rework strings 2018-12-12 17:55:08 +01:00
B. Petersen 87e1937381 remove dependency to google's phonenumers library, tackles #138 2018-12-11 00:23:58 +01:00
B. Petersen cc94b66799 remove unneeded DisplayMode 2018-12-10 00:43:44 +01:00
B. Petersen c3c110b55a remove dead code 2018-12-09 22:46:02 +01:00
B. Petersen 4f5b43579b move helper-classes from org.whispersystem here, tackles #138 2018-11-26 00:36:35 +01:00
daniel.boehrs dd67248066 avatars for contact / new chat view #55 2018-11-02 09:01:43 +01:00
Angelo Fuchs d4f1af7521 for #32 (notifications) the type of thread id in ConversationActivity is now int (not long). Where its too hard, I added a cast and a todo. 2018-11-01 21:22:13 +02:00
daniel.boehrs b635384dd5 Make GroupCreateActivity aware of verified joins #92 2018-11-01 10:04:51 +01:00
daniel.boehrs 5221b4c8fd Show qr and self reference on group edit #92 2018-10-30 16:19:18 +01:00
daniel.boehrs 92a0a83187 Rewrite profile image handling for #55 2018-10-30 12:16:02 +01:00
daniel.boehrs c192b719f5 show avatars for groups #55 2018-10-29 15:44:55 +01:00
daniel.boehrs ed0de74406 Adjust keyboard show / hide #92 2018-10-29 10:29:43 +01:00
daniel.boehrs 9906608956 fix group create crash #103 2018-10-22 19:08:35 +02:00