Skip to content

Prepare for release 1.22.0 #1058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 87 commits into from
Mar 26, 2025
Merged

Prepare for release 1.22.0 #1058

merged 87 commits into from
Mar 26, 2025

Conversation

SessionHero01
Copy link
Collaborator

AL-Session and others added 30 commits December 20, 2024 15:41
* WIP

* WIP

* Adjusted view_visible_message_content to show any msg w/ a document attachment above it

* Cleanup

* Nudge to trigger CI build

* Adjusted view layout to display any text accompanying an audio file

---------

Co-authored-by: alansley <[email protected]>
* Starting to import Lucide icons and clean up

* Removing unused icons

* Lucide icons + removing unsued stuff

Removed the whole EMoji/MediaKeyboard classes as they didn't seem used

* More Lucide icons + ui tweaks + clean up

* comment

* Wrong tinting

* delete icon

* More icons

* check icons
* Starting to import Lucide icons and clean up

* Removing unused icons

* Lucide icons + removing unsued stuff

Removed the whole EMoji/MediaKeyboard classes as they didn't seem used

* More Lucide icons + ui tweaks + clean up

* comment

* Wrong tinting

* delete icon

* More icons

* check icons

* edit icon (ic_pencil)

* edit icon

* Search icon (ic_search)

* settings icons (ic_settings)

* back icon (ic_chevron_left)

* icon forward arrow (ic_chevron_right)

* icon circle dots (ic_circle_dots_custom)

* icon read (ic_eye)

* icon disappearing messages (ic_clock_x)

* refresh icon (ic_refresh_cw)

* globe icon

* message icon (ic_message_square)

* icon message request (ic_message_square_warning)

* group and invite icons (ic_users_group_custom, ic_user_round_plus))

* icons: lock, unlock, audio/notification (ic_lock_keyhole, ic_lock_keyhole_open, ic_volume_2, ic_volume_off )

* icon mute / mic off (ic_mic_off)

* icon appearance, recovery (ic_paintbrush_vertical, ic_recovery_password_custom)

* icons: help, help circle, qr code

* icon block/ban
#846)

* Set the recovery phrase as being viewed when the user has visited the RecoveryPasswordActivity

* Fix scenario whereby permanently hiding the recovery phrase via the banner does not

---------

Co-authored-by: alansley <[email protected]>
* Starting to import Lucide icons and clean up

* Removing unused icons

* Lucide icons + removing unsued stuff

Removed the whole EMoji/MediaKeyboard classes as they didn't seem used

* More Lucide icons + ui tweaks + clean up

* comment

* Wrong tinting

* delete icon

* More icons

* check icons

* edit icon (ic_pencil)

* edit icon

* Search icon (ic_search)

* settings icons (ic_settings)

* back icon (ic_chevron_left)

* icon forward arrow (ic_chevron_right)

* icon circle dots (ic_circle_dots_custom)

* icon read (ic_eye)

* icon disappearing messages (ic_clock_x)

* refresh icon (ic_refresh_cw)

* globe icon

* message icon (ic_message_square)

* icon message request (ic_message_square_warning)

* group and invite icons (ic_users_group_custom, ic_user_round_plus))

* icons: lock, unlock, audio/notification (ic_lock_keyhole, ic_lock_keyhole_open, ic_volume_2, ic_volume_off )

* icon mute / mic off (ic_mic_off)

* icon appearance, recovery (ic_paintbrush_vertical, ic_recovery_password_custom)

* icons: help, help circle, qr code

* icon block/ban

* close icon (ic_x)

* pin/unpin icons

* switch camera icon (ic_switch_camera)

* warning icon (ic_triangle_alert)

* phone icons

* share icon  + clean up unused files

* mark as read icon + clean up

* default video placeholder + clean up

Removed the caption icon from the media rail
Cleaned up logic for thumbnail error and placeholder

* Clean up
* info icon (ic_info)

* icon video off (ic_video_off)

* emoji fallback icon (ic_square_x)

* expand icon (ic_maximize_e)

* default profile icon and video swap icon

* missed call icon

* chevron up and down

* icons for image edit screen and emoji stickers

* Giphy screen icons + reworked search bar

* removed unused icons
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/groups/compose/EditGroupScreen.kt
Merge latest changes to groups back to dev
* Initial commit

* Initial attempt at modernising PhassphrasePromptActivity and BiometricSecretProvider

* Commit before refactoring to cache shared content Uri

* External sharing with fingerprint-locked device now working

* Adjust PassphrasePromptActivity to not allow multiple instances if you have one then external share via session

* Cleanup and documentation

* End of day push

* Yeah, now external sharing ONLY works on a Pixel 7a and not most other things - will need to rework this in 2025 =/

* Added forced READ_URI permission to intent - works for external share of links now, but not images at present

* WIP

* Working, now to clean up

* Broke then fixed

* End of day push

* Now working on Pixel 7a also

* Commit before refactor

* Refactor WIP

* Refactored PassphraseRequiredActionBarActivity to ScreenLockActionBarActivity, amongst other things

* Cleanup

* Tiny fix

* Further cleanup

* WIP filename fix

* Fixed GIF saving amongst other things

* Cleanup for PR

* Fixed overlooked drawable ID change

* Cleanup

* PR feedback

* PR feedback

* PR feedback

* PR feedback

* PR feedback

* Fix startup crash & successful unlock drawable

* Adjusted fileprovider back to previous name to keep inline with avatar and share logs file providers

* Cleaned up ShareActivity null-checks via lateinits

* Fixed up ScreenLockActivity so we don't get stuck & inform user of system-level biometric lockouts

* Fixed ShareActivity.onCreate to match OG behaviour

* Added filename handling for video files

* All working - commit before cleanup

* Cleaned up

* Addressed PR feedback regarding biometric unlock

* Re-fixed external share filenames following Media class adjustment today

* Cleanup

* Fixed Giphy GIF filenames

* PR cleanup

* PR feedback

* Added comment

* Reverted onBackPressedDispatcher change

* Added voice message filename generation method to FilenameUtils

* Push before refactor

* WIP

* Streamline filename creation

* Cleanup

* Enforce non-null status on extracted filename

* Adjusted Attachments to force filenames & removed reliance on Uri filename extraction

* End of day push

* Added synthesized filename creation for pre-existing voice messages that lack a filename

* Cleanup and refactor mechanism for legacy voice message filename synthesis

* Remove unnecessary call to getFilenameFromUri if we can extract the filename from the attachment

* Added filename synthesis on input from legacy Session Android clients that provide null filenames

* Added some additional mime-types to our incoming 'fromProto' filename generation - should be very comprehensive now

* Leaving logic on the app side

Removed logic from libsession
Sanitising file names before saving them to storage
Made sure we don't displa a date when getting filename from Slide otherwise it'll keep changing

* Cleaned up

* Using the URI's timestamp when possible

---------

Co-authored-by: alansley <[email protected]>
Co-authored-by: ThomasSession <[email protected]>
* Initial commit

* Initial attempt at modernising PhassphrasePromptActivity and BiometricSecretProvider

* Commit before refactoring to cache shared content Uri

* External sharing with fingerprint-locked device now working

* Adjust PassphrasePromptActivity to not allow multiple instances if you have one then external share via session

* Cleanup and documentation

* End of day push

* Yeah, now external sharing ONLY works on a Pixel 7a and not most other things - will need to rework this in 2025 =/

* Added forced READ_URI permission to intent - works for external share of links now, but not images at present

* WIP

* Working, now to clean up

* Broke then fixed

* End of day push

* Now working on Pixel 7a also

* Commit before refactor

* Refactor WIP

* Refactored PassphraseRequiredActionBarActivity to ScreenLockActionBarActivity, amongst other things

* Cleanup

* Tiny fix

* Further cleanup

* WIP filename fix

* Fixed GIF saving amongst other things

* Cleanup for PR

* Fixed overlooked drawable ID change

* Cleanup

* PR feedback

* PR feedback

* PR feedback

* PR feedback

* PR feedback

* Fix startup crash & successful unlock drawable

* Adjusted fileprovider back to previous name to keep inline with avatar and share logs file providers

* Cleaned up ShareActivity null-checks via lateinits

* Fixed up ScreenLockActivity so we don't get stuck & inform user of system-level biometric lockouts

* Fixed ShareActivity.onCreate to match OG behaviour

* Added filename handling for video files

* All working - commit before cleanup

* Cleaned up

* Addressed PR feedback regarding biometric unlock

* Re-fixed external share filenames following Media class adjustment today

* Cleanup

* Fixed Giphy GIF filenames

* PR cleanup

* PR feedback

* Added comment

* Reverted onBackPressedDispatcher change

* Added voice message filename generation method to FilenameUtils

* Push before refactor

* WIP

* Streamline filename creation

* Cleanup

* Enforce non-null status on extracted filename

* Adjusted Attachments to force filenames & removed reliance on Uri filename extraction

* End of day push

* Added synthesized filename creation for pre-existing voice messages that lack a filename

* Cleanup and refactor mechanism for legacy voice message filename synthesis

* Remove unnecessary call to getFilenameFromUri if we can extract the filename from the attachment

* Added filename synthesis on input from legacy Session Android clients that provide null filenames

* Added some additional mime-types to our incoming 'fromProto' filename generation - should be very comprehensive now

* Leaving logic on the app side

Removed logic from libsession
Sanitising file names before saving them to storage
Made sure we don't displa a date when getting filename from Slide otherwise it'll keep changing

* Cleaned up

* Using the URI's timestamp when possible

* WIP

* Working - commiting before cleanup

* Cleaned up for PR

---------

Co-authored-by: alansley <[email protected]>
Co-authored-by: ThomasSession <[email protected]>
Co-authored-by: alansley <[email protected]>
* Re-did fixing voice message upload duration ONLY - no caching changes at all

* Removed setting interim audio durations in bind and instead store the duration in the unused-for-AudioSlides caption field

* Addressed PR feedback and anti-button-spam measures to prevent the voice recording mechanism getting into a broken state if the user rapidly spams the record voice message button

* Use MediaUtil for duration formatting, prevent double-checking if we can record a voice message, correctly handle durations for lock then send voice messages, and re-adjust text autocompletion

* Removed unused imports

* Cleanup for interim push before large scale refactor

* Minor tidy

* PR comment feedback

* Added TODO comment regarding refactoring voice message logic into the ConversationActivity ViewModel

---------

Co-authored-by: alansley <[email protected]>
…se-1.21.0

# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt
* Filtered any control characters or double-spaces from copied recovery password mnemonic

* Fix typo in comment

* Single char comment alignment adjustment

---------

Co-authored-by: alansley <[email protected]>
* Filtered any control characters or double-spaces from copied recovery password mnemonic

* Fix typo in comment

* Single char comment alignment adjustment

* Comment phrasing adjustment

* Fixed double space removal (single char adjustment)

* Simplified mnemonic filtering regex

* Fixed regex

---------

Co-authored-by: alansley <[email protected]>
* Konverting the MediaSendViewModel

* PR Feedback
…ned up"

This reverts commit 85c58bd. Sorry, I thought I was on my branch.
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationReactionOverlay.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt
ThomasSession and others added 27 commits March 11, 2025 06:15
* SES-3506 open document messages on tap

* Clean up

* PR feedback
* Add build steps for github action

* Fix build commands

* Checkout submodule recursively and don't fail fast

* Fix mention view model tests

* Upload test result when failed

* Temporarily disable variants

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Remove deprecated properties

* Fixes up artifact uploading

* Fixes tests

* Fixes tests

* Huawei artifact matching and gradle caching

* PR trigger
* Making sure we do not crash when trying to open a document that hasn't yet been downloaded

* Do not attempt to open a doc marked as "in progress" of download

* SES-3510 - Removed debug toasts

* SES-3516 - show 'failed to send status' in message details

* SES-3515 getting current user for outgoing message details
* SES-3512 - Different strings for call baner based on state

* SES-3513 - Missed calls case on remote hangup

* updated readme for BrowserStack
…uttons appropriately (#952)

* Initial commit

* PR feedback 1 & 2

* Commit before merging dev to check if some issues still exist

* All working

* PR feedback: Removed initiallyEnabled flag

* PR feedback

* Properly using enabled state for button styling

* Updated test

---------

Co-authored-by: alansley <[email protected]>
Co-authored-by: ThomasSession <[email protected]>
…sageViews in general (#983)

* WIP

* Minor tidyup

* Removed some blank lines

* Fix typo

* Tweaks

---------

Co-authored-by: alansley <[email protected]>
Co-authored-by: ThomasSession <[email protected]>
* Fix a potential crash handling member removal

* Change how the class is instantiated

* Additional GH triggers
…ptimisation

[SES-3536] - Fix flashes on search result list
Convert ApplicationContext into kotlin
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/home/HomeViewModel.kt
#	libsession/src/main/java/org/session/libsession/messaging/jobs/InviteContactsJob.kt
@SessionHero01 SessionHero01 merged this pull request into master Mar 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants