Torsten Grote
2bea581654
[android] Swipe left/right in image screen to see other images from the same message
2018-12-13 11:59:41 -02:00
akwizgran
9d07b2e141
Resolve merge conflicts.
...
# Conflicts:
# briar-android/src/main/java/org/briarproject/briar/android/conversation/AttachmentController.java
# briar-android/src/main/java/org/briarproject/briar/android/util/UiUtils.java
2018-12-13 11:41:04 +00:00
Torsten Grote
2332a58681
[android] address review comments for displaying multiple images
2018-12-12 17:00:44 -02:00
Torsten Grote
8c6dfaa196
[android] Use @UiThread instead of @MainThread
2018-12-12 16:18:43 -02:00
Torsten Grote
3cfb04b60d
Establish some rules for handling InputStreams
...
* Methods shouldn't place any special requirements on the streams
passed into them
* This implies that if a stream's going to be marked and reset,
that should all happen within one method
* This also implies that if a method needs to mark and reset a stream,
it should wrap the stream in a BufferedInputStream before doing so,
rather than requiring a markable stream to be passed in
2018-12-12 16:17:50 -02:00
Torsten Grote
e85fbfb952
[android] close InputStream with new IoUtils method
2018-12-12 16:17:50 -02:00
Torsten Grote
4796902b9c
[android] store attachments and actually attach them to sent messages
2018-12-12 16:17:50 -02:00
Torsten Grote
dfb71a03a5
[android] Only retrieve image sizes for single images in messages
...
We need to do this to know the height of messages when binding the view.
The size of single images can be different (e.g. due to orientation).
For multiple images, we use a fixed size, so no retrieval is required.
2018-12-11 15:38:05 -02:00
Torsten Grote
961fdc8e72
[android] Show multiple images in message bubble
2018-12-11 15:28:21 -02:00
Torsten Grote
c3d44663cd
[android] Use a nested RecyclerView with a single items to show image attachments
...
This is preparation for showing multiple image attachments in one
message bubble.
2018-12-11 15:28:21 -02:00
Jordi Salvat
dee488d06d
Scrub wifi IP address in crash reports.
2018-12-10 01:07:37 +01:00
Torsten Grote
b29c7d8022
Merge branch '1385-make-link-cover-entire-word' into 'master'
...
[android] fix start of link in error message for adding contacts
Closes #1385
See merge request briar/briar!1011
2018-12-07 19:13:54 +00:00
Torsten Grote
59cd98db81
[android] Get image extension from MimeTypeMap and store it in AttachmentItem
2018-12-07 15:11:09 -02:00
Torsten Grote
768488eb04
[android] Show (tinted) security icon when warning about saving attachments
2018-12-07 14:39:43 -02:00
Torsten Grote
a6b1ad48c3
[android] Add support for saving image attachments on API < 19
...
This is done by using the WRITE_EXTERNAL_STORAGE permission
to write the file directly without using the system activity.
2018-12-07 13:01:44 -02:00
Torsten Grote
77299a68ed
[android] Allow the user to save image attachment outside of Briar
2018-12-07 13:01:42 -02:00
Torsten Grote
e6229a3a13
[android] Factor out image preview into its own view class
2018-12-06 17:56:02 -02:00
Torsten Grote
5fbacb4ee4
[android] Split out an EmojiTextInputView from TextInputViews
...
This also removes the TextInputController whose job is now done by the view.
2018-12-06 17:56:02 -02:00
Torsten Grote
c7f4e976ed
[android] Require users of TextInputView to set its controller
2018-12-06 17:56:02 -02:00
Torsten Grote
419f2d966a
[android] Show a toast when an image could not be attached
2018-12-06 17:56:02 -02:00
Torsten Grote
d6c18db9e9
[android] set image preview size to 1/4 of screen height
2018-12-06 17:56:02 -02:00
Torsten Grote
8fe49d9961
[android] Re-factor TextInputViews
2018-12-06 17:56:02 -02:00
Torsten Grote
f536cfdab8
[android] first round of review comments for attaching images
2018-12-06 17:56:02 -02:00
Torsten Grote
4d594acad5
[android] Save attached (but not sent) image on screen rotation
2018-12-06 17:56:02 -02:00
Torsten Grote
800dfed5c1
[android] support adding image attachments to private messages
2018-12-06 17:55:59 -02:00
Jordi Salvat
54b823e401
[android] fix start of link in error message for adding contacts
2018-12-06 20:44:36 +01:00
akwizgran
7b3afcca99
Revert change to slide direction.
2018-12-06 15:18:16 +00:00
Torsten Grote
8a4a343147
[android] Move image to the top if it is overlapping the toolbar
2018-11-30 15:53:38 -02:00
Torsten Grote
7b22d3b84d
[android] Address review issues for image fullscreen view
2018-11-28 17:26:01 -02:00
Torsten Grote
c8fa23273f
[android] support pull down to dismiss pattern for ImageActivity
2018-11-28 17:26:01 -02:00
Torsten Grote
fbe5df8938
[android] Add ImageActivity to show images in full-screen
2018-11-28 17:26:01 -02:00
Torsten Grote
3eb066a836
[android] Use new IoUtils to close InputStreams
2018-11-26 16:28:06 -02:00
Torsten Grote
674b29af25
[android] static constant all caps
2018-11-26 16:23:51 -02:00
Torsten Grote
b8ca5ab557
[android] Only scroll conversation list to bottom, when already at bottom
...
Closes #1467
2018-11-26 16:23:17 -02:00
akwizgran
726d90145c
Merge branch '1242-display-image-attachments' into 'master'
...
[android] display image attachments for conversation messages
See merge request briar/briar!997
2018-11-26 17:19:37 +00:00
Torsten Grote
798bb6d4f7
[android] scale thumbnails to minimum size, don't upscale to maximum size
2018-11-23 11:25:18 -02:00
akwizgran
45a11badd5
Change location permission to uses-permission-sdk-23.
2018-11-20 16:16:47 +00:00
Torsten Grote
152ac3df43
[android] improve bitmap transformation hashKey and DiskCacheKey
2018-11-20 11:49:21 -02:00
Torsten Grote
dd5ad86db8
[android] Use DataFetcherFactory to create data fetchers and allow cancelling loads
2018-11-20 11:49:21 -02:00
Torsten Grote
10e9fb308d
[android] Display Image Attachements: Address first round of review comments
2018-11-19 20:35:07 -02:00
Torsten Grote
de8e95692a
[android] support RTL languages when rounding thumbnail corners
2018-11-19 20:35:07 -02:00
Torsten Grote
d6b52cf4ec
[android] Use our own BitmapTransformation for rounded image corners
2018-11-19 20:35:07 -02:00
Torsten Grote
8a839fb5e4
[android] display image attachments for conversation messages
2018-11-19 20:35:07 -02:00
akwizgran
4db075d643
Only consider the latest item for preloading.
2018-11-14 15:13:25 +00:00
akwizgran
78a8ae6b8e
Sort headers and eagerly load text of latest message.
2018-11-14 15:01:54 +00:00
Torsten Grote
7866037d02
Merge branch '1460-introduction-request-text' into 'master'
...
Show correct text when an existing contact is introduced
Closes #1460
See merge request briar/briar!994
2018-11-14 11:23:26 +00:00
akwizgran
35716051fb
Show correct text when an existing contact is introduced.
2018-11-14 11:05:46 +00:00
akwizgran
ea05a5c703
Singletons that call registration methods must be eager.
2018-11-13 17:40:06 +00:00
akwizgran
8f4c3c4528
Bump version numbers for 1.1.5 release.
2018-11-13 13:01:01 +00:00
akwizgran
636a7dfe72
Update translations.
2018-11-13 12:59:51 +00:00