Commit Graph

1804 Commits

Author SHA1 Message Date
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
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
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
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
andrew
008bbd8c38 Optimise DAR message expiry update & lookup 2023-10-15 01:11:00 +10:30
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
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
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
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
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