Skip to content
Snippets Groups Projects
  1. May 06, 2016
  2. May 05, 2016
    • akwizgran's avatar
      Merge branch '371-no-introduction-session-reuse' into 'master' · 7a87d417
      akwizgran authored
      Do not allow session ID reuse and clean up sessions for introducee
      
      It was possible that a malicious introducer sends new request with the
      same session ID that was used previously and thus causing introducees to
      have multiple states for the same session ID.
      This commits prevents that from happening and adds an integration test
      for that scenario.
      
      Also if an introducee removes an introducer, all past session states
      will be deleted from the database. For this, a test was added as well.
      
      Closes #371
      Closes #372
      
      See merge request !179
      7a87d417
  3. May 04, 2016
  4. May 03, 2016
    • Torsten Grote's avatar
      Merge branch '340-progress-background' into 'master' · 6751ded3
      Torsten Grote authored
      Restore opaque background to progress wheels
      
      Closes #340
      
      See merge request !174
      6751ded3
    • akwizgran's avatar
      7e755e26
    • akwizgran's avatar
      Updated forum toasts and renamed delete icon. · 5fab9c38
      akwizgran authored
      5fab9c38
    • akwizgran's avatar
      Merge branch '305-remove-forum' into 'master' · da60e567
      akwizgran authored
      Move forum removal action from long press menu to action bar
      
      This is part of the UI changes for #305 
      
      See merge request !164
      da60e567
    • Torsten Grote's avatar
      Move forum removal action from long press menu to action bar · 684898ef
      Torsten Grote authored
      part of UI changes for #305
      684898ef
    • akwizgran's avatar
      Merge branch '154-ongoing-notification' into 'master' · 3b65144f
      akwizgran authored
      Set ongoing notification to minimum priority
      
      Setting the priority of the ongoing notification to PRIORITY_MIN prevents it from being shown in the status bar on Android 4.1 and later. The service still runs in the foreground.
      
      Thanks to @str4d for finding the solution. Closes #154.
      
      See merge request !169
      3b65144f
    • akwizgran's avatar
      Merge branch '322-prepare-new-forum-sharing' into 'master' · a655df73
      akwizgran authored
      Prepare for new Forum Sharing Client
      
      Methods for creating, adding and removing forums have been moved to the
      `ForumManager`. In order to still handle removing forums properly, a
      `RemoveForumHook` has been introduced.
      
      Methods for sharing forums with all current and future contacts have
      been removed along with the localGroup where this information was saved.
      
      The `ShareForumActivity` now has the proper label.
      
      The `SessionId` and the `ProtocolEngine` have been moved to the
      `clients` package.
      
      This addresses part of #322 and part of what has been discussed in #320.
      
      See merge request !156
      a655df73
    • Torsten Grote's avatar
      Prepare for new Forum Sharing Client · 9f9a2163
      Torsten Grote authored
      Methods for creating, adding and removing forums have been moved to the
      `ForumManager`. In order to still handle removing forums properly, a
      `RemoveForumHook` has been introduced.
      
      Methods for sharing forums with all current and future contacts have
      been removed along with the localGroup where this information was saved.
      
      The `ShareForumActivity` now has the proper label.
      
      The `SessionId` and the `ProtocolEngine` have been moved to the
      `clients` package.
      
      This addresses part of #322 and part of what has been discussed in #320.
      9f9a2163
    • akwizgran's avatar
      Merge branch '314-tor-sleep' into 'master' · bba99947
      akwizgran authored
      Hold a wake lock while Tor is connected to the internet
      
      This is a partial fix for #314. As noted on that ticket, if a Tor connection is lost for any reason other than the device sleeping, the plugin won't try to replace the lost connection. I'm leaving the ticket open until that more general issue is solved.
      
      The Tor plugin uses several variables to keep track of its connectivity status. This patch refactors those variables into an inner class to improve readability and ensure they're accessed atomically. However, it's still possible for the plugin's state to become inconsistent with the state of the Tor process. For example, calls to updateConnectionStatus() may run concurrently on the IO executor, so their calls to enableNetwork() may be interleaved. As usual, locking would solve this problem but create the potential for deadlock, so I won't try to solve it in this patch.
      
      See merge request !168
      bba99947
    • akwizgran's avatar
      Renamed circuit status method. · 400a11e3
      akwizgran authored
      400a11e3
    • akwizgran's avatar
      Merge branch '316-mobile-data-setting' into 'master' · 189efe8d
      akwizgran authored
      Fix name of Tor mobile data setting
      
      Closes #316.
      
      See merge request !167
      189efe8d
    • akwizgran's avatar
      Merge branch '331-viewfinder' into 'master' · b57b65e8
      akwizgran authored
      Reinitialise viewfinder when camera view is shown
      
      Thanks to @str4d for finding the cause of the bug. Closes #331.
      
      See merge request !165
      b57b65e8
    • akwizgran's avatar
      Merge branch 'use-android-executor' into 'master' · 160adca1
      akwizgran authored
      Use Android executor for background API calls
      
      Some Android API calls need to be made from a thread with a message queue, but to keep the UI responsive they shouldn't be made from the UI thread.
      
      This patch gives AndroidExecutor a captive thread with a message queue to execute tasks, and converts various background tasks from creating their own threads to using AndroidExecutor and IoExecutor.
      
      This allows us to upgrade the support library to 23.2.1. Fixes #332.
      
      See merge request !161
      160adca1
    • akwizgran's avatar
      Merge branch '305-forum-list-snackbar' into 'master' · 3d4abee1
      akwizgran authored
      Add Snackbar and Toolbar Button to Forum List
      
      This MR is a small change that replaces the custom UI elements in
      the forum list with a Snackbar and a Toolbar menu.
      
      It also fixes a background color that was still present with fragment from the NavDrawer.
      
      Before:
      
      ![before](/uploads/6dcc545827c035dcffcdf7863893753e/before.png)
      
      After:
      
      ![after](/uploads/427de01d8bec779ee81e6ebded3fcd2b/after.png)
      
      It addresses one part (2b) of #305 and is part of #121.
      
      
      See merge request !163
      3d4abee1
    • akwizgran's avatar
      25b165ac
    • akwizgran's avatar
      a0f22ec3
    • akwizgran's avatar
      f58ee132
    • akwizgran's avatar
      63d849b6
    • akwizgran's avatar
      Fixed name of Tor mobile data setting. #316 · c35cad97
      akwizgran authored
      c35cad97
Loading