Commit Graph

1894 Commits

Author SHA1 Message Date
adbenitez 539c03bf08 do not disable markdown in message selection mode 2021-04-18 02:59:15 -04:00
adbenitez ddaf094a44 fix issue with markdown links 2021-04-17 16:38:07 -04:00
adbenitez 6e8018fbcc Merge remote-tracking branch 'upstream/master' 2021-04-17 13:54:37 -04:00
Asiel Díaz Benítez 008f21bd3e Merge pull request #1876 from deltachat/adb-issue-1869
finish action mode on tab switch
2021-04-17 12:53:26 -04:00
adbenitez 471bff5e97 allow to add POI with text of any length 2021-04-17 01:26:14 -04:00
adbenitez d562260906 finish action mode on tab switch 2021-04-16 22:26:12 -04:00
Asiel Díaz Benítez 78aa6733fc Merge pull request #1868 from deltachat/adb-issue-1865
add more options to Gallery and Documents profile tabs
2021-04-16 13:20:12 -04:00
adbenitez 5a3a36b930 Merge remote-tracking branch 'upstream/master' 2021-04-15 13:51:52 -04:00
adbenitez c43b133e0c declare MessageSelectorFragment implements DcEventCenter.DcEventDelegate 2021-04-15 12:46:33 -04:00
adbenitez 151f5d354d Merge branch 'adb-issue-1865' of github.com:deltachat/deltachat-android into adb-issue-1865 2021-04-15 12:34:04 -04:00
adbenitez 55837fb9b4 more refactoring, declare abstract setCorrectMenuVisibility() and move getSelectedMessageRecord() to MessageSelectorFragment 2021-04-15 12:33:43 -04:00
Asiel Díaz Benítez 284c91555d Apply suggestions from code review
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-04-15 12:08:11 -04:00
adbenitez 771f75e48f allow videochat invitations in groups 2021-04-15 16:58:03 +02:00
Asiel Díaz Benítez 4b829334f2 Merge pull request #1872 from deltachat/adb-issue-1870
hidde share button in media preview of draft image or avatar
2021-04-15 10:40:30 -04:00
adbenitez 3256cd392a hidde share button in media preview if preview is for draft image or avatar 2021-04-14 23:23:54 -04:00
adbenitez 7313c6d521 make MessageSelectorFragment abstract 2021-04-14 20:02:56 -04:00
adbenitez c7ff727d04 refactoring to reduce code duplication 2021-04-14 19:50:56 -04:00
adbenitez aef48aa7ee rename info_str to infoStr in all the code even not related to this PR but well 2021-04-14 16:09:48 -04:00
adbenitez d55292bba5 follow cyBerta's recommendation 2021-04-14 16:06:57 -04:00
B. Petersen c2de12e1a3 let LocalHelpActivity detect language-region combinations 2021-04-14 16:58:48 +02:00
adbenitez c8efc72424 add details action to menu 2021-04-13 19:57:38 -04:00
adbenitez 7f358b0910 add more options to Gallery and Documents profile tabs 2021-04-13 18:59:23 -04:00
Hocuri ed0796723b Alias support (#1840)
* Adapt to alias support: Always show sender avatar and name on messages if OverrideSenderName is set

See https://github.com/deltachat/deltachat-core-rust/pull/2297

* Rename groupThread to showSender as this variable is not only true in groups anymore
2021-04-12 20:39:12 +02:00
adbenitez acd3a3cbc5 Merge remote-tracking branch 'upstream/master' 2021-04-11 21:41:25 -04:00
Hocuri fee4e99f51 Let stickers handle clicks 2021-04-11 13:32:40 +02:00
adbenitez 45f4b878ab force new lines 2021-04-09 23:56:55 -04:00
adbenitez 34f8b098ec Merge remote-tracking branch 'upstream/master' 2021-04-09 22:37:22 -04:00
adbenitez 9ddefb8649 handle http intents 2021-04-09 22:21:53 -04:00
adbenitez c4354a5a1e use mute API directly 2021-04-09 15:30:51 -04:00
adbenitez 13ceebe22a allow videochat in groups 2021-04-08 00:43:19 -04:00
adbenitez 060363635a add task list support 2021-04-07 17:34:15 -04:00
adbenitez 3b02cae775 add basic markdown support 2021-04-07 06:13:40 -04:00
adbenitez 4f49bc2180 add device messages 2021-04-07 03:43:29 -04:00
adbenitez dff820ad76 Merge remote-tracking branch 'upstream/master' 2021-04-06 14:32:30 -04:00
B. Petersen 65e3d85c9e show show_emails state in settings summary 2021-04-06 02:05:56 +02:00
adbenitez e64ad8a03c Merge remote-tracking branch 'upstream/master' 2021-04-05 15:08:19 -04:00
B. Petersen 6dac8c4989 remove device message for now, we will add a fresh one for the final release 2021-04-04 21:17:30 +02:00
adbenitez 22573b1a89 tweak AudioCodec.java 2021-03-26 15:18:59 -04:00
adbenitez 4813f385f4 Merge remote-tracking branch 'upstream/master' 2021-03-16 13:22:39 -04:00
Hocuri 3ec78953fa Bugfix: open images in the media preview again
Since #1834, images were not opened in the media preview again but
opened with an external app.

This was because since #1834, only slides that return true on
`hasImage()` are shown in the media preview, i.e. gifs, images and
videos.

Now, the problem was that images were shown as DocumentSlides under
some circumstances, which return `false` for `hasImage()` (naturally).
2021-03-16 17:50:12 +01: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
adbenitez b711b44efa Merge remote-tracking branch 'upstream/master' 2021-03-15 04:38:31 -04:00
Hocuri ce8ff61a37 Don't open media preview for attachments with file viewtype (#1834)
fix #1816

The problem was:
- as @link2xt already wrote, the onclick listener only checks if the mime type is `image/` or `video/`.
- then `PagingMediaLoader` loads all images and videos of the current chat with `context.getChatMedia(msg.getChatId(), DcMsg.DC_MSG_IMAGE, DcMsg.DC_MSG_GIF, DcMsg.DC_MSG_VIDEO)`. We need _all_ images so that the user can swipe back and forth.
- The correct image to be shown can't be found, the MediaPreview is opened anyway. As the correct image can't be shown, the first image in the chat is shown.
2021-03-14 19:23:51 +01:00
adbenitez 7b6f1bd507 add lock recording feature 2021-03-14 15:28:23 +01:00
Hocuri c1b4e57b9e Don't open media preview for attachments with file viewtype
fix #1816
2021-03-14 14:48:05 +01:00
Hocuri 6b3adf4831 Don't use the diskette icon for export attachment at all 2021-03-13 18:56:26 +01:00
Hocuri bf86badb1c Allow to share media from Delta Chat 2021-03-13 18:56:26 +01:00
adbenitez 45c6112c0a Merge remote-tracking branch 'upstream/master' 2021-03-10 07:00:58 -05:00
Asiel Díaz Benítez beee60d6a7 implement sticker visualization (#1823)
Sticker picker is not implemented, just receiving(from DC Desktop, bots or future DC versions) and forwarding stickers
(code adapted from Signal)
2021-03-10 10:55:50 +01:00
B. Petersen 8589f8652b pass through unused clicks 2021-03-09 01:59:17 +01:00