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
  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
    • akwizgran's avatar
      Added active flag to contacts. · a6baa582
      akwizgran authored
      a6baa582
    • akwizgran's avatar
      More efficient database joins. · 6b76b75d
      akwizgran authored
      Don't keep message status rows for groups that are invisible to the contact - this avoids the need to join the groupVisibilities table when selecting messages to offer or send. Add or remove status rows when group visibility changes.
      6b76b75d
    • akwizgran's avatar
      Execute test tasks in a deterministic order. · e979f17e
      akwizgran authored
      e979f17e
    • akwizgran's avatar
      Merge branch 'client-transactions' into 'master' · 42c00fb8
      akwizgran authored
      Transactions for clients
      
      This patch moves transactions out of the database component, allowing clients to perform multiple database calls in a single transaction. This should improve efficiency and reliability, at the cost of increased boilerplate for database calls.
      
      Operations that allow hooks, such as adding and removing contacts, pass their transactions to their hooks. This ensures the whole operation is atomic and isolated, so StorageStatus is no longer needed, hooks don't need to be idempotent, and locks can be removed from clients that were using them for isolation.
      
      This merge request is marked WIP because it will conflict with !74.
      
      See merge request !101
      42c00fb8
    • akwizgran's avatar
      00e59613
  10. Feb 16, 2016
    • akwizgran's avatar
      Merge branch 'identicon-contrast' into 'master' · f43f79eb
      akwizgran authored
      Increase contrast between identicons and background
      
      Identicons currently have a dark or light background depending on the V component of the foreground colour. But V isn't a great measure of brightness - cyan looks much brighter than blue with the same V, for example. This leads to some identicons having low contrast between the foreground and background.
      
      This patch scales the R, G and B components of the foreground colour to 3/4 of the full range and sets the background to white, so there's always good contrast between the foreground and background. The patch also adds a 1dp outline around identicons and adds some padding to the identity selection dropdown.
      
      Before:
      ![device-2016-02-10-150200](/uploads/2456ff047d4d33b4537f3489c9018679/device-2016-02-10-150200.png)
      
      After:
      ![device-2016-02-10-154634](/uploads/758c71e3c160e0f9fc50a507323daa7f/device-2016-02-10-154634.png)
      
      
      See merge request !100
      f43f79eb
    • akwizgran's avatar
      Changed background colour to FAFAFA. · 0a7823e7
      akwizgran authored
      Psycho killer, qu'est-ce que c'est?
      0a7823e7
Loading