Commit Graph

64 Commits

Author SHA1 Message Date
Torsten Grote
47294047cd add ACCESS_COARSE_LOCATION permission to manifest
Since API 23 this is required for access to the Bluetooth APIs
See:
https://developer.android.com/intl/ko/about/versions/marshmallow/android-6.0-changes.html#behavior-hardware-id

Closes #223
2016-01-19 17:56:05 -02:00
Torsten Grote
63d87ae085 Support for Destructive Panic Actions
PanicKit does distinguish between two kinds of panic responses:

* default responses such as logging out which are non-destructive and
  do not require user interaction, so that the basics work without
  configuration
* destructive responses such as deleting user data. These require
  some sort of authentication to make sure they are not triggered
  by malicious apps

The second type of responses is implemented with this commit.

Authentication is done by comparing the package name
which is very weak. It requires the user to opt-in to
destructive responses and to configure from which app
to receive those (since there might be many different panic
trigger apps).

While possible to uninstall an app and install one with the same
package name afterwards, this always triggers notifications to
the user (if the attacker does not have root access).

Still that is no sufficient security for Briar's requirements,
so that TrustedIntents are used as well to make sure that the
app sending the destructive trigger is signed by a signing key
that we specified before. Currently, that is the one from the
GuardianProject and from IilabEngineering who does the Amnesty
International Panic App.

The responsibility of checking that the panic TRIGGER is
legitimate lies with the app responding to the trigger, so Briar
in this case. This commit checks whether the TRIGGER comes from
a trusted app before performing destructive actions,
but does perform the default action even when triggered from
untrusted apps.

Closes #210
2016-01-12 11:05:14 -02:00
Torsten Grote
e603b4f60e Implemented Sign Out as a first PanicKit Response
This closes #204
2016-01-12 10:49:14 -02:00
akwizgran
90214c7f93 Removed Read/WritePrivateMessageActivity. #208 2016-01-08 13:21:42 +00:00
akwizgran
e7e7bf35ea Use 'forum' instead of 'group'. #174 2015-12-15 13:23:52 +00:00
akwizgran
1f8e86c01a Merge branch '62-roboguice-endless-error-loop' into 'master'
improved the crash handler and refactored the manifest

Improved the CrashReportActivity by putting the activity within its own process, making it a single instance and making sure it won't show up on the recent app list. 

The old structure could create endless crash-loops and might not start the CrashReportActivity on process-related exception such as OutOfMemory because the process simply will not have the resources to do so. This problem is now fixed.

Concerning Roboguide: the problem is that every time a new task is started the xml file will be reloaded, at least with this branch there will not be an endless loop. By updating to Roboguice 3 the problem will be eliminated completely as that version has stopped using the xml file and reverted to manifest tags instead. It is getting very tempting to update.

Closes #67 

See merge request !22
2015-12-15 13:14:38 +00:00
Ernir Erlingsson
13de33c329 fixed target 2015-12-15 13:57:08 +01:00
Ernir Erlingsson
bd42661422 improved the crash handler and refactored the manifest 2015-12-15 11:53:03 +01:00
Ernir Erlingsson
6ac999c113 Added AppCompatBar and fixed dependencies 2015-12-14 14:03:55 +01:00
Torsten Grote
f4538df679 Touching startup failure notification now shows details
The text of the startup failure notification is unhelpful due to lack of
space. Touching the notification now launches an activity that gives details
of the problem and what can be done about it.

Closes #38
2015-12-08 11:52:20 -02:00
akwizgran
79d9b4b6af Raised minimum Android version to 2.3 (API 9). #23 2015-12-02 13:20:55 +00:00
akwizgran
7841ae52ca Renamed SerialModule, fixed Roboguice module list. 2015-11-30 16:47:33 +00:00
akwizgran
32c9ce50d9 Moved the messaging protocol one step closer to BSP.
This breaks backward compatibility for the wire protocol and messages
stored in the database. The database schema version has been
incremented.
2015-05-01 16:59:27 +01:00
akwizgran
ffcc8b6b38 Bumped version to 0.9. 2015-04-29 15:11:29 +01:00
akwizgran
dea5a44724 Simpler forum sharing UX. 2015-04-29 15:08:58 +01:00
akwizgran
e4a79b8125 Bumped APK version to 0.8. 2015-04-05 16:42:23 +01:00
akwizgran
a1d2aaf10e Use JDK 1.7, target Android 5.1. 2015-04-03 20:56:01 +01:00
akwizgran
10924709d0 Use PIE Tor binary on API version 16+. 2015-03-23 11:03:00 +00:00
akwizgran
c026a07a43 Bump the version number, indicate that Bluetooth is required. 2015-01-31 19:06:21 +00:00
akwizgran
1bbdbc54c7 Set max SDK version to 20.
Android L requires executables to be compiled with PIE support, so we'll
have to ship two Tor binaries.
2014-11-12 14:41:52 +00:00
akwizgran
8dc0cf2c46 Activities with intent filters are exported by default. 2014-06-05 09:29:35 +01:00
akwizgran
faaed862d5 Show keyboard when entering activities with a single text field. 2014-05-02 09:51:31 +01:00
akwizgran
bf9a9033be Crash reports, which can be submitted by email for testing builds. 2014-05-01 17:47:59 +01:00
akwizgran
1923dba345 Bumped the version number and expiry date. 2014-04-05 00:00:58 +01:00
akwizgran
5d20c80d71 Bumped the version number to 0.5. 2014-03-11 09:58:27 +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
a2d099ea17 Added debugging screen to alpha and beta builds. Dev task #73. 2014-02-28 23:44:35 +00:00
akwizgran
07b4d9b5d8 Show empty list text for contact list, group list, etc. Dev task #71. 2014-02-27 23:07:26 +00:00
akwizgran
044c10e89f Bluetooth-only invitations: simpler and more reliable.
Of course, not all devices support Bluetooth...
2014-02-10 14:00:34 +00:00
akwizgran
209b1bdf1f Compose messages directly from ConversationActivity. Bug #32. 2014-02-09 22:44:51 +00:00
akwizgran
269eef57e9 Speech bubble layout for private conversations. 2014-02-09 19:50:12 +00:00
akwizgran
9d98c06b45 Added parent activities ("up navigation") to most activities. 2014-02-05 22:29:55 +00:00
akwizgran
bd40c65916 Renamed home screen to dashboard. 2014-02-05 22:19:29 +00:00
akwizgran
4fdcbca357 Add a back stack to activities launched from notifications.
See
https://developer.android.com/guide/topics/ui/notifiers/notifications.html#NotificationResponse
2014-02-05 20:13:41 +00:00
akwizgran
a1ca8e0e00 Apparently we need to declare a permission to vibrate the phone. Jesus. 2014-02-05 19:47:09 +00:00
akwizgran
8d850b290c Refactored HomeScreenActivity into several smaller classes. 2014-02-05 14:30:13 +00:00
akwizgran
9cc43d4b57 Updated version number. 2014-01-29 16:04:14 +00:00
akwizgran
67c7e3e13c New logo and launcher icon. 2014-01-29 15:25:49 +00:00
akwizgran
832476412c Changed the root package from net.sf.briar to org.briarproject. 2014-01-08 16:18:30 +00:00
akwizgran
f383532ecd Merged private message activities with contact list.
This makes the contact list behave how alpha testers expected: touching
a contact shows private messages exchanged with the contact.
2013-12-05 12:17:17 +00:00
akwizgran
a56516f8a6 Changed target SDK version to 19. 2013-11-19 22:57:14 +00:00
akwizgran
38c1b4eb97 Changed 'groups' to 'forums' in the Android UI. 2013-09-27 18:25:39 +01:00
akwizgran
bf13d3155c Raised the target SDK version to 18. 2013-09-21 19:10:34 +01:00
akwizgran
beb9750ca1 Removed blogs from the Android UI. 2013-09-21 19:10:11 +01:00
akwizgran
91ccdfd8d7 Created Android-specific LAN TCP plugin in order to enable multicast.
Some Android devices require a lock to be held while using multicast, to
disable the packet filter that normally filters out multicast packets.
2013-05-16 13:48:42 +01:00
akwizgran
9e17db5db1 Added activities for managing blog and group subscriptions. 2013-04-18 21:28:04 +01:00
akwizgran
374bff2fb6 UI for setting and entering the password that encrypts the database key. 2013-04-16 14:49:14 +01:00
akwizgran
f2e01d88a8 Separated blog activities from group activities for more readable code. 2013-04-13 17:18:34 +01:00
akwizgran
f1ebbc28f3 Separated WriteGroupMessageActivity into group and blog activities. 2013-04-12 20:17:34 +01:00
akwizgran
dae56cc573 Added an activity for creating blogs. 2013-04-12 10:44:04 +01:00