Commit Graph

9158 Commits

Author SHA1 Message Date
bemusementpark
8037502f35 Clean CallManager etc 2024-07-19 13:06:52 +09:30
ThomasSession
19c991ebc8
New translation URL (#1555)
* Using the new translate URL

Cleaned up unused references

* empty space
2024-07-18 16:58:16 +10:00
ThomasSession
9e2b24f7b9
Feature/compose cleanup (#1543)
* Moving color files

* Moving theme classes into their own package

* Only obtain new theme when required

* UI Tweaks

Using the proper color for danger as opposed to one hardcoded color
Reusing BlackAlpha40
Using the right delete icon in settings

* matching figma

* Matching signature across buttons

* Dialogs do not have a 'x' button by default

* Updated typography

Updated the typography in an composition local so it can be accessed from anyehere in compose and matching the figma declarations.

* Centered text in control messages

* Fixing new color access for action items

* renaming spacing to be more general

* Unifying dimensions and rectifying design inconsistencies

Unifying spacing values and reusing common ones
Identified spacing issues and inconsistencies in design and figma

* Rounded corners for the new conversation sheet

* Rounding sheets corners

* Spacing fixes and UI consolidating

Discussed with QA to make sure the 'new message' screen should  indeed behave as the other screens and use disabled state instead of disappearing

* Disappearing messages tweaks

Re-using our new radio buttons in disappearing messages
Tweaking UI to match designs

* Cleaning up spaces

* Migrating to Material3

* Fixing UI issues found

* PR feedbacks

---------

Co-authored-by: bemusementpark <bemusementpark>
2024-07-18 16:32:03 +10:00
AL-Session
c31e89a13d
SES2405 - Mms Notification Adjustment (#1551)
* Fixes implemented

* Undid Java to Kotlin class conversion
2024-07-18 13:34:07 +10:00
AL-Session
d23a0b8ceb
Converted three classes to kotlin (#1552) 2024-07-18 13:17:17 +10:00
Andrew
e2a40ddabc
Merge pull request #1451 from bemusementpark/on-2
[SES-48 SES-824] Onboarding Overhaul
2024-07-18 11:20:32 +09:30
Morgan Pretty
b5a5e6504b
Merge pull request #1550 from mpretty-cyro/remove-attribution
Remove attribution from path screen
2024-07-18 09:19:41 +10:00
Morgan Pretty
afcb8c1150 Removed the attribution label 2024-07-18 09:11:37 +10:00
bemusementpark
5ebf314899 Revert name change in OpenGroupPoller 2024-07-17 16:41:55 +09:30
Morgan Pretty
d6ea2221ec
Merge pull request #1545 from mpretty-cyro/update-geolite2
Updated GeoLite2 database
2024-07-17 15:29:42 +10:00
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>
2024-07-17 15:16:12 +10:00
Morgan Pretty
bcf9d154f8 Resolving PR comment 2024-07-17 14:49:23 +10:00
bemusementpark
872cb8a204 Move Session id input box contentDescription 2024-07-17 12:38:48 +09:30
bemusementpark
8245e4ffe5 Rename remaining session id refs 2024-07-17 12:32:15 +09:30
Morgan Pretty
e8fdc57bf3 Merge branch 'dev' into update-geolite2 2024-07-17 10:42:11 +10:00
Morgan Pretty
e815a43cdf Added an attribution label to the PathActivity 2024-07-17 10:41:39 +10:00
bemusementpark
ce1790a895 Merge branch 'od' into on-2 2024-07-16 18:09:27 +09:30
Andrew
3bac04c863
Merge pull request #1546 from bemusementpark/update-libsession
Update libsession
2024-07-16 15:30:05 +09:30
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>
2024-07-16 15:41:46 +10:00
bemusementpark
66130a0517 Update libsession 2024-07-16 14:43:55 +09:30
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>
2024-07-16 11:28:50 +10:00
bemusementpark
6507b0a973 Fix snippet 2024-07-16 02:25:53 +09:30
bemusementpark
85ee87f619 Cleanup new account empty logic 2024-07-16 01:32:52 +09:30
bemusementpark
e001ccb283 Cleanup Recipient 2024-07-16 01:32:03 +09:30
bemusementpark
73bd407203 Optimise Validation 2024-07-16 01:07:20 +09:30
bemusementpark
593e417af5 Fix SessionContactDatabase 2024-07-16 00:08:24 +09:30
bemusementpark
a951d94e06 Fix OpenGroupMessage 2024-07-15 22:24:05 +09:30
Morgan Pretty
789d2b4a75 Updated the geolite2 database, removed the IP from the paths page 2024-07-15 17:08:42 +10:00
bemusementpark
941bcbc982 Merge branch 'dev' into on-2 2024-07-15 10:20:38 +09:30
bemusementpark
4bbdc79415 SES-2394 fix mic button enabled 2024-07-12 13:34:44 +09:30
bemusementpark
4c395cb71e Cleanup InputBar 2024-07-12 13:28:34 +09:30
bemusementpark
38e73cf514 Cleanup search processing 2024-07-12 12:32:59 +09:30
bemusementpark
e3a33ea615 Fix nickname change not updating in search 2024-07-12 12:32:48 +09:30
bemusementpark
0992d12d71 Add name to Model.Contact to fix diffing in search as Contact.equals only checks accountId 2024-07-12 12:09:48 +09:30
bemusementpark
afe1295289 Cleanup GlobalSearchViewModel 2024-07-12 11:48:39 +09:30
bemusementpark
cb8b9d63ac SES-2249 fix contentDescriptions 2024-07-12 00:08:42 +09:30
bemusementpark
e3b4636b42 Reopen app to pcurrently open activity 2024-07-11 23:52:29 +09:30
Andrew
8b230bd120
Merge pull request #1542 from bemusementpark/update-lib
Update libsession
2024-07-11 22:07:41 +09:30
bemusementpark
b453f69bfd Prefer to fail with InputTooShort over InvalidWord 2024-07-11 21:48:53 +09:30
bemusementpark
30ee3946ef Merge branch 'od' into on-2 2024-07-11 15:07:46 +09:30
bemusementpark
5fd2a8896f Update libsession 2024-07-11 14:59:19 +09:30
bemusementpark
e139afed6a Make loading animation work when animations are off 2024-07-11 14:58:18 +09:30
bemusementpark
eeabd32da4 Remove easing on progress animation 2024-07-11 11:46:34 +09:30
bemusementpark
95ecbe664d SES-2386 Account Creation Modal 2024-07-11 11:26:41 +09:30
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 <>
2024-07-11 09:44:17 +10:00
bemusementpark
4a2f6e7b4e Add test to ensure we error on scan account id when trying to recover an account 2024-07-10 23:48:28 +09:30
bemusementpark
71f04678cf Error-out when you scan an account id when trying to recover an account 2024-07-10 23:38:07 +09:30
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>
2024-07-09 16:23:26 +10:00
ThomasSession
de7df58503
Merge pull request #1540 from oxen-io/release/1.18.5
Dev: Release/1.18.5
2024-07-09 14:35:55 +10:00
ThomasSession
b036bafa12
Merge pull request #1538 from oxen-io/revert-1536-release/1.18.5
Revert "Release/1.18.5"
2024-07-09 14:09:52 +10:00