Commit Graph

1948 Commits

Author SHA1 Message Date
andrew
864942026c Fix group disappearing messages not opening 2023-10-19 13:21:06 +10:30
0x330a
2d0c4399c4
refactor: use just the storage setExpirationConfiguration function 2023-10-16 14:50:58 +11:00
andrew
019a86482a Fix timestamps 2023-10-16 13:34:10 +10:30
andrew
8145a7d772 Merge branch 'disappear-2' of github.com:bemusementpark/session-android into disappear-2 2023-10-16 11:16:12 +10:30
andrew
73538a47aa Remove log 2023-10-16 11:15:56 +10:30
0x330a
acb1181db0
feat: add more testing functionality for the expected current / updated expiry configuration upon merging libsession updates 2023-10-16 10:48:06 +11:00
0x330a
f6a736bd13
Merge remote-tracking branch 'origin/master' into disappear-2 2023-10-16 09:57:49 +11:00
andrew
008bbd8c38 Optimise DAR message expiry update & lookup 2023-10-15 01:11:00 +10:30
0x330a
9d02eb33c7 build: update version code 2023-10-13 16:48:47 +11:00
andrew
793fe63260 Merge branch 'dev' into disappear-2 2023-10-13 15:51:43 +10:30
andrew
88e7ef1403 Fix db typo 2023-10-13 15:47:11 +10:30
andrew
d37e7240e9 Call expire after read DaR messages 2023-10-13 15:45:25 +10:30
0x330a
b6bb586509 feat: add foreground types to key caching service and call service 2023-10-13 14:32:04 +11:00
0x330a
82cbf830ae
fix: need quotes on job type key 2023-10-11 17:52:04 +11:00
0x330a
c1102a2a50
build: update build number 2023-10-11 17:37:55 +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
6f22eb659b
fix: use the context compat register receiver to fix Android 14 crash (#1338) 2023-10-11 17:12:28 +11:00
0x330a
e06f9ee79a refactor: change storage adding contacts to create one on ones with a non hidden thread priority and base for testing storage expiration merges from fake polling 2023-10-11 11:14:01 +11:00
andrew
f71c56022d Merge branch 'dev' into disappear-2 2023-10-11 09:48:36 +10:30
andrew
77f951cadf Use separate tables for mms and sms in LokiMessageDatabase 2023-10-11 01:53:08 +10:30
andrew
c86b229200 Add mms and sms table to loki db 2023-10-11 01:52:54 +10:30
andrew
3d6c7dbae4 Simplify MarkReadReceiver#process 2023-10-10 09:20:37 +10:30
andrew
17f41d76b8 Improve ui vm separation 2023-10-09 16:33:54 +10:30
andrew
b211c8bffb Rename ExpirationSettings to DisappearingMessages 2023-10-09 12:44:48 +10:30
0x330a
cb1b5b0f78
build: update version name and code 2023-10-09 10:12:51 +11:00
andrew
5986196465 Accessibility 2023-10-06 15:55:26 +10:30
andrew
892e4b75ec Merge branch 'dev' into disappear-2 2023-10-06 12:01:23 +10:30
andrew
82a94eed74 Fix control message accessibility id 2023-10-06 11:53:57 +10:30
andrew
3566260c6c Remove sarrays__off 2023-10-05 21:44:56 +10:30
andrew
149c81722c Fix cards visibility pre API 28 2023-10-05 21:23:45 +10:30
andrew
ebbe928fd2 Sync disappear after read with other devices 2023-10-05 12:50:42 +10:30
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
443ddfa370
Merge remote-tracking branch 'upstream/master' into dev 2023-09-28 14:01:58 +10:00
Andrew
e124d442ef
Ignore unknown fields in push V2 json 2023-09-22 10:02:39 +09:30
Andrew
698b853716
Make playDebug the default variant 2023-09-21 20:52:57 +09:30
andrew
0cd0ac9c75 Ignore unknown fields in push V2 json 2023-09-21 19:44:54 +09:30
andrew
ec8b89b8a4 Minor test refactor 2023-09-21 01:13:34 +09:30
andrew
9968b5d6ea Fix group admin test 2023-09-21 00:37:12 +09:30
andrew
c492a74014 Hide set button when disabled 2023-09-21 00:27:10 +09:30
andrew
7738b19760 Add non admin group test 2023-09-20 23:29:35 +09:30
andrew
cd0022e0ee Add old config tests 2023-09-20 14:14:58 +09:30
andrew
668bf46655 Fix tests 2023-09-20 11:31:51 +09:30
andrew
e700641da7 Refactor test 2023-09-20 09:19:11 +09:30
andrew
3bf87ff2ea Add 1 day after read 2023-09-20 00:52:44 +09:30
andrew
987bd8961b Add off test 2023-09-20 00:47:19 +09:30
andrew
92cae9adde Add 1 day after read test 2023-09-20 00:41:34 +09:30
andrew
a7111b0d49 Simplify VM 2023-09-19 13:45:59 +09:30
andrew
885df1e22b Refactor 2023-09-18 01:49:41 +09:30
andrew
5ce100a4ec Select currently persisted time when user toggles back to currently persisted type 2023-09-14 19:34:34 +09:30
andrew
349247e7f3 Hide disappearing header for note-to-self 2023-09-14 19:21:39 +09:30
Andrew
984c3763b6
Remove unused longmessage package 2023-09-07 17:09:00 +09:30
Andrew
833b30fc14
Increase activity_home_outdated_client_config text size to 11sp 2023-09-07 17:05:28 +09:30
andrew
0c9d050ef6 Fix nts options and add 10 second debug time 2023-09-07 13:48:16 +09:30
andrew
96afa8d23f Fix expiry timer millis conversion 2023-09-05 14:07:41 +09:30
andrew
303aacb2e3 Fix post notifications permission request 2023-09-04 14:49:28 +09:30
andrew
bb36b9361a Simplify list 2023-09-04 14:03:40 +09:30
andrew
2d89dda2dd Fix debug time ordering 2023-09-04 12:18:41 +09:30
andrew
f1d3518f1c Fix groups 2023-09-04 11:22:18 +09:30
andrew
63713aeb88 Show debug time in 1-1 conversations 2023-09-02 21:59:34 +09:30
andrew
ba0ca7d260 Remove Storage#setExpirationTimer 2023-09-02 19:53:43 +09:30
andrew
cdb7a5f5d6 Fix time option not selecting when type options are off 2023-09-02 10:03:46 +09:30
andrew
519bf38ee0 Merge branch 'dev' into disappear-2 2023-09-01 17:21:19 +09:30
hjubb
99e5ed3db7 Merge remote-tracking branch 'upstream/dev' 2023-09-01 13:50:33 +10:00
0x330a
29275cef51
build: update build number (#1310) 2023-09-01 13:42:23 +10:00
andrew
371d06d6b5 Simplify 2023-09-01 10:57:50 +09:30
andrew
8b320bb0ce Fix onSetClick 2023-09-01 10:35:21 +09:30
andrew
ee6ce84116 Fix TitledRadioButton ripple downstate 2023-09-01 08:31:08 +09:30
andrew
ef24fb0fd1 Fix test 2023-08-31 17:51:14 +09:30
andrew
58c4467749 Implement default times 2023-08-31 12:57:28 +09:30
andrew
4e424384be Improve routing 2023-08-31 12:50:10 +09:30
andrew
88223be957 Cleanup 2023-08-31 12:45:35 +09:30
andrew
bc83c3da52 Fix outline button colors 2023-08-31 12:35:15 +09:30
andrew
e95c842051 Add preview for all states 2023-08-31 12:09:06 +09:30
andrew
0b11e182ff Merge branch 'dev' into disappear-2 2023-08-30 10:59:00 +09:30
andrew
0e0cbf112b Use separate keys for huawei shared prefs 2023-08-28 11:18:51 +09:30
andrew
bfd2370730 Add disabled group options 2023-08-28 09:37:19 +09:30
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
andrew
9f6dd728d5 Cleanup 2023-08-28 01:50:20 +09:30
andrew
c22860665e Add event flow 2023-08-27 23:20:14 +09:30
andrew
b65a383ac5 Reinstate group footer 2023-08-27 18:44:29 +09:30
andrew
97f28fd2e5 Respect option selected in note to self 2023-08-27 01:24:41 +09:30
andrew
6602f1bd14 Show correct options for note to self 2023-08-27 01:14:39 +09:30
andrew
cc5cd51ac1 Fix type radio button 2023-08-27 01:03:36 +09:30
andrew
7a705642a2 Fix fading edge 2023-08-27 00:12:20 +09:30
andrew
71b2544c31 Use compose 2023-08-25 12:20:34 +09:30
andrew
5142c45643 Move recipient into state 2023-08-24 01:00:31 +09:30
andrew
0ed9731622 Make ExpiryMode non-null in config 2023-08-24 00:32:24 +09:30
andrew
58b5815a09 Simplify 2023-08-22 14:12:11 +09:30
andrew
621c74c1d6 Improve animations 2023-08-22 10:58:06 +09:30
andrew
6818be21a1 Remove trailing divider 2023-08-21 20:58:51 +09:30
andrew
d9c48ec84f Move getDeleteOptions() to ViewModel 2023-08-21 20:00:39 +09:30
andrew
78eef350b5 Add radioOption DSL 2023-08-21 19:45:50 +09:30
andrew
9123dd90a4 Utilise typealias for RadioOptions 2023-08-21 18:35:37 +09:30
andrew
60f396a158 Fix ExpSettingsViewModel 2023-08-21 12:11:27 +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
0x330a
d6dd7a82f1 fix: error with legacy type and set type check 2023-08-16 16:25:25 +10:00
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
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
0x330a
9faa400a5b
refactor: use generic option adapters, fix compile issues 2023-08-10 17:16:46 +10:00
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
0x330a
317ecf6cee refactor: making radio options and adapter and list items generic 2023-08-09 16:36:19 +10:00
Andrew
34fc6ee6cb
Remove contactshare package (#1288) 2023-08-09 14:12:07 +09:30
andrew
e60c05cee0 Fix Huawei message parsing 2023-08-09 12:18:22 +09:30
0x330a
9dc8f18b86 fix: prevent message request response from being deleted by any config 2023-08-09 10:59:57 +10:00
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
0x330a
2e3d50364c fix: issue for overwriting local config with an outdated user config merge 2023-08-04 16:11:18 +10:00
andrew
a27f81db30 Fix Huawei push notifications 2023-08-04 13:36:09 +09:30
0x330a
8db92cc55c
feat: add user config integrated into config sync 2023-08-03 17:37:21 +10:00
andrew
cc6f880665 ... 2023-08-03 14:14:55 +09:30
0x330a
06c0ab3080 refactor: let frontend use the normal types and enabled options properly set 2023-08-03 08:54:39 +10:00
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
0x330a
bcb2071f44
fix: compile issues and dependencies resolved to use shared configs throughout apps 2023-07-31 17:19:38 +10:00
0x330a
19083e2ce7 refactor: use the shared config expiry mode types instead of custom protobufs so we can remove a variable and simplify checks across two variables 2023-07-28 11:39:12 +10:00
0x330a
7f4db64a5a
refactor: refactor ExpirationConfigurationDatabase to return a specific db config after removing config values that are in shared lib 2023-07-27 17:40:59 +10:00
andrew
d1e22ca369 Fix 2023-07-27 13:53:33 +09:30
0x330a
87d76b21da
refactor: moving radio indexes out of expiration configuration 2023-07-27 14:22:10 +10:00
andrew
7be1f092f9 More Huawei stuff 2023-07-26 22:09:24 +09:30
0x330a
0e30d14b96
refactor: start looking at how to incorporate the user config changes to the expiry message update times and where to read values from 2023-07-26 17:16:09 +10:00
andrew
4738c9b4f9 Fix v2 2023-07-26 14:48:15 +09:30
andrew
d3ea4e2e30 Fix 2023-07-26 14:36:06 +09:30
0x330a
2acb7b5169 refactor: remove unused parameter 2023-07-26 11:57:26 +10:00
0x330a
41c05b1e67 fix: compile issues and deprecate java for kotlin lint 2023-07-26 11:34:00 +10:00
Andrew
55216875ac Connect Huawei push notifications 2023-07-26 10:48:20 +09:30
0x330a
7f7971e47f Merge remote-tracking branch 'upstream/dev' into disappearing-messages
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/res/layout/activity_conversation_v2_action_bar.xml
2023-07-26 09:46:57 +10:00
andrew
34990b13d3 ... 2023-07-25 14:49:41 +09:30
0x330a
36df2b37df Merge remote-tracking branch 'origin/disappearing-messages' into disappearing-messages
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	libsession/src/main/java/org/session/libsession/messaging/messages/control/MessageRequestResponse.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt
#	libsignal/src/main/java/org/session/libsignal/protos/SignalServiceProtos.java
2023-07-25 13:14:29 +10:00
andrew
01e9d15872 Add Huawei flavor 2023-07-25 11:38:06 +09:30
andrew
58cda9ba4a Fix website 2023-07-25 10:32:41 +09:30
andrew
002793baed Merge branch 'dev' into add-unregister 2023-07-24 09:52:11 +09:30