Commit Graph

1331 Commits

Author SHA1 Message Date
akwizgran f812acb00b Use general-purpose resource provider. 2018-08-07 15:19:46 +01:00
akwizgran 004467e84e Factor out remaining Android code from Tor plugin. 2018-08-07 15:19:43 +01:00
akwizgran 34c0a83e36 Use full class names for loggers. 2018-08-07 15:17:19 +01:00
Torsten Grote 32420a0781 Give names to colors and clean them up 2018-08-06 13:16:53 -03:00
Torsten Grote 0b2594a693 Move SignIn reminder code into AndroidNotificationManager and don't show reminder once PasswordActivity was opened 2018-08-03 15:08:57 -03:00
Torsten Grote 6f7d0c6f77 Do proper Doze white-listing in UI tests 2018-08-03 11:20:43 -03:00
Torsten Grote d0c2c03057 First prototype of Espresso test infrastructure with automatic screenshoting 2018-08-03 11:16:52 -03:00
Torsten Grote db11e0101a Merge branch '1355-disable-tor-setting' into 'master'
Add a setting to override location-based disabling of Tor

Closes #1355

See merge request briar/briar!871
2018-08-03 13:35:33 +00:00
akwizgran 25b8932cde Merge branch '47-sign-in-reminder' into 'master'
Don't show sign-in reminder if user is signed-in already

Closes #47

See merge request briar/briar!872
2018-08-03 10:59:25 +00:00
akwizgran 732bf6d4ec Show countries where Tor is blocked. 2018-08-03 11:53:50 +01:00
akwizgran 53762e7c93 Add setting to override location-based disabling of Tor. 2018-08-03 11:53:47 +01:00
Torsten Grote 82f939ecd4 Don't show sign-in reminder if user is signed-in already 2018-08-02 09:50:42 -03:00
akwizgran 2535445831 Factor network management code out of plugins. 2018-08-02 13:22:50 +01:00
Torsten Grote c0d5a3a5ea Merge branch '1341-account-manager-refactoring' into 'master'
Refactor authentication and account management code

Closes #1341

See merge request briar/briar!866
2018-08-02 11:49:15 +00:00
akwizgran c1789a8e52 Move identity creation into AccountManager. 2018-08-02 09:51:17 +01:00
akwizgran b176ec5844 Add TODO for account creation error handling. 2018-08-01 15:56:53 +01:00
akwizgran f8df6b88ee Add BriarAccountManager subclass. 2018-08-01 15:52:09 +01:00
akwizgran 287f3760cd Pass database key into LifecycleManager. 2018-07-27 15:46:48 +01:00
akwizgran abaefacb69 Add javadocs. 2018-07-27 13:15:04 +01:00
akwizgran 6ca0339da2 Move DB key management into account manager. 2018-07-27 13:15:03 +01:00
akwizgran 4a9977fa58 Use account manager to check whether account exists. 2018-07-27 13:15:03 +01:00
akwizgran f9d8c720ec Remove ConfigController. 2018-07-27 13:15:03 +01:00
akwizgran 1edf2bfa75 Move account deletion into AccountManager. 2018-07-27 13:14:58 +01:00
akwizgran 6f6ba38de1 Remove logic from DatabaseConfig. 2018-07-27 13:14:57 +01:00
akwizgran f9495b49d6 Move encrypted key, account deletion into AccountManager. 2018-07-27 13:14:57 +01:00
akwizgran cb29c9bf32 Create minimal AccountManager interface. 2018-07-27 13:14:52 +01:00
akwizgran 8283760e8a Move local author creation into IdentityManager. 2018-07-27 13:14:51 +01:00
Torsten Grote e300245f8d Remove sign-in reminder when PasswordActivity starts 2018-07-26 17:55:14 -03:00
akwizgran 881d8034cb Merge branch '1251-dark-theme' into 'master'
Dark theme changes based on designer feedback

Closes #1250 and #1251

See merge request briar/briar!861
2018-07-25 15:37:17 +00:00
akwizgran ede33d9278 Check for null activity in finish(). 2018-07-25 14:19:31 +01:00
Torsten Grote ce6293b1d3 Dark theme changes based on designer feedback 2018-07-25 09:25:15 -03:00
Torsten Grote 6a163c0358 Run UI actions only when the activity is added to the fragment.
This is different from the previous behavior
where we only check if it is not detached.
2018-07-20 13:28:34 -03:00
Torsten Grote ba4a4aea59 Only show a Dismiss button attached to the sign-in reminder
Also change the logo to a logout icon
2018-07-17 16:33:58 -03:00
Torsten Grote 391e869d29 Also remind to sign-in again after app was upgraded 2018-07-17 16:33:58 -03:00
Torsten Grote 8925d6f5d7 Add an option to not show the sign-in reminder
This is done via another preference in the settings screen
and an action button attached to the notification itself
2018-07-17 16:33:58 -03:00
akwizgran 1bcedea34a Removed unused ReferenceManager. 2018-07-16 16:21:25 +01:00
Torsten Grote 7ecac1867e Address review comments for Tor bridge support 2018-07-05 11:14:11 -03:00
Torsten Grote 7e05a49bda Add Android integration tests that checks if included bridges work
This also changes the way bridges are used.
Instead of using the torrc config file,
bridges are now activated via Tor's control port.
2018-07-04 15:17:28 -03:00
goapunk 28ea3d014a Fix a possible null reference bug 2018-07-03 11:33:13 +02:00
akwizgran d97dcfff30 Merge branch 'no_screenfilter_warning_splash' into 'master'
Don't show screenfilter warning in SplashScreenActivity

See merge request briar/briar!832
2018-06-29 14:41:09 +00:00
Torsten Grote da629df630 Ensure that pressing back after setup will always return the user to home 2018-06-26 11:42:54 -03:00
Torsten Grote eff3a69734 Disable sign-in reminder with a feature flag in release builds 2018-06-22 10:59:27 -03:00
Torsten Grote 62de50af76 Remind the user to sign in only when an account has been created 2018-06-22 10:46:27 -03:00
Torsten Grote 1f9def8418 Minimal Sign-in reminder 2018-06-22 10:46:27 -03:00
Torsten Grote 1e80069980 Merge branch 'feature-flags' into 'master'
Add feature flag for dark theme

See merge request briar/briar!843
2018-06-22 13:43:56 +00:00
akwizgran ee59b9b3ad Unescape newlines when showing log. 2018-06-22 11:17:54 +01:00
akwizgran 21f33d6cfb Add feature flag for dark theme. 2018-06-21 13:28:32 +01:00
goapunk 0ad20037ae Pass String instead of the TextView 2018-06-20 18:36:39 +02:00
goapunk 497213e56d add KeyAgreementEventListener interface 2018-06-20 15:44:42 +02:00
goapunk f4131d6f32 address reviews 2018-06-20 15:32:51 +02:00