Skip to content
Snippets Groups Projects
  1. Feb 29, 2016
  2. Feb 26, 2016
  3. Feb 25, 2016
    • str4d's avatar
      Merge branch '250-tor-polling' into 'master' · 8c8b2a53
      str4d authored
      New polling logic for Tor. #250
      
      Poll for outgoing connections each time the network is enabled, then disable polling once our hidden service descriptor has been published. If our contacts do the same, any contacts that are offline when we poll will connect to us when they come online.
      
      This should reduce bandwidth and battery usage. The idea comes from Ricochet:
      
      https://github.com/ricochet-im/ricochet/issues/68
      
      Fixes #250.
      
      See merge request !103
      8c8b2a53
    • akwizgran's avatar
      Fixed race condition in descriptor publication. · d8079b18
      akwizgran authored
      If two contacts publish their descriptors simultaneously, they may both stop polling without retrieving each other's descriptors. Continue polling for 2 intervals after publishing the descriptor.
      d8079b18
    • akwizgran's avatar
      New polling logic for Tor. #250 · 066285b8
      akwizgran authored
      Poll for outgoing connections each time the network is enabled, then disable polling once our hidden service descriptor has been published.
      066285b8
  4. Feb 24, 2016
    • akwizgran's avatar
      Merge branch '252-lan-polling' into 'master' · fee4beae
      akwizgran authored
      New polling logic for LAN. #252
      
      Same approach as !104. Modified the poller to cancel any scheduled poll when pollNow() is called and randomise the next polling interval so plugins that call pollNow() at the same time don't end up polling in sync.
      
      Depends on !104. Fixes #252.
      
      See merge request !105
      fee4beae
    • akwizgran's avatar
      Merge branch '251-bluetooth-polling' into 'master' · d829d471
      akwizgran authored
      New polling logic for Bluetooth. #251
      
      Increase the polling interval exponentially each time polling is unsuccessful, up to a maximum of 60 minutes. The interval is reset to 2 minutes whenever a connection is made and whenever Bluetooth is re-enabled.
      
      This should reduce battery usage when there are no contacts nearby.
      
      Fixes #251.
      
      See merge request !104
      d829d471
    • akwizgran's avatar
      Merge branch '225-bluetooth-address' into 'master' · 441b12d9
      akwizgran authored
      Try to use the real Bluetooth address on Android 6. #225
      
      Fixes #225 until Google breaks the Settings.Secure workaround.
      
      See merge request !109
      441b12d9
    • akwizgran's avatar
      000936b7
  5. Feb 23, 2016
  6. Feb 22, 2016
  7. Feb 19, 2016
  8. Feb 18, 2016
  9. Feb 17, 2016
    • Torsten Grote's avatar
      Merge branch 'message-status-cleanup' into 'master' · 81e2d04d
      Torsten Grote authored
      Database efficiency improvements
      
      Some tweaks to the DB schema to improve efficiency:
      
      * Only keep status rows for messages that are visible - this saves space and avoids the need to join the groupVisibilities table when selecting messages to offer or send
      * Use adjacent columns for the composite primary key on the settings table
      
      This MR depends on !101.
      
      See merge request !102
      81e2d04d
Loading