Torsten Grote
d9c32d900d
New design for second user testing
2018-12-12 14:30:58 -02:00
Torsten Grote
da29c001d0
disable expiry warning
2018-12-12 10:26:43 -02:00
Torsten Grote
e7df7810a6
replace peer by contact, improve link sharing, and icon tinting
2018-12-12 09:57:50 -02:00
Torsten Grote
82258a21ab
Change name and package ID for test version
2018-12-12 09:57:50 -02:00
Torsten Grote
ecc73b95e3
Improvements for second testing round
2018-12-12 09:57:50 -02:00
Torsten Grote
6985f2d31a
Add error message for invalid links
2018-12-12 09:57:50 -02:00
Torsten Grote
b0b233d3dd
Double link size to 128 characters
2018-12-12 09:57:50 -02:00
Torsten Grote
1135b984f7
Show dialog when user tries to add contact with their own link
2018-12-12 09:57:50 -02:00
Torsten Grote
0d75636720
Rearrange layout so sending link comes first
2018-12-12 09:57:50 -02:00
Torsten Grote
66c667e553
Make 'Add a Contact' screen scrollable when keyboard is open
2018-12-12 09:57:50 -02:00
Torsten Grote
6c0ef388fa
Hack compound drawable tint for API < 23
2018-12-12 09:56:20 -02:00
Torsten Grote
ef1bcd1299
Make link visible in dark theme
2018-12-12 09:56:20 -02:00
Torsten Grote
87b1c36d02
Replace qr code icons in speedial with link icons
2018-12-12 09:56:20 -02:00
Torsten Grote
f88b176632
Make QR code another view on the invite link
2018-12-12 09:56:20 -02:00
Torsten Grote
030036bceb
Allow multiple pending fake contacts at the same time
2018-12-12 09:56:20 -02:00
Torsten Grote
c373aab555
Allow actual QR code scanning and use dedicated contact alias fragment
2018-12-12 09:56:20 -02:00
Torsten Grote
aa1fd4e84a
Add (non-functional) button for scanning QR code
2018-12-12 09:56:20 -02:00
Torsten Grote
a3fbe3abda
Only start one navdrawer activity with contact list
2018-12-12 09:56:20 -02:00
Torsten Grote
8bdd7bc595
Add buttons to switch between showing link and code
2018-12-12 09:56:20 -02:00
Torsten Grote
2d9b6302d3
Move link input into fragment
2018-12-12 09:56:20 -02:00
Torsten Grote
5bf0103859
Check if lifecycle is running before adding fake contact
2018-12-12 09:56:20 -02:00
Torsten Grote
1799cfae89
Show QR code by default instead of link
2018-12-12 09:56:19 -02:00
Torsten Grote
bbc6907c1d
Actually add fake contact ~1 minute after entering link
2018-12-12 09:56:02 -02:00
Torsten Grote
ace2ea3c5b
Add pending contact requests screen
2018-12-12 09:56:01 -02:00
Torsten Grote
a8080ad84b
Add Activities for receiving and entering contact link
2018-12-12 09:55:31 -02:00
Torsten Grote
fb1d8e860f
[api] Add interface for adding contacts remotely
2018-12-10 08:30:50 -02: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
Torsten Grote
52ec56d690
Merge branch 'invalid-slide-direction' into 'master'
...
Revert change to slide direction
Closes #1478
See merge request briar/briar!1009
2018-12-06 15:32:07 +00:00
Torsten Grote
a22d03d028
[headless] wait for lifecycle manager to finish starting
...
before starting web server
2018-12-05 16:08:03 -02:00
Torsten Grote
d857338ad0
[headless] Add first integration test for ContactController
2018-12-05 16:04:14 -02: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
Torsten Grote
6e17709f46
Merge branch 'try-to-close' into 'master'
...
Move tryToClose() methods into utility classes
See merge request briar/briar!1002
2018-11-26 18:22:24 +00:00
Torsten Grote
165211eb9b
Merge branch '1259-headless-mac-os' into 'master'
...
Enable headless app to start on MacOS
See merge request briar/briar!1003
2018-11-26 12:01:27 +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
Torsten Grote
c09abdb088
Merge branch 'location-permission-sdk-23' into 'master'
...
Change location permission to uses-permission-sdk-23
See merge request briar/briar!1001
2018-11-22 12:03:07 +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
Torsten Grote
ade6a14342
Merge branch 'validation-refactoring' into 'master'
...
Reorganise validation code
See merge request briar/briar!991
2018-11-15 17:18:15 +00:00
Torsten Grote
d500ff81c3
Merge branch 'require-non-null' into 'master'
...
Add static requireNonNull() method
See merge request briar/briar!996
2018-11-15 16:50:16 +00:00
Torsten Grote
3053e3cfa7
[core] fix wrong order of message status flags in conversation headers
2018-11-15 14:39:05 -02:00
Torsten Grote
f4b06e1fb3
Merge branch 'load-latest-message-eagerly' into 'master'
...
Load latest message eagerly
See merge request briar/briar!995
2018-11-14 16:01:59 +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
Torsten Grote
6cafea836f
Merge branch 'eager-singletons' into 'master'
...
Singletons that call registration methods must be eager
See merge request briar/briar!993
2018-11-13 18:03:28 +00:00
Torsten Grote
753a25bc2a
[core] Attachments will use InputStream rather than ByteBuffer
2018-11-13 15:12:34 -02:00
Torsten Grote
88276a4d44
Add support for private messages without text
2018-11-12 18:11:03 -02:00
Torsten Grote
2c8cb8301f
Merge branch '1455-stream-context-may-be-null' into 'master'
...
Stream context may be null
Closes #1455
See merge request briar/briar!988
2018-11-12 12:50:01 +00:00
Torsten Grote
ad4729b2f9
[android] refactor conversation items and view holders
...
This is a preparation for image support.
2018-11-08 10:27:29 -02:00
Torsten Grote
32c8ac6576
[headless] change websocket authentication from basic auth to token message
2018-11-08 10:15:17 -02:00
Torsten Grote
d02b30e751
Merge branch 'use-transactional-db-api' into 'master'
...
Use transactional database API in Bramble
See merge request briar/briar!974
2018-11-07 19:06:26 +00:00
Torsten Grote
efc85fb88f
[headless] don't use putAll for a single field
2018-11-07 15:24:20 -03:00
Torsten Grote
8b3983ef9e
[headless] only offload to DatabaseExecutor when needed
...
when receiving a new conversation message
2018-11-07 15:24:20 -03:00
Torsten Grote
6766fb76b2
[headless] upgrade javalin and mockk
2018-11-07 15:18:46 -03:00
Torsten Grote
7f74bd1c38
[headless] Use --user for websocket example request
...
The authentication token can contain slashes.
When used as part of the URL, the URL becomes invalid.
Therefore, using curl's user parameter is preferrable.
2018-11-07 15:18:46 -03:00
Torsten Grote
794fb9686b
[headless] Limit tests in Android Studio to headless package
2018-11-07 13:46:49 -03:00
Torsten Grote
bb22b9db10
Merge branch 'remove-hamcrest-dependencies' into 'master'
...
Remove redundant dependency declarations
See merge request briar/briar!981
2018-11-07 16:37:30 +00:00
Torsten Grote
c3cb966009
[android] move conversation classes into their own package
2018-11-07 11:48:20 -03:00
Torsten Grote
f964d1ef07
Fix receivers of ConversationMessageReceivedEvent
...
These were only listening to private message events, ignoring all others
2018-11-07 11:34:11 -03:00
Torsten Grote
cccaeeda6c
[core] Add API to add messages with attachments
2018-11-07 11:34:11 -03:00
Torsten Grote
483106e00c
[core] Add MessagingManager#getAttachment()
2018-11-07 11:34:11 -03:00
Torsten Grote
934f14ef31
[core] Add attachment support to private messages
2018-11-07 11:34:09 -03:00
Torsten Grote
e3abff5ad8
Refactor PrivateMessageHeader to ConversationMessageHeader base-class
...
This is preparation for adding attachments to private messages
2018-11-07 11:33:37 -03:00
Torsten Grote
391732b239
Merge branch 'change-contact-name' into 'master'
...
Change button text to match name of action
See merge request briar/briar!979
2018-11-07 12:11:22 +00:00
Torsten Grote
866be99179
Merge branch '41-alias-frontend' into 'master'
...
Add UI for changing contact aliases
Closes #41
See merge request briar/briar!965
2018-11-06 18:09:47 +00:00
Torsten Grote
6883c5caa9
[android] address last contact aliases review issues
2018-11-06 14:57:39 -03:00
Torsten Grote
8b709969ab
[android] pass ContactId via ViewModel to AliasDialogFragment
2018-11-06 13:42:51 -03:00
Torsten Grote
fe94b65b3b
[android] Fix double loading of conversation messages when rotating screen
2018-11-06 13:42:51 -03:00
Torsten Grote
aa15b68d24
[android] Reload conversation when contact name changes
2018-11-06 13:42:51 -03:00
Torsten Grote
7059f376f1
[android] Add UI for changing contact alias
...
This introduces the first ViewModel to share state between the
ConversationActivity and the AliasDialogFragment.
2018-11-06 13:42:51 -03:00
Torsten Grote
7429857b28
[android] Add new emojis to the beginning of the list of recently used ones
...
Otherwise the list will be reversed with most recently used at the end.
2018-11-04 11:08:05 -03:00
Torsten Grote
4db64f51a8
[android] Use same color for all messages in private groups
2018-11-02 15:59:49 -03:00
Torsten Grote
78172038ef
[android] Always center selectable contacts vertically
2018-11-02 15:38:01 -03:00
Torsten Grote
7d0c418877
[android] Align short incoming messages on the left
2018-11-02 15:37:16 -03:00
Torsten Grote
5ae4f8f6cb
[core] Fix non-determism in GroupInvitationIntegrationTest
2018-11-02 14:08:42 -03:00
Torsten Grote
45dd10db9d
[core] Fix non-determinism in introduction integration tests
2018-11-02 14:08:42 -03:00
Torsten Grote
5cc8c268ca
[core] Re-add message counter and put debug output behind flag
2018-11-02 14:08:42 -03:00
Torsten Grote
4a42e767d3
[core] Add a detector for message delivery non-determinism
2018-11-02 12:48:13 -03:00
Torsten Grote
db8796049e
gradle: Factor out dagger apt code into its own file
2018-11-01 10:45:59 -03:00