ameba23
8a1333e8f2
display a different fragment when a backup already exists
2021-03-09 09:47:48 +01:00
ameba23
25bbb5aa36
dependency injection for SocialBackupManager and DatabaseComponent
2021-03-08 18:00:24 +01:00
ameba23
57605d55ce
WIP db transaction for DistributedBackupActivity
2021-03-08 17:08:19 +01:00
ameba23
6c079e172a
provide default constructor for DistributedBackupActivity
2021-03-08 16:40:24 +01:00
ameba23
3f7f53774b
inject SocialBackupManager
2021-03-08 16:26:16 +01:00
ameba23
9beb4d7b81
improve thresholdSelectorFragment
2021-03-08 13:45:02 +01:00
ameba23
378112c00c
add comments
2021-03-08 13:13:00 +01:00
ameba23
451a3238be
rm comments
2021-03-08 12:57:25 +01:00
ameba23
bf6dd0d924
pass treshold to DistributedBackupActivity
2021-03-08 12:43:04 +01:00
ameba23
085e25cc14
improve thresholdSelectorFragment
2021-03-08 12:31:32 +01:00
ameba23
033c9f4d59
get argument with number of custodians to thresholdselectorfragment
2021-03-08 11:58:05 +01:00
ameba23
5f7bc4a143
dont throw on no group id
2021-03-05 17:17:50 +01:00
ameba23
c318dcfb5f
rm CustodianDisplayFragment
2021-03-05 10:27:58 +01:00
ameba23
10610930c0
dont inject activist CustodianDisplayFragment
2021-03-05 09:22:36 +01:00
ameba23
01bc94c241
Merge branch 'social-backup-poc' into incorporate-mockup-fragments
...
* social-backup-poc:
move DarkCrystal interface to briar-api - import it
move DarkCrystal interface to briar-api
make SocialBackupConstants public
make DarkCrystal interface public
DarkCrystal implementation which calls SecretSharingWrapper
updated witness.gradle files
rm SecretShardingWrapper as dependency of briar-core
add SecretShardingWrapper as dependency of briar-android
implement DarkCrystal in briar-android
add updated witness.gradle
add secret-sharing-wrapper to build.gradle (WIP)
2021-03-04 09:32:28 +01:00
ameba23
03c1f9c99a
fix problems so that the mockup fragments build
2021-03-04 09:32:12 +01:00
ameba23
0b9e4915dc
set initial state of threshold representation
2021-03-04 08:52:52 +01:00
ameba23
6a7ceb4a68
use a string as threshold representation rather than svg
2021-03-04 08:38:02 +01:00
Torsten Grote
c5d2661c1d
Merge branch '1919-password-fields-not-focusable' into 'master'
...
Condition display of progressbar on a isCreatingAccount LiveData
Closes #1819 and #1919
See merge request briar/briar!1355
2021-03-03 13:10:29 +00:00
ameba23
c7f6270b2a
move DarkCrystal interface to briar-api
2021-03-02 12:48:49 +01:00
ameba23
681b151c8b
attempt to incorporate fragments (WIP)
2021-03-02 09:47:13 +01:00
ameba23
7da49ae6df
DarkCrystal implementation which calls SecretSharingWrapper
2021-03-02 08:51:00 +01:00
ameba23
808166931e
implement DarkCrystal in briar-android
2021-03-02 08:47:59 +01:00
Torsten Grote
6cfb70db95
Load image from URI with Glide to prevent OOM errors
2021-03-01 14:15:53 -03:00
Torsten Grote
737ecfb620
Some unrelated code changes to avatar settings
2021-03-01 14:15:08 -03:00
ameba23
dcda13db64
add fragments (WIP)
2021-02-26 10:45:29 +01:00
Torsten Grote
59f4e7c34a
Super call to onRequestPermissionsResult() is now required
2021-02-23 10:55:20 -03:00
Torsten Grote
2480824d69
Fix toolbar buttons not showing up after sign-in on lower API levels
2021-02-23 10:55:20 -03:00
akwizgran
4c8adaa02b
Merge branch '1399-unlock-activity-crash' into 'master'
...
Let LockManager only lock current, not future process
Closes #1399
See merge request briar/briar!1374
2021-02-22 10:49:17 +00:00
Torsten Grote
5159593825
Don't add new item when the existing ones haven't loaded
2021-02-19 14:17:21 -03:00
Torsten Grote
a546fecc01
Let LockManager only lock current, not future process
...
This fixes a bug on Android 8
where the AlarmManager would re-start a killed BriarService.
Then the LockManager lingers around locked and causes an ANR on Android 8.x when the user comes back to it.
2021-02-19 10:42:43 -03:00
akwizgran
6fbc82ee27
Merge branch '1075-1146-1317-ongoing-notification' into 'master'
...
Use IMPORTANCE_LOW for ongoing notification, don't show a badge
Closes #1317 , #1146 , and #1075
See merge request briar/briar!1369
2021-02-18 17:00:47 +00:00
akwizgran
f36f1cf3d4
Merge branch '1764-fix-change-app-language-does-not-work' into 'master'
...
Resolve "Change app language does not work"
Closes #1764
See merge request briar/briar!1367
2021-02-17 16:59:59 +00:00
Daniel Lublin
6b61725c6a
Condition display of progressbar on a isCreatingAccount LiveData
...
Avoiding the mess with saving onSaveInstanceState, and the (in this
case) unwanted restoring of it upon back-button tap.
Closes #1919
Test instructions:
- Precondition: fresh install, setting up a new account
- Testing specific bug fix:
- Choose a name, tap next
- Choose a password, tap next
- Not testable on some devices which display "Create account" instead of "Next"
- You are now on Background connections screen
- Tap Back-button ◁
- Ensure that password can be changed again
- During setup process, rotate device and ensure that:
- entered text is kept
- progressbar is continuously displayed
2021-02-17 13:57:08 +01:00
Sebastian Kürten
e5bd43469e
Add Javados to Localizer#setLocale()
2021-02-15 14:54:20 +01:00
Torsten Grote
9366c184d8
Fix disabled groups after screen rotation
...
isDissolved was reverted to LiveData that only shows a dialog when the activity was first opened
2021-02-15 09:55:59 -03:00
Sebastian Kürten
73d2c964d4
Make language switching for robust
2021-02-15 12:31:51 +01:00
akwizgran
fb2b4209cf
Use IMPORTANCE_LOW for ongoing notification, don't show a badge.
2021-02-10 11:46:41 +00:00
akwizgran
1b19b331b1
Merge branch '1904-fragment-started-too-late' into 'master'
...
Don't launch fragments with back button when not started
Closes #1904
See merge request briar/briar!1365
2021-02-09 11:05:08 +00:00
Torsten Grote
9712a4b849
Don't launch fragments with back button when not started
...
Sounds strange, but apparently can happen.
2021-02-08 16:38:15 -03:00
Torsten Grote
cf1ac5e3e5
Restore remote handshake link when AddContactViewModel gets destroyed
2021-02-08 16:03:10 -03:00
Torsten Grote
21112ce092
Encrypt logs before handing them to crash report process
2021-02-08 13:43:37 -03:00
akwizgran
4162bf990a
Merge branch '1881-thread-list-controller' into 'master'
...
Migrate ThreadListController to ViewModel
Closes #1881 , #1873 , and #1870
See merge request briar/briar!1336
2021-01-29 15:10:16 +00:00
Torsten Grote
ae4a04bada
Finishing touches of ThreadListViewModel migration
...
docs and minor improvements
2021-01-29 08:33:28 -03:00
Torsten Grote
d670179e30
Access MessageTree only on UiThread and improve code in the process
2021-01-27 15:37:09 -03:00
Torsten Grote
4a0327a62b
thread list: fix redundant load and dissolved dialog showing again after screen rotation
2021-01-27 15:37:08 -03:00
akwizgran
70532732c8
Use commit action to add contacts on UI thread.
2021-01-27 15:37:08 -03:00
akwizgran
98619df867
Use commit action to add contacts to SharingController.
2021-01-27 15:37:07 -03:00
akwizgran
c62a57e8b2
Add transactional helper method to DbViewModel.
2021-01-27 15:37:07 -03:00
Torsten Grote
239c4a27ad
Address first round of review feedback for thread list view model migration
2021-01-27 15:37:06 -03:00