Skip to content
Snippets Groups Projects
  1. Aug 29, 2016
    • Torsten Grote's avatar
      Add support for comments and reblogging to Blog Client · 3dd3a186
      Torsten Grote authored
      Comments and reblogs need to depend on the post they refer to.
      Since message dependencies are limited to one group,
      the post and also the comments need to be wrapped
      when commented on or reblogged to another blog.
      
      For this reason, in addition to comments, two new wrapping message types
      are introduced. They retain all data of the original messages and allow
      for reconstruction and signature verification.
      
      This commit breaks backwards compatibility with old blog posts.
      It removes the content type, title and parent ID from the post
      message structure.
      Verified
      3dd3a186
  2. Aug 19, 2016
  3. Aug 11, 2016
  4. Aug 05, 2016
  5. Aug 03, 2016
  6. Aug 01, 2016
  7. Jul 07, 2016
  8. Jun 28, 2016
  9. Jun 22, 2016
  10. Jun 18, 2016
  11. Jun 02, 2016
  12. May 28, 2016
  13. May 26, 2016
    • Torsten Grote's avatar
      Let the ForumValidator return parent posts as dependency · d3b83a50
      Torsten Grote authored
      and add integration tests that make sure that dependencies are handled
      properly.
      Verified
      d3b83a50
    • Torsten Grote's avatar
      Implement new message validation logic · 5561532c
      Torsten Grote authored
      that handles message dependencies reported from clients.
      
      The MessageValidatedEvent has been renamed into a MessageDeliveredEvent
      since there were no real use cases for the former any more.
      Verified
      5561532c
    • Torsten Grote's avatar
      Add Message Dependencies to Database · b03d0a20
      Torsten Grote authored
      This adds a new table to the database to hold message dependencies.
      It introduces two more message states: pending and delivered
      The valid column in the database was renamed to state to better reflect
      its new extended meaning.
      
      The DatabaseComponent was extended with three methods for:
      * adding dependencies
      * getting dependencies of a message
      * getting messages that depend on a message (dependents)
      * getting messages to be delivered (by startup hook)
      * getting pending messages to be possibly delivered (by startup hook)
      
      In order to reflect the new states, things that were previously true for
      VALID messages have been changed to now be true for DELIVERED messages.
      
      Since pending messages should not be available to clients, many database
      queries have been modified to only return results for delivered
      messages.
      
      All added methods and changes should come with updated unit tests.
      
      Please note that the database version was bumped in this commit.
      Verified
      b03d0a20
  14. May 24, 2016
  15. May 19, 2016
  16. May 16, 2016
  17. May 12, 2016
  18. May 11, 2016
  19. May 06, 2016
  20. May 04, 2016
    • Torsten Grote's avatar
      Do not allow session ID reuse and clean up sessions for introducee · 685e1422
      Torsten Grote authored
      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
      Verified
      685e1422
    • Torsten Grote's avatar
      Forum Sharing Integration Tests · 49c9af27
      Torsten Grote authored
      This adds integration tests for these cases:
      * normal invitation session where invitee accepts
      * normal invitation session where invitee declines
      * session where invitee leaves again after she joined
      * session where sharer leaves after invitee has joined
      * session where sharer leaves before invitee can respond
      * sharer reuses the session ID of the previous session
      * after accepting the invitation, the invitee invites the sharer to the same forum
      * after session contacts delete each other and session states get cleaned up
      
      Closes #339
      Verified
      49c9af27
  21. 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.
      Verified
      9f9a2163
  22. May 02, 2016
  23. Apr 29, 2016
  24. Apr 27, 2016
  25. Apr 25, 2016
  26. Apr 21, 2016
    • Torsten Grote's avatar
      Show relevant decline responses in the conversation · 11e6d64e
      Torsten Grote authored
      * If the user has already declined, we don't show that the other
        introducee has declined as well. The backend doesn't have that information, so
        this is compatible with the principle of showing what we know.
      * If the user has already accepted or hasn't yet responded, we show the
        decline response in the private conversation with the introducer. If
        the user hasn't yet responded, we hide the accept/decline buttons
        in the introduction request message.
      
      Messages an introducee receives in a `FINISHED` state are now being
      ignored and deleted.
      
      Closes #295
      Verified
      11e6d64e
    • akwizgran's avatar
  27. Apr 20, 2016
    • 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
      Verified
      36ef536e
  28. Apr 05, 2016
Loading