Commit Graph

2831 Commits (3ff39dc0dcae9af5d496d08a05a7bd5afe23e761)

Author SHA1 Message Date
AL-Session 3ff39dc0dc
SES-2145 - Fix re-scroll to bottom after clicking on original message in a reply (#961)
* Re-scroll to bottom after click on OG msg of reply fixed & message highlighting added to match iOS

* Fixing UI issues

Making sure the glow isn't clipped
Scrolling past the quoted view so that it isn't right at the top

* Consolitate recycler view scroll & highlight functionality into a single scrollListener

* Fix comment typo

* Scroll past targeted messages by a given offset in pixels rather than in messages

* Made the linearSmoothScroller lazy and tidied up

* Removed unused property

* Precalculate scroll offset for scroll-target messages

---------

Signed-off-by: alansley <aclansley@gmail.com>
Co-authored-by: alansley <aclansley@gmail.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
10 months ago
AL-Session 1b6addc9c7
Fix/username cleanup --> remove address serialize method (#959)
* Centralising username access

* Centralising username logic

* Removing ContactUtil

* Cleaning up shortString

* Removed address.serialize as toString is the same thing, couple of methods converted to expression-bodied format & added a mock for username-utils to the ConversationViewModelTest class

---------

Co-authored-by: ThomasSession <thomas.r@getsession.org>
Co-authored-by: alansley <aclansley@gmail.com>
10 months ago
ThomasSession 92f1390fad
Feature/username cleanup (#957)
* Centralising username access

* Centralising username logic

* Removing ContactUtil

* Cleaning up shortString

* Making sure the name doesn't overflow in a message view

* Using Lazy to avoid dependency cycle
10 months ago
AL-Session e10054c4ee
Fix/qa 882 mic button (#943)
* WIP spam prevention

* Record voice button spam UI state confusion addressed

* Remove leftover commented code

* Unused variable removed

* Simplifying voice recording logic

* Clean up

* Clean up

* Hopefully fix toast window layout exception on microphone button spam

* Refactored voice message too short detection mechanism to avoid using deprecated call to 'someToast.view?.isShown'

---------

Co-authored-by: alansley <aclansley@gmail.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
10 months ago
SessionHero01 0cf6e22cca
Merge remote-tracking branch 'origin/release/1.21.0' into bring-1.21.0
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/MediaPreviewActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailsViewModel.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/QuoteView.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/mms/Slide.kt
10 months ago
SessionHero01 f5a76b23e1
Disable selecting message for post deprecated legacy groups (#950) 10 months ago
SessionHero01 f3b8dd5d37
Do not send control message for re-invite/re-promote (#951) 10 months ago
ThomasSession fb0dc85bff Proper names for visible message view 10 months ago
ThomasSession 2a7b08fe64
Fix/ses 3326 unpin legacy groups (#949)
* SES-3326 ability to unpin legacy group post deprecation

* Reusing naming logic for contacts and recipients

Should fix SES-3323 and SES-3320
10 months ago
SessionHero01 1be1278a6b
[SES-3319] - No promotion retry in the background (#948) 10 months ago
ThomasSession 79858a2336
Relying on the flag for voice notes and ignoring empty file names as that legacy logic is too outdated now (#947) 10 months ago
ThomasSession 1cb39c9b5f
QA fixes for Groups V2 (#946)
* SES-3303 - proper URL for groups banner

* SES-3301 - fixing display of legacy group control mesasges

* SES-3304 - No admin state dialogs while DEPRECATED

Updated debug menu with confirm dialog when changing deprecation state

* SES-3307 fixing legacy user view

* SES-3308 - not overwritting the last character in group banners
11 months ago
SessionHero01 42a536fef7
Add the ability to re-create legacy group for unknown members (#944) 11 months ago
SessionHero01 8d8876df59
[SES-3300] - More place to hide message/convo actions based on deprecated state (#942) 11 months ago
ThomasSession 1b2eb4c2f9
Making sure we get all attachments except voice notes (#940) 11 months ago
ThomasSession d67484e8ed
[SES-3292] Updated photo picker (#934)
* Using the new API for the photo picker

* Using the modern version of the photo picker

* Proper way to get images

* Sorting folders by recency

* We shouldn't reuse the savedstate but instead rely on our custom caching

* Clean up

* PR clean up
11 months ago
SessionHero01 17fcd5ea57
Bump release version code 11 months ago
SessionHero01 47843ad96b
Rekey always to be performed regardless of sharing history or not (#938) 11 months ago
SessionHero01 e190c332dc
Send control message locally (#937) 11 months ago
ThomasSession 7a113a29ea
Making sure we puny-encode data before ons lookup (#936)
* Making sure we puny-encode data before ons lookup

* PR feedback
11 months ago
SessionHero01 b73520cb24
[SES-3270] - Group invitation tweaks (#933) 11 months ago
SessionHero01 9755d252a6
Make sure to skip handling legacy group messages post deprecation (#932)
* Make sure to skip handling legacy group messages post deprecation

* Renamed
11 months ago
SessionHero01 68061e1f78
Fix incorrect deprecated state first time accessing it (#931) 11 months ago
SessionHero01 e2c87cf5d1
Add back missing resources 11 months ago
SessionHero01 3d4e690754
Merge remote-tracking branch 'origin/release/1.21.0' into merge-1.21.0 11 months ago
SessionHero01 ca7eecca39
[SES-3251] - Add additional deprecation state and bring back legacy group creation (#928)
* Resurrect legacy group creation

* Added debug options

* Fixed tests

* Tidy up

* Remove constant
11 months ago
SessionHero01 1fbf60da79
Merge remote-tracking branch 'origin/release/1.21.0' into merge-1.21.0
# 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
11 months ago
SessionHero01 7187b79663
[SES-3251] - Add recreate group UI and show/hide thread/message options accordingly (#919)
* Add recreate button

* CreateGroup as part of dialog

* Show/hide items

* Address feedback

* Icon spacing

* Address feedback

* Avoiding leaking the popup window

---------

Co-authored-by: ThomasSession <thomas.r@getsession.org>
11 months ago
alansley 899fb3d767 Revert "Last send message to blinded recipient identified & code cleaned up"
This reverts commit 85c58bd330. Sorry, I thought I was on my branch.
11 months ago
alansley f83db366b0 Merge branch 'dev' of github.com:session-foundation/session-android into dev 11 months ago
alansley 85c58bd330 Last send message to blinded recipient identified & code cleaned up 11 months ago
ThomasSession fc914f2667
Showing the admin crown for legacy groups (#923) 11 months ago
ThomasSession 14948df4b5
Konverting the MediaSendViewModel (#922)
* Konverting the MediaSendViewModel

* PR Feedback
11 months ago
ThomasSession b134b82daa
Konverting MediaSendActivity (#921) 11 months ago
AL-Session dc432ccaa5
Recovery password linebreak / double space removal - QA feedback (#918)
* 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 <aclansley@gmail.com>
11 months ago
SessionHero01 6ad806afb7
[SES-3251] - Legacy group migration - Part I (#916) 11 months ago
SessionHero01 0956d65808
Using member names in the control messages wherever possible (#914) 11 months ago
SessionHero01 20fc0a2d2d
Merge remote-tracking branch 'origin/release/1.21.0' into merge-release-1.21.0 11 months ago
SessionHero01 f8a6ad05b0
[SES-3200] - Offline control message improvement (#912) 11 months ago
SessionHero01 88e9dffbf4
Fixed crash upon launch (#911) 11 months ago
SessionHero01 9f85c6c320
Merge pull request #910 from session-foundation/merge-release-1.21.0
Merge release/1.21.0 to dev
11 months ago
AL-Session 74f4d5a134
Fix/recovery password copies linebreak (#909)
* 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 <aclansley@gmail.com>
11 months ago
SessionHero01 7d51b4a5fa
Fixed conflict 11 months ago
SessionHero01 8457df34c4
Merge remote-tracking branch 'origin/release/1.21.0' into merge-release-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
11 months ago
SessionHero01 75ccd3dd2b
Add a global state management for internet connectivity (#907) 11 months ago
SessionHero01 e5e00c4548
Onion paths as a StateFlow (#901) 11 months ago
SessionHero01 0dc8aa1410
Fix control message issues on leaving group (#904) 11 months ago
SessionHero01 bb7d867c46
Incorrect use of channel (#902) 11 months ago
AL-Session 748ccf06e7
fix/voice message upload duration ONLY (#894)
* 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 <aclansley@gmail.com>
11 months ago
SessionHero01 c9c2ccb044
[SES-2930] - Show the correct toast message when invitation fails (#900)
* Universal message handling for failing to send invitation

* Comment
11 months ago