Commit Graph

3296 Commits

Author SHA1 Message Date
B. Petersen 2b18264bc8 tweak release checklist 2021-04-04 21:17:30 +02:00
B. Petersen abf0567530 update changelog to 1.17.0 2021-04-04 21:17:30 +02:00
B. Petersen 422335c4c6 update translations 2021-04-04 13:11:52 +02:00
B. Petersen 4d541f0373 update deltachat-core-rust submodule 2021-04-04 13:11:00 +02:00
Hocuri 4f31e90b6e Repair submodule (previous commit accidentally changed submodule commit)
The last commit accidentally changed the submodule commit to a commit
that is not present in the repo. Revert this.
2021-03-27 16:57:51 +01:00
Hocuri ac5c35f6e5 Explain Podman setup better for new users (#1844)
* Specify docker.io to pull from

* Add some info about Podman + a troubleshooting section to the readme
2021-03-26 13:55:12 +01:00
Asiel Díaz Benítez 8f4b7c8886 Merge pull request #1842 from deltachat/adb-issue-1841
don't reference attribute in XML drawable
2021-03-24 12:30:52 -04:00
adbenitez 39d9a083ad don't reference attribute in an XML drawable, to avoid crashes on old android versions 2021-03-23 18:43:07 -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
B. Petersen efe41f55c9 update translations 2021-03-16 16:02:33 +01:00
B. Petersen 73c8b00973 update deltachat-core-rust submodule 2021-03-16 15:53:37 +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
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
B. Petersen a3cd131459 update deltachat-core-rust submodule 2021-03-14 15:29:24 +01:00
Hocuri 23e6475f59 Correct a small shift to the right of the lock target
I have no idea why the shift was there in the first place, though.
2021-03-14 15:28:23 +01:00
Hocuri 9974fb082a Fix bug where a quoted image was drawn over the recording fab 2021-03-14 15:28:23 +01:00
Hocuri 0740eab596 Wider recording button, better rtl support 2021-03-14 15:28:23 +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 252bed8ac8 completely delete diskette icon, don't use it for "save log", either 2021-03-13 18:56:26 +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
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 614516ff98 remove outdated header, we usually do not use a header in the source files at all 2021-03-09 20:49:58 +01:00
B. Petersen 25bcd9223d add Czech to local help, update translations 2021-03-09 19:43:52 +01:00
B. Petersen 8589f8652b pass through unused clicks 2021-03-09 01:59:17 +01:00
B. Petersen df7e0aaa2e make links work 2021-03-09 01:59:17 +01:00
B. Petersen e54d07fd15 linkify status messages, move linkify to EmojiTextView for that purpose 2021-03-09 01:59:17 +01:00
B. Petersen dde3a49db3 add status field to profile 2021-03-09 01:59:17 +01:00
B. Petersen 2c8bd39cd2 move email-address to subtitle, this is a unique element also used at other places; copy-to-clipboard goes to the menu 2021-03-09 01:59:17 +01:00
B. Petersen 4901d7c68f add getStatus() api 2021-03-09 01:59:17 +01:00
B. Petersen 0390d845e5 cleanup 2021-03-09 01:59:17 +01:00
Hocuri 720f553717 Make the upper back button return to conversation list even if the keyboard is open
As discussed in the Testing group
2021-03-08 14:21:22 +01:00
Hocuri f6a5a24165 Use the message subject as the full-msg-view title
For long subject it's ellipsized (`…`) now, but I think that there is no need to show the full subject somewhere, it usually doesn't contain _that_ important information and can be seen in full in the normal chat view
2021-03-07 17:40:22 +01:00
B. Petersen 0838d6a5b1 update deltachat-core-rust submodule 2021-03-07 17:37:58 +01:00
B. Petersen 6b3caad278 add selected language and rtl to log 2021-03-05 17:30:00 +01:00
B. Petersen c99a1809a1 mark overridden senders in quotes
if the original author of a quote is shown
and known to be overridden,
that should be marked with the character '~'
as for the normal names,
esp. as they are look very similar otherwise,
eg. also bold, also colored.
the missing '~' looks like a bug here.

successor of #1808
2021-03-05 16:46:58 +01:00
Hocuri b577dab834 Update glide to 4.12 to get rid of annoying stack traces in the log
See https://github.com/bumptech/glide/issues/3851
2021-03-05 16:28:02 +01:00
Hocuri 5b877ff82a Delete lots of unused code 2021-03-05 16:27:33 +01:00
Hocuri bb4272de9f Fix the image-is-cropped-too-much-bug
fix  #1797

Apparently, we ran into a bug similar to the one described in
https://github.com/bumptech/glide/issues/613#issuecomment-144762087 as
we cropped twice (in addition to the cropping I removed, we also set
`android:scaleType="centerCrop"` in `thumbnail_view.xml`)
2021-03-05 16:27:33 +01:00
B. Petersen f6ebd6d0ce update translations 2021-03-05 13:46:35 +01:00
B. Petersen 23dedb5a24 remove Android-specific DcContact.getArgbColor() from bindings 2021-03-05 11:28:33 +01:00
B. Petersen 113a6c8f75 remove DcEventCenter from wrapper as it belongs to *.connect 2021-03-05 11:28:33 +01:00
B. Petersen 76ae58a6b3 remove Android references from wrapper and make it standalone usable 2021-03-05 11:28:33 +01:00
B. Petersen 9aa2990e97 update deltachat-core-rust submodule 2021-03-01 17:09:57 +01:00
Hocuri 84313bdf4f Call stop_io()/start_io() before/after backup export
should ideally be merged before https://github.com/deltachat/deltachat-core-rust/pull/2255, but that's not too important

I tested key import/export and backup import/export, all work fine.
2021-03-01 14:10:53 +01:00
B. Petersen 9b893a3a1b update translations 2021-02-26 12:43:26 +01:00
B. Petersen 8827c81d49 update translations 2021-02-25 18:11:11 +01:00
B. Petersen c992af8535 update deltachat-core-rust submodule 2021-02-23 17:59:36 +01:00
B. Petersen 85510e4139 update deltachat-core-rust submodule 2021-02-23 12:35:32 +01:00