Commit Graph

2711 Commits (6675145523816c02ed3f974b365a91ae9f6c489f)

Author SHA1 Message Date
SessionHero01 1ad674fc1b
Bump version to 1.20.6 5 months ago
SessionHero01 6311730163
Fix RetrieveOnce race condition 5 months ago
ThomasSession d447371a11 1.20.5 5 months ago
SessionHero01 120659120c
Check if columns exist before migration 5 months ago
ThomasSession e358ae7705 Fixing crashes and ANRs seen in 1.20.4 (and older) 5 months ago
ThomasSession 00fdafa812 Merge branch 'dev' into release/1.20.4 5 months ago
SessionHero01 8c1a39175f
Script for release (semi)automation (#8)
* Release script

* Update build script

* Renamed

* Updated
5 months ago
ThomasSession 18dd27c70e v1.20.4 5 months ago
ThomasSession 28365452eb Adding a log 5 months ago
ThomasSession e5bb704430 Fixes from crashes and ANRs found on the playstore
- Only start the ip to country code in the Path activity
- Closing retriever for attachments to avoid leaks
- Handling a null case in MediaSend activity
- Switching to a bg thread for path retrieval in settings
5 months ago
ThomasSession 67895c4263 [QA-411] Making sure sent messages are trimmed 5 months ago
SessionHero01 74f3f22e1a
Add "is_deleted" column to sms/mms (#3)
* Add "is_deleted" column to sms/mms

---------

Co-authored-by: SessionHero01 <SesshioHero01@getsession.org>
5 months ago
ThomasSession b33148a4ed Updating references to oxen-io 6 months ago
ThomasSession 536824b0e0 Bumping version to 1.20.3
This contains the new standardised deletion
A potential fix for the most common ANR
Removed the 'screenshot notification' toggle which was misleading
The set of 'nice to have' from the strings branch
6 months ago
ThomasSession 8615c57842 Making sure the avatars refresh when changed by other users 6 months ago
ThomasSession 16cca2d3cc
Getting the recipient from the VM (#1694) 6 months ago
Andrew 3e17ab2b06
Optimise and test IP2Country (#1684)
* Move ipv4Int to top level

* Remove redundant fun calls in ipv4ToCountry

* Add null safety to loadFile

* Close streams on failure

* Simplify cacheCountryForIP

* Add IP2CountryTest

* Generate binary

* Simplify ipv4Int

* Fix companion object visibility

* Use array instead of Treemap

* Synchronize OnionApi#paths

* Move csv

* Deduplicate locations csv

* Move ipToCode to gradle

* Use std lib binarySearch

---------

Co-authored-by: bemusementpark <bemusementpark>
6 months ago
ThomasSession 4917548faf
Fix/empty conversations (#1698)
* Not deleting a thread when it's empty - showing an empty snippet when thread is empty or only made up of 'marked as deleted' messages

* SES-2814 - show empty state when conversations are empty
6 months ago
ThomasSession 4b01fcec5e
Fix/message deletion issues (#1697)
* SES-2810 - Removing the screenshot privacy toggle

* SES-2813 - clickable only when there is a 'follow settings'

* SES-2815 - proper icon and spacing for deleted messages

* Simplified deletion dialog to be reused for note to self and the rest as only the labels change

* SES-2819 - Do not show a reaction on a deleted message

* Fixing up deletion details

Message view hides reactions completely if the message is marked as deleted
All  messages can now show the 'Delete' long press option
Community messages should be removed completely not marked as deleted

* Revert "SES-2819 - Do not show a reaction on a deleted message"

This reverts commit 711e31a43a.

* Avoiding adding reactions if the message is marked as deleted

* Removing uneeded icon

* Deletion handled by VM so menu item is always visible

* SES-2811 - Do not attempt to send a failed message marked as deleted

* SES-2818 - Making sure we set the lastMessage in a thread properly, without using 'marked as deleted' messages

* SES-2464 - changed the behaviour to finish the convo activity but instead refresh the sarch on resume

* removing log
6 months ago
ThomasSession 952bafaf1d
Fix/conversation deletion issues (#1695)
* SES-2464 - properly heading to home root when deleting a thread

* 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
6 months ago
ThomasSession 74939da01f
Fix/message deletion issues (#1696)
* SES-2810 - Removing the screenshot privacy toggle

* SES-2813 - clickable only when there is a 'follow settings'

* SES-2815 - proper icon and spacing for deleted messages

* Simplified deletion dialog to be reused for note to self and the rest as only the labels change

* SES-2819 - Do not show a reaction on a deleted message

* Fixing up deletion details

Message view hides reactions completely if the message is marked as deleted
All  messages can now show the 'Delete' long press option
Community messages should be removed completely not marked as deleted

* Revert "SES-2819 - Do not show a reaction on a deleted message"

This reverts commit 711e31a43a.

* Avoiding adding reactions if the message is marked as deleted
6 months ago
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>
6 months ago
ThomasSession 68750e6146
Making sure deleted control messages leave nothing behind (#1693)
* Making sure deleted control messages leave nothing behind

* More control messages check
6 months ago
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>
6 months ago
SessionHero01 ecfa5d346a
Close cursor in retrieveConfigLastUpdateTimestamp (#1692) 6 months ago
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
6 months ago
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.
6 months ago
ThomasSession 9ffaed51b2 v1.20.2 6 months ago
ThomasSession 92f66b4534 Fixing store crash by removing non required spannable 6 months ago
ThomasSession ce968cc5f8 Only force a contact to visible if the approval goes from 'not approved' to 'approved' 6 months ago
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
6 months ago
ThomasSession d257a1a072 Moving recovery password dialogs to compose for QA 6 months ago
ThomasSession 390757fe50 Updating QA tags for dialogs as per the QA Team's instructions 6 months ago
ThomasSession 8fec296c11 Fixing Crashes 6 months ago
ThomasSession b237faa21d Fixing ANRs 6 months ago
ThomasSession 3d42a04823 Fixing property name 7 months ago
ThomasSession 29c6e6b081 Adding back long press fix 7 months ago
ThomasSession c956b2050c Making sure we don't pass in a null recipient name 7 months ago
ThomasSession b74d35e216
Merge pull request #1679 from oxen-io/release/1.20.0
Release/1.20.0
7 months ago
ThomasSession 0447a16976 Fixed import for Huawei builds 7 months ago
SessionHero01 7e1a0ade79
Fix crashes when removing spaces in mention texts 7 months ago
ThomasSession da83df2206 Fixing scroll when getting new messages 7 months ago
ThomasSession 6f32978cc7 Setting the appropriate color for RTL assets 7 months ago
ThomasSession a32f8d27c0 Latest strings and RTL assets 7 months ago
ThomasSession 3dfbd0892d Cleaned up ItemButton to work in both its variations 7 months ago
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.
7 months ago
ThomasSession 89a854e8d7
Merge pull request #1672 from bemusementpark/ItemButton
Fix ItemButton padding for downstate
7 months ago
ThomasSession 6ca34b2926
Merge pull request #1670 from oxen-io/release/1.20.0
Release/1.20.0
7 months ago
bemusementpark 73b0088aea Fix ItemButton padding for downstate 7 months ago
ThomasSession d60db11585 Have to remove translations for now 7 months ago