Skip to content
Snippets Groups Projects
  1. Jun 23, 2016
  2. Jun 22, 2016
    • Torsten Grote's avatar
      Remove MAX_GROUP_DESCRIPTOR_LENGTH · 59320f02
      Torsten Grote authored
      Closes #441
      59320f02
    • Torsten Grote's avatar
      Merge branch '426-forum-improvements' into 'master' · 3e4be038
      Torsten Grote authored
      Forum improvements
      
      Forum Activity improvements:
      
      * Orientation changes now restore the activity properly, e.g. input text and state is retained
      * Snack bar is now, when appropriate, clickable
      * The bottom divider is no longer visible for the bottom entry
      * Code refactoring for improved simplicity and less redundancy
      * Timestamp check to ensure that new posts are not older than the latest post
      
      Closes #426 
      Closes #423 
      Closes #424 
      
      See merge request !218
      3e4be038
    • Ernir Erlingsson's avatar
      Forum improvements · a2a5b746
      Ernir Erlingsson authored
      a2a5b746
  3. Jun 21, 2016
  4. Jun 20, 2016
  5. Jun 18, 2016
  6. Jun 17, 2016
  7. Jun 15, 2016
    • Ernir Erlingsson's avatar
      Merge branch '402-blog-client-implementation' into 'master' · e7dce027
      Ernir Erlingsson authored
      Blog Client with Factories and Validator
      
      This implements a simple initial blog client that covers the basic blog actions, but no deletion/removal of blogs, yet.
      
      Classes for Blogs and Blog Post Headers have been introduced along with the associated factories.
      
      A `BlogPostValidator` has been added that validates incoming blog posts.
      
      Closes #402
      Closes #404
      
      See merge request !212
      e7dce027
    • Ernir Erlingsson's avatar
      Merge branch '78-trust-indicators' into '402-blog-client-implementation' · f823b8ba
      Ernir Erlingsson authored
      New Trust Level Indicator Replaces The Stars
      
      This implements a generic `TrustIndicatorView` with a `setTrustLevel()`
      method which updates the drawable according to the `Author.State`.
      
      It also removes unused files from the repo.
      
      This is based on !212 and should only be merged after it.
      
      Closes #78
      
      See merge request !217
      f823b8ba
    • Torsten Grote's avatar
      New Trust Level Indicator Replaces The Stars · dc048187
      Torsten Grote authored
      This implements a generic `TrustIndicatorView` with a `setTrustLevel()`
      method which updates the drawable according to the `Author.State`.
      
      Closes #78
      dc048187
    • Torsten Grote's avatar
      Blog Client with Factory and Validator · da68ef78
      Torsten Grote authored
      This implements a simple initial blog client that covers the basic blog
      actions, but no deletion/removal of blogs, yet.
      
      Classes for Blogs and Blog Post Headers have been introduced along with
      the associated factories.
      
      A `BlogPostValidator` has been added that validates incoming blog posts.
      
      Closes #402
      Closes #404
      da68ef78
    • Torsten Grote's avatar
      Merge branch '433-forum-persistance' into 'master' · bbed6731
      Torsten Grote authored
      fix persistance
      
      Closes #433
      
      See merge request !216
      bbed6731
  8. Jun 14, 2016
  9. Jun 11, 2016
  10. Jun 08, 2016
  11. 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
  12. 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
  13. Jun 03, 2016
    • Torsten Grote's avatar
      Blog Fragment in Navigation Drawer with Tabs · 3f838b04
      Torsten Grote authored
      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.
      
      Closes #409
      3f838b04
    • Torsten Grote's avatar
      This commit adds badges to the forum list that indicate unread posts. · 5d06f420
      Torsten Grote authored
      It does so by extending the compound view `TextAvatarView` and provides
      convienient setters that take care of the required UI changes.
      The new badge can also be used to indicate a problem with the forum.
      
      Closes #408
      5d06f420
  14. Jun 02, 2016
  15. Jun 01, 2016
  16. May 31, 2016
  17. May 30, 2016
  18. 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
Loading