Commit Graph

2893 Commits (c358111363533e42c9169c0a36623e9c7c9f8d94)

Author SHA1 Message Date
SessionHero01 c358111363
Fixes flashing on search result list 10 months ago
SessionHero01 15aa91bae9
[SES-3536] - Unable to navigate back on search screen (#1031) 10 months ago
SessionHero01 0b4a14313e
Fixprod crashes (#1028) 10 months ago
SessionHero01 5cfc87e38f
Fix a potential crash when handling member removal offline (#1025)
* Fix a potential crash handling member removal

* Change how the class is instantiated

* Additional GH triggers
10 months ago
AL-Session 635cee1585
fix/prevent_button_spam_on_scroll_to_replied_message - and VisibleMessageViews in general (#983)
* WIP

* Minor tidyup

* Removed some blank lines

* Fix typo

* Tweaks

---------

Co-authored-by: alansley <aclansley@gmail.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
10 months ago
AL-Session 58e142c5d2
Fix/SES-3278 prevent multimedia send to blinded recipients and tint buttons 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 <aclansley@gmail.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
10 months ago
ThomasSession b6e6b68554
Fix/qa fixes (#1024)
* SES-3512 - Different strings for call baner based on state

* SES-3513 - Missed calls case on remote hangup

* updated readme for BrowserStack
10 months ago
ThomasSession 1bca395711
Merge pull request #1023 from session-foundation/release/1.21.1
Release/1.21.1
10 months ago
ThomasSession 4ac35f2be3
QA Fix ups (#1020)
* 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
10 months ago
SessionHero01 9575db64fd
Add github action workflow (#1016)
* 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
10 months ago
SessionHero01 db18b8023c
Catch huawei init code 10 months ago
SessionHero01 e95fa6cc03
Merge pull request #1018 from session-foundation/release/1.21.1
Bring 1.21.1 back to dev
10 months ago
SessionHero01 3e7c025161
Update AGP and a few essential dependencies (#1017) 10 months ago
SessionHero01 36590bea81
Fix website variant build (#1015) 10 months ago
SessionHero01 bbdfec3a47
Add resetToken to TokenFetcher (#1009)
* Add resetToken to TokenFetcher

* Remove import
10 months ago
SessionHero01 8aaf985cdd
Bump version to 1.21.1 10 months ago
ThomasSession 3ba50dae3f
SES-3506 open document messages on tap (#1013)
* SES-3506 open document messages on tap

* Clean up

* PR feedback
10 months ago
ThomasSession 01c3003b36
Feature/calls kee updates (#1007)
* SES-3469 Fixing shortcut activity

* Reduce the time shown from 00:00:00 to 00:00 expand as needed when call exceeds the time which can be shown in 00:00

* Moved the voice setting to the top of the privacy page, and allowed for auto toggle of settings

* Disabling the switch camera butotn when not in video

* Moving logic into VM and adding step counter

* comments

* PR feedback - not exposing a mutable set
10 months ago
SessionHero01 2196c74563
Compilation issue 10 months ago
SessionHero01 46303e2168
Merge remote-tracking branch 'origin/dev' into merge-1.21.0
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsViewModel.kt
#	app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt
10 months ago
SessionHero01 3bdba5374e
Increase build version and updated deprecation dates (#1008) 10 months ago
SessionHero01 c55840addd
Logs 10 months ago
SessionHero01 37fa8e4ae2
Update to what counts as connected 10 months ago
SessionHero01 54ec9e5d10
Renamed 10 months ago
SessionHero01 84d775cd06
Merge remote-tracking branch 'origin/release/1.21.0' into release/1.21.0 10 months ago
SessionHero01 c5912c36e0
Fix falsely reported internet connectivity 10 months ago
ThomasSession 8e1ca752d9 Fixing logs sharing crashing 10 months ago
ThomasSession d6584cee3c
Merge pull request #1001 from session-foundation/release/1.21.0
Release/1.21.0
10 months ago
SessionHero01 24ecc849c6
Bump version code to 395 10 months ago
SessionHero01 73db78ab5d
Enable libsession login (#999) 10 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>
10 months ago
ThomasSession 1e22157004
Merge pull request #998 from session-foundation/release/1.21.0
Release/1.21.0
10 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>
10 months ago
SessionHero01 b7ab2c51db
Group poller tweaks (#995) 10 months ago
SessionHero01 bd90383a02
Disable three dot menu for kicked groups too (#993) 11 months ago
ThomasSession 9f414aa52c
SES-2113 - Never display a username that matches that user's id. Truncate instead (#992) 11 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
11 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
11 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
11 months ago
SessionHero01 119a3e7cfe
Make sure everyone can see resend invite option (#988) 11 months ago
SessionHero01 737cffc74a
Make sure group keys are pushed before anything else (#987) 11 months ago
ThomasSession 11a0ee9fbb
Fix/groupsv2 fixes (#985)
* SES-3431 no emoji reaciton on control messages

* SES-3423 Quoted messages styling

* clean up
11 months ago
SessionHero01 d7f697572e
Remove three dot menu for kicked group (#984) 11 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>
11 months ago
ThomasSession 13c638f00d
Making sure we don't delete a NTS on restore (#982) 11 months ago
SessionHero01 0e62a2f301
[SES-3115] - Missing "xxx NOT SENT" status text (#975) 11 months ago
SessionHero01 4d4a48b689
Bump version code to 394 11 months ago
SessionHero01 02da89670d
Bump version code and legacy group deprecated dates for internal test release 11 months ago
SessionHero01 45e1f6720d
[SES-3395] - Fix group notification issue (#973) 11 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
11 months ago