Commit Graph

2444 Commits (8245e4ffe540716e5bfb1bf5d8504ba1000703a4)

Author SHA1 Message Date
bemusementpark 8245e4ffe5 Rename remaining session id refs 9 months ago
bemusementpark ce1790a895 Merge branch 'od' into on-2 9 months ago
AL-Session 8a7f321ee0
SES2397 - Fix display name change fail feedback (#1544)
* Added check to not update display name if offline or should config sync fail

* Addressed PR feedback

* WIP

* Addressed PR feedback

* Adjusted phrasing of log statement

---------

Co-authored-by: alansley <aclansley@gmail.com>
9 months ago
AL-Session 1ca62629f6
SS-40 - MMS Notification Strings (#1541)
* Feature implemented

* Removed stray quotation mark

* Cleanup WIP

* Cleanup

* Addressed PR feedback

* Addressed further PR feedback

---------

Co-authored-by: alansley <aclansley@gmail.com>
9 months ago
bemusementpark 6507b0a973 Fix snippet 9 months ago
bemusementpark 85ee87f619 Cleanup new account empty logic 9 months ago
bemusementpark 593e417af5 Fix SessionContactDatabase 9 months ago
bemusementpark 4bbdc79415 SES-2394 fix mic button enabled 9 months ago
bemusementpark 4c395cb71e Cleanup InputBar 9 months ago
bemusementpark 38e73cf514 Cleanup search processing 9 months ago
bemusementpark e3a33ea615 Fix nickname change not updating in search 9 months ago
bemusementpark 0992d12d71 Add name to Model.Contact to fix diffing in search as Contact.equals only checks accountId 9 months ago
bemusementpark afe1295289 Cleanup GlobalSearchViewModel 9 months ago
bemusementpark cb8b9d63ac SES-2249 fix contentDescriptions 9 months ago
bemusementpark e3b4636b42 Reopen app to pcurrently open activity 9 months ago
bemusementpark 30ee3946ef Merge branch 'od' into on-2 9 months ago
bemusementpark e139afed6a Make loading animation work when animations are off 9 months ago
bemusementpark eeabd32da4 Remove easing on progress animation 9 months ago
bemusementpark 95ecbe664d SES-2386 Account Creation Modal 9 months ago
ThomasSession b510b064cf
[SES-1652] Swap video views in calls (#1533)
* WIP: swap video views

* feat: swap video views

* minor fixes

* minor fix

* minor fix

* update libsession-util

* Revert "update libsession-util"

This reverts commit 0d386e706e.

* reverse updating libsession-util

* update libsession-util

* Tweaking colors to match designs

* More theme fixes

* WebRTC rework

Only using two sinks and swapping between them
Reworked the device rotation logic as it didn't work well with pitch ( you could tip the device front to back and the rotation went out of whack, so had to resort to more robust calculation for the device orientation.
Had to use a deprecated sensor setting but it's the only one I could use that works.

* Video management logic update

Rounded corners for floating inset
Proper handling of video scaling based on video proportions
Proper handling of mirroring logic for floating/fullscreen videos depending on whether they are the user or the remote video and whether the camera is front facing or not

* Showing floating video inset only when there is at least one video stream active, hiding it when both are inactive

* Rotating controls on rotation

* Clean up

* Review feedback

* OrientationManager

The new OrientationManager encapsulate the orientation logic and sends out a mutable state flow

* PR feedback

---------

Co-authored-by: Ryan Zhao <ryanzhaors@qq.com>
Co-authored-by: Ryan ZHAO <>
9 months ago
AL-Session 2e3acd902f
SS-2168 - User profile warnings (#1531)
* Profile picture upload fail informs user

* End of day push

* Push before trying with okhttp library update

* WIP

* Further WIP

* Add additional debug comments

* Push before cleanup

* Cleaned up

* More cleanup

* Minor adjustment

* Final cleanup prior to PR review

* Removed commented out old conscrypt version import

* Addressed PR feeback from Fanchao

---------

Co-authored-by: alansley <aclansley@gmail.com>
9 months ago
ThomasSession de7df58503
Merge pull request #1540 from oxen-io/release/1.18.5
Dev: Release/1.18.5
9 months ago
ThomasSession ad0b1a9db7
Revert "Release/1.18.5 (#1536)"
This reverts commit 8c4bd9b448.
9 months ago
ThomasSession 8c4bd9b448
Release/1.18.5 (#1536)
* Fix issue with span being the full length (#1528)

* Proper display of unresolved names in mentions (#1530)

* Fix issue with span being the full length

* Making sure a mention with a username without a resolved name still displayed with the appropriate style with the truncated is

* Testnet build (#1532)

Co-authored-by: fanchao <git@fanchao.dev>

* Allow "public.loki.foundation" to be accessed by http (#1534)

Co-authored-by: fanchao <git@fanchao.dev>

* Bumping the version code and name

* Reverting temporary change

---------

Co-authored-by: Fanchao Liu <273191+simophin@users.noreply.github.com>
Co-authored-by: fanchao <git@fanchao.dev>
9 months ago
ThomasSession 2b27b7d5e0 Bumping the version code and name 9 months ago
bemusementpark 84b1fb6527 Truncate name to 100 bytes on restore account 9 months ago
Fanchao Liu 075341abe1
Allow "public.loki.foundation" to be accessed by http (#1534)
Co-authored-by: fanchao <git@fanchao.dev>
9 months ago
bemusementpark fa5b10e2e1 Merge remote-tracking branch 'ry/poller-fix' into on-3 10 months ago
bemusementpark 9c10bbfe65 Merge branch 'od' into on-2 10 months ago
ThomasSession 15b3b18321
Proper display of unresolved names in mentions (#1530)
* Fix issue with span being the full length

* Making sure a mention with a username without a resolved name still displayed with the appropriate style with the truncated is
10 months ago
ThomasSession bbb1b2b517
Fix issue with span being the full length (#1528) 10 months ago
bemusementpark 81f9bf9412 Fix refresh on open search 10 months ago
bemusementpark a4ee521ee0 Fix Search 10 months ago
bemusementpark ca66d115a3 Unknown contact should go under # 10 months ago
bemusementpark 39f9b959ce Add dialog to backpress on create account flow 10 months ago
bemusementpark 4660905c09 Remove unneeded SEEN_WELCOME_SCREEN_PREF 10 months ago
bemusementpark 40b901d417 Kick user to welcome screen if they have no account id 10 months ago
AL-Session 1e02845fd2
[SES-1486] Short voice message fix (#1523)
* Initial working push with debug comments

* Fixes #1522

* Cleanup, prevent multi-pointer recording, and don't show short msg toast if locked to record quickly

* Adjusted comment phrasing

* Fix comment phrasing

* Fixed inadvertant short voice message toast on exit conversation activity

* Comment adjustment

* Comment phrasing

* Adjusted AudioRecorder.startRecording to take a callback function rather than the InputBar

* Performed Thomas' PR feedback

* Move comment to more relevant place

* Removed unused / leftover callback definition

* Removed all redundant null checks after asserting binding is not null

* Removed remaining not-null assertions & added some logged feedback to fail states

* Addressed PR feedback

* Implemented additional PR feedback

* Adjusted InputBar property visibility as per PR feedback & adjusted Toast string following discussion with Lucy

* Minor adjustment to inform user if we see an obvious network issue when sending a voice message - also tweak the locked Cancel button size to prevent text entry when locked to voice recording

* Adjust comment phrasing following further testing

* Added TODO comments to replace hard-coded string in toasts

* Addressed Thomas PR feedback suggestion

* Addressed another feedback suggestion

* Adjustment to continue informing user of network / node path issues

* Improved & moved network check method

* Corrected ticket number into TODO comments

* Addressed Andy PR feedback

* Adjust network connectivity checks to just log issues rather than inform the user (as per Rebecca / Kee convo)

---------

Co-authored-by: alansley <aclansley@gmail.com>
10 months ago
bemusementpark 7111bb7725 Merge branch 'od' into on-2 10 months ago
bemusementpark ae4c6b8a4e Fix RadioButton a11y 10 months ago
AL-Session a30f00104e
[SS-54] Add dialog to allow local deletion if network deletion fails (#1526)
* WIP

* Push before attempting some HTTPRequestFailedException rate limiting

* Functionality now works

* Merging dev resulted in some subproject commit change so pushing that

* Fixes #1525

* Addressed Andy PR feedback

* Addressed further PR feedback from Andy

---------

Co-authored-by: alansley <aclansley@gmail.com>
10 months ago
bemusementpark d4c433a926 Fix shareFlow#tryEmit in pick display name 10 months ago
bemusementpark 508547a013 Defer setting display name until necessary in create flow in onboarding 10 months ago
bemusementpark 9cf3a37a2b Handle backpresses in onboarding 10 months ago
Fanchao Liu 0da949c8e6
[SES-1966] Attachment batch download and tidy-up (#1507)
* Attachment batch download

* Addressed feedback and test issues

* Feedback fixes

* timedWindow for flow

* Feedback

* Dispatchers

* Remove `flowOn`

* New implementation of timedBuffer

* Organise import

* Feedback

* Fix test

* Tidied up logic around `eligibleForDownload`

* Updated comment

---------

Co-authored-by: fanchao <git@fanchao.dev>
10 months ago
Fanchao Liu fec67e282a
[SES-2018] Refactor mention (#1510)
* Refactor mention

* Fixes robolectric test problem

* Fixes tests

* Naming and comments

* Naming

* Dispatcher

---------

Co-authored-by: fanchao <git@fanchao.dev>
10 months ago
bemusementpark d621036af6 Rename LoadAccountViewModel 10 months ago
ceokot a260717d42
Highlight @You mentions (#985)
* Highlight @You mentions

* fix: resolve merge conflicts

* Setting the proper design rules for mentions

* New RoundedBackgroundSpan, applied to "you"  mentions

The rounded background highlighter can take padding, so there is no need to add those extra spaces at the start and end.

* Better mention highlight logic

Some mention highlight should only format the text and not apply any styling.
Also making sure we cater for all cases properly

* Updated the text color logic based on design rules

* Fine tuning the color rules

* Removing usage of Resources.getSystem()

Only making the db call if there actually is a mention

* Moving color definition outside the loop to avoid repetitions

---------

Co-authored-by: charles <charles@oxen.io>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
10 months ago
bemusementpark 1f7a1c7e0d Fix copy mnemonic 10 months ago
bemusementpark aac228ba91 Remove unused button 10 months ago