Skip to content
Snippets Groups Projects
  1. Jan 20, 2016
    • akwizgran's avatar
      Contact manager hooks. #209 · 82cf1204
      akwizgran authored
      82cf1204
    • akwizgran's avatar
      Implement Service interface rather than extending it. · 33ef09a6
      akwizgran authored
      Whether or not a class needs to run as a service is an implementation decision.
      33ef09a6
    • akwizgran's avatar
      Merge branch '112-message-validators' into 'master' · 2cd3a3a4
      akwizgran authored
      Separate the sync layer from its clients. #112
      
      This patch contains most of the work for #112. MessagingManager and ForumManager have been converted to BSP clients, and the sync layer's message and group formats no longer contain any client-specific data.
      
      Each client has a MessageValidator that's called by the ValidationManager to validate messages belonging to the client. A new MessageValidatedEvent informs listeners when a message has been validated. This required some changes to the UI, especially the notification manager.
      
      While working on the notification manager I realised it was calling Android API methods from background threads, which may be unsafe, and the notification logic was split across BriarService and AndroidNotificationManagerImpl. So I refactored those classes, along with AndroidExecutorImpl, which was using an unnecessary background thread.
      
      Still to do:
      * Synchronise blocks, not messages
      * Add message type field to message header as per BSP spec
      * Convert TransportPropertyManager into a BSP client
      * Convert SubscriptionUpdates/Acks into forum client messages
      
      
      See merge request !64
      2cd3a3a4
    • akwizgran's avatar
      Made BdfDictionary and BdfList thread-safe. · cd088676
      akwizgran authored
      cd088676
    • akwizgran's avatar
      Small improvements to DB interface. · 77054cba
      akwizgran authored
      77054cba
    • akwizgran's avatar
      53559514
    • akwizgran's avatar
      Code cleanup. · f5f57213
      akwizgran authored
      f5f57213
    • akwizgran's avatar
      Merge branch '167-namespaced-settings' into 'master' · 2216e2b0
      akwizgran authored
      ENH: Replaces transport config with namespaced settings
      
      This MR contains the following:
      
      * Adds a new guice module: SettingsManager, that abstracts the settings interface from the underlying database
      * Uses SettingsManager to replace the db.getConfig/mergeConfig calls in the Settings activity
      * Replaces the getSettings and mergeSettings calls in the database modules to include a namespace parameter. Updates the corresponding queries in the Jdbc module
      * Removes the TransportConfig module, as it is not used anymore
      * Updates the DuplexPlugin interface, to reflect this change in schemas and calls
      * Updates the calls in the corresponding plugins, for both briar-android and briar-desktop
      * Updates the hardcoded plugins in the tests to reflect these changes and updates the unit tests.
      
      See merge request !65
      2216e2b0
    • akwizgran's avatar
      Merge branch '223-fix-bluetooth-android-6' into 'master' · 1b624af3
      akwizgran authored
      Fix adding contacts with Android 6
      
      Adds `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
      
      See merge request !67
      1b624af3
    • Santiago Torres-Arias's avatar
  2. Jan 19, 2016
  3. Jan 18, 2016
  4. Jan 15, 2016
  5. Jan 14, 2016
  6. Jan 13, 2016
    • Torsten Grote's avatar
      Delete database as panic response even when signed out · c8d0e645
      Torsten Grote authored
      The method `runOnDbThread()` depends on an executor
      that's created by roboguice at startup.
      It requires to be signed in, so use a different thread instead.
      c8d0e645
    • akwizgran's avatar
      Updated Ant build file for briar-tests. · d66677e0
      akwizgran authored
      d66677e0
    • akwizgran's avatar
      Merge branch 'metadata-encoder-parser-tests' into 'master' · 4af52200
      akwizgran authored
      Add tests for metadata encoder and parser as well as UTF-8 tests for BDF reader and writer
      
      This also includes a commit to fix issues found in the metadata encoder and parser.
      
      See merge request !58
      4af52200
    • akwizgran's avatar
      42d1f6de
    • akwizgran's avatar
      Merge branch '213-use-test-annotation' into 'master' · 1a01fc46
      akwizgran authored
      Use @Test annotation to test for exceptions being thrown (#213)
      
      Please note that this commit only uses the @Test annotation
      where exceptions are thrown at the end of the test,
      because otherwise the test would not be executed completely.
      
      Examples for this are in DatabaseComponentImplTest where many exceptions
      are thrown in close succession or in ConnectionRegistryImplTest where an
      exception is thrown in the middle of the test.
      
      Closes #213
      
      See merge request !57
      1a01fc46
    • akwizgran's avatar
      Merge branch '210-support-panic-kit-purge' into 'master' · 0d2e12e7
      akwizgran authored
      Support for Destructive Panic Actions
      
      This MR is based on and requires !52.
      
      More details are available in the commit message.
      
      All known issues have now been fixed by new upstream releases.
      
      See merge request !54
      0d2e12e7
    • akwizgran's avatar
      d8c65d00
    • akwizgran's avatar
      Merge branch '204-support-panic-kit' into 'master' · 04473d20
      akwizgran authored
      Initial Support For PanicKit
      
      This MR adds support for the PanicKit libary. It supports the basic default panic response (signing out) which does not require user interaction to work. For destructive panic responses, the user needs to "connect" the panic trigger app (e.g. Ripple) with Briar first. To secure this connection further, TrustedIntents have been added. Gradle Witness is being used to guarantee the integrity of external libraries.
      
      Otherwise, this MR is pretty isolated and should not interfere with other parts of Briar. So merging it should be safe. However, the panic functionality still has rough edges and should not be relied on just now. It will mature along the the PanicKit library and the Ripple app.
      
      Closes #204 
      
      
      See merge request !52
      04473d20
  7. Jan 12, 2016
Loading