Commit Graph

9236 Commits

Author SHA1 Message Date
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
bemusementpark
d4c433a926 Fix shareFlow#tryEmit in pick display name 2024-07-02 14:28:54 +09:30
bemusementpark
508547a013 Defer setting display name until necessary in create flow in onboarding 2024-07-02 13:41:01 +09:30
bemusementpark
9cf3a37a2b Handle backpresses in onboarding 2024-07-02 09:25:19 +09:30
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
bemusementpark
d621036af6 Rename LoadAccountViewModel 2024-07-01 16:38:35 +09:30
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>
2024-07-01 14:52:18 +10:00
bemusementpark
1f7a1c7e0d Fix copy mnemonic 2024-07-01 11:26:27 +09:30
bemusementpark
aac228ba91 Remove unused button 2024-07-01 11:25:36 +09:30
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>
2024-07-01 09:41:46 +10:00
Andrew
0ebbd35031 Fix path indicator on SettingsActivity 2024-06-28 18:43:00 +09:30
Andrew
8cc7e65abf Fix empty recovery password error 2024-06-28 18:33:07 +09:30
Andrew
eb63af2f8d SES-2259 Remove 35 char display name char limit 2024-06-28 14:05:40 +09:30
Andrew
e3685f65f8 Fix display name length 2024-06-28 13:57:49 +09:30
Andrew
ad2bf6e344 Fix shield position in Load Account 2024-06-28 13:39:47 +09:30
Andrew
3cc00caeab Check recovery password is hex if its not a mnemonic 2024-06-28 12:43:40 +09:30
Andrew
17fbe5403c Remove open url modal in New Message Bottom Sheet 2024-06-28 11:21:38 +09:30
Andrew
5cd2cf5cb5
Merge pull request #1527 from bemusementpark/update-libsession
Update libsession
2024-06-28 09:31:58 +09:30
Andrew
1cd7a57515 Ignore extra spaces and special characters in Recovery Password entry 2024-06-27 21:45:13 +09:30
Andrew
2dbdd6b0ae Update libsession 2024-06-27 17:07:45 +09:30
Andrew
750dfb455d Fix cursor error color 2024-06-27 14:53:37 +09:30
Andrew
a8082494ba Restore next button position for Android 2024-06-27 12:41:01 +09:30
Andrew
f4cb0b8e6d Update errors 2024-06-27 12:40:24 +09:30
Andrew
4aa0e55dc6 Hide next button when empty in new message 2024-06-27 11:41:32 +09:30
Andrew
b775b5aca9 Reuse getSearchName 2024-06-27 10:21:37 +09:30
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
5ebde324c2 SES-2236 Fix profile self name 2024-06-27 09:21:37 +09:30
Andrew
ebbd95dac1 Fix new message next button color 2024-06-27 00:08:31 +09:30
Andrew
5793d4e71d Add remaining contentDescriptions 2024-06-27 00:05:13 +09:30
Andrew
031f3eb45f Fix contentDescriptions on pick display and message notifications 2024-06-26 23:24:45 +09:30
Andrew
9831758060 Fix QR code padding and icon 2024-06-26 23:15:19 +09:30
Andrew
aa5e46ff44 Fix You will be able to send string 2024-06-26 23:05:08 +09:30
Andrew
1f50a702bc SES-2229 Fix NewMessage ONS timeout error message for real 2024-06-26 23:02:45 +09:30
Andrew
f2e72d794b Simplify search processing 2024-06-26 22:52:02 +09:30
Andrew
a52bafbf98 SES-2237 Fix search sorting 2024-06-26 22:37:22 +09:30
Andrew
84efcd2f21 Remove ribbon image for note to self in search 2024-06-26 21:39:19 +09:30
Andrew
e7b547acaf SES-2234 Fix Hide Recovery html dialog 2024-06-26 21:03:30 +09:30
Andrew
a630b8af09 SES-2233 Fix recovery password icon in settings 2024-06-26 20:53:57 +09:30
Andrew
bae83d9ea6 SES-2229 Add ons unable to search error message 2024-06-26 20:15:08 +09:30
Andrew
761a983e0c SES-2228 ONS error message 2024-06-26 20:10:09 +09:30
Andrew
39c7f27c7d Fix QR code scan & display 2024-06-26 19:25:44 +09:30
Andrew
ff6c0fb6f5 Accept mnemonic as hex in QR codes 2024-06-26 18:01:33 +09:30
Andrew
578c471f1e Fis Message notifications button style 2024-06-26 13:08:22 +09:30
Andrew
40c08143f3 Fix ItemButton TextStyle 2024-06-26 12:44:56 +09:30
Andrew
5294cd45a0 Fix ItemButton minHeight style 2024-06-26 12:32:00 +09:30
Andrew
432a2816ab Merge branch 'od' into on-2 2024-06-25 23:40:34 +09:30
Andrew
27fda9fd46 Fix Qr Code errors 2024-06-25 23:21:22 +09:30
Andrew
db15fe0840 Rename StartConversationFragment.kt 2024-06-25 21:51:08 +09:30
Andrew
fa705e9e78 Fix text color on QR Activity 2024-06-25 21:36:24 +09:30