Commit Graph

2692 Commits

Author SHA1 Message Date
ThomasSession
e8b3399ee0 SES-2810 - Catering for missing config contacts vs local contacts
Making sure we deleted conversations when a contact is missing from the config while existing locally
2024-10-16 14:40:11 +11:00
ThomasSession
bc53bcab38 SES-2464 - properly heading to home root when deleting a thread 2024-10-16 09:48:46 +11:00
ThomasSession
f6d50ac858
Feature/strings nice to haves (#1686)
* Initial commit with high level structure for new message deletion logic

* Adding admin logic

* New dialog styles

* Matching existing dialog closer to new designs

* Using the theme attribute danger instead of a hardcoded colour

* Using classes for the dialogs

Also cleaned up older references to align with newer look

* Adding cancel handling

Cleaning unused code

* Handling local deletion with batch message deletion

* Reusing the 'delete locally'

* Delete on device should "marl the message as deleted", not remove it from the db directly

* Displaying "marked as deleted" messages

Split the `BASE_DELETED_TYPE` into two types:
BASE_DELETED_OUTGOING_TYPE and BASE_DELETED_INCOMING_TYPE
so we can differentiate them visually.

* Proper handling of merged code

* Removed temp bg color

* Making sure the deleted message view is visible

* Renaming functions for clarity

* Adding the ability to customise the text for the deleted control messages

* Removing code that was added back from merging dev back in

* Using the updated strings

* Toast confirmation on 'delete locally'

* Recreating xml dialogs in Compose and moved logic in VM

* Removing hardcoded strings

* Updated message deletion logic

Still need to finalise "note to self" and "legacy groups"

* Deletion logic rework

Moving away from promises

* More deletion logic

Hndling unsend request retrieval as per figma docs

* Making sure multi-select works as expectec

* Multi message handling

Sharing admin logic

* Deleting reactions when deleting a message

* Deleting reactions when deleting a message

* Grabbing server hash from notification data

* Fixed unit tests

* Handling deletion od "marked as deleted" messages

* Handling Control Messages longpress and deletion

* Back up handling of no map data for huawei notifications

Also rethemed the send buttona dn home plus button to have better ax contrast by standardising the colour displayed on the accent color to be the same as the one on the sent messages

* Removed test line

* Reworking the deletion dialogs

We removed the 'delete locally' dialog, instead we show the 'delete for everyone' with the second option disabled

* Outgoing messages can all be marked as 'delete for everyone'

Cleaned up invisible copy button on black bgs

* Adding a confirmation dialog when clearing emoji

* Message request text update

* Restyling menu items to not show in uppercase

* Proper hint for seach

* Do not show seconds when they're 0

* Making the change to "hidden recovery" reactive so it can be dynamically updated in the settings page.

This can be simplified once we make SharedPreferences widely accessible as Flows

---------

Co-authored-by: ThomasArtProcessors <71994342+ThomasArtProcessors@users.noreply.github.com>
2024-10-15 10:53:19 +11:00
ThomasSession
68750e6146
Making sure deleted control messages leave nothing behind (#1693)
* Making sure deleted control messages leave nothing behind

* More control messages check
2024-10-14 18:49:33 +11:00
ThomasSession
54ef260aa9
Feature/standardised message deletion (#1685)
* Initial commit with high level structure for new message deletion logic

* Adding admin logic

* New dialog styles

* Matching existing dialog closer to new designs

* Using the theme attribute danger instead of a hardcoded colour

* Using classes for the dialogs

Also cleaned up older references to align with newer look

* Adding cancel handling

Cleaning unused code

* Handling local deletion with batch message deletion

* Reusing the 'delete locally'

* Delete on device should "marl the message as deleted", not remove it from the db directly

* Displaying "marked as deleted" messages

Split the `BASE_DELETED_TYPE` into two types:
BASE_DELETED_OUTGOING_TYPE and BASE_DELETED_INCOMING_TYPE
so we can differentiate them visually.

* Proper handling of merged code

* Removed temp bg color

* Making sure the deleted message view is visible

* Renaming functions for clarity

* Adding the ability to customise the text for the deleted control messages

* Removing code that was added back from merging dev back in

* Using the updated strings

* Toast confirmation on 'delete locally'

* Recreating xml dialogs in Compose and moved logic in VM

* Removing hardcoded strings

* Updated message deletion logic

Still need to finalise "note to self" and "legacy groups"

* Deletion logic rework

Moving away from promises

* More deletion logic

Hndling unsend request retrieval as per figma docs

* Making sure multi-select works as expectec

* Multi message handling

Sharing admin logic

* Deleting reactions when deleting a message

* Deleting reactions when deleting a message

* Grabbing server hash from notification data

* Fixed unit tests

* Handling deletion od "marked as deleted" messages

* Handling Control Messages longpress and deletion

* Back up handling of no map data for huawei notifications

Also rethemed the send buttona dn home plus button to have better ax contrast by standardising the colour displayed on the accent color to be the same as the one on the sent messages

* Removed test line

* Reworking the deletion dialogs

We removed the 'delete locally' dialog, instead we show the 'delete for everyone' with the second option disabled

* Outgoing messages can all be marked as 'delete for everyone'

Cleaned up invisible copy button on black bgs

* PR feedback

* Updated huawei file and tested notifications

* Fixed SES-2802

Only force the priority to visible when going from not approved to approved

* Syncing state diaplays as sent

Syncing happens in the bg so the user doesn't need to know of it hence the status can display as "Sent" during the syncing phase.
Resyncing, in case it happens, can display the "Syncing" status as it would happen after a syncing error.

* Latest strings

---------

Co-authored-by: ThomasArtProcessors <71994342+ThomasArtProcessors@users.noreply.github.com>
2024-10-14 15:33:11 +11:00
SessionHero01
ecfa5d346a
Close cursor in retrieveConfigLastUpdateTimestamp (#1692) 2024-10-14 14:24:48 +11:00
ThomasSession
ed1bddd10b
Merge pull request #1691 from oxen-io/fix/ses-2804-message-reappearing-account-restored
Making sure restored accounts do not display deleted messages
2024-10-14 10:59:48 +11:00
ThomasSession
bf6157997a Making sure restored accounts do not display deleted messages
When getting messages we check if the contact was marked as hidden and compare the timestamps of both the message and the config object to check whether to re-show the thread or not.
2024-10-14 10:42:10 +11:00
ThomasSession
9ffaed51b2 v1.20.2 2024-10-11 15:37:16 +11:00
ThomasSession
92f66b4534 Fixing store crash by removing non required spannable 2024-10-11 11:53:14 +11:00
ThomasSession
ce968cc5f8 Only force a contact to visible if the approval goes from 'not approved' to 'approved' 2024-10-10 13:30:09 +11:00
ThomasSession
c095427835 Build process update
Cleaned up the variant outputs for the huawei build
Added local signing configs
Made sure the output names were formatted properly
2024-10-07 11:59:57 +11:00
ThomasSession
d257a1a072 Moving recovery password dialogs to compose for QA 2024-10-04 14:20:55 +10:00
ThomasSession
390757fe50 Updating QA tags for dialogs as per the QA Team's instructions 2024-10-04 13:18:45 +10:00
ThomasSession
8fec296c11 Fixing Crashes 2024-10-04 12:50:49 +10:00
ThomasSession
b237faa21d Fixing ANRs 2024-10-04 12:19:39 +10:00
ThomasSession
3d42a04823 Fixing property name 2024-10-02 10:16:10 +10:00
ThomasSession
29c6e6b081 Adding back long press fix 2024-10-01 15:36:49 +10:00
ThomasSession
c956b2050c Making sure we don't pass in a null recipient name 2024-09-30 13:32:08 +10:00
ThomasSession
b74d35e216
Merge pull request #1679 from oxen-io/release/1.20.0
Release/1.20.0
2024-09-25 09:31:12 +10:00
ThomasSession
0447a16976 Fixed import for Huawei builds 2024-09-24 13:38:55 +10:00
SessionHero01
7e1a0ade79
Fix crashes when removing spaces in mention texts 2024-09-24 11:59:55 +10:00
ThomasSession
da83df2206 Fixing scroll when getting new messages 2024-09-23 17:01:19 +10:00
ThomasSession
6f32978cc7 Setting the appropriate color for RTL assets 2024-09-23 15:09:05 +10:00
ThomasSession
a32f8d27c0 Latest strings and RTL assets 2024-09-20 16:10:33 +10:00
ThomasSession
3dfbd0892d Cleaned up ItemButton to work in both its variations 2024-09-20 10:29:11 +10:00
ThomasSession
1ff8ea0fc8 SES-1714 - SES-1715
Making sure an approved message request sets the contact as visible. They could have been set to hidden if the contact had previously sent another message request which was then declined.
Upon sending another one we need to make sure the contact is set to visible once that request is approved.
2024-09-20 09:54:08 +10:00
ThomasSession
89a854e8d7
Merge pull request #1672 from bemusementpark/ItemButton
Fix ItemButton padding for downstate
2024-09-20 09:50:34 +10:00
ThomasSession
6ca34b2926
Merge pull request #1670 from oxen-io/release/1.20.0
Release/1.20.0
2024-09-20 09:48:17 +10:00
bemusementpark
73b0088aea Fix ItemButton padding for downstate 2024-09-19 22:11:58 +09:30
ThomasSession
d60db11585 Have to remove translations for now 2024-09-18 11:59:06 +10:00
SessionHero01
06095ceeab
[SES-2733] Preventing files from being selected in media overview 2024-09-17 11:18:53 +10:00
ThomasSession
01a702ba9c Using our updated qaTag instead of testTag 2024-09-17 10:54:01 +10:00
ThomasSession
d0537c1e8c Cleaning up thumbnail view bgs 2024-09-16 16:23:53 +10:00
ThomasSession
d0d7626db4 Moving the heavy lifting code in a coroutine to help with ANRs 2024-09-16 14:47:58 +10:00
ThomasSession
d044f12d3f
Merge pull request #1669 from oxen-io/feature/dynamic-community-rights
Listening to changes in community write access
2024-09-16 10:09:58 +10:00
ThomasSession
c3cf2b8d03 Updated tests 2024-09-16 09:59:34 +10:00
ThomasSession
7b7c053d18 Using the right button for recovery banner 2024-09-16 09:45:31 +10:00
ThomasSession
1f6a1b13b2 Using groupId as the key instead of the server alone 2024-09-16 09:35:19 +10:00
ThomasSession
915c617364 More dialog platform consistency 2024-09-16 09:30:55 +10:00
ThomasSession
0d158b62e4 Cleaning up modals for platform consistency 2024-09-16 09:29:19 +10:00
ThomasSession
cc63fa3eca Removing uneeded line in the "Report a bug" help category in settings 2024-09-16 09:15:23 +10:00
ThomasSession
e80f463bd1 Listening to changes in community write access
In order to allow the showing and hiding of the input bar dynamically
2024-09-16 09:03:17 +10:00
ThomasSession
f2705720a7 SES-2722 & SES-2718
Fixing strings issues
Also removed all translations for now as the update was full of errors. they will be fixed and added back soon.
2024-09-13 16:13:27 +10:00
ThomasSession
74787f949c Making sure camera perm updates in QR and new string for rationale dialog 2024-09-13 11:49:12 +10:00
ThomasSession
bdbc2c1e50 SES-348 Adding a char limit to the input field in conversations 2024-09-13 10:51:16 +10:00
ThomasSession
b9f06c34e7 Deleting tests no longer needed 2024-09-12 16:45:12 +10:00
ThomasSession
304679dac6 Strings update
Updating strings
Removed non crowdin strings
Removed the locale wrapper as we do not support in app language changes
2024-09-12 16:29:27 +10:00
ThomasSession
d30ff252ab SES-2715 Calls toggle and Mic permission
Making sure we tell the user when microphone permissions are denied permanently when toggling calls on.
2024-09-12 09:38:24 +10:00
ThomasSession
f0c8ec81e5 Using the latest compose compiler 2024-09-12 09:15:36 +10:00