Commit Graph

337 Commits

Author SHA1 Message Date
adbenitez cf12020595 improve footer for stickers and videochat invitations 2021-04-26 20:09:12 -04:00
adbenitez 6d1418c86c show system message status while sending and on errors 2021-04-17 21:42:14 -04:00
adbenitez 471bff5e97 allow to add POI with text of any length 2021-04-17 01:26:14 -04:00
B. Petersen 04619ade89 update translations 2021-04-15 20:15:41 +02: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 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 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
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 df7e0aaa2e make links work 2021-03-09 01:59:17 +01:00
B. Petersen dde3a49db3 add status field to profile 2021-03-09 01:59:17 +01:00
bjoern 8d9c02dd7a add option to view full (html) message (#1763)
* add get-mime-original apis

* remove unused control

* add 'Show full message' buttons

* split reusable WebViewActivity from LocalHelpActivity

* add FullMsgActivity

* load html via AsyncTask

* adapt to changed api

* handle mailto:-links in WebView

* block loading remote images by default, add user setting always/once/never

* do not hide 'Once' button in always-mode, playing around a day with hidden 'Once' that looks more like a bug :)

* wording: as 'Always' affects all messages, it is better to speak of multiple senders

* wording: use 'Load remote images'

this makes it easier for the user to find the option
if one sees, images are missing in the document.

* wording: shorten text.

* wording: change 'may' to 'can'. 'may' sounds a bit as if someone allows this.

* Don't use AsyncTask

* check 'once' if appropriate

* use lite-colored checkbox-emoji in dark-theme

* add comment about missing error logging

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-01-28 22:53:15 +01:00
Hocuri a96aa2ff48 Show controls on small screens
Using both `setMessage()` and `setView()` on the same AlertDialog,
on small screens the "OK" and "Cancel" buttons were not be show. So, put the
message into our custom view.
2021-01-03 12:25:53 +01:00
Hocuri 3abaabb38a Put a black circle behind the edit options when editing an image 2020-12-05 19:56:37 +01:00
bjoern 1cc0c9d0c1 Merge pull request #1688 from deltachat/fix-tall-images-message-width
Wider messages for tall images
2020-12-01 13:29:43 +01:00
bjoern 7f37d93916 Merge pull request #1744 from deltachat/quote-forwarded-msgs
display forwarded messages also in quotes as such
2020-11-27 13:05:19 +01:00
B. Petersen 12e4d6b30e introduce color 'unknown_sender' and use it for forwarded messages, forwarded quotes, quotes with unknown sender 2020-11-25 20:57:46 +01:00
B. Petersen e2c930c895 remove unused @string/contacts_empty_hint from xml and add a tools:text hint instead 2020-11-23 14:12:55 +01:00
B. Petersen ed9921f40e show hint when there are no blocked contacts 2020-11-22 23:06:00 +01:00
B. Petersen 68961fdcd7 remove unused SwipeRefreshLayout and use self-explaining default for contact-list-empty-hint 2020-11-22 22:16:13 +01:00
B. Petersen 21faaa5f9c fortify wording in delete-server dialog
this pr changes the wording,
not relativize things, underlining the worse impact.

i avoided adding "maybe" or "potentially" here,
even if that would be more accurate.

moreover, the pr adds some red color and emojicons.
2020-11-17 16:35:50 +01:00
Hocuri 1af62923d7 Fix #1727 wrong input line padding when using system-emoji 2020-11-12 13:13:47 +01:00
Hocuri b9c18bdbe3 Make the dissmiss button better clickable again
I somehow have a deja-vu effect, didn't I do this before? Anyway, now
it's fine
2020-11-08 12:59:07 +01:00
Hocuri 778718c7b2 Don't cut the document icon in quotes
I also deleted an unnecessary LinearLayout, so you should look at the
diff with --ignore-all-space

Firstly, I lifted quote_attachment_container out of the FrameLayout with
the thumbnail so that quote_attachment_container can be wrap_content
(and enlarge the quote if necessary) while the thumbnail still always
matches the size of the quote.

Then I made the document view itself a little smaller so it does not
enlarge the quote all the times.
2020-11-08 12:55:38 +01:00
bjoern 0f7059eafc Merge pull request #1709 from deltachat/always-show-done
In the editor, always show the "Done" button
2020-11-05 19:42:16 +01:00
bjoern adc0ea3ca0 Merge pull request #1707 from deltachat/fix-longname-title
Fix parts of group names missing
2020-11-05 19:41:54 +01:00
Hocuri a781bd0d36 Put color picker to the right 2020-11-05 13:16:40 +01:00
Hocuri ab77b61d35 Do not display milliseconds when recording a voice message fix #1711 2020-11-04 09:34:54 +01:00
Hocuri b99c003917 In the editor, always show the "Done" button 2020-11-03 19:20:25 +01:00
Hocuri 0cdedc3f6d Fix parts of group names missing
as reported in testing group
2020-11-03 17:40:18 +01:00
Hocuri 912ad71a95 fix show received imgs 2020-10-29 12:55:58 +01:00
Hocuri 13b0a5d655 Remove some "centerCrop" 2020-10-28 17:33:46 +01:00
Hocuri 582836bf9a show portrait images cutted to landscape (as now), use square only if the whole device is in portrait mode
that's waaaay less difficult to implement
2020-10-28 17:19:35 +01:00
Hocuri 8a1174b1cf try to do not use the full width for the bubbles (for the text) in device-landscape-mode - this way, also the squares will maybe be small enough. at a first glance this is what whatsapp is doing
Not working as sometimes the ConversationItem would have to determine
the width (i.e. the screen width), sometimes the
ConversationItemThumbnail. Not sure if it's worth it fixing this.
2020-10-28 17:09:20 +01:00
Hocuri df0196a7cf Wider messages for tall images 2020-10-26 17:21:04 +01:00
Hocuri 0186abff40 Put quoted image to the left of dismiss button 2020-10-16 18:51:59 +02:00
Hocuri c720df5d5c Add swipe-to-reply quotes 2020-10-11 22:09:51 +03:00
B. Petersen 097891e72a remove outdated reminder
the warning about outdated apps
was pretty unreliable in the past -
because of too short timings
and also because of the "installation date"
and the fact that an "installer" was used, is not always reliable.

also, the "installer date" could be wrong -
if the installation was done when the clock was altered badly.

as we cannot rely on the things the system provides here,
we move the whole thing to the core at
https://github.com/deltachat/deltachat-core-rust/pull/1901
which has also the advantage that this is done for all uis then.
2020-09-16 16:06:43 +02:00
bjoern 868d4f46ee Merge pull request #1589 from deltachat/add_poi_improvements
Add POI improvements
2020-09-03 12:45:00 +02:00
cyberta 89b26fa590 fix regression caused by diversied emoji update. reintroduce 4707efb26a in order to fix app crash on map #793 2020-08-25 17:15:18 +02:00
cyberta bf2dab20bd center AddPoiView on map, adapt centering to keyboard appearing/disappearing 2020-08-19 22:23:42 +02:00
cyberta 5f96854b37 adapt keyboard layouts for registration activity 2020-08-19 16:32:38 +02:00
B. Petersen 3a93aa8f06 remove unused resources 2020-08-17 15:26:34 +02:00
Hocuri 6ccc35d6be Make even more links clickable
Fix #1546 again.
2020-08-13 12:59:06 +02:00
cyberta baa8185c0e no word suggestions for imap and smtp login name 2020-08-11 16:43:12 +02:00
B. Petersen 1dc60d938a normal spacing between videochat-invitation and its footer 2020-07-30 23:08:47 +02:00
B. Petersen dc522fa501 no suggestions in videochat-instance, do not use multiline (default for EditText is text|textMultiLine) 2020-07-30 22:35:14 +02:00
B. Petersen 1ed0c194fd add date-etc-footer to video-invitation 2020-07-30 13:31:11 +02:00