Commit Graph

2319 Commits

Author SHA1 Message Date
bemusementpark
ce501fd363 Move invalidateComposeThemeColors() 2024-07-30 00:19:16 +09:30
bemusementpark
447ea85333 Improve naming 2024-07-29 17:35:55 +09:30
bemusementpark
7bb1a3a513 Suppress compose name warning 2024-07-29 16:36:17 +09:30
bemusementpark
25e7c7ec61 Simplify ThemeFromPreferences by removing lambdas 2024-07-29 16:32:26 +09:30
bemusementpark
492d5217d0 Add colors lambda 2024-07-29 14:49:37 +09:30
bemusementpark
90f6fee579 Change ThemeColorSet naming 2024-07-26 21:49:55 +09:30
bemusementpark
80d08a5fb2 Fix follow light 2024-07-26 21:43:10 +09:30
ThomasSession
2818552519
Merge pull request #1574 from oxen-io/fix/next-button-and-blinded-search
Fix/next button and blinded search
2024-07-26 17:26:50 +10:00
ThomasSession
55ec4e1549
Update app/src/main/java/org/thoughtcrime/securesms/conversation/start/newmessage/NewMessage.kt
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
2024-07-26 16:23:33 +10:00
ThomasSession
456f8d0b3a Handling keyboard inset for Android sdk < 30 2024-07-26 15:49:41 +10:00
ThomasSession
c883b8dc91
Merge pull request #1571 from bemusementpark/qa-20
[QA-20] Show Account Created empty view only for newAccounts
2024-07-26 14:16:09 +10:00
bemusementpark
af302d4d43 Change conversations heading in search 2024-07-26 10:13:51 +09:30
bemusementpark
143d4c462a Show Account Created empty view only for newAccounts 2024-07-26 09:47:57 +09:30
ThomasSession
e813756fb3 Adding the long press fix in 1.19.0 2024-07-25 16:26:02 +10:00
Andrew
bc968dcdae
Fix incorrect scale on back camera in reverse landscape (#1559)
Co-authored-by: bemusementpark <bemusementpark>
2024-07-22 14:28:12 +10:00
Andrew
bb239a4048
Fix WebRtcCallService (#1558)
Co-authored-by: bemusementpark <bemusementpark>
2024-07-22 10:47:53 +10:00
bemusementpark
5a931845cb Add TelephonyHandler.kt 2024-07-19 14:54:52 +09:30
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
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
afcb8c1150 Removed the attribution label 2024-07-18 09:11:37 +10:00
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
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
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
593e417af5 Fix SessionContactDatabase 2024-07-16 00:08:24 +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
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
bemusementpark
30ee3946ef Merge branch 'od' into on-2 2024-07-11 15:07:46 +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