8690 Commits

Author SHA1 Message Date
ThomasSession
cfd30bd8ae
Merge pull request #1537 from oxen-io/revert-1535-release/1.18.5
Revert "Release/1.18.5"
2024-07-09 14:10:21 +10:00
ThomasSession
e6762a12d0
Revert "Release/1.18.5 (#1535)"
This reverts commit 7f90a9866b257527c5411b14ada35797c3e54aa2.
2024-07-09 13:33:42 +10:00
ThomasSession
7f90a9866b
Release/1.18.5 (#1535)
* fix: Authenticate all Open Group API calls

* Use unblinded authentication when we have `capabilities` data for the open group server we are sending the request to but don't have the `blind` capability
* Use blinded authentication when we haven't gotten any `capabilities` for an open group server, or if we have `capabilities` and the server has the `blind` capability

* Hide send button when message contains only whitespace

* Fix bug displaying user ID when quoting own message

* Fix notification update for incoming unsend request

* Improve check if author is own user when quoting messages

* Fixed video call auto rotate, when auto rotate is disabled

* refactor: simplify comparison

* Stop playing message if deleted

* Accidental change

* Accidental change

* Comments

* Feedback

* Comments

* Import

* Fix delete message for everyone doesn't stop the audio playing

* Correct the usage of flowOn

* Import

* Optimise XML

* Remove unused file

* Remove view pools

* Remove the use of executor in ThreadUtils

* Using trim and empty to capture semantic concept of nothing being in there

* Remove config checks (PR 1294)

Refactor: remove checks for whether new config is enabled throughout config factory generation.
First commit from PR 1294.

* [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>

* Update libsession

* [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>

* 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>

* [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>

* [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>

* 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: charles <charles@oxen.io>
Co-authored-by: andrew <andrewgallasch@gmail.com>
Co-authored-by: aaronkerckhoff <aaronkerckhoff@gmail.com>
Co-authored-by: Rugved Darwhekar <darwhekarrugved@gmail.com>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
Co-authored-by: fanchao <git@fanchao.dev>
Co-authored-by: Fanchao Liu <273191+simophin@users.noreply.github.com>
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: ceokot <ceokot@users.noreply.github.com>
2024-07-09 11:45:25 +10:00
Andrew
b544961d28
Merge pull request #1504 from oxen-io/release-1.18.4
Merge release-1.18.4 to master
1.18.4
2024-05-31 09:33:54 +09:30
Andrew
9b6fa0db01
Update version for release-1.18.4 2024-05-30 09:38:33 +09:30
Andrew
c0912bbe6d
Merge pull request #1501 from simophin/SES-2009-blinded-conversation
[SES-2009] Fix crashes on blinded conversation
2024-05-29 16:32:26 +09:30
fanchao
9441fdec21 Merge remote-tracking branch 'upstream/dev' into SES-2009-blinded-conversation 2024-05-29 15:22:57 +10:00
fanchao
c899d723b7 Formatted message 2024-05-29 14:09:48 +10:00
Andrew
fe29bce70d
Merge pull request #1497 from bemusementpark/ses-1948
[SES-1948] Do not fetch quotes recursively
2024-05-29 13:23:27 +09:30
fanchao
036b13084f Message 2024-05-29 13:11:33 +10:00
Andrew
6e887fe43e
Merge pull request #1503 from bemusementpark/ses-1949
[SES-1949] Move unapprovedMessageCount to IO
2024-05-29 12:11:10 +09:30
Andrew
410e298bca
Merge pull request #1492 from simophin/ses-1931-fix-debouncer
[SES-1931] - Fix debouncer crash
2024-05-29 11:38:29 +09:30
Andrew
66c0f940aa
Merge pull request #1494 from simophin/ses-1935-audio-recording-crash
[SES-1935] Audio recording crash
2024-05-29 11:38:00 +09:30
Andrew
34baa9dc89
Merge pull request #1481 from bemusementpark/s1889
[SES-1889] Fix IndexOutOfBounds in MediaPreview
2024-05-29 10:40:45 +09:30
Andrew
30c4341395
Merge pull request #1439 from bemusementpark/ses-1579
[SES-1579] Copy issue for disappearing messages
2024-05-29 10:39:08 +09:30
Andrew
69c50e6822 Dont reassign messageRequests if value didn't change 2024-05-29 10:29:47 +09:30
Andrew
4fab64e6ee Schedule share pref 2024-05-28 19:29:24 +09:30
Andrew
04215f74e1 Bind message requests in HomeAdapter 2024-05-28 16:44:49 +09:30
fanchao
bc9bf59106 Fix syntax error 2024-05-28 15:04:18 +10:00
fanchao
3743ef42bd Catch another merge function 2024-05-28 14:51:25 +10:00
fanchao
a78c11f258 Wrap config_base.cpp also 2024-05-28 14:37:06 +10:00
Andrew
cd302f9f27 Move unapprovedMessageCount to IO 2024-05-28 12:57:50 +09:30
fanchao
f16735d4ee Merge remote-tracking branch 'upstream/dev' into SES-2009-blinded-conversation 2024-05-28 13:20:03 +10:00
fanchao
5769c011bc Catch cxx exception 2024-05-28 11:34:52 +10:00
Andrew
b757691334
Merge pull request #1493 from simophin/ses-1936-oom
[SES-1936] Fix memory leaks
2024-05-28 11:04:41 +09:30
Andrew
b30506ff64
Merge pull request #1500 from bemusementpark/fix-merge-1.18.3
Fix merge master to dev for release-1.18.3
2024-05-28 09:55:08 +09:30
Andrew
193381e193 Fix merge master to dev for release-1.18.3 2024-05-27 18:50:49 +09:30
fanchao
35335480ca Merge remote-tracking branch 'upstream/dev' into ses-1936-oom 2024-05-27 13:37:00 +10:00
fanchao
2d7f23a2fb More work on animation views 2024-05-27 13:18:51 +10:00
fanchao
c0128b88de OOM feedback 2024-05-27 10:29:53 +10:00
Andrew
ca9786a43d
Merge pull request #1499 from bemusementpark/dev
Merge master into dev
2024-05-24 12:52:03 +09:30
Andrew
9d22e86a2f Merge master into dev 2024-05-24 12:03:52 +09:30
Andrew
455a1ed50a
Merge pull request #1495 from oxen-io/release-1.18.3
Merge release-1.18.3 to master
1.18.3
2024-05-24 10:19:01 +09:30
Andrew
f90cea8fe2 Do not fetch quotes recursively 2024-05-23 18:59:09 +09:30
fanchao
31f4de22cd More changes 2024-05-23 14:17:38 +10:00
fanchao
c1d82cc574 Naming 2024-05-23 13:49:38 +10:00
fanchao
90f0caebbd Tidy up 2024-05-23 13:48:06 +10:00
Andrew
98f279fdf7
Merge pull request #1496 from oxen-io/revert-attachment-download-list-mechanism
[SES-1956] Attachment download job re-start preventer removed
2024-05-22 17:07:37 +09:30
alansley
f6fb4ab78c Attachment download job re-start preventer removed 2024-05-22 17:04:44 +10:00
Andrew
34ae58da8d
Merge pull request #1489 from bemusementpark/fix-last
[SES-1901] Fix last sent called excessively
2024-05-22 11:08:02 +09:30
fanchao
ee9a0a610c Logging 2024-05-22 11:13:26 +10:00
fanchao
c7c0519a20 Feedback 2024-05-22 10:54:56 +10:00
AL-Session
658f7de30e
[SES-1930] Catch HTTP exceptions from threads (#1491)
* Catch HTTP exceptions

* Fixes #1490

* Removed catch blocks that won't actually catch due to thread execution pool reasons & added a thread limiting mechanism to prevent excessive thread creation (when the queue is full then further tasks are queued)

* Corrected thread exception catching (hopefully)

* Addressed PR feedback

* Reverted build number bump used for testing without reinstall

* Added print of stack trace to any caught thread exceptions

* Log exception directly and do not print stack trace on thread exception

* Added TAG for logging output

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-05-22 08:43:47 +10:00
fanchao
27fcc66e7f Defensive check 2024-05-21 15:05:36 +10:00
Andrew
a660f45043 Fix timestamp cache for communities 2024-05-21 11:27:06 +09:30
fanchao
75e53c86b1 Fixes SES-1936 2024-05-21 11:44:08 +10:00
fanchao
2002b6f397 Fixes SES-1931 debouncer crash 2024-05-20 16:11:43 +10:00
Andrew
f114ac84bd Fix last sent updated by non-self 2024-05-20 14:05:34 +09:30
Andrew
4904524af5 Fix excessive last sent calls 2024-05-20 13:58:13 +09:30
Andrew
cf13caaee4
Bump canonicalVersionCode 2024-05-17 16:25:19 +09:30