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