Skip to content
Snippets Groups Projects
  1. Jun 20, 2016
  2. Jun 18, 2016
  3. Jun 17, 2016
  4. Jun 15, 2016
  5. Jun 14, 2016
  6. Jun 11, 2016
  7. Jun 08, 2016
  8. Jun 07, 2016
    • Torsten Grote's avatar
      Merge branch '408-forum-list-unread-posts-badges' into 'master' · 1a1dd808
      Torsten Grote authored
      Adds badges to the forum list that indicate unread posts
      
      This MR adds  badges to the forum list that indicate unread posts. It does so by extending the compound view `TextAvatarView` and provides convenient setters that take care of the required UI changes. The new badge can also be used to indicate a problem with the forum.
      
      ![device-2016-06-02-134048](/uploads/133f365f5654be304f590a4f5b667d06/device-2016-06-02-134048.png)![device-2016-06-02-134453](/uploads/423a88f6306a558828181f0c539aa1cb/device-2016-06-02-134453.png)
      
      I decided not to check if the forum is shared from someone or with someone and indicate a problem in this case, because this requires iterating two times over all contacts and their group metadata for each forum. If someone considers it important to check for this information, we can create a ticket for doing this within the forum and not in the forum list.
      
      See merge request !207
      1a1dd808
  9. Jun 06, 2016
    • Ernir Erlingsson's avatar
      Merge branch '409-blog-fragment-in-navigation-drawer-with-tabs' into 'master' · 02f432c0
      Ernir Erlingsson authored
      Blog Fragment in Navigation Drawer with Tabs
      
      This replaces the custom layouts in the navigation drawer with a
      `NavigationView` and adds a menu entry for Blogs.
      
      A Main Blogs fragment is added that holds a `TabLayout` and a
      `ViewPager`. Five tabs are already added, but they just have a single
      placeholder fragment that is to be replaced by the actual fragments.
      
      Please note that the header in the navigation drawer is just provisional. I am sure @Megalox can design a better one.
      
      ![device-2016-06-02-191101](/uploads/ddffee792f67fad01158d7adc7ca904d/device-2016-06-02-191101.png)
      ![device-2016-06-02-191048](/uploads/a5e6def118646a02c6bcbf17e0398484/device-2016-06-02-191048.png)
      
      Closes #409
      
      See merge request !210
      02f432c0
  10. Jun 03, 2016
  11. Jun 02, 2016
  12. Jun 01, 2016
  13. May 31, 2016
  14. May 30, 2016
  15. May 28, 2016
    • str4d's avatar
      Merge branch '382-message-dependencies-2' into 'master' · 661140f6
      str4d authored
      Message Dependencies
      
      This MR adds a new table to the database to hold message dependencies.
      It introduces two more message states  (pending and delivered) and completely changes the validation and message delivery logic.
      
      Since this is a **very invasive** change, please **review carefully**. It is better to catch issues now than having to debug things later. If you notice an area without tests, please let me know. I tried to have tests for all changes.
      
      Unfortunately, this MR turned out rather large, but most of it are actually tests and you can review one commit after the other without needing to see the full changelog.
      
      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. This might have changed the semantics in some places and can have unindented side-effects.
      
      The `DatabaseComponent` was extended with methods for:
      * adding dependencies
      * getting dependencies and states of a message
      * getting messages that depend on a message (dependents) and their states
      * getting messages to be delivered (by startup hook)
      * getting pending messages to be possibly delivered (by startup hook)
      
      The `valid` column in the database was renamed to `state` along with the associated methods to better reflect its new extended meaning.
      
      Since pending messages should not be available to clients, many database queries have been modified to only return results for delivered messages. I might have missed some. Please check carefully. Also you might want to think about how you could create arbitrarily large transactions by sending malicious messages.
      
      Please note that the database version was bumped in this MR.
      
      Closes #382
      
      See merge request !198
      661140f6
    • str4d's avatar
    • str4d's avatar
      Update comments · 7ac7fae3
      str4d authored
      7ac7fae3
  16. 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
    • Ernir Erlingsson's avatar
      Merge branch '393-message-tree' into 'master' · 512940e8
      Ernir Erlingsson authored
      Sort threaded messages generic
      
      Constructed a generic that we can use to sort threaded messages.
      
      Closes #393
      
      See merge request !203
      512940e8
  17. May 25, 2016
  18. May 24, 2016
  19. May 20, 2016
Loading