Torsten Grote
412381f37e
Move buildType to flavor and add hashes for pinning of androidTest dependencies
2018-08-03 11:20:33 -03:00
Torsten Grote
05fbb87c06
Add a NavDrawerActivityTest
2018-08-03 11:16:52 -03:00
Torsten Grote
daf5db470f
Use demo mode when taking screenshots to clear status bar
...
https://android.googlesource.com/platform/frameworks/base/+/master/packages/SystemUI/docs/demo_mode.md
2018-08-03 11:16:52 -03:00
Torsten Grote
be2d695150
Setup fastlane
...
This is great for automatically uploading (localized) screenshots
and app metadata to Google Play.
You can even upload the signed APK releases as well.
For now, this is only useful for running the screenshot Espresso tests
and grabbing the screenshots from the device.
2018-08-03 11:16:52 -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
Torsten Grote
77b2fa8acb
Merge branch '832-fix-bridge-test' into 'master'
...
Fix Tor bridge integration test
See merge request briar/briar!875
2018-08-02 15:00:57 +00:00
Torsten Grote
1de6c863df
Merge branch '832-network-manager' into 'master'
...
Factor network management code out of plugins
See merge request briar/briar!874
2018-08-02 14:36:17 +00:00
Torsten Grote
82f939ecd4
Don't show sign-in reminder if user is signed-in already
2018-08-02 09:50:42 -03: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
Torsten Grote
004853a09b
Merge branch '1354-forget-hsforget' into 'master'
...
Don't try to use missing HSFORGET command
Closes #1354
See merge request briar/briar!869
2018-07-31 16:27:32 +00:00
Torsten Grote
1860db10b4
Merge branch 'tor-0.2.9.16' into 'master'
...
Upgrade Tor to 0.2.9.16
See merge request briar/briar!868
2018-07-30 12:45:54 +00:00
Torsten Grote
099e8ef4d5
Merge branch 'bluetooth-not-required' into 'master'
...
Allow devices without Bluetooth support
See merge request briar/briar!867
2018-07-27 17:01:12 +00:00
Torsten Grote
e300245f8d
Remove sign-in reminder when PasswordActivity starts
2018-07-26 17:55:14 -03:00
Torsten Grote
bc0e529d89
Fix Navigation Drawer Logo on Android 5
2018-07-25 17:50:58 -03:00
Torsten Grote
c6b6bc307e
Merge branch 'remove-notification-reminder-svg' into 'master'
...
Removed unused reminder notification SVG
See merge request briar/briar!862
2018-07-25 15:54:32 +00:00
Torsten Grote
ce6293b1d3
Dark theme changes based on designer feedback
2018-07-25 09:25:15 -03:00
Torsten Grote
06197295f8
Add more vanilla bridges
2018-07-20 16:14:05 -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
1cbd76bbc9
Address review nitpicks
2018-07-18 09:40:30 -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
Torsten Grote
afa9b6193a
Merge branch 'remove-reference-manager' into 'master'
...
Removed unused ReferenceManager
See merge request briar/briar!856
2018-07-16 15:44:29 +00:00
Torsten Grote
7ecac1867e
Address review comments for Tor bridge support
2018-07-05 11:14:11 -03:00
Torsten Grote
331c09a02a
Load bridges from file res/raw/bridges
2018-07-04 16:21:49 -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
Torsten Grote
eac1f9ed74
MVP for bridge support
2018-07-04 15:17:28 -03:00
Torsten Grote
d16aa9e2a4
Merge branch '1334-disable-resource-shrinking' into 'master'
...
Disable resource shrinking for release builds
Closes #1334
See merge request briar/briar!854
2018-07-04 17:20:40 +00:00
Torsten Grote
bff23480d7
Trigger external pipeline to check release builds
2018-07-04 12:47:22 -03:00
Torsten Grote
1dcb9aa1d0
Merge branch '1329-auth-cookie' into 'master'
...
Delete old auth cookie before starting Tor
Closes #1329
See merge request briar/briar!852
2018-06-29 15:38:23 +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
Torsten Grote
bfde71c151
Merge branch '1307-readable-log' into 'master'
...
Display log file in a reader-friendly way
Closes #1307
See merge request briar/briar!845
2018-06-22 13:42:40 +00:00
Torsten Grote
679c1c3719
Fix RSS feed delete button and disabled button text
2018-06-21 09:40:55 -03:00
Torsten Grote
6ef4130f8f
Upgrade Android Gradle Plugin to 3.1.3
2018-06-19 17:36:35 -03:00
Torsten Grote
ba5b2f601b
Applying night mode to DevReportActivity
2018-06-19 14:19:15 -03:00
Torsten Grote
5be672f0e7
Remove unused resources
2018-06-19 13:30:01 -03:00
Torsten Grote
fa525564c0
Hide Theme Settings in release builds for now
2018-06-19 13:30:01 -03:00
Torsten Grote
dee0ca238b
Address first round of review comments
2018-06-19 13:30:00 -03:00
Torsten Grote
3c6b43b2bd
Implement Dark Theme (DayNight with automatic option)
...
This is just a first rough implementation.
A real UI designer should look over this.
2018-06-19 13:29:13 -03:00
Torsten Grote
99e2b7eaab
Merge branch 'exception-logging-method' into 'master'
...
Add utility method for logging exceptions
See merge request akwizgran/briar!838
2018-06-16 13:38:25 +00:00
Torsten Grote
2f7d5b869c
Merge branch 'hide-ui-if-not-in-foreground' into 'master'
...
Don't hide UI on low memory if we're in the foreground
See merge request akwizgran/briar!839
2018-06-15 20:19:05 +00:00
Torsten Grote
b026031d66
Merge branch 'fine-logging' into 'master'
...
Replace logging boilerplate with a static method
See merge request akwizgran/briar!837
2018-06-15 15:30:31 +00:00
Torsten Grote
fa17549972
Merge branch 'fine-logging' into 'master'
...
Move logging of time measurements to FINE level
See merge request akwizgran/briar!836
2018-06-15 15:00:25 +00:00
Torsten Grote
2e22318b27
Merge branch '1291-huawei-protected-apps' into 'master'
...
Don't show Huawei protected apps button on API 24+
Closes #1291
See merge request akwizgran/briar!823
2018-06-15 14:35:46 +00:00
Torsten Grote
f41b76c567
Shorten password hints
2018-06-15 11:13:38 -03:00
Torsten Grote
7bfc1c3579
Add buttons to show passwords wherever they can be entered
...
Closes #1096
2018-06-14 15:40:17 -03:00
Torsten Grote
2dc94a95ed
Use placeholder texts for text fields
...
Closes #1288
2018-06-14 15:36:08 -03:00
Torsten Grote
a47a1cf442
Merge branch '1316-make-introduction-string' into 'master'
...
Use separate strings for introduction menu item and button
Closes #1316
See merge request akwizgran/briar!833
2018-06-13 20:16:34 +00:00
Torsten Grote
8fc8333451
Merge branch '1294-log-stack-traces' into 'master'
...
Log exception stacktraces
Closes #1294
See merge request akwizgran/briar!824
2018-06-03 02:28:17 +00:00
Torsten Grote
254422bc02
Disable reblog scene transition as it even crashes my Android 7.1 device
...
Closes #785
2018-05-29 12:44:41 -03:00
Torsten Grote
c7949d6e00
Disable pre-fetching in Threaded RecyclerView as a workaround for #1289
2018-05-29 12:29:40 -03:00
Torsten Grote
0187264da7
Merge branch '1219-remove-debug-logging' into 'master'
...
Remove debug logging from setup process
See merge request akwizgran/briar!819
2018-05-28 13:59:22 +00:00
Torsten Grote
d20340416d
Merge branch 'jcenter-tor-binaries' into 'master'
...
Download Tor binaries from JCenter
See merge request akwizgran/briar!816
2018-05-24 12:21:14 +00:00
Torsten Grote
2f00215a44
Merge branch 'remove-jtorctl-jar' into 'master'
...
Replace jtorctl jar with JCenter dependency
See merge request akwizgran/briar!815
2018-05-23 11:22:15 +00:00
Torsten Grote
34c5aaae0a
Update translations (Farsi and Chinese complete now)
2018-05-22 11:17:51 -03:00
Torsten Grote
5531355ebd
Merge branch '1219-store-db-key-in-file' into 'master'
...
Store database key in a file
Closes #1219
See merge request akwizgran/briar!810
2018-05-22 12:24:13 +00:00
Torsten Grote
20422edf78
Introduction: Reset session information for removed introducees
2018-05-21 16:26:11 -03:00
Torsten Grote
f8bc5f08bf
Merge branch 'unicode-escapes-for-test-data' into 'master'
...
Escape Unicode characters in test data
See merge request akwizgran/briar!812
2018-05-21 16:21:29 +00:00
Torsten Grote
bf9e91fcf5
Merge branch 'fix-build-timestamp' into 'master'
...
Make build timestamp command compatible with old versions of Git
See merge request akwizgran/briar!811
2018-05-21 12:47:47 +00:00
Torsten Grote
682bee1486
Switch to our own CI image
2018-05-17 18:52:49 -03:00
Torsten Grote
b0ea32c85f
Merge branch 'hide-testing-preferences' into 'master'
...
Hide testing preferences in release builds
See merge request akwizgran/briar!808
2018-05-17 14:33:06 +00:00
Torsten Grote
3a35effae9
Add CI stage for testing reproducibility
2018-05-17 10:55:56 -03:00
Torsten Grote
97f4cd039a
Update translations. New: Farsi and Asturian
2018-05-17 10:55:08 -03:00
Torsten Grote
f214208b0a
Merge branch 'test-data-lan-addresses' into 'master'
...
Use more realistic LAN addresses for test contacts
See merge request akwizgran/briar!804
2018-05-17 11:53:48 +00:00
Torsten Grote
2c99a75b4e
Merge branch 'settings-screen' into 'master'
...
Use lighter text colour for preference categories and fix layout
See merge request akwizgran/briar!799
2018-05-15 14:20:01 +00:00
Torsten Grote
5c068ed07b
Merge branch 'remove-unbound-transport-keys' into 'master'
...
Remove support for unbound transport keys
See merge request akwizgran/briar!791
2018-05-15 14:18:58 +00:00
Torsten Grote
b839041d5a
Update translations
2018-05-09 09:56:15 -03:00
Torsten Grote
65de8707b7
Merge branch '1225-improve-setup-ux' into 'master'
...
Remove circle, make button flat to improve setup UX
Closes #1225
See merge request akwizgran/briar!792
2018-05-09 10:41:17 +00:00
Torsten Grote
3bed6de93b
Update translations
2018-04-30 12:52:46 -03:00
Torsten Grote
8e814e1bbf
Merge branch '1215-disable-low-memory-shutdowns' into 'master'
...
Disable low memory shutdowns
See merge request akwizgran/briar!782
2018-04-30 13:43:17 +00:00
Torsten Grote
d9ed4a3ac9
Fix introduction test non-determinism
2018-04-29 13:33:59 -03:00
Torsten Grote
edee90dbe2
Merge branch '237-versioning-client' into 'master'
...
Client for negotiating supported clients
Closes #237
See merge request akwizgran/briar!759
2018-04-29 16:08:08 +00:00
Torsten Grote
a38b0a8527
Merge branch 'bluetooth-connection-limiter' into 'master'
...
Don't make or accept Bluetooth contact connections during key agreement
See merge request akwizgran/briar!770
2018-04-29 14:42:00 +00:00
Torsten Grote
79d6fd28de
Merge branch '474-alice-flag' into 'master'
...
IntroduceeProtocolEngine uses wrong role when adding keys
See merge request akwizgran/briar!780
2018-04-29 02:27:18 +00:00
Torsten Grote
ebf73716bb
Merge branch '474-manual-decline' into 'master'
...
Don't automatically respond to declined introductions
See merge request akwizgran/briar!777
2018-04-28 13:46:40 +00:00
Torsten Grote
5f6af4e40f
Fix introduction response messages in UI and some minor fixes
2018-04-27 16:22:10 -03:00
Torsten Grote
55a329a879
Merge branch '474-automatic-decline' into 'master'
...
Send automatic decline when other introducee declines
See merge request akwizgran/briar!775
2018-04-27 17:58:45 +00:00
Torsten Grote
31b69577e8
Merge branch '474-introduction-client' into 'master'
...
New Introduction Protocol
Closes #308 , #377 , #474 , and #613
See merge request akwizgran/briar!758
2018-04-27 14:43:01 +00:00
Torsten Grote
99dba69c87
Only add transport properties and keys when the contact was added
...
This will be changed once we have a way to reset state for peers
that were contacts already at some point in the past.
One contact might have deleted the other, but not vice versa.
So they have mismatching state that needs to be reset.
See #2 for more information.
2018-04-27 11:30:18 -03:00
Torsten Grote
44f5a9db1e
Address last review comments
2018-04-27 11:04:08 -03:00
Torsten Grote
80a9689316
Address second round of review comments
2018-04-26 20:39:17 -03:00
Torsten Grote
337f7e7b8f
Unify introduction response methods and handle ProtocolStateException
...
It is possible that a remote DECLINE message arrives short before the
user responds to the introduction.
This will cause a ProtocolStateException which (for now) is just caught
and a generic (existing) error message will be shown.
2018-04-26 18:18:31 -03:00
Torsten Grote
f8f98ed95d
Properly handle DECLINE messages in START state
...
Previously, DECLINE messages let directly to the START state
for introducer and introducees.
So incoming ACCEPT and DECLINE messages needed to be ignored in START state
introducing undefined behavior into the protocol.
This is fixed with this commit by adding two additional states
to the introducer state machine as well as making use of the existing
LOCAL_DECLINED state for the introducees.
2018-04-26 18:00:57 -03:00
Torsten Grote
bd5504de26
Add a MAC to the ACTIVATE message to prevent the introducer to fake them
...
A fake ACTIVATE message would cause us to activate the transport keys
before the contact has received our auth message,
which would compromise forward secrecy.
2018-04-26 16:56:38 -03:00
Torsten Grote
0e04044ebb
Ensure that incoming messages are expected in the current state
...
Previously, the introducer would process and forward invalid messages by
the introducees. This commit adds the necessary checks and tests.
2018-04-26 11:18:04 -03:00
Torsten Grote
0a5d408686
Add a test for when one introducee had deleted the other one
2018-04-25 14:42:17 -03:00
Torsten Grote
f94db28035
Handle and test introductions to existing contacts
2018-04-25 13:30:51 -03:00
Torsten Grote
b291fcd2cd
Only allow new introductions in START state
...
When the user attempts an introduction, instead of the introduction
message input field, an explanatory text will be shown and the
introduction can not be made until the last one has been finished.
2018-04-25 12:05:15 -03:00
Torsten Grote
94a6137a42
Also validate encoded message in MessageEncoder test
2018-04-25 10:52:32 -03:00
Torsten Grote
72e9a9d807
Address first round of review comments for new IntroductionClient
2018-04-25 10:43:56 -03:00
Torsten Grote
a9b678df32
Remove broken and deprecated MessageQueue as it is not needed anymore
...
Closes #308
2018-04-25 10:14:04 -03:00
Torsten Grote
f81ef30b47
Replace old introduction client with new one
2018-04-25 10:14:01 -03:00
Torsten Grote
1bc29fec06
IntroductionManager and Protocol Engines
2018-04-25 10:13:41 -03:00
Torsten Grote
61b216f572
Copy over Introduction API messages and events from old client
2018-04-25 10:13:41 -03:00
Torsten Grote
d57102ed90
IntroductionCrypto: Create dedicated class to handle introduction related crypto
2018-04-25 10:13:40 -03:00