briar merge requestshttps://code.briarproject.org/briar/briar/-/merge_requests2018-05-15T11:30:52Zhttps://code.briarproject.org/briar/briar/-/merge_requests/797Disable expiry for release builds2018-05-15T11:30:52ZakwizgranDisable expiry for release buildsTechnically it's still enabled, but the expiry period has been substantially increased. :-)Technically it's still enabled, but the expiry period has been substantially increased. :-)Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/796Store nickname and password across screen rotations2018-05-14T09:57:14ZakwizgranStore nickname and password across screen rotationsCloses #1229Closes #1229Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/794Commit shared preferences, clear instead of deleting2018-05-14T14:18:50ZakwizgranCommit shared preferences, clear instead of deletingSee #1219See #1219Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/793Add logging to debug account creation and deletion2018-05-14T13:19:20ZakwizgranAdd logging to debug account creation and deletionThis branch adds logging to help us debug #1219. Logging is disabled in release builds, but hopefully we'll run into the bug on a debug build.This branch adds logging to help us debug #1219. Logging is disabled in release builds, but hopefully we'll run into the bug on a debug build.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/792Remove circle, make button flat to improve setup UX2018-05-14T13:23:09ZakwizgranRemove circle, make button flat to improve setup UX![device-2018-05-09-104923](/uploads/d3909a0b3dcd5eb7ff2ac821d4137027/device-2018-05-09-104923.png)
![device-2018-05-09-104801](/uploads/4c93d95008cdbfc2856383a85810c516/device-2018-05-09-104801.png)
Closes #1225.![device-2018-05-09-104923](/uploads/d3909a0b3dcd5eb7ff2ac821d4137027/device-2018-05-09-104923.png)
![device-2018-05-09-104801](/uploads/4c93d95008cdbfc2856383a85810c516/device-2018-05-09-104801.png)
Closes #1225.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/790Send end of stream marker when sync session finishes2018-06-11T11:14:42ZakwizgranSend end of stream marker when sync session finishesThis branch ensures that the BTP end of stream marker is sent when an outgoing sync session finishes. This allows a duplex connection to be closed cleanly when both sides have finished sending data.
This fixes a bug where connections we...This branch ensures that the BTP end of stream marker is sent when an outgoing sync session finishes. This allows a duplex connection to be closed cleanly when both sides have finished sending data.
This fixes a bug where connections weren't closed when removing a contact.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/789Fix random javadoc errors2018-05-14T13:23:04ZJulian DehmFix random javadoc errorsFix random javadoc errors :)Fix random javadoc errors :)Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/788Update external dependencies2018-05-14T13:22:58ZJulian DehmUpdate external dependencies* Update CircleImageView
* Update Tap target prompt* Update CircleImageView
* Update Tap target promptAndroid 1.0https://code.briarproject.org/briar/briar/-/merge_requests/786Clear the UI when memory is critically low2018-05-14T14:53:06ZakwizgranClear the UI when memory is critically lowThe `onLowMemory()` callback we've been using to detect low memory situations was superseded by `onTrimMemory()` in API level 14. The new callback provides more information about the situation.
This branch uses the new callback to cle...The `onLowMemory()` callback we've been using to detect low memory situations was superseded by `onTrimMemory()` in API level 14. The new callback provides more information about the situation.
This branch uses the new callback to clear the UI when system memory is critically low. This releases some memory at the cost of losing the back stack. By the time the system reaches this state, even apps with foreground services are at risk of being killed, so if we don't do something to release memory we may be killed soon.
Partial solution to #1215, but we should keep looking for ways to release memory.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/785Resolve "IllegalArgumentException when creating test data with zero contacts"2018-05-14T13:22:53ZJulian DehmResolve "IllegalArgumentException when creating test data with zero contacts"* Create at least one contact
Closes #1216* Create at least one contact
Closes #1216Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/784Upgrade to Android Studio 3.12018-05-14T13:23:19ZakwizgranUpgrade to Android Studio 3.1This branch updates the build scripts to work with version 3.1 of the Android Gradle plugin.
Since version 3, the Android Gradle plugin uses variant-aware dependency resolution. The old way of declaring dependencies on Android projects,...This branch updates the build scripts to work with version 3.1 of the Android Gradle plugin.
Since version 3, the Android Gradle plugin uses variant-aware dependency resolution. The old way of declaring dependencies on Android projects, by specifying the path and configuration, no longer works. This may explain the intermittent build issues since upgrading to version 3, such as building APKs with stale versions of bramble-android, and missing dependency errors in Android Studio that were resolved by building on the command line.
This branch switches to the new way of declaring dependencies on Android projects. Unfortunately this is incompatible with the previous version of Gradle Witness, which tries to resolve all dependencies of each configuration. So this branch includes a new version of Gradle Witness that skips internal project dependencies. This means that if project A depends on project B, dependencies of project B that aren't also declared as dependencies of project A will be listed in B's dependency verification block but not A's. That's fine because they'll still be verified when configuring project B.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/783Return default message status if group is invisible2018-04-30T16:23:22ZakwizgranReturn default message status if group is invisibleDatabaseComponent's two getMessageStatus() methods rely on an implicit assumption that the group is visible to the contact. One of the methods throws a DbStateException if this assumption is false; the other method returns an empty resul...DatabaseComponent's two getMessageStatus() methods rely on an implicit assumption that the group is visible to the contact. One of the methods throws a DbStateException if this assumption is false; the other method returns an empty result set. This results in messages failing to load or being invisible, respectively, in the conversation view.
This branch removes the assumption by returning a default status for each message if the group is invisible. The getMessageStatus() methods, along with getMessageIds(), are tightened up to return only delivered messages, like the other query methods used by clients.
Closes #1217Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/782Disable low memory shutdowns2018-04-30T13:44:56ZakwizgranDisable low memory shutdownsDisable shutdowns while we investigate #1215.Disable shutdowns while we investigate #1215.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/781Fix introduction test non-determinism2018-04-30T08:05:02ZTorsten GroteFix introduction test non-determinismAndroid 1.0https://code.briarproject.org/briar/briar/-/merge_requests/780IntroduceeProtocolEngine uses wrong role when adding keys2018-04-29T02:27:19ZakwizgranIntroduceeProtocolEngine uses wrong role when adding keysAndroid 1.0https://code.briarproject.org/briar/briar/-/merge_requests/779Update transport keys in-place to retain key set IDs2018-04-29T15:00:04ZakwizgranUpdate transport keys in-place to retain key set IDsCloses #1213Closes #1213Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/777Don't automatically respond to declined introductions2018-04-28T14:14:28ZakwizgranDon't automatically respond to declined introductionsAndroid 1.0https://code.briarproject.org/briar/briar/-/merge_requests/776Fix introduction response messages in UI and some minor fixes2018-04-27T21:42:12ZTorsten GroteFix introduction response messages in UI and some minor fixesThis also adds a test for the automatic DECLINE response added in the last MR.
A second (optional) commit hides this second decline from the introducer's UI.
It also adds a hint about the duration of introductions as a separate str...This also adds a test for the automatic DECLINE response added in the last MR.
A second (optional) commit hides this second decline from the introducer's UI.
It also adds a hint about the duration of introductions as a separate string. Closes #923
![device-2018-04-27-180702](/uploads/57201f6f84187b3458de46d29043b882/device-2018-04-27-180702.png)Android 1.0akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/merge_requests/775Send automatic decline when other introducee declines2018-04-27T17:58:45ZakwizgranSend automatic decline when other introducee declinesWhen an introducee declines an introduction, the other introducee needs to respond before returning to the START state, otherwise a subsequent attempt at introducing the same contacts will fail.
This branch implements an automatic decli...When an introducee declines an introduction, the other introducee needs to respond before returning to the START state, otherwise a subsequent attempt at introducing the same contacts will fail.
This branch implements an automatic decline response. Alternatively we could wait for the user to decide, by adding a REMOTE_DECLINED state to the introducee state machine.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/773Add constant-time method for verifying MACs2018-04-25T12:08:50ZakwizgranAdd constant-time method for verifying MACsThis branch adds a constant-time method for verifying MACs, to prevent timing attacks. The existing signature verification method is renamed.This branch adds a constant-time method for verifying MACs, to prevent timing attacks. The existing signature verification method is renamed.Android 1.0