Skip to content
Snippets Groups Projects
  1. Mar 14, 2016
  2. Mar 11, 2016
  3. Mar 09, 2016
    • akwizgran's avatar
      Merge branch 'bluetooth-race' into 'master' · c615dd1e
      akwizgran authored
      Fix race condition when closing redundant Bluetooth sockets
      
      The Bluetooth invitation code has a race condition: if Alice and Bob connect to each other at roughly the same time, they each consider their outgoing socket to be redundant and close it, resulting in both sockets being closed. This can be triggered pretty reliably by using two phones of the same model and pressing 'Continue' at the same time on both phones.
      
      When more than one invitation socket is opened, Alice should pick which one to use and Bob should use whichever one Alice picks, which Bob can detect by trying to read from both sockets.
      
      Hopefully the Bluetooth invitation code will be retired when #117 is merged, but I'm putting this up for review in case we need to keep Bluetooth as a fallback method.
      
      See merge request !120
      c615dd1e
  4. Mar 08, 2016
  5. Mar 07, 2016
  6. Mar 04, 2016
  7. Mar 03, 2016
  8. Mar 02, 2016
  9. Feb 29, 2016
    • akwizgran's avatar
      Added new module to roboguice.xml. · 10561a2d
      akwizgran authored
      10561a2d
    • akwizgran's avatar
      Skip message header when parsing body. · cab94360
      akwizgran authored
      cab94360
    • akwizgran's avatar
      Merge branch 'client-helper' into 'master' · 154e95a9
      akwizgran authored
      Helper class to reduce client boilerplate
      
      * Renamed BdfReader methods for consistency with BdfList/BdfDictionary
      * Added readList() and readDictionary() methods to BdfReader
      * Added ClientHelper to reduce boilerplate when converting messages and metadata to and from BDF
      * Moved PrivateGroupFactory to the same package as ClientHelper
      
      
      See merge request !114
      154e95a9
    • akwizgran's avatar
      Merge branch 'validation-manager-tests' into 'master' · 75d53598
      akwizgran authored
      Unit tests for ValidationManagerImpl
      
      Unit test for the validation manager. I also changed the way the validation manager loads unvalidated messages - instead of using a single DB task to load all unvalidated messages, it loads a list of message IDs and then loads each message in a separate task. This prevents the DatabaseExecutor from being blocked by a long-running task if there are lots of messages to validate.
      
      See merge request !113
      75d53598
Loading