801 Commits

Author SHA1 Message Date
0x330a
faeee662af refactor: process the configs for libsession directly as the byte arrays, pull out the duplicate removal logic and envelope / unwrap from SnodeAPI 2023-10-18 12:22:25 +11:00
0x330a
9b9772ffab refactor: tidy up the config sync job 2023-10-18 11:05:18 +11:00
0x330a
709f0629a0 fix: don't do double protobuf 2023-10-17 15:10:45 +11:00
0x330a
00ad9cf39f feat: hacky workaround for new protobuf encryption branches ! 2023-10-16 17:41:00 +11:00
0x330a
9dfb6f84b7 Merge remote-tracking branch 'upstream/master' into closed_groups
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt
2023-10-16 15:59:40 +11:00
0x330a
862a47e7e3 feat: add drop attachment download migration in case there are a lot of pending failed attachment downloads 2023-10-11 17:37:39 +11:00
0x330a
20df73355d fix: or should be and (#1334) 2023-10-06 13:56:47 +11:00
0x330a
c013a276f1 refactor: fix the closed group message sending and remove sig_timestamp 2023-10-05 17:14:32 +11:00
0x330a
84bc1dcb6b Update session libsodium (#1326)
* chore: update dependencies for the libsodium dependency and replace aar

* fix: update gradle dependencies to work with integration tests

* fix: test

* refactor: make it use espresso wait

* refactor: bring compose dependencies back to stable releases
2023-10-04 15:17:27 +11:00
0x330a
77a18e337b Maybe fix oob in media preview adapter cursor adapter (#1324)
* fix: maybe fix oob exception?

* fix: attachment download was broken again

* refactor: wrap in an if and log warning in the bad state
2023-10-04 15:17:07 +11:00
0x330a
e419024f6b feat: add linux native library support for libsession to enable junit testing (might not be the best way) 2023-10-04 09:59:10 +11:00
0x330a
fb2a7a8fed feat: start adding tests and fix dependencies for tests 2023-10-02 17:39:16 +11:00
0x330a
5bd6986055 Merge remote-tracking branch 'upstream/dev' into closed_groups
# Conflicts:
#	libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt
2023-10-02 10:55:26 +11:00
0x330a
fc57d3396d feat: add background group creation and placeholder spinny progress 2023-09-18 17:26:57 +10:00
0x330a
ec02087c6b feat: finish implementing scheduling sync and pollers, destination based config sync job 2023-09-18 16:13:25 +10:00
0x330a
43e72550f9 refactor: fixing compile issues and namespace references throughout. figuring out config sig and base issues 2023-09-18 12:24:06 +10:00
0x330a
b5b248a6ec refactor: refactor the configs to implement a parent with common functionality across config base and config sig 2023-09-17 23:00:40 +10:00
0x330a
915fa5bc2b feat: notify updates for closed group info polling to set recipient name 2023-09-14 17:11:56 +10:00
0x330a
51c3020049 feat: group message from poller decoding / sending & receiving 2023-09-14 17:00:54 +10:00
0x330a
e8ade014ae fix: implement hashcode and equals to make pollers unique in concurrent hash map 2023-09-13 18:39:16 +10:00
0x330a
82e3516a60 feat: basic polling happening with hashes merging 2023-09-13 18:29:19 +10:00
0x330a
040696c08b feat: introduce the handling of poll messages for closed group poller 2023-09-13 12:11:42 +10:00
0x330a
df29ed8f16 feat: start on closed group polling for new signatures 2023-09-13 10:12:35 +10:00
0x330a
6067916da9 feat: add finishing of group push for initial group creation and saving group configs to DB. re-implement key signing messages properly for the signing config which doesn't override the config base 2023-09-11 18:07:23 +10:00
0x330a
2527ac2e21 feat: add a basic config send sign with group key 2023-09-08 17:21:45 +10:00
0x330a
de885b4b4a feat: wiring together storage and configs for groups in a test way, experimenting with best structure that makes sense for group creation 2023-09-08 12:42:53 +10:00
0x330a
026f0056b9 feat: creating the basic storage code to test creating group in configs and pushing 2023-09-07 17:33:24 +10:00
0x330a
380d6694ea fix: treat self sends correctly when no contact information for ourself (#1318) 2023-09-07 16:54:38 +10:00
0x330a
76ae6997db feat: finish most wrappers and compile issues, start new closed group compose code 2023-09-04 17:56:55 +10:00
0x330a
d19d1231c9 fix: compile errors and moving the references to sessionId and broken hex string function 2023-08-31 17:32:43 +10:00
0x330a
63e156cce5 feat: wrappers and debugging get/set for the closed groups in user groups 2023-08-31 15:03:29 +10:00
0x330a
b42b9fa414 feat: adding more closed group in recipient logic, adding more wrappers for user groups and serializing / deserializing the closed groups in user group type 2023-08-30 17:48:21 +10:00
0x330a
980b838ea0 Merge remote-tracking branch 'upstream/dev' into closed_groups 2023-08-29 16:22:34 +10:00
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
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
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
andrew
7861eb25c2 Improve param naming for isPushEnabled 2023-08-17 22:36:05 +09:30
andrew
1d9fb13809 Move plugin to huawei flavor 2023-08-11 19:29:31 +09:30
andrew
77100231d2 Fix logs 2023-08-11 17:37:35 +09:30
andrew
e1e5c5937b Use live endpoint for legacy groups 2023-08-09 12:42:53 +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
d3ea4e2e30 Fix 2023-07-26 14:36:06 +09:30
Andrew
55216875ac Connect Huawei push notifications 2023-07-26 10:48:20 +09:30
andrew
34990b13d3 ... 2023-07-25 14:49:41 +09:30
andrew
01e9d15872 Add Huawei flavor 2023-07-25 11:38:06 +09:30
andrew
002793baed Merge branch 'dev' into add-unregister 2023-07-24 09:52:11 +09:30