* SES-2810 - Removing the screenshot privacy toggle
* SES-2813 - clickable only when there is a 'follow settings'
* SES-2815 - proper icon and spacing for deleted messages
* Simplified deletion dialog to be reused for note to self and the rest as only the labels change
* SES-2819 - Do not show a reaction on a deleted message
* Fixing up deletion details
Message view hides reactions completely if the message is marked as deleted
All messages can now show the 'Delete' long press option
Community messages should be removed completely not marked as deleted
* Revert "SES-2819 - Do not show a reaction on a deleted message"
This reverts commit 711e31a43a.
* Avoiding adding reactions if the message is marked as deleted
* Removing uneeded icon
* Deletion handled by VM so menu item is always visible
* SES-2811 - Do not attempt to send a failed message marked as deleted
* SES-2818 - Making sure we set the lastMessage in a thread properly, without using 'marked as deleted' messages
* SES-2464 - changed the behaviour to finish the convo activity but instead refresh the sarch on resume
* removing log
* SES-2810 - Removing the screenshot privacy toggle
* SES-2813 - clickable only when there is a 'follow settings'
* SES-2815 - proper icon and spacing for deleted messages
* Simplified deletion dialog to be reused for note to self and the rest as only the labels change
* SES-2819 - Do not show a reaction on a deleted message
* Fixing up deletion details
Message view hides reactions completely if the message is marked as deleted
All messages can now show the 'Delete' long press option
Community messages should be removed completely not marked as deleted
* Revert "SES-2819 - Do not show a reaction on a deleted message"
This reverts commit 711e31a43a.
* Avoiding adding reactions if the message is marked as deleted
* Initial commit with high level structure for new message deletion logic
* Adding admin logic
* New dialog styles
* Matching existing dialog closer to new designs
* Using the theme attribute danger instead of a hardcoded colour
* Using classes for the dialogs
Also cleaned up older references to align with newer look
* Adding cancel handling
Cleaning unused code
* Handling local deletion with batch message deletion
* Reusing the 'delete locally'
* Delete on device should "marl the message as deleted", not remove it from the db directly
* Displaying "marked as deleted" messages
Split the `BASE_DELETED_TYPE` into two types:
BASE_DELETED_OUTGOING_TYPE and BASE_DELETED_INCOMING_TYPE
so we can differentiate them visually.
* Proper handling of merged code
* Removed temp bg color
* Making sure the deleted message view is visible
* Renaming functions for clarity
* Adding the ability to customise the text for the deleted control messages
* Removing code that was added back from merging dev back in
* Using the updated strings
* Toast confirmation on 'delete locally'
* Recreating xml dialogs in Compose and moved logic in VM
* Removing hardcoded strings
* Updated message deletion logic
Still need to finalise "note to self" and "legacy groups"
* Deletion logic rework
Moving away from promises
* More deletion logic
Hndling unsend request retrieval as per figma docs
* Making sure multi-select works as expectec
* Multi message handling
Sharing admin logic
* Deleting reactions when deleting a message
* Deleting reactions when deleting a message
* Grabbing server hash from notification data
* Fixed unit tests
* Handling deletion od "marked as deleted" messages
* Handling Control Messages longpress and deletion
* Back up handling of no map data for huawei notifications
Also rethemed the send buttona dn home plus button to have better ax contrast by standardising the colour displayed on the accent color to be the same as the one on the sent messages
* Removed test line
* Reworking the deletion dialogs
We removed the 'delete locally' dialog, instead we show the 'delete for everyone' with the second option disabled
* Outgoing messages can all be marked as 'delete for everyone'
Cleaned up invisible copy button on black bgs
* Adding a confirmation dialog when clearing emoji
* Message request text update
* Restyling menu items to not show in uppercase
* Proper hint for seach
* Do not show seconds when they're 0
* Making the change to "hidden recovery" reactive so it can be dynamically updated in the settings page.
This can be simplified once we make SharedPreferences widely accessible as Flows
---------
Co-authored-by: ThomasArtProcessors <71994342+ThomasArtProcessors@users.noreply.github.com>
* Initial commit with high level structure for new message deletion logic
* Adding admin logic
* New dialog styles
* Matching existing dialog closer to new designs
* Using the theme attribute danger instead of a hardcoded colour
* Using classes for the dialogs
Also cleaned up older references to align with newer look
* Adding cancel handling
Cleaning unused code
* Handling local deletion with batch message deletion
* Reusing the 'delete locally'
* Delete on device should "marl the message as deleted", not remove it from the db directly
* Displaying "marked as deleted" messages
Split the `BASE_DELETED_TYPE` into two types:
BASE_DELETED_OUTGOING_TYPE and BASE_DELETED_INCOMING_TYPE
so we can differentiate them visually.
* Proper handling of merged code
* Removed temp bg color
* Making sure the deleted message view is visible
* Renaming functions for clarity
* Adding the ability to customise the text for the deleted control messages
* Removing code that was added back from merging dev back in
* Using the updated strings
* Toast confirmation on 'delete locally'
* Recreating xml dialogs in Compose and moved logic in VM
* Removing hardcoded strings
* Updated message deletion logic
Still need to finalise "note to self" and "legacy groups"
* Deletion logic rework
Moving away from promises
* More deletion logic
Hndling unsend request retrieval as per figma docs
* Making sure multi-select works as expectec
* Multi message handling
Sharing admin logic
* Deleting reactions when deleting a message
* Deleting reactions when deleting a message
* Grabbing server hash from notification data
* Fixed unit tests
* Handling deletion od "marked as deleted" messages
* Handling Control Messages longpress and deletion
* Back up handling of no map data for huawei notifications
Also rethemed the send buttona dn home plus button to have better ax contrast by standardising the colour displayed on the accent color to be the same as the one on the sent messages
* Removed test line
* Reworking the deletion dialogs
We removed the 'delete locally' dialog, instead we show the 'delete for everyone' with the second option disabled
* Outgoing messages can all be marked as 'delete for everyone'
Cleaned up invisible copy button on black bgs
* PR feedback
* Updated huawei file and tested notifications
* Fixed SES-2802
Only force the priority to visible when going from not approved to approved
* Syncing state diaplays as sent
Syncing happens in the bg so the user doesn't need to know of it hence the status can display as "Sent" during the syncing phase.
Resyncing, in case it happens, can display the "Syncing" status as it would happen after a syncing error.
* Latest strings
---------
Co-authored-by: ThomasArtProcessors <71994342+ThomasArtProcessors@users.noreply.github.com>
* Fixing crash on sdk =28 for emoji reactions
* Proper styling of reactions
Making sure we display the public key when there is no name
* Making sure we display the emoji that was long pressed
* Removing unrequired APi checks
* Bumping min sdk to 26 and further cleaning version checks
* More clean ups
* Removed unused class
* Clean up
* Clean up
* Clean up
* Clean up
* Clean up
* Clean up
* Clean up
* Clean up
* Moving color files
* Moving theme classes into their own package
* Only obtain new theme when required
* UI Tweaks
Using the proper color for danger as opposed to one hardcoded color
Reusing BlackAlpha40
Using the right delete icon in settings
* matching figma
* Matching signature across buttons
* Dialogs do not have a 'x' button by default
* Updated typography
Updated the typography in an composition local so it can be accessed from anyehere in compose and matching the figma declarations.
* Centered text in control messages
* Fixing new color access for action items
* renaming spacing to be more general
* Unifying dimensions and rectifying design inconsistencies
Unifying spacing values and reusing common ones
Identified spacing issues and inconsistencies in design and figma
* Rounded corners for the new conversation sheet
* Rounding sheets corners
* Spacing fixes and UI consolidating
Discussed with QA to make sure the 'new message' screen should indeed behave as the other screens and use disabled state instead of disappearing
* Disappearing messages tweaks
Re-using our new radio buttons in disappearing messages
Tweaking UI to match designs
* Cleaning up spaces
* Migrating to Material3
* Fixing UI issues found
* PR feedbacks
---------
Co-authored-by: bemusementpark <bemusementpark>
* Simplifying profile picture view
We don't need the isLarge option as the component's size is always set.
Using profilePictureView in the call screen.
* Swapping avatars between user and contact's
* Adding the user's avatar for when it needs to be displayed
* Making sure we never invert the contact's landscape rotation
* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
---------
Co-authored-by: Andrew <andrewgallasch@gmail.com>
* WIP: swap video views
* feat: swap video views
* minor fixes
* minor fix
* minor fix
* update libsession-util
* Revert "update libsession-util"
This reverts commit 0d386e706e.
* reverse updating libsession-util
* update libsession-util
* Tweaking colors to match designs
* More theme fixes
* WebRTC rework
Only using two sinks and swapping between them
Reworked the device rotation logic as it didn't work well with pitch ( you could tip the device front to back and the rotation went out of whack, so had to resort to more robust calculation for the device orientation.
Had to use a deprecated sensor setting but it's the only one I could use that works.
* Video management logic update
Rounded corners for floating inset
Proper handling of video scaling based on video proportions
Proper handling of mirroring logic for floating/fullscreen videos depending on whether they are the user or the remote video and whether the camera is front facing or not
* Showing floating video inset only when there is at least one video stream active, hiding it when both are inactive
* Rotating controls on rotation
* Clean up
* Review feedback
* OrientationManager
The new OrientationManager encapsulate the orientation logic and sends out a mutable state flow
* PR feedback
---------
Co-authored-by: Ryan Zhao <ryanzhaors@qq.com>
Co-authored-by: Ryan ZHAO <>
* Initial working push with debug comments
* Fixes#1522
* Cleanup, prevent multi-pointer recording, and don't show short msg toast if locked to record quickly
* Adjusted comment phrasing
* Fix comment phrasing
* Fixed inadvertant short voice message toast on exit conversation activity
* Comment adjustment
* Comment phrasing
* Adjusted AudioRecorder.startRecording to take a callback function rather than the InputBar
* Performed Thomas' PR feedback
* Move comment to more relevant place
* Removed unused / leftover callback definition
* Removed all redundant null checks after asserting binding is not null
* Removed remaining not-null assertions & added some logged feedback to fail states
* Addressed PR feedback
* Implemented additional PR feedback
* Adjusted InputBar property visibility as per PR feedback & adjusted Toast string following discussion with Lucy
* Minor adjustment to inform user if we see an obvious network issue when sending a voice message - also tweak the locked Cancel button size to prevent text entry when locked to voice recording
* Adjust comment phrasing following further testing
* Added TODO comments to replace hard-coded string in toasts
* Addressed Thomas PR feedback suggestion
* Addressed another feedback suggestion
* Adjustment to continue informing user of network / node path issues
* Improved & moved network check method
* Corrected ticket number into TODO comments
* Addressed Andy PR feedback
* Adjust network connectivity checks to just log issues rather than inform the user (as per Rebecca / Kee convo)
---------
Co-authored-by: alansley <aclansley@gmail.com>
* Add rounded corners to thumbnail in QuoteView
* Simplify ThumbnailView
* Cleanup ThumbnailView
* Removed include custom attributes
The custom attributes are not passed to the view.
I added the radius programatically instead.
* Clipping whole thumbnail view instead of just the image requests
---------
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>