Commit Graph

2443 Commits

Author SHA1 Message Date
ThomasSession
80933938e1
Removing unsed UI tests (#1625)
We need to rethink the UI tests if we do indeed want to use them as they are not tied to the existing flow anymore
2024-08-19 13:56:35 +10:00
Fanchao Liu
16d6efbb5b
SES-2524 - Rewrite media gallery in Compose (#1619) 2024-08-19 13:46:38 +10:00
ThomasSession
f379604c54
Feature/convo capitalised (#1624)
* [SES-2551] capitalising sentences in convos

* [SES-2555] Add bg to image loading

* Using Robolectric to fix the tests
2024-08-19 09:35:11 +10:00
ThomasSession
bc6718e996
Feature/resource cleanup (#1623)
* Removing unrequired APi checks

* Bumping min sdk to 26 and further cleaning version checks

* More clean ups

* Removed unused class

* Clean up

* Clean up

* Clean up

* Clean up

* Clean up

* Clean up

* Clean up

* Clean up
2024-08-19 09:25:53 +10:00
ThomasSession
93a28906fb
Removing unrequired APi checks (#1620)
* Removing unrequired APi checks

* Bumping min sdk to 26 and further cleaning version checks

* More clean ups

* Removed unused class
2024-08-15 15:32:41 +10:00
fanchao
50929b8970 Merge remote-tracking branch 'origin/dev' into release/1.19.1
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/components/AvatarImageView.java
#	gradle.properties
2024-08-14 10:47:16 +10:00
fanchao
09e46134e6 Fix crashes destroying conversation activity 2024-08-13 14:29:22 +10:00
fanchao
bc3f33701e Remove unused resources 2024-08-13 14:03:22 +10:00
ThomasSession
d82c5b6a1b Migrate exoplayer to media3 2024-08-13 13:57:40 +10:00
ThomasSession
53c1fd5e9c Removing Glide 2024-08-13 13:50:21 +10:00
ThomasSession
c3d928ed8c Using PLAN_B for now to make it work with the old code 2024-08-13 13:49:57 +10:00
ThomasSession
84896f8d23 Updated to latest web-rtc library
It seems setWebRtcBasedAcousticEchoCanceler and setBlacklistDeviceForOpenSLESUsage are no longer available.
What this means is unclear and the new library might be handling certain things internally
2024-08-13 13:49:57 +10:00
ThomasSession
26b186452a Replace image cropping library 2024-08-13 13:49:57 +10:00
ThomasSession
62873ee773 Removed com.amulyakhare.textdrawable
Cleaned up references to TextDrawable.
Also cleaned up the way we  load layered drawables, used in ProfilePictureView for the load state as the icons were stretched across and didn't look nice.
2024-08-13 13:49:57 +10:00
ThomasSession
f865f9f8ed Merge branch 'dev' into merge/1.19.0 2024-08-08 10:55:55 +10:00
ThomasSession
4e741e68f3 Adding back the fullscreen intent permission 2024-08-08 09:20:38 +10:00
ThomasSession
80216e995e Removing the snodes version patch 2024-08-08 09:19:49 +10:00
ThomasSession
b089677860 Merge branch 'master' into release/1.19.0 2024-08-08 09:17:59 +10:00
ThomasSession
a742620b6f Not needed anymre 2024-08-07 16:01:25 +10:00
ThomasSession
fe1fe2e109 Merge branch 'fix/removing-ad-id' of https://github.com/oxen-io/session-android into fix/removing-ad-id 2024-08-07 15:57:56 +10:00
ThomasSession
bbac0939f5 Unchecked code 2024-08-07 15:57:44 +10:00
alansley
76a74f7e9f Upgraded firebase from v18.0.0 to v24.0.0 2024-08-07 15:31:19 +10:00
ThomasSession
2b8d2d49e8 Making sure we do not have AD_ID in the app 2024-08-07 12:50:14 +10:00
ThomasSession
71f9548343 comments 2024-08-06 14:59:41 +10:00
ThomasSession
514c19e33f Relying on the home config sync 2024-08-06 14:58:54 +10:00
ThomasSession
96dded096f Making sure the username is saved when creating an account 2024-08-06 12:24:42 +10:00
Andrew
d6c5ab2b18
Merge pull request #1593 from bemusementpark/more-snodes
Optimise SnodeAPI and Add Snode.Version and tests
2024-08-05 20:15:23 +09:30
ThomasSession
982e23be30
Merge branch 'dev' into release/1.19.0 2024-08-05 15:08:06 +10:00
bemusementpark
41f5fcc67e Merge branch 'dev' into more-snodes 2024-08-05 13:52:23 +09:30
Andrew
415264eb0d
Merge pull request #1594 from bemusementpark/shared-random
Share SecureRandom
2024-08-05 13:09:29 +09:30
bemusementpark
f5d1debc32 Add shared SecureRandom instance 2024-08-04 00:18:47 +09:30
bemusementpark
5417660996 Improve Version to cap parts at 16-bits rather than masking them 2024-08-03 21:52:01 +09:30
bemusementpark
6e1ed8cc11 Add SnodeTest 2024-08-03 21:41:45 +09:30
ThomasSession
48554fada7 [SES-2494] Applying proper styling for message request 2024-08-03 09:42:02 +10:00
ThomasSession
9ce3ab4b80 Added a background to emoji variations popup 2024-08-02 16:31:24 +10:00
ThomasSession
41ab9b98f8 Updated logic for hiding the input in conversation 2024-08-02 16:00:24 +10:00
bemusementpark
b93ec3be04 Optimise Snode and Snode.Version 2024-08-02 12:22:25 +09:30
ThomasSession
a56e1d0b91
Merge pull request #1591 from oxen-io/feature/service-clean-up
Feature/service clean up
2024-08-02 08:57:09 +10:00
ThomasSession
e71f650dc0
Update app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
2024-08-02 08:44:39 +10:00
ThomasSession
7dcfba4932
Update app/src/main/java/org/thoughtcrime/securesms/service/KeyCachingService.java
Co-authored-by: Andrew <andrewgallasch@gmail.com>
2024-08-02 08:44:30 +10:00
ThomasSession
fb7c24a26d
Update app/src/main/java/org/thoughtcrime/securesms/service/KeyCachingService.java
Co-authored-by: Andrew <andrewgallasch@gmail.com>
2024-08-02 08:43:48 +10:00
Fanchao Liu
268b6cc097
Fix crashes on conversation screen (#1590)
* Fixed onion request crashes

* Use kotlin.Result instead

---------

Co-authored-by: fanchao <git@fanchao.dev>
2024-08-01 19:36:38 +10:00
bemusementpark
d8bcb83de5 Fix app exit after Lock Screen 2024-08-01 16:59:06 +10:00
ThomasSession
2f135a6bf6 Cleaning up foreground service calls 2024-08-01 16:50:20 +10:00
ThomasSession
33f23e5fa1 Another unused or referenced service 2024-08-01 11:27:43 +10:00
ThomasSession
137a26c3bf KeepAliveService doesn't seem to be used anywhere 2024-08-01 11:25:35 +10:00
bemusementpark
5c4e95c4ec Update VersionDataFetcher KDoc 2024-08-01 10:34:45 +09:30
ThomasSession
60c111d30a Removing the snodes version patch 2024-08-01 09:01:56 +10:00
bemusementpark
72d77a9caf Add @JvmOverloads 2024-07-31 17:40:47 +09:30
bemusementpark
4992123baf Cleanup comment 2024-07-31 16:00:23 +09:30
bemusementpark
40db23d341 Fix setLastVersion called onException 2024-07-31 15:52:38 +09:30
bemusementpark
7fa3d9f3ff Fix version check 2024-07-31 13:53:54 +09:30
ThomasSession
fbbef4898a
Merge pull request #1564 from oxen-io/feature/adding-back-fullscreen-intent-permission
Adding back the fullscreen intent permission
2024-07-31 12:01:12 +10:00
ThomasSession
fc4bf6ff27
Merge pull request #1583 from oxen-io/feature/blinded-version
Feature/blinded version
2024-07-30 15:42:07 +10:00
ThomasSession
83ea71de24
Update app/src/main/java/org/thoughtcrime/securesms/util/VersionUtil.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
2024-07-30 14:49:45 +10:00
ThomasSession
4b87e926c4 Added a log so we can see when the version data is returned 2024-07-30 13:58:35 +10:00
ThomasSession
42733c910d Clean up logic
Fixed randomly found timeunit error
2024-07-30 13:30:58 +10:00
ThomasSession
d3990572a0 Linking Version util to the app 2024-07-30 12:46:13 +10:00
ThomasSession
35a9f9fbbe Version fetching API added 2024-07-30 12:02:56 +10:00
ThomasSession
a796f05136
Merge pull request #1577 from bemusementpark/dark-light
Fix followSystemInDark
2024-07-30 10:01:37 +10:00
bemusementpark
ce501fd363 Move invalidateComposeThemeColors() 2024-07-30 00:19:16 +09:30
bemusementpark
447ea85333 Improve naming 2024-07-29 17:35:55 +09:30
Fanchao Liu
d23d8f3b07 Fix double closing on memory file (#1579)
Co-authored-by: fanchao <git@fanchao.dev>
2024-07-29 17:44:07 +10:00
Fanchao Liu
dec02cef5a
Fix double closing on memory file (#1579)
Co-authored-by: fanchao <git@fanchao.dev>
2024-07-29 17:42:26 +10:00
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
1a3ffe1a8c Merge branch 'release/1.19.0' into fix-send-seed-dialog 2024-07-29 13:03:43 +09:30
bemusementpark
d9649215e6 Fix dialog not shown on seed send attempt 2024-07-29 13:00:59 +09:30
Andrew
648d3729c0
Merge pull request #1578 from bemusementpark/lock
[QA-32] Fix app closes on app-unlock
2024-07-29 12:46:51 +09:30
ThomasSession
51a43d1de1
Merge pull request #1576 from oxen-io/fix/trimmed-account-id
Trimming the accound ID when validating it
2024-07-29 08:04:50 +10:00
bemusementpark
49ecdfd110 Fix app exit after Lock Screen 2024-07-27 16:12:03 +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
b4f13bbe82 Trimming the accound ID when validating it 2024-07-26 17:21:06 +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
bemusementpark
ac4f2525ab Fix longpress message fails 2024-07-25 11:37:06 +09:30
Fanchao Liu
631d93c20c
Replace kapt with ksp and update dependencies (#1560) 2024-07-24 16:18:18 +10:00
ThomasSession
8ad7005c5f Adding back the fullscreen intent permission 2024-07-23 18:34:18 +10:00
ThomasSession
9c3513f68e
Merge pull request #1563 from oxen-io/release/1.18.5
Release/1.18.5
2024-07-23 18:28:40 +10:00
ThomasSession
79ae27d7b6
Snode version patch (#1561)
* Snode version number

Getting the version number from the API and checking the last node in the onion routing, making sure its version is at least 2.8.0

* Clearing the snode and onion request dbs on launch

* Removing logs

* Tweak to snode filtering

* PR feedback
2024-07-23 17:52:53 +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
ThomasSession
9957edd5ac Bumping version code and removing permission (might add it back if we get reviewed in time) 2024-07-22 10:51:54 +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