Commit Graph

965 Commits

Author SHA1 Message Date
ThomasSession
d82c5b6a1b Migrate exoplayer to media3 2024-08-13 13:57:40 +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
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
2c4b8bf443 Do not check errors if profileAvatar is null 2024-08-07 14:33:24 +10:00
bemusementpark
5c4e95c4ec Update VersionDataFetcher KDoc 2024-08-01 10:34:45 +09:30
bemusementpark
7fa3d9f3ff Fix version check 2024-07-31 13:53:54 +09:30
ThomasSession
a594952832
Update libsession/src/main/java/org/session/libsession/snode/utilities/PromiseUtil.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
2024-07-30 15:14:09 +10:00
ThomasSession
7a8e1309fb PR feedback 2024-07-30 15:04:41 +10:00
ThomasSession
35a9f9fbbe Version fetching API added 2024-07-30 12:02:56 +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
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
bemusementpark
5ebf314899 Revert name change in OpenGroupPoller 2024-07-17 16:41:55 +09:30
bemusementpark
8245e4ffe5 Rename remaining session id refs 2024-07-17 12:32:15 +09:30
bemusementpark
ce1790a895 Merge branch 'od' into on-2 2024-07-16 18:09:27 +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
e001ccb283 Cleanup Recipient 2024-07-16 01:32:03 +09:30
bemusementpark
a951d94e06 Fix OpenGroupMessage 2024-07-15 22:24:05 +09:30
bemusementpark
30ee3946ef Merge branch 'od' into on-2 2024-07-11 15:07:46 +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
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
ad0b1a9db7
Revert "Release/1.18.5 (#1536)"
This reverts commit 8c4bd9b448.
2024-07-09 14:07:25 +10:00
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>
2024-07-09 11:45:30 +10:00
ThomasSession
0300be25f6 Reverting temporary change 2024-07-09 09:58:49 +10:00
Fanchao Liu
e1f1372e17
Testnet build (#1532)
Co-authored-by: fanchao <git@fanchao.dev>
2024-07-08 10:34:13 +10:00
bemusementpark
fe0cbcd551 Fix Poller Log TAG 2024-07-05 17:01:24 +09:30
bemusementpark
fa5b10e2e1 Merge remote-tracking branch 'ry/poller-fix' into on-3 2024-07-05 16:55:18 +09:30
bemusementpark
9c10bbfe65 Merge branch 'od' into on-2 2024-07-05 12:04:42 +09:30
ThomasSession
15b3b18321
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
2024-07-05 10:48:51 +10:00
bemusementpark
a4ee521ee0 Fix Search 2024-07-04 14:48:31 +09:30
bemusementpark
4660905c09 Remove unneeded SEEN_WELCOME_SCREEN_PREF 2024-07-03 18:28:12 +09:30
AL-Session
1e02845fd2
[SES-1486] Short voice message fix (#1523)
* Initial working push with debug comments

* Fixes #1522

* Cleanup, prevent multi-pointer recording, and don't show short msg toast if locked to record quickly

* Adjusted comment phrasing

* Fix comment phrasing

* Fixed inadvertant short voice message toast on exit conversation activity

* Comment adjustment

* Comment phrasing

* Adjusted AudioRecorder.startRecording to take a callback function rather than the InputBar

* Performed Thomas' PR feedback

* Move comment to more relevant place

* Removed unused / leftover callback definition

* Removed all redundant null checks after asserting binding is not null

* Removed remaining not-null assertions & added some logged feedback to fail states

* Addressed PR feedback

* Implemented additional PR feedback

* Adjusted InputBar property visibility as per PR feedback & adjusted Toast string following discussion with Lucy

* Minor adjustment to inform user if we see an obvious network issue when sending a voice message - also tweak the locked Cancel button size to prevent text entry when locked to voice recording

* Adjust comment phrasing following further testing

* Added TODO comments to replace hard-coded string in toasts

* Addressed Thomas PR feedback suggestion

* Addressed another feedback suggestion

* Adjustment to continue informing user of network / node path issues

* Improved & moved network check method

* Corrected ticket number into TODO comments

* Addressed Andy PR feedback

* Adjust network connectivity checks to just log issues rather than inform the user (as per Rebecca / Kee convo)

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-07-03 14:44:26 +10:00
bemusementpark
7111bb7725 Merge branch 'od' into on-2 2024-07-03 12:12:51 +09:30
AL-Session
a30f00104e
[SS-54] Add dialog to allow local deletion if network deletion fails (#1526)
* WIP

* Push before attempting some HTTPRequestFailedException rate limiting

* Functionality now works

* Merging dev resulted in some subproject commit change so pushing that

* Fixes #1525

* Addressed Andy PR feedback

* Addressed further PR feedback from Andy

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-07-02 16:42:49 +10:00
Fanchao Liu
0da949c8e6
[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>
2024-07-01 17:36:50 +10:00
Fanchao Liu
fec67e282a
[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>
2024-07-01 17:31:03 +10:00
Fanchao Liu
0f47076192
[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>
2024-06-27 10:12:54 +10:00
Andrew
432a2816ab Merge branch 'od' into on-2 2024-06-25 23:40:34 +09:30
Andrew
1ca7fb3299 SES-2199 Increase max display name length to 100 2024-06-25 14:13:51 +09:30
Andrew
287b5566c4 Remove session id refs 2024-06-25 11:42:40 +09:30
ThomasSession
d22cb1e2c2 Remove config checks (PR 1294)
Refactor: remove checks for whether new config is enabled throughout config factory generation.
First commit from PR 1294.
2024-06-25 09:25:46 +10:00
ThomasSession
0d0a86831a Merge branch 'dev' into pr/1026 2024-06-24 10:04:19 +10:00
ThomasSession
32cc6df81b
Merge pull request #1336 from bemusementpark/unsend-notification
Fix notification update for incoming unsend request
2024-06-20 15:48:43 +10:00
Andrew
253fe9136d Changes for code review 2024-06-17 12:50:24 +09:30
Andrew
c6952cfcc1 Add LightDarkColors and repackage to colors 2024-06-15 23:41:21 +09:30
Andrew
f1000ac6e6 Add colors theme object 2024-06-12 19:00:06 +09:30
Andrew
4f61f89eb7 Comment group and associate functions 2024-06-07 00:25:58 +09:30
Andrew
50addd644c Merge branch 'on' into on-2 2024-06-06 09:21:49 +09:30