Commit Graph

2631 Commits

Author SHA1 Message Date
ThomasSession
1393335121
Feature/debug menu (#1645)
* Reorganised cells

* Clipping content

* Simplifying Cell and leaving responsibility to modifier and content

* Fixing animations

Also fixing compose copy that wasn't set up properly...

* Debug menu

Added a debug menu
It can be accessed from the settings page or via an app shortcut (from the app icon)

* Finalising the debug menu

We can now switch environments between mainnet and testnet

* Update app/src/main/java/org/thoughtcrime/securesms/debugmenu/DebugMenu.kt

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>

---------

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
2024-08-26 13:09:37 +10:00
ThomasSession
bfbe4a8fd2
Merge pull request #1644 from oxen-io/release/1.19.2
Release/1.19.2
2024-08-26 09:57:49 +10:00
ThomasSession
a50e304938 Removing resources 2024-08-26 08:07:47 +10:00
AL-Session
afbb71351a
Applied save-crash workaround (#1640) 2024-08-23 14:37:07 +10:00
ThomasSession
8deb21c0c6
Feature/icons fix (#1638)
* Removing hardcoded blue styling for media picker indicator

* Proper styling of media picker buttons

* Normalising arrow icons

* Tweaks
2024-08-22 21:36:31 +10:00
ThomasSession
fa395456a5
Sync name change (#1637) 2024-08-22 15:59:03 +10:00
ThomasSession
55c49eccf8 Merge branch 'dev' into release/1.19.2 2024-08-22 14:45:33 +10:00
Fanchao Liu
8e10e1abf4
Incorrect copy for denied permission (#1636)
Co-authored-by: fanchao <git@fanchao.dev>
2024-08-22 11:02:23 +10:00
ThomasSession
20e1fbceb5 Merge branch 'dev' into release/1.19.2 2024-08-21 16:33:19 +10:00
ThomasSession
b14f8f6e8e
Using the proper icon (#1635) 2024-08-21 16:32:50 +10:00
ThomasSession
e731c7d0bd
Fix/ip2 country out of memory (#1628)
* Avoiding to recall Ipv4Int on every loop

* Avoiding memory allocation since this is used in laarge sets

* Further improvements and updated the memory allocation avoiding code

* PR feedback
2024-08-21 16:09:00 +10:00
Fanchao Liu
245241e614
Fix search ANR (#1634)
Co-authored-by: fanchao <git@fanchao.dev>
2024-08-21 16:08:36 +10:00
ThomasSession
0fa8a6e3d3 Merge branch 'dev' into release/1.19.2 2024-08-21 16:05:17 +10:00
Fanchao Liu
d5ff61f021
[SES-2574] Fix crash on gallery screen (#1632) 2024-08-21 15:40:42 +10:00
Fanchao Liu
eea54d1a17
Add back action mode title (#1633)
Co-authored-by: fanchao <git@fanchao.dev>
2024-08-21 12:13:32 +10:00
AL-Session
ab2e3744a9
Replaced MLKit with ZXing for QR code scanning (#1630)
* Replaced MLKit with ZXing for QR code scanning

* Adjusted some comment spacing

* Adjusted some comment phrasing

* Renamed MaybeScanQrCode to QRScannerScreen & removed double-import of ZXing core + removed ZXing android-integration

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-08-21 12:10:55 +10:00
ThomasSession
70f217c030
Using open documents so that the downloads can be accessed (#1631) 2024-08-21 10:58:51 +10:00
Fanchao Liu
8fc6679178
Revert "[SES-2512] Rewrite ProfilePictureView (#1622)" (#1629)
This reverts commit 9919f716a7.

Co-authored-by: fanchao <git@fanchao.dev>
2024-08-21 09:30:02 +10:00
ThomasSession
43c6e86da0 Bumped version code 2024-08-20 11:56:15 +10:00
Fanchao Liu
9919f716a7
[SES-2512] Rewrite ProfilePictureView (#1622) 2024-08-19 17:32:30 +10:00
ThomasSession
6701cb1dc1
SES-2437 - fix broken path animation (#1627) 2024-08-19 15:44:18 +10:00
Fanchao Liu
2a438ac24d
Add missing play button on media gallery page (#1626) 2024-08-19 15:38:55 +10:00
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
4c52e66c0c Updated flexbox and removed unused libraries, turn off configuration cache 2024-08-13 14:03:50 +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
fanchao
2bf8bc17b5 Added stickyheader AAR 2024-08-13 13:50:21 +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
518fe5e712 Bump version name 2024-08-13 13:49:10 +10:00
ThomasSession
f865f9f8ed Merge branch 'dev' into merge/1.19.0 2024-08-08 10:55:55 +10:00
ThomasSession
4e50701c90 version code bump 2024-08-08 09:30:58 +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
ThomasSession
0616e148cf
Merge pull request #1585 from bemusementpark/fix-version-check
Fix version check
2024-08-01 17:05:54 +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
8d15169c93 Version bump to go above last live version 2024-08-01 09:03:13 +10:00
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