Commit Graph

2119 Commits

Author SHA1 Message Date
0x330a
e68290b572
fix: use the visible message view's context instead of the UserDetailsBottomSheet context which is null before showing (#1425) 2024-03-04 15:45:32 +11:00
alansley
b21cdab0e4 Minor cleanup 2024-03-01 11:56:33 +11:00
0x330a
f88eab7323
build: update build number 2024-02-28 18:26:28 +11:00
0x330a
a4c99799a2
build: update build version 2024-02-28 17:33:56 +11:00
Andrew
22460df15e Fix expiry not added to community invites 2024-02-28 13:34:32 +10:30
Andrew
1c38fc000a Push empty convos to bottom and hide thread date when unknown 2024-02-27 10:36:13 +10:30
Andrew
1a81c7278a Set NTS to 14 days ago when created in updateUser 2024-02-26 17:46:45 +10:30
Andrew
d143d8a883 Fix old threads being set to 2 weeks ago 2024-02-26 17:27:46 +10:30
Andrew
19c3b639c3 Set thread to 14 days old when added from libSessionContacts 2024-02-26 14:54:54 +10:30
0x330a
e8c61d6791
fix: remove new group invite clearing flags and handling new configs better 2024-02-22 15:25:51 +11:00
0x330a
f6d351f9c3
fix: remove disappearing config overwrite and fix EC key pair's pubkey being group's identity pubkey 2024-02-22 13:32:03 +11:00
Andrew
affdf1ca07 Disable disappearing closed group messages 2024-02-22 12:25:20 +10:30
Andrew
3cd5ca4a6d Simplify ClosedGroupControlMessage#fromProto 2024-02-21 01:17:32 +10:30
Andrew
ef50d63410 Cleanup logs 2024-02-19 09:37:53 +10:30
Andrew
398b5bf7b4 Cleanup 2024-02-19 01:23:06 +10:30
Andrew
2e50dc08bb Cleanup MarkReadReceiver 2024-02-18 02:27:47 +10:30
Andrew
66dcae04f6 Cleanup Storage 2024-02-18 02:23:12 +10:30
Andrew
4ead21cf1a Cleanup SmsDatabase 2024-02-18 02:22:57 +10:30
Andrew
403058c5cf Cleanup VisibleMessageView 2024-02-18 02:22:28 +10:30
Andrew
88dfceed67 Cleanup ConversationViewModel 2024-02-18 02:22:02 +10:30
Andrew
c5c3365b18 Cleanup ConversationReactionOverlay 2024-02-18 02:21:39 +10:30
Andrew
d33de9cf6b Cleanup ConversationActivityV2 2024-02-18 02:21:08 +10:30
Andrew
835fa6882b Cleanup DisappearingMessagesActivity 2024-02-18 02:20:41 +10:30
Andrew
9fd244d86a Cleanup ConversationActionBarView 2024-02-17 23:34:05 +10:30
Andrew
74d96fa926 Fix disappearing messages setting lost on group member change 2024-02-17 17:32:14 +10:30
Andrew
8293c12bf2 Fix subtitle color 2024-02-13 12:16:37 +10:30
Andrew
128ae81998 Add 30 seconds to disappearing debug settings 2024-02-13 12:00:50 +10:30
Andrew
91807db8a9 Set delete in context menu to color destructive 2024-02-13 11:59:40 +10:30
Andrew
8e4266d9ee Fix mms messages delete previous timer messages 2024-02-09 16:41:56 +10:30
Andrew
610d717540 Fix sent status accessibility id 2024-02-09 14:23:03 +10:30
Andrew
64a2b4a61c Fix merge 2024-02-09 14:18:59 +10:30
Andrew
1176273c3a Fix accessibility id 2024-02-09 14:02:37 +10:30
Andrew
e4999e3b84 Merge branch 'dev' into disappear-2 2024-02-09 13:12:31 +10:30
Andrew
637b7f8249 Fix expiry mode application to Message 2024-02-09 11:13:10 +10:30
Andrew
84e92e186b Fix context auto delete timer doesn't show if opened before successful send 2024-02-09 11:11:59 +10:30
Morgan Pretty
7e32f37258 Removed an unneeded import 2024-02-08 15:27:40 +11:00
Andrew
701e3cbf8b Close message context menu on delete 2024-02-08 13:14:22 +10:30
Andrew
779101ddc0 Close MessageDetailsActivity when message is deleted 2024-02-08 12:05:34 +10:30
Andrew
b56c3bd6c5 Add expiration subtitle to Delete option in message context menu 2024-02-07 16:51:00 +10:30
Morgan Pretty
bd03bf45c2 Initial CI setup test
Added code coverage report generation (for future CI stuff)
Fixed a flaky unit test
2024-02-07 13:19:57 +11:00
Andrew
b8aa46912a Add auto-delete subtitle to context menu 2024-02-06 20:10:07 +10:30
Andrew
ac37b2b9de Convert ConversationReactionOverlay to Kotlin 2024-02-06 19:43:01 +10:30
Andrew
3fa4122f77 Tweak call message style 2024-02-06 13:24:42 +10:30
Andrew
ace7e3b54c Don't delete old call messages on new call message 2024-02-06 10:44:17 +10:30
Andrew
f3bb2e5cfa Add new call control message UI with timer icon above 2024-02-06 09:17:19 +10:30
Andrew
c7ffa61c55 Simplify MarkReadReceiver 2024-02-06 09:15:59 +10:30
Andrew
730851d3d5 Remove erroneous scheduleDeletion in marked read 2024-02-05 09:35:55 +10:30
Andrew
a47bf230e2 Fix last seen channel being closed by consuming flow 2024-02-05 09:29:44 +10:30
Andrew
a326c47e56 Don't start DaR timer view until it has actually started 2024-02-03 10:12:46 +10:30
Andrew
246e8bf2a2 Fix messages not marked as read onScroll when message count is unchanged 2024-02-02 22:32:36 +10:30
Andrew
4c7485f53d Fix Message#expiryMode de/serialisation 2024-01-30 15:53:24 +10:30
Andrew
cb0327ecb2 Fix follow setting contentDesc 2024-01-23 14:39:18 +10:00
Andrew
97d6c9928f Fix contentDescriptions 2024-01-23 14:24:10 +10:00
Andrew
848dbd2eb0 Start expiration at end of handling each message type treating call and extraction as DaR 2024-01-23 09:09:16 +10:00
Andrew
e2e5a36f51 Merge remote-tracking branch 'refs/remotes/origin/disappear-2' into disappear-2 2024-01-19 16:05:27 +10:00
Andrew
a845d2f17a Add Set button contentDescription 2024-01-19 15:58:14 +10:00
Al Lansley
343820579c
SA1390 - Session ID regeneration on focus loss (#1392)
* Fixes #1390

* Clean up prior to PR

* Removed unused logging imports introduced during debugging

* Added mechanism to store the session ID seed temporarily during account creation

* Implemented keeping session ID on lose/regain focus via Hariss' better way using the savedInstanceState Bundle

* Removed now unused imports
2024-01-19 15:23:47 +11:00
0x330a
106305f118
fix: outdated banner showing and updating on messages properly 2024-01-18 13:46:46 +11:00
alansley
cab1ffec1e Put back some whitespace 2024-01-17 13:01:55 +11:00
alansley
42e58c477b Removed unused logging imports 2024-01-17 13:00:30 +11:00
alansley
09e48fdc5c Fixes #1346 2024-01-17 12:51:11 +11:00
alansley
cfe2dbca7b Working fix push before cleanup 2024-01-17 12:13:27 +11:00
alansley
88ceffeee2 Investigation in progress 2024-01-17 08:47:27 +11:00
Andrew
1ada072884 Copy expiryMode from proto for all Messages 2024-01-17 00:43:37 +10:30
Andrew
c8377b0e30 Fix follow setting visible in groups 2024-01-16 17:57:52 +10:30
Al Lansley
2fff9eceb7
Cannot save generic files (#1391)
* Fixes #429

* Further experimentation regarding potential race condition - still not resolved

* Changed spinner mechanism away from RotateAnimation which fixes race-condition

* Removed leftover commented code

* Cleanup of unused imports

* Addressed PR feedback

* Adjusted 'visible' to use ktx
2024-01-15 16:46:48 +11:00
Al Lansley
c366574521
Allow links and replies in input bar
Fixes oxen-io/session-android#704 (#1387)
2024-01-15 16:07:36 +11:00
Andrew
1339c60d06 Fix received messages deleted instantly 2024-01-12 13:51:37 +10:30
Andrew
7b26de5bd6 Fix disappear after read 2024-01-11 12:34:41 +10:30
Andrew
6b1628df6b Use expiration in message instead of config 2024-01-11 12:11:43 +10:30
Andrew
5a047daefc Remove disappearing messages scheduling from VisibleMessageView 2024-01-11 10:34:40 +10:30
Andrew
f921fc4933 Remove unused markExpireStarted overload 2023-12-18 11:19:59 +10:30
Andrew
a3b6f685c0 Refactor follow setting dialog 2023-12-18 10:44:44 +10:30
Andrew
06c258364f Use new strings for follow setting control message 2023-12-15 16:36:02 +10:30
Andrew
988040b577 Hide follow settings button when not applicable 2023-12-15 11:48:54 +10:30
andrew
a57b7ef121 build: update version code 2023-12-11 15:22:13 +10:30
0x330a
9a83daa53f fix: remove the two unsupported servers 2023-12-08 11:44:28 +11:00
andrew
cf0dbffafd Add follow setting button 2023-12-07 17:50:30 +10:30
andrew
c60b6d9ba2 Add follow setting button 2023-12-06 12:31:59 +10:30
andrew
71b2f1ed6a Hold onto last incoming and outgoing expiration update for 1 on 1 convos 2023-12-06 03:32:14 +10:30
andrew
a4d3fa8897 Convert ExpiringMessageManager to Kotlin 2023-11-30 13:42:11 +10:30
andrew
eecea12c17 Add set button contentDescription 2023-11-30 09:10:06 +10:30
andrew
7bd43b1b3c Fix control messages 2023-11-28 12:47:27 +10:30
wafflesvsfrankie
7fe40ea9f1
Content descriptions (#1358)
* Adding in Content Description for automated testing including: Community input (URL) box, changes `Configuration message` to `Control message` and also `Message Body` to `Message body`Created checkout page along with checkoutItems and checkout cart functionality

* Forgot the button at the end
2023-11-20 15:32:57 +11:00
andrew
8cc26b8fb6 Fix contentDescriptions 2023-11-20 11:10:09 +10:30
0x330a
d6ba78606e
fix: activate the banner only if conversation is in expiring mode not none 2023-11-16 11:44:21 +11:00
andrew
4ed5b57abd Fix read/write legacy 2023-11-15 12:03:23 +10:30
andrew
725ad43b1d Fix timer icon flashes expired 2023-11-15 12:02:15 +10:30
andrew
fc9ea46ed8 Merge branch 'disappear-2' of github.com:bemusementpark/session-android into disappear-2 2023-11-13 23:41:49 +10:30
andrew
d3911fbedd Fix legacy options 2023-11-13 23:41:41 +10:30
0x330a
565c92f45e
fix: clear on updated legacy message from existing legacy thread recipient 2023-11-13 10:49:43 +11:00
0x330a
56878dbd35
refactor: add sender to be the person to trigger the legacy message send (in case of closed group updates) 2023-11-13 10:33:48 +11:00
0x330a
d12bce54bd feat: add basic last sent legacy message DB migration and creation for banner 2023-11-13 08:38:33 +11:00
andrew
806cb216ae Fix disappearing off icon 2023-11-10 13:26:30 +10:30
andrew
b0447cf342 Fix gap under messages 2023-11-06 12:23:09 +10:30
andrew
1c8612c392 Migrate db to autoincrement id for sms and mms 2023-11-06 11:09:32 +10:30
andrew
555209bec1 Fix animation 2023-11-01 14:13:10 +10:30
andrew
1b5b7cfccc Use animated timer in control message 2023-10-31 14:18:54 +10:30
andrew
e3011c52c2 Fix padding and ordering 2023-10-31 12:32:42 +10:30
andrew
a108e3b9c1 Show timer in status 2023-10-31 11:55:10 +10:30
andrew
7b533f3676 Fix timer color 2023-10-30 11:40:17 +10:30
Rugved Darwhekar
c647bab35e Fixed video call auto rotate, when auto rotate is disabled 2023-10-29 15:58:54 -07:00
andrew
61c51ecf64 Remove timer from message view 2023-10-27 16:24:56 +10:30
andrew
617dbc8799 Remove unused ConversationItemFooter 2023-10-27 13:20:37 +10:30
andrew
2228a05b2e Fix control message text 2023-10-26 14:23:09 +10:30
andrew
a9467c7b96 [SES-1203] Disable radio buttons 2023-10-20 13:32:16 +10:30
andrew
8399771d5d Add contentDescription to settingsPager 2023-10-19 14:38:42 +10:30
andrew
b2f92bc166 Add contentDescriptions to radio buttons 2023-10-19 13:32:34 +10:30
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
aaronkerckhoff
e595cfb504 Improve check if author is own user when quoting messages 2023-10-15 14:19:41 +02: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
aaronkerckhoff
0f04929bf9 Fix bug displaying user ID when quoting own message 2023-09-30 01:32:39 +02: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
1f6542eff3 Fix dialog button style 2023-09-22 00:16:10 +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