Skip to content
Snippets Groups Projects
  1. May 06, 2016
  2. May 04, 2016
    • Torsten Grote's avatar
      Forum Sharing Client backend · 9bef114c
      Torsten Grote authored
      This commit replaces the old ForumSharingManagerImpl with a new one
      which is based on state machines and the ProtocolEngine.
      
      There is a SharerEngine and a InviteeEngine that take care of state
      transitions, messages, events and trigger actions to be carried out by
      the ForumSharingManagerImpl. This is all very similar to the
      Introduction Client.
      
      The general sharing paradigm has been changed from sharing as a state to
      sharing as an action. Now the UI can allow users to invite contacts to
      forums. The contacts can accept or decline the invitiation. Also, the
      Forum Sharing Manger is notified when users leave a forum.
      
      Closes #322
      9bef114c
    • Torsten Grote's avatar
  3. May 03, 2016
    • 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
  4. Apr 29, 2016
  5. Apr 28, 2016
  6. Apr 27, 2016
  7. Apr 21, 2016
  8. Apr 20, 2016
    • str4d's avatar
      Encrypt and save crash reports, send them the next time TorPlugin start · d545aaa8
      str4d authored
      Will currently fail at runtime; requires a public key and a server onion.
      d545aaa8
    • Torsten Grote's avatar
      Integration Tests for Introduction Client · 36ef536e
      Torsten Grote authored
      * normal session where both introducees accept
      * normal session where the first introducee declines
      * normal session where the second introducee declines
      * one session where a contact is introduced to herself
      * one session where two identities of the same contact
        are introduced to each other
      
      This introduces a new IntroductionAbortedEvent to signal when the
      protocol was aborted. It is not yet used in the UI.
      
      It closes #276
      36ef536e
    • Torsten Grote's avatar
      This addresses two types of introduction corner cases: · d0036dea
      Torsten Grote authored
      * force decline when two of our own identities are introduced to each
        other
      * throw away introduction requests to the same identity
        (impossible to trigger from UI)
      
      Closes #284
      d0036dea
  9. Apr 14, 2016
  10. Apr 12, 2016
    • Torsten Grote's avatar
      address issues found in final review · c5bfea21
      Torsten Grote authored
      (except refactoring of conversation item classes)
      c5bfea21
    • Torsten Grote's avatar
      Ensure responses shown after requests, clarify wording, reuse transactions · 90d984ee
      Torsten Grote authored
      When devices' clocks are out of sync, it is possible that a response is
      shown before the request. This commit makes sure that the timestamp of
      responses is always later than the last message in the conversation.
      
      Some wording could be misunderstood to thing introductions were
      successful even though they were not. That has been clarified.
      
      A new database transaction was created when getting contacts and local
      transport properties. This has been changed to re-use the existing
      transaction.
      
      Also addresses minor issues found in review.
      90d984ee
    • Torsten Grote's avatar
      Find correct session state in case the same one is used twice. · 4b7a32a5
      Torsten Grote authored
      The code made the assumption that a session state can be identified by
      the unique session ID. However, when multiple identities from the same
      device are involved, there are two sessions with the same ID running on
      the device.
      
      Hence, a second identifying criteria has to be used to uniquely identify
      the correct session. Here, the ID of the group was chosen.
      Unfortunately, the session state can not be cached easily anymore
      leading to a small performance penalty when getting all messages for the
      UI.
      4b7a32a5
  11. Apr 06, 2016
  12. Apr 05, 2016
  13. Apr 01, 2016
  14. Mar 30, 2016
  15. Mar 29, 2016
  16. Mar 28, 2016
  17. Mar 26, 2016
  18. Mar 22, 2016
  19. Mar 14, 2016
Loading