Commit Graph

9640 Commits (9f414aa52c9238efd3cfd70879da859097da9393)
 

Author SHA1 Message Date
ThomasSession 9f414aa52c
SES-2113 - Never display a username that matches that user's id. Truncate instead (#992) 2 months ago
SessionHero01 cffa2e1055
Merge pull request #991 from session-foundation/merge-1.21.0
Bring 1.21.0 back to dev
2 months ago
SessionHero01 8e07815e94
Merge remote-tracking branch 'origin/release/1.21.0' into merge-1.21.0
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
#	app/src/main/java/org/thoughtcrime/securesms/components/dialogs/DeleteMediaPreviewDialog.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationViewModel.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/QuoteView.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/model/DisplayRecord.java
#	app/src/main/java/org/thoughtcrime/securesms/dependencies/SessionUtilModule.kt
#	app/src/main/java/org/thoughtcrime/securesms/groups/GroupManagerV2Impl.kt
#	app/src/test/java/org/thoughtcrime/securesms/conversation/v2/ConversationViewModelTest.kt
2 months ago
ThomasSession bcabdc4fba
Fix/groupsv2 fixes (#989)
* SES-3431 no emoji reaciton on control messages

* SES-3423 Quoted messages styling

* clean up

* SES 3430 - delete media dialogs

* Update conversation when attachment changes
2 months ago
SessionHero01 32d5bfb132
Fix job queue issue resuming message send job (#990) 2 months ago
SessionHero01 b44ea31d8e
[SES-3434] - Fix receiving left groups' notification (#986)
* Fix still receiving generic notification for groups

* Imports

* Fixes tests

* Fixes compile issues
2 months ago
SessionHero01 119a3e7cfe
Make sure everyone can see resend invite option (#988) 2 months ago
SessionHero01 737cffc74a
Make sure group keys are pushed before anything else (#987) 2 months ago
ThomasSession 11a0ee9fbb
Fix/groupsv2 fixes (#985)
* SES-3431 no emoji reaciton on control messages

* SES-3423 Quoted messages styling

* clean up
2 months ago
SessionHero01 d7f697572e
Remove three dot menu for kicked group (#984) 2 months ago
AL-Session 6f75829bdb
fix/QA882 voice message duration on android 9 API 28 (#980)
* WIP

* Do not update final outgoing voice message duration as it's possible to miscalculate it on older Android versions

* Revert attempted hardening adjustments to DecodedAudio.kt

* Correct the voice message check & minor tidy

* Minor tidy up

* Addressed PR feedback to simplify

---------

Co-authored-by: alansley <aclansley@gmail.com>
2 months ago
ThomasSession 13c638f00d
Making sure we don't delete a NTS on restore (#982) 2 months ago
SessionHero01 652bc64cb4
Make sure we don't set our own profile pic from group messages (#981) 2 months ago
SessionHero01 0e62a2f301
[SES-3115] - Missing "xxx NOT SENT" status text (#975) 2 months ago
SessionHero01 4d4a48b689
Bump version code to 394 2 months ago
SessionHero01 02da89670d
Bump version code and legacy group deprecated dates for internal test release 2 months ago
ThomasSession d5e1082e2e
Key was changed again in crowdin (#974) 2 months ago
SessionHero01 45e1f6720d
[SES-3395] - Fix group notification issue (#973) 2 months ago
ThomasSession a1fd6cc1d8
Avatar reupload config update (#971)
* Making sure we update the config when reuploading an avatar as a way to keep the file server image alive

* Wrong error type

* PR feedback - cleaned up download usage
2 months ago
SessionHero01 2814e35fdb
Fixes crash on unexpected key messages (#972) 2 months ago
AL-Session d5b80440ad
Fix/SES-1789 Message info for send and receive (#970)
* WIP

* Implemented sent/sending/received behaviour

* Adding some left behind changes

* Make sure colons are added where needed in message info & that we don't show sending... AND an error msg

* Cleanup imports

* PR feedback

---------

Co-authored-by: alansley <aclansley@gmail.com>
2 months ago
Morgan Pretty 72a57cdd2f
Merge pull request #968 from mpretty-cyro/feature/libQuic-fixes
Fixes for libQuic merge
2 months ago
Morgan Pretty d455f65f82 Update to libSession 1.2.0 2 months ago
stfsession de73cdc6fb
[Automated] Update translations from Crowdin (#966)
Co-authored-by: mpretty-cyro <15862619+mpretty-cyro@users.noreply.github.com>
2 months ago
stfsession 1f716cc8e1
[Automated] Update translations from Crowdin (#966)
Co-authored-by: mpretty-cyro <15862619+mpretty-cyro@users.noreply.github.com>
2 months ago
SessionHero01 01b1d26f76
Subscribe to group config messages (#969) 2 months ago
SessionHero01 ad7792f659
Rework group poller lifecycle so that it supports polling once (#967) 2 months ago
Morgan Pretty 1106474002 Disabled the onion request (and libQuic) code in libSession 2 months ago
SessionHero01 df977ad15d
Fix compile issue (#965) 2 months ago
SessionHero01 0831c6621c
Changes to use load_admin_key (#964) 2 months ago
ThomasSession b412bf16ca
SES-3367 - properly allowing for user name edit in groups (#963) 2 months ago
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>
2 months ago
SessionHero01 097dc273b0
[SES-2970] - Add expired groups handling (#962) 2 months ago
stfsession b3623f2874
[Automated] Update translations from Crowdin (#960)
Co-authored-by: mpretty-cyro <15862619+mpretty-cyro@users.noreply.github.com>
2 months ago
stfsession 5f3b8e4ba8
[Automated] Update translations from Crowdin (#960)
Co-authored-by: mpretty-cyro <15862619+mpretty-cyro@users.noreply.github.com>
2 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>
2 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
2 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>
2 months ago
SessionHero01 b57097f9d1
[SES-3352] - Create group as a rollback-able process (#958) 2 months ago
SessionHero01 657e3e2b59
Update user config whenever group name changes (#956) 2 months ago
ThomasSession a5ad390cdd
Making sure the unblock banner shows the dialog first (#955) 2 months ago
SessionHero01 57a3c06923
Updated time format for deprecated time (#954) 2 months ago
ThomasSession 947bae2a25 SES-3258
Proper way to determine if a message is a control message
2 months ago
ThomasSession c35930c408 SES-3317 invalid phrase key for dual promotion 2 months ago
SessionHero01 8707bb0f6f
Merge pull request #953 from session-foundation/bring-1.21.0
Bring 1.21.0 to dev
2 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
2 months ago
SessionHero01 f5a76b23e1
Disable selecting message for post deprecated legacy groups (#950) 2 months ago
SessionHero01 f3b8dd5d37
Do not send control message for re-invite/re-promote (#951) 2 months ago
ThomasSession fb0dc85bff Proper names for visible message view 2 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
2 months ago