Commit Graph

3563 Commits

Author SHA1 Message Date
akwizgran 86ebae04b4 Fixed NullPointerException in ConfigureGroupActivity. Bug #63. 2014-03-22 12:25:04 +00:00
akwizgran fc66f6ed8a Log the running time of key validation and message verification. 2014-03-22 00:30:29 +00:00
akwizgran d83513c5f9 Dismiss dialogs when screen is rotated. Bug #52. 2014-03-21 14:30:54 +00:00
akwizgran 007ddac880 Use the Montgomery ladder multiplier to avoid side-channel attacks. 2014-03-19 22:52:53 +00:00
akwizgran abfff10f6b Contacts a forum is already shared with should be selected. Dev task #79 2014-03-17 14:49:11 +00:00
akwizgran 8c18773141 Write the tag immediately even if there are no packets to send. Bug #27. 2014-03-16 18:13:31 +00:00
akwizgran 5755aed362 Android Bluetooth plugin binds a socket each time BT is enabled.
Dev task #80.
2014-03-13 18:39:53 +00:00
akwizgran 26a4841a8c Display the Tor plugin's log output from previous Briar processes. 2014-03-13 17:12:23 +00:00
akwizgran 814167613c Verbose logging of Tor connections, streams and circuits. 2014-03-13 09:37:30 +00:00
akwizgran b270f0e8b1 Call Thread.currentThread().interrupt() when handling interruption. 2014-03-12 21:11:11 +00:00
akwizgran b99a503f24 Removed unnecessary conditionals from logging statements.
Very important stuff.
2014-03-12 21:00:14 +00:00
akwizgran 375a597dd2 Removed mark read and mark unread buttons. Bug #48. 2014-03-12 13:52:20 +00:00
akwizgran 9f34150585 Added padding to layout. 2014-03-12 13:50:07 +00:00
akwizgran 28ac6ced05 Bumped the expiry date of the alpha to 31 March 2014. 2014-03-11 09:58:51 +00:00
akwizgran 5d20c80d71 Bumped the version number to 0.5. 2014-03-11 09:58:27 +00:00
akwizgran d05449d2f3 Changed the debugging email address to Gmail. 2014-03-11 09:58:10 +00:00
akwizgran c3b5418f53 Notifications were leading to wrong conversations/groups. Bug #49. 2014-03-10 19:55:33 +00:00
akwizgran a2b3ef9e62 If Bluetooth is activated to add a contact, deactivate it afterwards.
Bug #47.
2014-03-10 19:06:14 +00:00
akwizgran cd4fb6fb64 Padding on checkboxes is broken on Android < 4.2. 2014-03-10 18:47:08 +00:00
akwizgran 4de97ed0ef Refer to manufacturer/model/brand as device type, not device name. 2014-03-10 18:29:35 +00:00
akwizgran 4560cf17ff Notification settings. Dev task #76. 2014-03-10 18:00:36 +00:00
akwizgran d151633a60 Store settings in the DB, listen for events when settings are updated. 2014-03-10 17:59:13 +00:00
akwizgran abaf1d7e96 Show message/post count in notifications. Dev task #77. 2014-03-07 13:06:31 +00:00
akwizgran a5b09a0f65 Better notifications. Development task #67. 2014-03-07 12:21:12 +00:00
akwizgran c72e30617d Don't show progress spinner when sharing debugging info, it's confusing. 2014-03-07 12:18:39 +00:00
akwizgran b5429f121a Use application context for all background tasks. 2014-03-06 18:25:37 +00:00
akwizgran b4c9f278f9 Upgraded Tor to 0.2.4.21. 2014-03-06 17:52:37 +00:00
akwizgran 8ed716dde8 Added device, OS version and CPU architecture to debugging info. 2014-03-06 16:21:23 +00:00
akwizgran 4875b21614 Show a progress spinner while loading debugging info. 2014-03-06 15:56:47 +00:00
akwizgran 304ba53807 Check whether to enable or disable Tor at each connectivity change. 2014-03-06 15:42:21 +00:00
akwizgran bd7fcb16a3 ContextSingleton annotation isn't needed for immutable class. 2014-03-06 14:06:21 +00:00
akwizgran 250afa7642 Added javadoc comments to plugin factory interfaces. 2014-03-06 13:20:28 +00:00
akwizgran 0198e40719 Made coding style consistent with rest of project. 2014-03-06 13:16:20 +00:00
akwizgran 7838c3687a Merge branch 'android-geo' into 'master'
Don't start Tor in countries that are known to block it

See the javadoc for getCurrentCountry for details on how we get the country. In particular, it seems Google already has a hidden SystemService that does this, but we can't use it so we have to code our own. Luckily the solution I came up with independently yesterday almost exactly matches what they do.

Also, the hardcoded list of countries that block tor is incomplete; I will try to find a more complete list.
2014-03-06 12:45:05 +00:00
Ximin Luo 4330f4bee3 don't start tor if it's probably blocked 2014-03-05 22:20:36 +00:00
Ximin Luo 48e5d5123e add documentation and pointer to hidden Google API
- fallback to SIM card before phone locale
- add disabled code to lookup the country from GPS, disabled because it requires a network call
2014-03-05 22:19:59 +00:00
Ximin Luo 9697b351e9 add the ability for briar-android to get the current country.
- this will be useful later for e.g. auto-disabling Tor
2014-03-05 15:13:50 +00:00
akwizgran 39b7a97267 "Implicit intents with startService are not safe" - use an explicit one. 2014-03-04 14:22:19 +00:00
akwizgran 3a01a04cbf Log simple names of plugin classes when polling. 2014-03-04 14:04:07 +00:00
akwizgran 8dd9efce3c Use a .txt extension for debugging logs sent to the developers. 2014-03-04 14:01:45 +00:00
akwizgran 58f5b94a2a Added a settings screen and a setting for activating Bluetooth. Bug #28. 2014-03-04 13:59:37 +00:00
akwizgran b6f95f6540 Show all logcat ouput for the current process in TestingActivity. 2014-03-03 18:52:25 +00:00
akwizgran 511b470aa4 Less verbose logging for plugins. 2014-03-03 15:31:46 +00:00
akwizgran 56f79755a4 Added a config setting to not enable Bluetooth automatically (bug #28).
There's currently no way to set this setting, so the bug isn't fixed.
2014-03-03 15:31:05 +00:00
akwizgran 74159f6e71 Check whether data has been deleted when resuming from recents. Bug #44. 2014-03-02 18:37:24 +00:00
akwizgran 581ba7139a Don't overselect rows when unsetting inbox group. Fixes bug #40. 2014-03-02 17:58:00 +00:00
akwizgran c69766fbd2 Removed redundant calls to setTextSize(14), which is the default. 2014-03-01 11:55:54 +00:00
akwizgran ebe1db9fb1 Show newly created forums after creating them. 2014-03-01 11:45:13 +00:00
akwizgran 0bab22db38 Each task that runs on a separate thread should have its own method. 2014-03-01 11:26:38 +00:00
akwizgran 86f8d97d81 Moved some boilerplate into the BriarActivity superclass. 2014-03-01 11:20:04 +00:00