Commit Graph

9080 Commits (5061d3724b6fcd09d01b04b75e055955745f6577)
 

Author SHA1 Message Date
ThomasSession 5061d3724b Dialogs do not have a 'x' button by default
ThomasSession af1c39b88c Matching signature across buttons
ThomasSession 666a04c432 Merge branch 'pr/1451' into feature/compose-cleanup
ThomasSession 127ac1cee3 matching figma
bemusementpark cb8b9d63ac SES-2249 fix contentDescriptions
bemusementpark e3b4636b42 Reopen app to pcurrently open activity
bemusementpark b453f69bfd Prefer to fail with InputTooShort over InvalidWord
ThomasSession 1466897ce5 UI Tweaks
Using the proper color for danger as opposed to one hardcoded color
Reusing BlackAlpha40
Using the right delete icon in settings
ThomasSession e45ee133bf Merge branch 'dev' into feature/compose-cleanup
bemusementpark 30ee3946ef Merge branch 'od' into on-2
bemusementpark e139afed6a Make loading animation work when animations are off
ThomasSession ce0308e699 Only obtain new theme when required
bemusementpark eeabd32da4 Remove easing on progress animation
bemusementpark 95ecbe664d SES-2386 Account Creation Modal
ThomasSession b510b064cf
[SES-1652] Swap video views in calls ()
* 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 <>
bemusementpark 4a2f6e7b4e Add test to ensure we error on scan account id when trying to recover an account
bemusementpark 71f04678cf Error-out when you scan an account id when trying to recover an account
ThomasSession 2194d0d1df Moving theme classes into their own package
ThomasSession d4e3c58dd7 Moving color files
AL-Session 2e3acd902f
SS-2168 - User profile warnings ()
* 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>
ThomasSession de7df58503
Merge pull request from oxen-io/release/1.18.5
Dev: Release/1.18.5
ThomasSession b036bafa12
Merge pull request from oxen-io/revert-1536-release/1.18.5
Revert "Release/1.18.5"
ThomasSession ad0b1a9db7
Revert "Release/1.18.5 ()"
This reverts commit 8c4bd9b448.
ThomasSession 8c4bd9b448
Release/1.18.5 ()
* Fix issue with span being the full length ()

* Proper display of unresolved names in mentions ()

* 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 ()

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

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

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>
ThomasSession 0300be25f6 Reverting temporary change
ThomasSession 2b27b7d5e0 Bumping the version code and name
bemusementpark 84b1fb6527 Truncate name to 100 bytes on restore account
bemusementpark 1570e2338d Update libsession-util/libsession-util
Fanchao Liu 075341abe1
Allow "public.loki.foundation" to be accessed by http ()
Co-authored-by: fanchao <git@fanchao.dev>
Fanchao Liu e1f1372e17
Testnet build ()
Co-authored-by: fanchao <git@fanchao.dev>
bemusementpark fe0cbcd551 Fix Poller Log TAG
bemusementpark fa5b10e2e1 Merge remote-tracking branch 'ry/poller-fix' into on-3
bemusementpark 9c10bbfe65 Merge branch 'od' into on-2
ThomasSession 15b3b18321
Proper display of unresolved names in mentions ()
* 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
ThomasSession bbb1b2b517
Fix issue with span being the full length ()
bemusementpark 81f9bf9412 Fix refresh on open search
bemusementpark a4ee521ee0 Fix Search
bemusementpark ca66d115a3 Unknown contact should go under #
bemusementpark 39f9b959ce Add dialog to backpress on create account flow
bemusementpark 4660905c09 Remove unneeded SEEN_WELCOME_SCREEN_PREF
bemusementpark 40b901d417 Kick user to welcome screen if they have no account id
AL-Session 1e02845fd2
[SES-1486] Short voice message fix ()
* Initial working push with debug comments

* Fixes 

* 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>
bemusementpark 7111bb7725 Merge branch 'od' into on-2
bemusementpark ae4c6b8a4e Fix RadioButton a11y
AL-Session a30f00104e
[SS-54] Add dialog to allow local deletion if network deletion fails ()
* WIP

* Push before attempting some HTTPRequestFailedException rate limiting

* Functionality now works

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

* Fixes 

* Addressed Andy PR feedback

* Addressed further PR feedback from Andy

---------

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

* Fixes robolectric test problem

* Fixes tests

* Naming and comments

* Naming

* Dispatcher

---------

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