Commit Graph

813 Commits (ec24e3ea4a8592b63d79679605426b05b7903696)

Author SHA1 Message Date
Mikunj b44ff69d8d Fix banner display 6 years ago
Mikunj 97ffea040f Move session restore prompt from message level to conversation level. 6 years ago
Mikunj fd2dc678ea Show custom message on no session message.
Made a no session message an update message.
6 years ago
Niels Andriesse f8464a1462 Fix up UI 6 years ago
Mikunj 5038dec3d1 Fix up profile picture display. 6 years ago
Mikunj b650ee6ebc Added QR code scanning. 6 years ago
Mikunj c66786e0f1 Allow users to edit device name. 6 years ago
Mikunj b61b4c581d Add bottom sheet dialog 6 years ago
Mikunj d96664cb6a Remove textbox in linking dialog. 6 years ago
Mikunj c3bda57ac1 Show name and short id in linked device screen. 6 years ago
Mikunj 28a04f13af Refactor.
Add text field to authorise dialog.
6 years ago
Mikunj 0f5db5aa33 Hook up signal device linking view. 6 years ago
Mikunj 94a9303d7a Fix multi-device ui 6 years ago
Mikunj f24b191164 Re-enable multi-device 6 years ago
Niels Andriesse 3c5ef19ca7 Enable file attachments 6 years ago
Niels Andriesse d9ef6bc4c4 Enable voice message attachments 6 years ago
Niels Andriesse a08f4caccb Fix camera button position 6 years ago
Niels Andriesse f7e01688b0 Disable device linking for now 6 years ago
Niels Andriesse a978253e00 Fix indentation 6 years ago
Mikunj e438d09a62 Update attachments for public group chats. 6 years ago
Mikunj b12e6b838c Disable attachments on non-friends. 6 years ago
Mikunj fd9f1b712f Get attachment logic to work. 6 years ago
Mikunj c6f5adb447 Update attachments to use url. 6 years ago
Niels Andriesse cbad885586 Add missing display name update & message fetch 6 years ago
Niels Andriesse 4a613df52d Clean 6 years ago
Niels Andriesse 08a1b0e947 Merge branch 'dev' of github.com:loki-project/loki-messenger-android into custom-server 6 years ago
Niels Andriesse 9aafedd9e5 Clean 6 years ago
Niels Andriesse e423ec8848 Change mentions approach 6 years ago
Mikunj 2f18c5bad2 Merge branch 'dev' into custom-server
# Conflicts:
#	src/org/thoughtcrime/securesms/loki/DisplayNameActivity.kt
6 years ago
Niels Andriesse 48d282a864 Require the user to pick a display name 6 years ago
Mikunj b676c25930 Add UI 6 years ago
Niels Andriesse 8261f83484 Fix user selection view cell highlight color 6 years ago
Niels Andriesse 25f1405512 Show user selection view dynamically 6 years ago
Niels Andriesse 9207e479a6 Implement user selection view 6 years ago
Niels Andriesse a44c3fcd57 Clean 6 years ago
Niels Andriesse 95695ff88e Clean up seed step 6 years ago
Mikunj 258ad57c12 Merge branch 'dev' into multi-device-integration 6 years ago
Niels Andriesse 9f7437aa9e Implement device linking dialog 6 years ago
Niels Andriesse e77ee30c9b Implement device linking dialog skeleton 6 years ago
Niels Andriesse 0f6a7e88b6 Match iOS design changes 6 years ago
Mikunj 10c1a9cced Added linking in the ui. 6 years ago
Niels Andriesse db320be3f0 Debug moderator tags 6 years ago
Niels Andriesse b67efcf2ab Implement moderator tags 6 years ago
Niels Andriesse 7d1b4c363f Add beta terms label 6 years ago
Niels Andriesse 66c2e0d448 Debug 6 years ago
Niels Andriesse 50ab79673a Clean up link preview UI 6 years ago
Niels Andriesse c5428d7267 Clean up lock screen UI 6 years ago
Niels Andriesse 3b8847ca21 Show logo on landing screen 6 years ago
Niels Andriesse d831274920 Clean 6 years ago
Niels Andriesse 5d34314a00 Implement QR code scanning 6 years ago
Niels Andriesse f3377fe384 Add show QR code button to settings 6 years ago
Niels Andriesse ae54c641a9 Update for seed changes 6 years ago
Niels Andriesse 5936c16c47 Debug merge issues 6 years ago
Niels Andriesse 1822e87f7c Merge Signal 4.41.0 6 years ago
Niels Andriesse 2eb12186ef Fix minor UI issue 6 years ago
Niels Andriesse 8ad0069fec Fix group message UI 6 years ago
Niels Andriesse 97b25507d2 Partially fix background message issue 6 years ago
Niels Andriesse 16c89178f2 Fix scroll issue 6 years ago
Niels Andriesse 7598830a1b Fix quote messages & friend request handling 6 years ago
Niels Andriesse fe16a90741 Clean up splash screen 6 years ago
Niels Andriesse a925b17419 Fix session handling 6 years ago
Niels Andriesse a767c84f74 Fix remaining UI issues 6 years ago
Niels Andriesse 1da6f20f18 Further Lokify UI 6 years ago
Niels Andriesse 8651f20c9b Further Lokify UI 6 years ago
Niels Andriesse 3a8d509c1e Further Lokify UI 6 years ago
Niels Andriesse 659d9e6a8f Implement restore from seed UI 6 years ago
Niels Andriesse ab99874ede Partially Lokify UI 6 years ago
Niels Andriesse 1a7e0562bb Debug friend request logic 6 years ago
Niels Andriesse b27dfdf6ce Fix crash 6 years ago
Niels Andriesse 7c501980fa Implement friend request view skeleton 6 years ago
Niels Andriesse f22be7262b Hook up conversation screen 6 years ago
Niels Andriesse b4328d1aa3 Create UI path to new conversation screen 6 years ago
Niels Andriesse e36d9e110c Add copy mnemonic button 6 years ago
Niels Andriesse 2c35ed2177 Fix ugly spacing 6 years ago
Niels Andriesse 4148d598f9 Stub key pair screen 6 years ago
Niels Andriesse 805b9d8056 Simplify account details screen layout 6 years ago
Niels Andriesse 96efb5d296 Stub account details screen 6 years ago
Greyson Parrelli 2a644437fb Add sticker support.
No sticker packs are available for use yet, but we now have the
latent ability to send and receive.
6 years ago
Alan Evans d5fffb0132 Fix conversation menu colors. 6 years ago
Alan Evans 350d1f47d3 Give conversation a standard navigate up button.
* Prevent a failing IDE preview.
6 years ago
Greyson Parrelli b5d37702f9 Switch back to the classic handling of landscape text entry.
Fixes #8814
6 years ago
Alan Evans 2de64fca02 Image Editor - Fix double HUD animation on older devices. 6 years ago
Alan Evans 387392f38b
End align footer for long message bubble sent.
Fixes #8806
6 years ago
Alan Evans 93e6ccb9e4 Replace image editor. 6 years ago
Alan Evans 196ef60a82 Update camera icons. 6 years ago
Greyson Parrelli e67eca77ff Prevent landscape text editing from taking over the screen.
It used to be that we let Android do the default behavior of
full-screening the EditText when in landscape, but honestly I
don't know who prefers that. So I've turned it off.

Fixes #8769
6 years ago
Alan Evans 621ac62c7e
Add red flashing voice note microphone. 6 years ago
Alan Evans e842f78457
Voice Note Locking.
Limit of 60 minutes, after which it's cancelled.
6 years ago
Greyson Parrelli 94e8303022 Remove dead code from ScribbleHud/Fragment. 6 years ago
Greyson Parrelli b89c20ff40 Switch to 'start' and 'end' instead of 'left' and 'right'.
We can do this now that our minSdk is 19.
6 years ago
Greyson Parrelli aa5e32f0ee Add back the highlight and sticker tools. 6 years ago
Greyson Parrelli 93c1277fd0 Fix voice note button clipping. 6 years ago
Greyson Parrelli 932e7b4af5 Fix button flicker when selecting single media item. 6 years ago
Greyson Parrelli 5e6f71cd32 Show selection order in multi-select. 6 years ago
Greyson Parrelli 64cf032181 Updated media send UI. 6 years ago
Greyson Parrelli 0a8bbf14a6 Merge camera into send flow. 6 years ago
Greyson Parrelli eb1dd58a0b Persistent media in multi-send. 6 years ago
Greyson Parrelli 8b6ecd1d2e Fixed profile screen layout on small screens.
Fixes #8670
6 years ago
Greyson Parrelli 55699e27bc Added ability to receive long messages.
Send support is in here too. We'll enable it in a future release after
enough people have updated.
6 years ago
Greyson Parrelli bf28e109d3 Update registration UI. 6 years ago
Greyson Parrelli 42e94d8f92 Remove leftover half-height camera code. 6 years ago
Greyson Parrelli 02b0800b22 Support requesting a CAPTCHA during registration. 6 years ago
Greyson Parrelli c2a86fcc74 Sync self-sends to desktop.
Updated UI to show self-conversations as "Note to Self".
6 years ago
Greyson Parrelli 9f04c28bfd Implemented conversation search.
You can now search for messages within a specific conversation.
6 years ago
Greyson Parrelli cfff10622a Move conversation classes to their own package. 6 years ago
Greyson Parrelli 1ee422a012 Update link preview splash to say 'Got it'. 6 years ago
Greyson Parrelli 7da73bbc30 Updated link preview splash layout. 6 years ago
Greyson Parrelli c76081d99c Added support for link previews. 6 years ago
Greyson Parrelli fc989f3820 Fix album sizing issues on skinnier devices. 6 years ago
Greyson Parrelli 66dde4415d Added an 'All media' folder in the gallery. 6 years ago
Greyson Parrelli 6fa7eca60b Implement new media send flow.
Update our media send flow to allow users to send multiple images/videos
at once. This change includes:

- New in-app media picker flow.
- Ability to caption images and videos.
- Image editing tools are made more prominent in the flow.
- Some fixes to the image editing tools.
6 years ago
Greyson Parrelli b6098a26b4 Update typing indicator intro strings. 7 years ago
Greyson Parrelli 5a53268534 Update typing indicator intro screen. 7 years ago
Greyson Parrelli 47a10a0288 Added support for multi-image receive. 7 years ago
Greyson Parrelli 776b0e23ae Add support for typing indicators. 7 years ago
Greyson Parrelli ff9d5df0e0 Dark theme support for emoji variation selector. 7 years ago
Greyson Parrelli 2acab563d9 Support for sealed sender - Part 2 7 years ago
Greyson Parrelli 6ce278114f Ensure profile photo in ConversationList is accurate.
Fixes #8270
7 years ago
Greyson Parrelli 48ff9673b9 Allow the selection of fitzpatrick emoji. 7 years ago
Greyson Parrelli 7cadb0d35a Properly set the document download icon tint. 7 years ago
Greyson Parrelli 704715de8f Fix message details delivery status icon tint (again). 7 years ago
Greyson Parrelli 710fa4a6f0 Switch the conversation color back to incoming messages. 7 years ago
Greyson Parrelli d9272c3b33 Fix message details delivery status icon tint.
Fixes #8251
7 years ago
Greyson Parrelli 4da1af9a7b Use the correct save icon in the ScribbleHud. 7 years ago
Greyson Parrelli c81bc22943 Fix avatar location in a group conversation. 7 years ago
Greyson Parrelli f725dd5a7e Show profile avatar in toolbar. 7 years ago
Greyson Parrelli bab92fca7b Move unread indicator to be above the avatar. 7 years ago
Greyson Parrelli 127505af0b Implement new color palette. 7 years ago
Greyson Parrelli 946f76a442 Fix layout problems in conversation item footer. 7 years ago
Greyson Parrelli 84c71fce16 Disable tab switching in media overview during multiselect.
Multiselect only applies to items in the "media" tab, so people
shouldn't be able to switch tabs during multiselect.
7 years ago
Greyson Parrelli 08ace15f95 Implemented new camera capture flow.
A new, fullscreen camera capture flow that easily allows you to capture
and edit a photo before sending it. Replaces the current half-screen
camera button.
7 years ago
Greyson Parrelli ad7dd7584e Fixed document display in media overview in dark theme.
Shoutout to @aleb2000 for working on this as well!

Fixes #8151
7 years ago
Greyson Parrelli e1f8e87327 Fix log submission OOM, improve log scrolling.
We were getting a TransactionTooLargeException when giving an
EditText a very large (1.5MB+) text block. This has been resolved
by switching to a RecyclerView to show the text line-by-line. As a
side-effect, this improves scroll performance on lower-end devices.

Also, I added a button to jump to the bottom of the log because I
really wanted one :)

Fixes #8124
7 years ago
Greyson Parrelli 7370bbacea Fix inline animation toggle initial transition.
Fixes #8116
7 years ago
Greyson Parrelli eabaead700 Revert "Fingerprint unlock UX improvements"
This reverts commit 8441ac4091.

Fixes #8106
7 years ago
art1fa 8441ac4091 Fingerprint unlock UX improvements 7 years ago
Greyson Parrelli 13c72779af Visually note quotes for messages you don't have.
We will now show a small footer under quotes for messages that you
don't have locally.

Also fixes #7850
7 years ago
Greyson Parrelli 4d565990c9 Add drop shadow under attachment drawer. 7 years ago
Greyson Parrelli c7da83a702 Show attachment button while composing text.
Previously, we'd only show the attachment button when the user had
yet to enter any text. To add an attachment after text was entered,
you'd have to go to the three-dot menu. Now we just show a little
attach button in the text area.

I also took the opportunity to clean up other button paddings and
stuff in the compose area so things look better and react to text
sizes more predictably.
7 years ago
Greyson Parrelli b7d83c7a1f Make libpaste a source dependency. 7 years ago
Greyson Parrelli 76428bd19b Fix issue with author names getting cut off. 7 years ago
art1fa faea8fd2ec Apply message bubble paddings to both top and bottom
Batch selecting messages now feels better. Fixes #8035.
7 years ago
Greyson Parrelli 1e895e960f Fix various padding and alignment issues. 7 years ago
Greyson Parrelli d5753bc306 Fix spacing issue between short clustered group chats.
For short messages in a cluster, the contact photo was sometimes taller
than the actual bubble, leading to extra weird space. So instead we use
a container to hold the width of the cell, and set the avatar to be GONE
instead of INVISIBLE.
7 years ago
Greyson Parrelli f82b2c0d3f Prevent author name from making media messages too wide.
The media size traditionally determines the bubble size, but the author
could make it wider, which would lead to rendering issues. In the case
of media attachments (images, videos, and shared contacts), we restrict
the width of the author name. When there's a number+profile name combo,
we split the space 50/50 between the two.
7 years ago
Greyson Parrelli 6a090bd5f1 Some visual tweak fixes.
- Use correct color action bar in contact name edit activity.
- Fix compose text height to match send button height.
7 years ago
Greyson Parrelli 6fd10042fb Move expiration timer to be next to the date. 7 years ago
Greyson Parrelli aa25f39fe9 Fix footer icon tints. 7 years ago
Greyson Parrelli 860047c2d3 Remove CornerMaskingView. 7 years ago
Greyson Parrelli d303a88803 Fix quote dismiss button not showing up.
Fixes #8006
7 years ago
Greyson Parrelli 8f551c8b32 Fix various redesign issues with Android 4.x.
In particular, there were many issues with drawing corners.
Unfortunately, there's no pretty way to get masking working on every
Android version, so we have to switch back to using custom backgrounds
and then using multiple masking methods depending on Android version.

Also, I had to remove attr references in drawables. They crash on 4.x.
7 years ago
Greyson Parrelli 1c023b5218 Remove unused resources. 7 years ago
RiseT 7960a5785d Export some strings from shared contact details activity 7 years ago
Greyson Parrelli 8579c30909 Styling improvements and code cleanup. 7 years ago
Greyson Parrelli 24b062d8dd Improve the look of message bubbles. 7 years ago
Greyson Parrelli f074c7e5b7 Fixed FAB sometimes blocking shared contact toggle.
Fixes #7968
7 years ago
Greyson Parrelli 84e2fcad54 Update UI of toggling shared contact photo. 7 years ago
Greyson Parrelli 6ce8516b93 Make contact photos optional when sharing contacts.
Previously, if you had a contact photo for a user, we'd always send it
Now you can choose whether or not it is sent.
7 years ago
Greyson Parrelli f72f75ee61 Show a link for privacy policy. 7 years ago
Greyson Parrelli 2c17b54ef9 Show a banner in the event of a service outage.
We will now determine if there has been a service outage and render a
banner at the top of the conversation list if we detect that there has
been one.
7 years ago
Greyson Parrelli 0999359454 Improve the image editor.
A variety of improvements to the image editor, such as:

- New, fullscreen styling
- Smoother lines
- Better text and sticker handling
- Improved color picker with a history pallette
- New highlighter tool
7 years ago
Greyson Parrelli 92a64f59a4 Switch search to use the existing header.
Probably best to not try out any possible new design changes just yet.
Let's stick with what we have.
7 years ago
Greyson Parrelli 07e8ae716c Fix EmojiTextView regression.
Using the singleLine attribute will make the TextView report that the
lineCount is always 1, regardless of actual text length. This breaks our
manual ellipsize calculation. Because you can't actually read the
singleLine attribute at runtime, I've switched relevant usages of
singleLine to use maxLines=1 (relevant usages are EmojiTextViews where
singleLine was set and ellipsize was set to 'end').

Fixes #7744
7 years ago
Greyson Parrelli 3a827d1c48 Fix dark theme in search.
Fixed #7821
7 years ago
Greyson Parrelli 0449647cf9 Implemented full-text search.
You can now use the search bar on the conversation list to find
conversations, messages, and contacts.
7 years ago
Greyson Parrelli e6c16cf28d Allow editing of contact names.
Took care to properly format CJK names.
7 years ago
Greyson Parrelli 54dbffaf30 Added ability to share contacts.
The "contact" option in the attachments tray now brings you through an
optimized contact sharing flow, allowing you to select specific fields
to share. The contact is then presented as a special message type,
allowing you to interact with the card to add the contact to your system
contacts, invite them to signal, initiate a signal message, etc.
7 years ago
Greyson Parrelli ca8fecea9c Clean up camera flipping, handle having missing cameras.
Did a refactor to better organize the camera flipping code. Also, I
wanted to make sure we handle the cases where the user doesn't have two
cameras (or no cameras, for that matter). In these cases, we just don't
show the appropriate buttons.
7 years ago
Niklas Hambüchen f1c79eaebf Add button to flip camera (front vs rear). Fixes #6279 7 years ago
Greyson Parrelli f580edaf91 Fix voice recording UI when replying to a message.
Just had to relayer some of the views so the recording UI positions
correctly lined up at the bottom.
7 years ago
Greyson Parrelli 63a3b1acb9 Also make author text EmojiTextView. 7 years ago
Greyson Parrelli 6fbbc9d078 Render emoji's properly in quote bubbles.
Unfortunately, the change wasn't as simple as just switching to use our
EmojiTextView. That view only supported single-line text. I added
support for multi-line text.

Fixes #7704.
7 years ago
RiseT 29af1669e1 Export strings from registration_call_me_view
Export strings from webrtc_call_screen

Closes #7543
7 years ago
Greyson Parrelli fa99e8f0d0 Updated reply-to UI.
All UI components are now properly styled and functioning according to
spec.
7 years ago
Moxie Marlinspike d567534609 replies 7 years ago
Moxie Marlinspike 4669c45ff7 Perpetuate the original sin of dark theme
Fixes #7614
7 years ago
Moxie Marlinspike e86a9ce7eb Add phone number and direct dial to recipient preferences 7 years ago
Greyson Parrelli 5dc5503896 Fixed 'All Media' toolbar color mismatch.
In landscape, you'd see that the tabs were a different color from the
toolbar. This has been corrected so they're all the same color now.

Fixes #7578
Closes #7579
7 years ago
Greyson Parrelli ea374735e1 Render images in a conversation true-to-size.
Previously, we were always rendering images as squares. Instead of doing
that, we now render them as close to true-to-size as possible (within
reasonable min/max width/height boundaries).
7 years ago
Greyson Parrelli 10e5b24cfd Allow batch deletion of media.
It is now possible to batch-delete media in the "media overview" screen.
You can long press to enter multi-select mode. Then a delete button
appears on the menu bar. After pressing delete, you will get a
confirmation, and if the user confirms, the items will delete while a
progres dialog shows.
7 years ago
Moxie Marlinspike aff65abe91 Hide keyboard after backup passphrase entered
Fixes #7508
7 years ago
Moxie Marlinspike b39820dcb6 Clarify Registration Lock reminder
Fixes #7484
7 years ago
Moxie Marlinspike 1a24885110 Fix issue "home button" issue with screen lock
Fixes #7475
7 years ago
Moxie Marlinspike 56c95d1d1b Extract string resource 7 years ago
Moxie Marlinspike 2beb1dd8d9 Layout adjustments 7 years ago
art1fa feee09cd28 Fix color in toolbars 7 years ago
art1fa 6dd8300c73 Add standard elevation to Toolbars 7 years ago
art1fa 4281097828 Decrease back button padding / margin 7 years ago
art1fa 1e62934220 Reduce avatar size in ConversationView 7 years ago
Moxie Marlinspike 110d33ddf8 Support for Registration Lock PINs 7 years ago
Moxie Marlinspike d28dc670ea Migrate to Android fingerprints and auth for Signal screen lock 7 years ago
Moxie Marlinspike 24e573e537 Support for full backup/restore to sdcard 7 years ago
Moxie Marlinspike 23aee53c7d Add determinte progress and foreground service for sqlcipher migration 7 years ago
Moxie Marlinspike bc64230a65 Switch to HackyViewPager for media preview
Fixes #7344
Fixes #7335
7 years ago
Moxie Marlinspike 94e2b9e66e Make video player in media player control a view stub 7 years ago
Moxie Marlinspike 8bba45f396 Add swipe gestures to media view
Fixes #2355
Closes #6632
7 years ago
Moxie Marlinspike 34424a9b3e Fix crash when signal messages disabled in group conversation
Fixes #6419
Closes #6803
7 years ago
Moxie Marlinspike 23e9b3a61e Fix colors in all images toolbar
Fixes #7242
8 years ago
Moxie Marlinspike 64c8b4b2ef Support for selective permissions 8 years ago
Moxie Marlinspike e9a82502b9 Fix up converstion list empty state look 8 years ago