Commit Graph

2124 Commits (de7df5850389cba09108942999495c0513348384)

Author SHA1 Message Date
ThomasSession de7df58503
Merge pull request #1540 from oxen-io/release/1.18.5
Dev: Release/1.18.5
10 months ago
ThomasSession ad0b1a9db7
Revert "Release/1.18.5 (#1536)"
This reverts commit 8c4bd9b448.
10 months ago
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>
10 months ago
ThomasSession 2b27b7d5e0 Bumping the version code and name 10 months ago
Fanchao Liu 075341abe1
Allow "public.loki.foundation" to be accessed by http (#1534)
Co-authored-by: fanchao <git@fanchao.dev>
10 months ago
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
10 months ago
ThomasSession bbb1b2b517
Fix issue with span being the full length (#1528) 10 months ago
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>
10 months ago
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>
10 months ago
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>
10 months ago
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>
10 months ago
ceokot a260717d42
Highlight @You mentions (#985)
* Highlight @You mentions

* fix: resolve merge conflicts

* Setting the proper design rules for mentions

* New RoundedBackgroundSpan, applied to "you"  mentions

The rounded background highlighter can take padding, so there is no need to add those extra spaces at the start and end.

* Better mention highlight logic

Some mention highlight should only format the text and not apply any styling.
Also making sure we cater for all cases properly

* Updated the text color logic based on design rules

* Fine tuning the color rules

* Removing usage of Resources.getSystem()

Only making the db call if there actually is a mention

* Moving color definition outside the loop to avoid repetitions

---------

Co-authored-by: charles <charles@oxen.io>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
10 months ago
Andrew 1d80bb0ba9
[SES-337] Add rounded corners to thumbnail in QuoteView (#1285)
* Add rounded corners to thumbnail in QuoteView

* Simplify ThumbnailView

* Cleanup ThumbnailView

* Removed include custom attributes

The custom attributes are not passed to the view.
I added the radius programatically instead.

* Clipping whole thumbnail view instead of just the image requests

---------

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
10 months ago
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>
10 months ago
ThomasSession a0e6167718
Merge pull request #1352 from rugveddarwhekar/master
Fixed #1085 | Video call auto rotate, when auto rotate is disabled
10 months ago
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.
10 months ago
ThomasSession 752f8cc738
Merge pull request #1298 from bemusementpark/fix-send-whitespace
Hide send button when message contains only whitespace
10 months ago
ThomasSession 031a18061d Using trim and empty to capture semantic concept of nothing being in there 10 months ago
ThomasSession 48aacae6c5 Merge branch 'dev' into pr/1298 10 months ago
ThomasSession 01655b8633
Merge pull request #1508 from simophin/fix-home-screen-dispatcher
Correct the usage of flowOn
10 months ago
fanchao 0547dde554 Remove the use of executor in ThreadUtils 10 months ago
ThomasSession ba9f729d63
Merge pull request #1512 from simophin/ses-2021-improve-xml-loading
[SES-2021] Optimise XML loading
10 months ago
ThomasSession 46358f4318
Merge pull request #1487 from simophin/ses-637-voice-message-keeps-playing
[SES-637] - Stop playing message if deleted
10 months ago
ThomasSession d3c4e11aec
Merge pull request #1332 from aaronkerckhoff/display-own-name-in-quote
Fix bug displaying user ID when quoting own message
10 months ago
fanchao 2c90717235 Merge remote-tracking branch 'upstream/dev' into ses-637-voice-message-keeps-playing 11 months ago
fanchao d0e4148040 Remove view pools 11 months ago
fanchao 072accb1e1 Remove unused file 11 months ago
fanchao 54bb84541a Optimise XML 11 months ago
fanchao 6e24df0547 Import 11 months ago
fanchao 172edde628 Correct the usage of flowOn 11 months ago
Andrew 9b6fa0db01
Update version for release-1.18.4 11 months ago
Andrew fe29bce70d
Merge pull request #1497 from bemusementpark/ses-1948
[SES-1948] Do not fetch quotes recursively
11 months ago
Andrew 6e887fe43e
Merge pull request #1503 from bemusementpark/ses-1949
[SES-1949] Move unapprovedMessageCount to IO
11 months ago
Andrew 410e298bca
Merge pull request #1492 from simophin/ses-1931-fix-debouncer
[SES-1931] - Fix debouncer crash
11 months ago
Andrew 66c0f940aa
Merge pull request #1494 from simophin/ses-1935-audio-recording-crash
[SES-1935] Audio recording crash
11 months ago
Andrew 34baa9dc89
Merge pull request #1481 from bemusementpark/s1889
[SES-1889] Fix IndexOutOfBounds in MediaPreview
11 months ago
Andrew 69c50e6822 Dont reassign messageRequests if value didn't change 11 months ago
Andrew 4fab64e6ee Schedule share pref 11 months ago
Andrew 04215f74e1 Bind message requests in HomeAdapter 11 months ago
Andrew cd302f9f27 Move unapprovedMessageCount to IO 11 months ago
Andrew b757691334
Merge pull request #1493 from simophin/ses-1936-oom
[SES-1936] Fix memory leaks
11 months ago
Andrew 193381e193 Fix merge master to dev for release-1.18.3 11 months ago
fanchao 35335480ca Merge remote-tracking branch 'upstream/dev' into ses-1936-oom 11 months ago
fanchao 0d3a33e6c6 Fix delete message for everyone doesn't stop the audio playing 11 months ago
fanchao 2d7f23a2fb More work on animation views 11 months ago
fanchao c0128b88de OOM feedback 11 months ago
Andrew 9d22e86a2f Merge master into dev 11 months ago
Andrew f90cea8fe2 Do not fetch quotes recursively 11 months ago
fanchao 31f4de22cd More changes 11 months ago
fanchao c1d82cc574 Naming 11 months ago