This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
forked from signalapp/Signal-Android
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed apk expire. - Choose between passphrase protection and the Android screenlock. - Option to treat view-once media as normal media. - Option to ignore remote deletion. - Choose between FCM or websocket notification delivery. - Option to delete only the media from a message, not the rest of the message. - Removed forward limit. - Enabled internal preferences. Use at your own risk. - Added options to select who can add you to a group. Script: COMMIT_ID=c6f74bf5e41ea79e95d332300b8093358eb4d91f UPSTREAM="upstream/main" git cherry-pick $COMMIT_ID reset_list=( "README.md" "app/build.gradle.kts" "app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java" "app/src/main/java/org/thoughtcrime/securesms/components/location/SignalMapView.java" "app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListFragment.java" "app/src/main/java/org/thoughtcrime/securesms/database" "app/src/main/java/org/thoughtcrime/securesms/keyvalue/MiscellaneousValues.kt" "app/src/main/java/org/thoughtcrime/securesms/maps/PlacePickerActivity.java" "app/src/main/java/org/thoughtcrime/securesms/util/BackupUtil.java" "app/src/main/java/org/thoughtcrime/securesms/util/StorageUtil.java" "app/src/main/java/org/thoughtcrime/securesms/util/Util.java" "gradle/verification-metadata.xml" "app/src/main/res" ) remove_list=( "app/src/main/java/org/thoughtcrime/securesms/ExitActivity.java" "app/src/main/java/org/thoughtcrime/securesms/ImportExportActivity.java" "app/src/main/java/org/thoughtcrime/securesms/ImportExportFragment.java" "app/src/main/java/org/thoughtcrime/securesms/ImportWhatsappDialog.java" "app/src/main/java/org/thoughtcrime/securesms/database/whatsapp" "app/src/main/java/org/thoughtcrime/securesms/util/FileUtilsJW.java" "app/src/main/java/org/thoughtcrime/securesms/util/UriUtils.java" ) for i in "${reset_list[@]}"; do echo "Resetting $i to state in $UPSTREAM" git checkout "$UPSTREAM" -- "$i" done for i in "${remove_list[@]}"; do echo "Removing $i to state in $UPSTREAM" git rm "$i" done git checkout HEAD -- "app/src/main/java/org/thoughtcrime/securesms/database/MediaTable.kt" git checkout HEAD -- "app/src/main/java/org/thoughtcrime/securesms/database/MessageTable.kt" echo ' <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools"> <string-array name="pref_group_add_entries"> <item>@string/preferences__group_anyone</item> <item>@string/preferences__group_non_blocked</item> <item>@string/preferences__group_only_contats</item> <item>@string/preferences__group_only_systemcontats</item> <item>@string/preferences__group_nobody</item> </string-array> <string-array name="pref_group_add_values" translatable="false"> <item>anyone</item> <item>nonblocked</item> <item>onlycontacts</item> <item>onlysystemcontacts</item> <item>nobody</item> </string-array> </resources> ' > 'app/src/main/res/values/arrays1.xml' echo ' <?xml version="1.0" encoding="utf-8"?> <resources> <!-- preferences.xml --> <string name="preferences__group_anyone">Anyone</string> <string name="preferences__group_non_blocked">All non-blocked persons</string> <string name="preferences__group_only_contats">Only contacts</string> <string name="preferences__group_only_systemcontats">Only non-blocked system contacts</string> <string name="preferences__group_nobody">Nobody</string> <!-- app protection--> <string name="preferences_app_protection__method_passphrase">Use a passphrase</string> <string name="preferences_app_protection__method_passphrase_summary">Use a passphrase to protect Signal instead of the Android screen lock or fingerprint</string> <string name="preferences_app_protection__screenlock_requires_lollipop">Using the system screenlock requires Android 5.0 (Lollipop) or higher.</string> <string name="preferences_app_protection__android_version_too_low">Android version too low</string> <!-- FCM switch --> <string name="preferences_advanced__push_notifications_fcm">Push Notifications via FCM</string> <string name="preferences_advanced__push_notifications_fcm_summary">Receive push notifications via Google Play Services. When switched off a websocket will be used, which might cause more battery usage</string> <string name="preferences_advanced__play_services_not_found">Google Play Services not found</string> <string name="preferences_advanced__need_to_restart">Signal needs to restart for the changes to take effect</string> <string name="ImportFragment_restore_ok">OK</string> <!-- Keep messages --> <string name="preferences_chats__control_message_deletion">Control message deletion</string> <string name="preferences_chats__chat_keep_view_once_messages">Keep view-once media</string> <string name="preferences_chats__keep_view_once_messages_summary">When checked incoming view-once media will be treated as normal view-always media and will not be deleted after view</string> <string name="preferences_chats__chat_ignore_remote_delete">Ignore remote delete</string> <string name="preferences_chats__chat_ignore_remote_delete_summary">When checked, this option prevents the remote deletion of messages by the sender</string> <string name="preferences_chats__delete_media_only">Delete media only</string> <string name="preferences_chats__delete_media_only_summary">Delete only media, not the message itself, when media is deleted in the All media screen</string> <!-- group control --> <string name="preferences_chats__group_control">Group control</string> <string name="preferences_chats__who_can_add_you_to_groups">Who can add you to groups</string> </resources> ' > 'app/src/main/res/values/strings1.xml'
- Loading branch information
1 parent
60ee967
commit 698b961
Showing
24 changed files
with
681 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.