Skip to content
Snippets Groups Projects
  1. Jun 27, 2016
  2. Jun 22, 2016
  3. Jun 18, 2016
  4. May 26, 2016
    • 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.
      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.
      b03d0a20
  5. May 25, 2016
  6. May 20, 2016
  7. May 12, 2016
  8. May 06, 2016
  9. 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
      db322679
  10. 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
  11. May 02, 2016
  12. Apr 29, 2016
  13. Apr 27, 2016
  14. Apr 21, 2016
  15. Apr 20, 2016
  16. Apr 14, 2016
  17. Apr 11, 2016
  18. Apr 06, 2016
  19. Apr 05, 2016
  20. Apr 01, 2016
  21. Mar 31, 2016
    • akwizgran's avatar
      Don't allow reentrant transactions. · 7e3d3625
      akwizgran authored
      The database's transaction lock is reentrant, meaning that a thread that's already holding the lock can acquire it again. This would allow a thread that already has a transaction in progress to start another transaction, which could cause transaction isolation issues and/or lock timeouts on the database's internal locks.
      
      Check that the current thread isn't already holding the lock when starting a transaction.
      7e3d3625
  22. Mar 30, 2016
  23. Mar 29, 2016
Loading