Commit Graph

9306 Commits (f44d066e671419bd33d39d318a9d4a60a1e50a63)
 

Author SHA1 Message Date
Morgan Pretty afcb8c1150 Removed the attribution label 9 months ago
bemusementpark 5ebf314899 Revert name change in OpenGroupPoller 9 months ago
Morgan Pretty d6ea2221ec
Merge pull request #1545 from mpretty-cyro/update-geolite2
Updated GeoLite2 database
9 months ago
ThomasSession 01cd449794
Fix/video call rotation and avatars (#1548)
* Simplifying profile picture view

We don't need the isLarge option as the component's size is always set.
Using profilePictureView in the call screen.

* Swapping avatars between user and contact's

* Adding the user's avatar for when it  needs to be displayed

* Making sure we never invert the contact's landscape rotation

* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt

Co-authored-by: Andrew <andrewgallasch@gmail.com>

* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt

Co-authored-by: Andrew <andrewgallasch@gmail.com>

* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt

Co-authored-by: Andrew <andrewgallasch@gmail.com>

---------

Co-authored-by: Andrew <andrewgallasch@gmail.com>
9 months ago
Morgan Pretty bcf9d154f8 Resolving PR comment 9 months ago
bemusementpark 872cb8a204 Move Session id input box contentDescription 9 months ago
bemusementpark 8245e4ffe5 Rename remaining session id refs 9 months ago
Morgan Pretty e8fdc57bf3 Merge branch 'dev' into update-geolite2 9 months ago
Morgan Pretty e815a43cdf Added an attribution label to the PathActivity 9 months ago
bemusementpark ce1790a895 Merge branch 'od' into on-2 9 months ago
Andrew 3bac04c863
Merge pull request #1546 from bemusementpark/update-libsession
Update libsession
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
bemusementpark 66130a0517 Update libsession 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 e001ccb283 Cleanup Recipient 9 months ago
bemusementpark 73bd407203 Optimise Validation 9 months ago
bemusementpark 593e417af5 Fix SessionContactDatabase 9 months ago
bemusementpark a951d94e06 Fix OpenGroupMessage 9 months ago
Morgan Pretty 789d2b4a75 Updated the geolite2 database, removed the IP from the paths page 9 months ago
bemusementpark 941bcbc982 Merge branch 'dev' into on-2 9 months ago
bemusementpark 4bbdc79415 SES-2394 fix mic button enabled 10 months ago
bemusementpark 4c395cb71e Cleanup InputBar 10 months ago
bemusementpark 38e73cf514 Cleanup search processing 10 months ago
bemusementpark e3a33ea615 Fix nickname change not updating in search 10 months ago
bemusementpark 0992d12d71 Add name to Model.Contact to fix diffing in search as Contact.equals only checks accountId 10 months ago
bemusementpark afe1295289 Cleanup GlobalSearchViewModel 10 months ago
bemusementpark cb8b9d63ac SES-2249 fix contentDescriptions 10 months ago
bemusementpark e3b4636b42 Reopen app to pcurrently open activity 10 months ago
Andrew 8b230bd120
Merge pull request #1542 from bemusementpark/update-lib
Update libsession
10 months ago
bemusementpark b453f69bfd Prefer to fail with InputTooShort over InvalidWord 10 months ago
bemusementpark 30ee3946ef Merge branch 'od' into on-2 10 months ago
bemusementpark 5fd2a8896f Update libsession 10 months ago
bemusementpark e139afed6a Make loading animation work when animations are off 10 months ago
bemusementpark eeabd32da4 Remove easing on progress animation 10 months ago
bemusementpark 95ecbe664d SES-2386 Account Creation Modal 10 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 <>
10 months ago
bemusementpark 4a2f6e7b4e Add test to ensure we error on scan account id when trying to recover an account 10 months ago
bemusementpark 71f04678cf Error-out when you scan an account id when trying to recover an account 10 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>
10 months ago
ThomasSession de7df58503
Merge pull request #1540 from oxen-io/release/1.18.5
Dev: Release/1.18.5
10 months ago
ThomasSession 84c5ebee6f
Merge pull request #1539 from oxen-io/release/1.18.5
Master: Release/1.18.5
10 months ago
ThomasSession cfd30bd8ae
Merge pull request #1537 from oxen-io/revert-1535-release/1.18.5
Revert "Release/1.18.5"
10 months ago
ThomasSession b036bafa12
Merge pull request #1538 from oxen-io/revert-1536-release/1.18.5
Revert "Release/1.18.5"
10 months ago
ThomasSession ad0b1a9db7
Revert "Release/1.18.5 (#1536)"
This reverts commit 8c4bd9b448.
10 months ago
ThomasSession e6762a12d0
Revert "Release/1.18.5 (#1535)"
This reverts commit 7f90a9866b.
10 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>
10 months ago
ThomasSession 7f90a9866b
Release/1.18.5 (#1535)
* fix: Authenticate all Open Group API calls

* Use unblinded authentication when we have `capabilities` data for the open group server we are sending the request to but don't have the `blind` capability
* Use blinded authentication when we haven't gotten any `capabilities` for an open group server, or if we have `capabilities` and the server has the `blind` capability

* Hide send button when message contains only whitespace

* Fix bug displaying user ID when quoting own message

* Fix notification update for incoming unsend request

* Improve check if author is own user when quoting messages

* Fixed video call auto rotate, when auto rotate is disabled

* refactor: simplify comparison

* Stop playing message if deleted

* Accidental change

* Accidental change

* Comments

* Feedback

* Comments

* Import

* Fix delete message for everyone doesn't stop the audio playing

* Correct the usage of flowOn

* Import

* Optimise XML

* Remove unused file

* Remove view pools

* Remove the use of executor in ThreadUtils

* Using trim and empty to capture semantic concept of nothing being in there

* Remove config checks (PR 1294)

Refactor: remove checks for whether new config is enabled throughout config factory generation.
First commit from PR 1294.

* [SES-2162] - Remove wrapping of config message (#1517)

* Remove wrapping of config message

* Addresses feedback

* Merged in ThreadUtils fix

* JDK installation

* Revert JDK change

---------

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

* Update libsession

* [SES-337] Add rounded corners to thumbnail in QuoteView (#1285)

* Add rounded corners to thumbnail in QuoteView

* Simplify ThumbnailView

* Cleanup ThumbnailView

* Removed include custom attributes

The custom attributes are not passed to the view.
I added the radius programatically instead.

* Clipping whole thumbnail view instead of just the image requests

---------

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>

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

* [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>

* [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>

* 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: charles <charles@oxen.io>
Co-authored-by: andrew <andrewgallasch@gmail.com>
Co-authored-by: aaronkerckhoff <aaronkerckhoff@gmail.com>
Co-authored-by: Rugved Darwhekar <darwhekarrugved@gmail.com>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
Co-authored-by: fanchao <git@fanchao.dev>
Co-authored-by: Fanchao Liu <273191+simophin@users.noreply.github.com>
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: ceokot <ceokot@users.noreply.github.com>
10 months ago
ThomasSession 0300be25f6 Reverting temporary change 10 months ago