Commit Graph

9052 Commits (2194d0d1dfa6412e4748a9ed6c75c889b60a8355)
 

Author SHA1 Message Date
ThomasSession 2194d0d1df Moving theme classes into their own package
ThomasSession d4e3c58dd7 Moving color files
bemusementpark 84b1fb6527 Truncate name to 100 bytes on restore account
bemusementpark 1570e2338d Update libsession-util/libsession-util
bemusementpark fe0cbcd551 Fix Poller Log TAG
bemusementpark fa5b10e2e1 Merge remote-tracking branch 'ry/poller-fix' into on-3
bemusementpark 9c10bbfe65 Merge branch 'od' into on-2
bemusementpark 81f9bf9412 Fix refresh on open search
bemusementpark a4ee521ee0 Fix Search
bemusementpark ca66d115a3 Unknown contact should go under #
bemusementpark 39f9b959ce Add dialog to backpress on create account flow
bemusementpark 4660905c09 Remove unneeded SEEN_WELCOME_SCREEN_PREF
bemusementpark 40b901d417 Kick user to welcome screen if they have no account id
AL-Session 1e02845fd2
[SES-1486] Short voice message fix ()
* Initial working push with debug comments

* Fixes 

* 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>
bemusementpark 7111bb7725 Merge branch 'od' into on-2
bemusementpark ae4c6b8a4e Fix RadioButton a11y
AL-Session a30f00104e
[SS-54] Add dialog to allow local deletion if network deletion fails ()
* WIP

* Push before attempting some HTTPRequestFailedException rate limiting

* Functionality now works

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

* Fixes 

* Addressed Andy PR feedback

* Addressed further PR feedback from Andy

---------

Co-authored-by: alansley <aclansley@gmail.com>
bemusementpark d4c433a926 Fix shareFlow#tryEmit in pick display name
bemusementpark 508547a013 Defer setting display name until necessary in create flow in onboarding
bemusementpark 9cf3a37a2b Handle backpresses in onboarding
Fanchao Liu 0da949c8e6
[SES-1966] Attachment batch download and tidy-up ()
* 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>
Fanchao Liu fec67e282a
[SES-2018] Refactor mention ()
* Refactor mention

* Fixes robolectric test problem

* Fixes tests

* Naming and comments

* Naming

* Dispatcher

---------

Co-authored-by: fanchao <git@fanchao.dev>
bemusementpark d621036af6 Rename LoadAccountViewModel
ceokot a260717d42
Highlight @You mentions ()
* 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>
bemusementpark 1f7a1c7e0d Fix copy mnemonic
bemusementpark aac228ba91 Remove unused button
Andrew 1d80bb0ba9
[SES-337] Add rounded corners to thumbnail in QuoteView ()
* 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>
Andrew 0ebbd35031 Fix path indicator on SettingsActivity
Andrew 8cc7e65abf Fix empty recovery password error
Andrew eb63af2f8d SES-2259 Remove 35 char display name char limit
Andrew e3685f65f8 Fix display name length
Andrew ad2bf6e344 Fix shield position in Load Account
Andrew 3cc00caeab Check recovery password is hex if its not a mnemonic
Andrew 17fbe5403c Remove open url modal in New Message Bottom Sheet
Andrew 5cd2cf5cb5
Merge pull request from bemusementpark/update-libsession
Update libsession
Andrew 1cd7a57515 Ignore extra spaces and special characters in Recovery Password entry
Andrew 2dbdd6b0ae Update libsession
Andrew 750dfb455d Fix cursor error color
Andrew a8082494ba Restore next button position for Android
Andrew f4cb0b8e6d Update errors
Andrew 4aa0e55dc6 Hide next button when empty in new message
Andrew b775b5aca9 Reuse getSearchName
Fanchao Liu 0f47076192
[SES-2162] - Remove wrapping of config message ()
* Remove wrapping of config message

* Addresses feedback

* Merged in ThreadUtils fix

* JDK installation

* Revert JDK change

---------

Co-authored-by: fanchao <git@fanchao.dev>
Andrew 5ebde324c2 SES-2236 Fix profile self name
Andrew ebbd95dac1 Fix new message next button color
Andrew 5793d4e71d Add remaining contentDescriptions
Andrew 031f3eb45f Fix contentDescriptions on pick display and message notifications
Andrew 9831758060 Fix QR code padding and icon
Andrew aa5e46ff44 Fix You will be able to send string
Andrew 1f50a702bc SES-2229 Fix NewMessage ONS timeout error message for real