Commit graph

8279 commits

Author SHA1 Message Date
andrew
0e0cbf112b Use separate keys for huawei shared prefs 2023-08-28 11:18:51 +09:30
0x330a
b6ff1deb64
Merge remote-tracking branch 'upstream/dev' into closed_groups
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/RecipientDatabase.java
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	libsession-util/libsession-util
#	libsession/src/main/java/org/session/libsession/messaging/messages/visible/VisibleMessage.kt
#	libsession/src/main/java/org/session/libsession/utilities/GroupUtil.kt
#	libsession/src/main/java/org/session/libsession/utilities/recipients/Recipient.java
#	libsignal/protobuf/SignalService.proto
#	libsignal/src/main/java/org/session/libsignal/protos/SignalServiceProtos.java
2023-08-28 10:14:18 +10:00
0x330a
2466d9b4c0
[SES-1002] Synced blind requests (#1303)
* feat: update config to use blinded-msg-requests pr

* feat: add block community message requests bool to protos

* feat: add everything needed for recipientDB to have blocked community requests potentially

* feat: add db migrations

* feat: add sending community block flags and preference options

* feat: add parsing block request flag

* fix: open group message requests were broken anyway

* fix: delete all encoded open group inbox ID bs, fix privacy settings using user config as privacy store

* feat: initial creation sets flag, rename to match libsession implementation value

* fix: recipient blinded checks from open group message for blocking community requests on blinded ID version of recipient, use correct (inverted) values from before for checking polling and empty states etc

* fix: pr comments for view model factory context ref, simplified user config object check for category in PrivacySettingsPreferenceFragment

* fix: pr comments

* fix: migrate some dependencies and functionality out of VM into repository to remove content resolver and context dependecy so tests pass again

* refactor: better naming for hidesInputBar and add more tests for expected recipient view states

* fix: use contact information as opposed to active conversations

* fix: PR comments
2023-08-28 09:51:48 +10:00
0x330a
bf4ef68728 feat: add base wrappers to the remaining group configs 2023-08-25 17:37:16 +10:00
0x330a
efc88b45bb feat: finish group info wrappers 2023-08-25 15:33:36 +10:00
0x330a
9bf20a18c4
feat: implement a ustring from jstring for utils 2023-08-24 18:18:31 +10:00
0x330a
eb30d17a3d
feat: add basic group info wrapper to libsession util 2023-08-24 17:59:26 +10:00
0x330a
284ed16dc0
feat: checkout latest libsession-util 2023-08-24 17:44:27 +10:00
0x330a
eaddc44de1
feat: adding support for new closed groups, moving closed groups to be legacy throughout app 2023-08-24 17:38:14 +10:00
0x330a
4e0d043a8c
fix: remove clear all media dialog for now 2023-08-24 14:36:49 +10:00
0x330a
8250603cfc
fix: clear messages dialog 2023-08-24 14:34:22 +10:00
0x330a
26211403b9
fix: some compile issues for themes from merge 2023-08-24 12:09:52 +10:00
0x330a
50bc298490
feat: add note to self delete option 2023-08-24 12:05:59 +10:00
0x330a
ff057d7110 Merge remote-tracking branch 'upstream/dev' into closed_groups
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
#	app/src/main/java/org/thoughtcrime/securesms/MediaOverviewActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationViewModel.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/dialogs/DownloadDialog.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageContentView.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/RecipientDatabase.java
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/ThreadDatabase.java
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	app/src/main/java/org/thoughtcrime/securesms/dependencies/DatabaseModule.kt
#	app/src/main/java/org/thoughtcrime/securesms/preferences/BlockedContactsViewModel.kt
#	app/src/main/res/drawable/profile_picture_view_large_background.xml
#	app/src/main/res/layout/dialog_download.xml
#	app/src/main/res/layout/view_untrusted_attachment.xml
#	app/src/main/res/values/strings.xml
#	app/src/test/java/org/thoughtcrime/securesms/util/OpenGroupMigrationTests.kt
#	libsession/src/main/java/org/session/libsession/database/StorageProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/Message.kt
#	libsession/src/main/java/org/session/libsession/utilities/bencode/Bencode.kt
#	libsession/src/main/java/org/session/libsession/utilities/recipients/Recipient.java
#	libsignal/src/main/java/org/session/libsignal/protos/SignalServiceProtos.java
#	libsignal/src/main/java/org/session/libsignal/utilities/IdPrefix.kt
2023-08-23 16:45:24 +10:00
0x330a
eca2649304 Merge remote-tracking branch 'origin/closed_groups' into closed_groups 2023-08-23 15:56:55 +10:00
Andrew
f6345c86ce
[SES-469] Update push notifications
- Utilise new push endpoint
- Add huawei support
2023-08-23 11:42:19 +09:30
andrew
7861eb25c2 Improve param naming for isPushEnabled 2023-08-17 22:36:05 +09:30
andrew
296c5d743f Limit scope of huawei dependencies 2023-08-17 22:34:13 +09:30
andrew
ae9d3810e1 Fix website flavor TokenFetcher 2023-08-17 14:02:22 +09:30
andrew
550955f530 Add huawei strings 2023-08-16 20:54:07 +09:30
andrew
62cd0f68f0 Improve huawei guarding 2023-08-16 19:23:13 +09:30
andrew
d308f381d9 Disable fcm preference while register request is in flight 2023-08-16 13:27:28 +09:30
andrew
0aa5dc7969 Convert NotificationPreferenceFragment to Kotlin 2023-08-16 13:25:45 +09:30
andrew
7c8882e1f3 Fix project reference in task 2023-08-15 18:42:49 +09:30
andrew
b09b6836d4 Add huawei info to BUILDING.md 2023-08-15 14:52:40 +09:30
andrew
4c8f38df72 Require command line arg to include huawei dependencies 2023-08-15 13:51:21 +09:30
andrew
b987ba719b Remove unused longmessage package 2023-08-15 10:29:20 +09:30
andrew
ed7ce36402 Cleanup gradle 2023-08-14 10:31:22 +09:30
andrew
1d9fb13809 Move plugin to huawei flavor 2023-08-11 19:29:31 +09:30
andrew
9899b37f43 Move huawei manifest metadata to huawei flavor 2023-08-11 17:45:56 +09:30
andrew
77100231d2 Fix logs 2023-08-11 17:37:35 +09:30
andrew
16177d5cb1 Fix logs 2023-08-11 17:36:55 +09:30
andrew
9813b526f0 Merge branch 'dev' into huawei-3 2023-08-10 13:18:59 +09:30
Andrew
c9417b2fec
Fix Dialog#button default (#1299) 2023-08-10 13:17:28 +09:30
andrew
309293df63 Improve logs in SingleRecipientNotificationBuilder 2023-08-10 10:36:52 +09:30
Andrew
34fc6ee6cb
Remove contactshare package (#1288) 2023-08-09 14:12:07 +09:30
andrew
e1e5c5937b Use live endpoint for legacy groups 2023-08-09 12:42:53 +09:30
andrew
e60c05cee0 Fix Huawei message parsing 2023-08-09 12:18:22 +09:30
andrew
5a5b2f593f Refactor to accept Huawei token from getToken() and/or onNewToken() 2023-08-09 10:08:42 +09:30
Andrew
2f42fe9d0d
Remove unused classes (#1289) 2023-08-08 14:40:36 +09:30
andrew
c8dcfbf32c Merge branch 'dev' into huawei-3 2023-08-07 23:09:54 +09:30
Andrew
9cf99480d6
Fix shareLogs() canceled by early dismiss() (#1295) 2023-08-07 23:01:03 +09:30
andrew
d6380c5e63 Fix website flavor 2023-08-07 09:50:51 +09:30
andrew
24f7bb2b45 Move files 2023-08-06 22:39:49 +09:30
andrew
bcf925c132 Cleanup 2023-08-06 22:22:39 +09:30
andrew
a27f81db30 Fix Huawei push notifications 2023-08-04 13:36:09 +09:30
andrew
cc6f880665 ... 2023-08-03 14:14:55 +09:30
andrew
41d24ef2c3 ... 2023-08-02 14:55:31 +09:30
andrew
7ee9b14247 Fix PNModeActivity DI 2023-08-02 10:41:50 +09:30
Andrew
cd1a52399e Increase activity_home_outdated_client_config text size to 11sp 2023-07-31 22:18:34 +09:30