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
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
4ea3ce0e3c
Remove mirrored timer texts
...
as we can't detect reliably if a timer setting was mirrored or manually changed.
Also remove item update optimization from adapter as this can cause issues when items already exist.
2021-04-13 08:46:04 -03:00
Torsten Grote
923185b3f4
Show timer change notices in private conversations
2021-04-13 08:46:03 -03:00
Torsten Grote
d91e6c6c1a
Allow setting a self-destruct timer
...
This is a rough prototype of #1837 meant to make testing the UI easier.
2021-04-13 08:46:03 -03:00
akwizgran
27dbe23914
Mirror the remote auto-delete timer.
2021-04-13 08:46:01 -03:00
akwizgran
00ed6d9bb8
Look up auto-delete timer when creating private group invitation.
2021-04-13 08:45:59 -03:00
akwizgran
c9a9734368
Use the right timestamp when signing private group invitation.
2021-04-13 08:45:58 -03:00
akwizgran
efc56a8724
Provide TransactionManager.
2021-04-13 08:45:58 -03:00
akwizgran
6e6923b108
Look up conversation timestamp when creating group invitation messages.
2021-04-13 08:45:58 -03:00
akwizgran
f459beccdb
Move lookup of latest conversation timestamp to core for blog and forum sharing.
2021-04-13 08:45:57 -03:00
akwizgran
751c5a3245
Move lookup of latest conversation timestamp to core.
2021-04-13 08:45:57 -03:00
Torsten Grote
0dcf510466
Show bomb icon for messages with auto-destruct timer
2021-04-13 08:45:56 -03:00
akwizgran
96debcd616
Add dummy implementation of AutoDeleteManager.
2021-04-13 08:45:54 -03:00
akwizgran
07f20e1e0d
Refactor auto-delete code from Bramble to Briar.
2021-04-13 08:45:54 -03:00
akwizgran
113120b3ab
Add constant for NO_AUTO_DELETE_TIMER, address review comments.
2021-04-13 08:45:50 -03:00
akwizgran
9608b974ec
Add integration test for auto-delete timer in private messages.
2021-04-13 08:45:49 -03:00
akwizgran
3b6cc9c633
Add auto-deletion timer to private messages.
2021-04-13 08:45:47 -03:00
akwizgran
5305dd62d1
Merge branch '1872-key-agreement' into 'master'
...
Finish migrating KeyAgreementActivity to ViewModel
Closes #1982 and #1872
See merge request briar/briar!1357
2021-04-12 13:19:51 +00:00
akwizgran
cdae8b35f5
Another small refactoring to make control flow easier to understand.
2021-04-12 10:06:49 -03:00
Torsten Grote
6ee57315dd
Prevent NPE when onQrCodeDecoded() is called after we stop to listen
2021-04-12 10:06:48 -03:00
akwizgran
36525fbe9d
Merge branch 'promo-video' into 'master'
...
Instrumentation test for tutorial video and sign-in
Closes #1967
See merge request briar/briar!1423
2021-04-12 10:46:03 +00:00
Torsten Grote
8f628f2d45
Fix PromoVideoTest for CI
2021-04-09 15:24:13 -03:00
Torsten Grote
5e84e5b8b6
Stop listening to key agreement connections when leaving fragment
...
Also don't liberate screen orientation when backing out of adding a contact nearby
2021-04-09 15:20:39 -03:00
Torsten Grote
a64878bd00
Also reset payload flags when resetting AddNearbyContact state
2021-04-08 14:21:17 -03:00
akwizgran
212751c835
Return a value instead of passing a runnable argument.
2021-04-08 17:11:07 +01:00
akwizgran
fe1c6acebb
Remove workaround for Android issue #190966 .
2021-04-08 17:03:28 +01:00
Torsten Grote
0ee4ade404
One more round of addressing AddNearbyContact review feedback
2021-04-07 16:18:18 -03:00
Torsten Grote
5b52417d20
Check if Bluetooth is supported before requesting discoverability
2021-04-01 15:36:55 -03:00
Torsten Grote
8a768cf933
Add a test for sign-in
...
This requires an account to exist before as we can't restart our lifecycle.
So we don't automatically clear app data after each test, but rather need to delete an existing account manually before each test.
2021-04-01 14:31:34 -03:00
akwizgran
bebf3bbc39
Merge branch '1826-settings-view-model' into 'master'
...
Finish migrating SettingsFragment to ViewModel
Closes #1942 and #1826
See merge request briar/briar!1350
2021-04-01 13:20:12 +00:00
Torsten Grote
8a3dd5472b
Make a screenshot when test fails to help with debugging
2021-03-31 13:36:55 -03:00
Torsten Grote
f971533a5b
Add a way to detect if code runs as instrumentation test
...
and disable some dialogs to make tests easier to write
2021-03-31 13:36:55 -03:00
Torsten Grote
a12166c13b
Use Android Test Orchestrator to have a clean state for each test
...
fixes flaky/broken espresso tests
2021-03-31 13:36:54 -03:00
Torsten Grote
51624a31e3
Add a first PromoVideoTest
2021-03-31 13:36:54 -03:00
Torsten Grote
cdc632e1af
Don't show screen filter and expiry warnings in screenshot tests
2021-03-30 16:56:03 -03:00
Torsten Grote
31f87f647e
Create an OverlayView so we can show taps in espresso tests
2021-03-30 16:56:03 -03:00
Torsten Grote
dcd37f71d1
Turn splash screen duration into a resource variable
...
so screenshot tests can define a different duration
2021-03-30 16:56:03 -03:00
Torsten Grote
4ca286b28e
Allow to decide whether test contacts should have alias
2021-03-30 16:56:02 -03:00
Torsten Grote
4f3e4b019a
Request user to turn on location for adding contact nearby on API 28+
2021-03-29 11:30:17 -03:00
akwizgran
62cca1335f
Bump version numbers for 1.2.20 release.
2021-03-29 13:33:12 +01:00
akwizgran
11a18859fb
Update translations.
2021-03-29 13:33:12 +01:00