Torsten Grote
|
071010e438
|
Turn ConversationSettingsLearnMoreDialog into a generic Onboarding fragment
|
2021-04-13 08:48:53 -03:00 |
|
Torsten Grote
|
f6d8e364d6
|
Update auto-delete onboarding text
|
2021-04-13 08:48:53 -03:00 |
|
akwizgran
|
f1453ed4c4
|
Show disabled menu item if we support feature but contact doesn't.
|
2021-04-13 08:48:52 -03:00 |
|
akwizgran
|
3a2146cb03
|
Don't advertise support for disappearing messages unless flag is enabled.
|
2021-04-13 08:48:52 -03:00 |
|
akwizgran
|
24eb76de20
|
Hide disappearing messages menu item unless feature flag is enabled.
|
2021-04-13 08:48:51 -03:00 |
|
akwizgran
|
693478e0a5
|
Add feature flag for self-destructing messages.
|
2021-04-13 08:48:51 -03:00 |
|
Torsten Grote
|
bf6be5c5a7
|
Replace all messages when re-loading
to ensure that messages deleted in the meantime get removed
|
2021-04-13 08:48:51 -03:00 |
|
Torsten Grote
|
a12a639cd3
|
Remove auto-deleted messages immediately from conversation
|
2021-04-13 08:48:50 -03:00 |
|
Torsten Grote
|
ef37428714
|
Replace MessagesCleanedUpEvent with ConversationMessagesDeletedEvent
|
2021-04-13 08:48:50 -03:00 |
|
akwizgran
|
644afe8995
|
Wait for events to be delivered before continuing with test.
|
2021-04-13 08:48:50 -03:00 |
|
akwizgran
|
c66c428124
|
Log how long it takes to deliver private messages and attachments.
|
2021-04-13 08:48:49 -03:00 |
|
akwizgran
|
db5b2ea9b6
|
Remove redundant call to getAutoDeleteTimer().
|
2021-04-13 08:48:49 -03:00 |
|
akwizgran
|
d84603bce2
|
Check group counts in AutoDeleteIntegrationTest.
|
2021-04-13 08:48:48 -03:00 |
|
akwizgran
|
b128370299
|
Include legacy messages when recalculating group count.
|
2021-04-13 08:48:48 -03:00 |
|
akwizgran
|
240e619248
|
Delete private messages when their timers expire (needs UI support).
|
2021-04-13 08:48:48 -03:00 |
|
akwizgran
|
c89bde08db
|
Move ConversationManagerImpl to conversation package.
|
2021-04-13 08:48:47 -03:00 |
|
akwizgran
|
3ecd1c62b8
|
Set default timer duration to 1 minute for testing.
|
2021-04-13 08:48:47 -03:00 |
|
akwizgran
|
e3c5497283
|
Update javadoc to explain that a new timer can be set.
|
2021-04-13 08:48:46 -03:00 |
|
akwizgran
|
4bd8ee8ccf
|
Pass message IDs to cleanup hooks in batches.
|
2021-04-13 08:48:46 -03:00 |
|
akwizgran
|
43b437af92
|
Group messages by group ID when fetching them from database.
|
2021-04-13 08:48:46 -03:00 |
|
akwizgran
|
56e0d62597
|
Throw an exception if no cleanup hook was registered.
|
2021-04-13 08:48:45 -03:00 |
|
akwizgran
|
d10e5f025d
|
Remove copypasta.
|
2021-04-13 08:48:45 -03:00 |
|
akwizgran
|
b1a80691db
|
Add comment to explain that starting timer may be a no-op.
|
2021-04-13 08:48:44 -03:00 |
|
akwizgran
|
049aa61e85
|
Stop the timer if no hook has been registered.
|
2021-04-13 08:48:44 -03:00 |
|
akwizgran
|
7026361234
|
Add javadocs for CleanupManager and CleanupHook.
|
2021-04-13 08:48:44 -03:00 |
|
akwizgran
|
5e30dc5bf4
|
Simplify deadline comparison logic.
|
2021-04-13 08:48:43 -03:00 |
|
akwizgran
|
024bfc8ec8
|
Stop the cleanup timer if the hook returns false.
|
2021-04-13 08:48:42 -03:00 |
|
akwizgran
|
04e5e8e4d0
|
Add cleanup manager.
|
2021-04-13 08:48:38 -03:00 |
|
akwizgran
|
7c5d47733f
|
Query message IDs rather than metadata when only IDs are needed.
|
2021-04-13 08:46:11 -03:00 |
|
Torsten Grote
|
b24f2a1818
|
Add support for showing auto-delete timers in minutes
|
2021-04-13 08:46:11 -03:00 |
|
Torsten Grote
|
ee6664ce9d
|
Show actual auto-delete timer duration in UI
(only days and hours for now)
|
2021-04-13 08:46:11 -03:00 |
|
Torsten Grote
|
ab434946b5
|
Show outgoing message status icon in same color as time
|
2021-04-13 08:46:10 -03:00 |
|
Torsten Grote
|
35e431eb99
|
Fix bomb icon color
in incoming image messages without text (on old phones)
|
2021-04-13 08:46:10 -03:00 |
|
Torsten Grote
|
aa8cddf509
|
Get rid of SENDING state and publish new live data in order on UiThread
|
2021-04-13 08:46:10 -03:00 |
|
Torsten Grote
|
c9ede0bfc1
|
Return LiveData when sending message
|
2021-04-13 08:46:09 -03:00 |
|
Torsten Grote
|
6ec9a0f2b2
|
Show warning dialog when auto-delete timer has changed since starting to compose message
|
2021-04-13 08:46:09 -03:00 |
|
Torsten Grote
|
2f86112801
|
Add "Tap to learn more" to message bubbles for timer changes
|
2021-04-13 08:46:09 -03:00 |
|
akwizgran
|
c032befe6f
|
Provide clock for UI tests.
|
2021-04-13 08:46:08 -03:00 |
|
akwizgran
|
55eccde031
|
Add some comments.
|
2021-04-13 08:46:08 -03:00 |
|
akwizgran
|
5716820439
|
Sync acks for initial messages when setting up integration tests.
|
2021-04-13 08:46:08 -03:00 |
|
akwizgran
|
17d433dd9b
|
Allow time travel in integration tests.
|
2021-04-13 08:46:07 -03:00 |
|
akwizgran
|
000812bf6d
|
Inject DefaultTaskSchedulerModule.EagerSingletons at startup in headless app.
|
2021-04-13 08:46:07 -03:00 |
|
akwizgran
|
5e2187a877
|
Refactor integration tests to allow clock to be replaced.
|
2021-04-13 08:46:06 -03:00 |
|
Sebastian Kürten
|
e10b6334f5
|
Introduce conversation settings screen
|
2021-04-13 08:46:06 -03:00 |
|
Torsten Grote
|
baa0341727
|
Create group invitation with read-write transaction
because the AutoDeleteManager needs to change the DB
and otherwise crashes.
Closes #1863
|
2021-04-13 08:46:06 -03:00 |
|
Torsten Grote
|
814b2b2582
|
Make view state of text send UI easier to reason about
and fix bugs with bomb badge and hint display
|
2021-04-13 08:46:05 -03:00 |
|
Torsten Grote
|
56705bde74
|
Show bomb badge in same style as send button
|
2021-04-13 08:46:05 -03:00 |
|
Torsten Grote
|
dceb38b777
|
Show a bomb badge on the send button when disappearing messages is active
|
2021-04-13 08:46:05 -03:00 |
|
Torsten Grote
|
9947a6aa1b
|
Use a different hint in conversation when message will disappear
and keep the hint updated when the auto-delete timer changes
|
2021-04-13 08:46:04 -03:00 |
|
Torsten Grote
|
7a3be374c8
|
Broadcast event when auto delete timer is mirrored
|
2021-04-13 08:46:04 -03:00 |
|