Commit Graph

9653 Commits (d6584cee3cee5c88f9306b3888594f1c216a2c50)
 

Author SHA1 Message Date
ThomasSession d6584cee3c
Merge pull request #1001 from session-foundation/release/1.21.0
Release/1.21.0
2 months ago
SessionHero01 703136eb94
Merge pull request #1000 from session-foundation/merge-libsession
Update libsession-util to v1.2.1
2 months ago
SessionHero01 24ecc849c6
Bump version code to 395 2 months ago
SessionHero01 cc06a4c775
Update libsession-util to v1.2.1 2 months ago
SessionHero01 73db78ab5d
Enable libsession login (#999) 2 months ago
ThomasSession bde6d4c40a
Updated Calls (#917)
* Call tweaks pt1

Removed wake lock code
Tweaked permissions
Sending a manual fullscreen notification when the service can't be started
Manual code to not clear notifications for calls related pn
Fixed issue in pn decrypt code
Changed logic to display generic notification
Generic notificaiton is now clickable

* Making the CallService a singleton instead of an Android service as a quick way to avoid the complications that come with System services

* Making the call Service a regular class as opposed to an Android service in order to help avoid the system limitation when the app is in the bg or killed

* Cleaning up call new setup

* Declining or hanging up from notificaiton does not go via activity anymore, but via a reveicer

* Reworked rtc states and added titles and subtitles

* Making sure we do not try to connect if already connected

* Renaming rtc service to rtc bridge

* Cleaning up usage of "wants to answer"

* updated todos

* Moving classes into the webrtc package for clarity

* Added banner to get back to call

* Added the ability to ignore a call when swiping off notification

Ignoring the call from the point of view of the person ignoring acts as if the call was gone, but from the point of view of the caller the call continues to ring

* Animating banenrs

* Added service to maintain app process during call

* New title/subtitle/call time ui position

Also reworked some "has accepted call" logic

* Making the "as accepted call" as a flow so the ui can change rapidly

* Call notification logic

Do not show a declined call as a missed call since you actively declined it.
Do not show incoming and outgoing successful call control messages as unread. They should be read by default since you know about the call.

* Using internet connectivity class

* Better handling of bluetooth audio and speaker toggle

* Cleaning up logs

* Cleaned up l ogs

* Cleaning up the muting  logic. Not enforcing unmuting on answer/call start but instead preserve the toggle choice

* Cleaning up speakerphone toggle  logic

* Cleaning up video toggle logic

Moving logic away from the bridge staight to the call manager

* Cleaning up flip camera logic

* Simplify answer call logic

* Cleaning up logic to call the bridge or call manager directly

* Cleaning up usage of intents

* Cleaning up more intents

* Cleaning intents and simplifying logic

* Cleaning out intents and making sure we use the executor

* Making sure toasts are on the main thread

* Cleaned up todos

* Update app/src/main/java/org/thoughtcrime/securesms/home/HomeViewModel.kt

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>

* PR feedback cleanup

* Addressing the PR feedback

* Resolving conflicts and issues from dev

---------

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
2 months ago
ThomasSession 1e22157004
Merge pull request #998 from session-foundation/release/1.21.0
Release/1.21.0
2 months ago
Morgan Pretty 83e9f8e09c
Merge pull request #997 from mpretty-cyro/feature/libsession-logging
Added code to output libSession logs
2 months ago
Morgan Pretty fbd1975673 Removed unnecessary header file 2 months ago
ThomasSession c3c903caed
Polling node rotation (#996)
* Rethinking poller logic

* Reworking poller logic

Reworked the poller as the logic wasn't correctly rotating across snodes beyond on exception thrown, which caused issues when landing on a snode with no data which isn't an exception.
Moved away from Promises in favour of coroutines

* Update libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/Poller.kt

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>

* PR feedback

* Using same size as messages for input text in convo

* PR feedback

---------

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
2 months ago
Morgan Pretty 3a339b15f9 Added code to output libSession logs 2 months ago
SessionHero01 b7ab2c51db
Group poller tweaks (#995) 2 months ago
SessionHero01 bd90383a02
Disable three dot menu for kicked groups too (#993) 2 months ago
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