Skip to content
Snippets Groups Projects
  1. Mar 15, 2016
    • akwizgran's avatar
      Reverted text colour to black. · d605e1ca
      akwizgran authored
      @color/briar_text_primary is used in a lot of places other than the settings screen - if we want to use grey text in the settings screen we'll need to find another way.
      
      Also fixed some misspelled resource names and included the colours from the Briar palette in color.xml.
      d605e1ca
  2. Mar 14, 2016
  3. Mar 11, 2016
  4. Feb 29, 2016
  5. Feb 10, 2016
  6. Feb 08, 2016
  7. Feb 05, 2016
  8. Jan 27, 2016
  9. Jan 26, 2016
  10. Jan 21, 2016
  11. Jan 20, 2016
  12. Jan 18, 2016
  13. Jan 13, 2016
  14. Jan 12, 2016
    • Torsten Grote's avatar
      Support for Destructive Panic Actions · 63d87ae0
      Torsten Grote authored
      PanicKit does distinguish between two kinds of panic responses:
      
      * default responses such as logging out which are non-destructive and
        do not require user interaction, so that the basics work without
        configuration
      * destructive responses such as deleting user data. These require
        some sort of authentication to make sure they are not triggered
        by malicious apps
      
      The second type of responses is implemented with this commit.
      
      Authentication is done by comparing the package name
      which is very weak. It requires the user to opt-in to
      destructive responses and to configure from which app
      to receive those (since there might be many different panic
      trigger apps).
      
      While possible to uninstall an app and install one with the same
      package name afterwards, this always triggers notifications to
      the user (if the attacker does not have root access).
      
      Still that is no sufficient security for Briar's requirements,
      so that TrustedIntents are used as well to make sure that the
      app sending the destructive trigger is signed by a signing key
      that we specified before. Currently, that is the one from the
      GuardianProject and from IilabEngineering who does the Amnesty
      International Panic App.
      
      The responsibility of checking that the panic TRIGGER is
      legitimate lies with the app responding to the trigger, so Briar
      in this case. This commit checks whether the TRIGGER comes from
      a trusted app before performing destructive actions,
      but does perform the default action even when triggered from
      untrusted apps.
      
      Closes #210
      63d87ae0
    • Torsten Grote's avatar
      Implemented Sign Out as a first PanicKit Response · e603b4f6
      Torsten Grote authored
      This closes #204
      e603b4f6
  15. Jan 08, 2016
  16. Jan 07, 2016
    • Torsten Grote's avatar
      Improve PasswordActivity by · 4460d69a
      Torsten Grote authored
      * removing screen border visible on small screens
      * showing noticeable error message on wrong password input
      * showing keyboard again after entering wrong password
      * making lost password link easier to recognize as link
      * renaming keyboard toggle method from 'hide' to 'toggle'
      4460d69a
  17. Jan 04, 2016
  18. Dec 31, 2015
  19. Dec 30, 2015
    • Torsten Grote's avatar
      Create custom BriarRecyclerView and use it for the contact list. · f309cb36
      Torsten Grote authored
      It is a common pattern to have a list with an empty view and a progress bar.
      This commit introduces a custom BriarRecyclerView and uses it for the
      contact list.
      
      No more manually hiding and showing empty views and progress bars is
      necessary when using the new BriarRecyclerView instead of RecyclerView.
      
      Please note that this conflicts with !44 at the moment and needs to be
      implemented for !36 once merged.
      
      Closes #198
      f309cb36
    • Torsten Grote's avatar
      This introduces a floating action button (FAB) in the contact list. · a51726f1
      Torsten Grote authored
      The button hides itself when you scroll down the list of contacts
      and shows again when you scroll up.
      
      To properly color the button, the accent color has been defined.
      It uses the same color as the action bar (primary color).
      I leave it to a UX designer to adapt the color scheme.
      
      Please note that the design support library was used.
      It includes the app-compat library, so this has been removed
      from the `build.gradle` file.
      
      Closes #199
      a51726f1
  20. Dec 28, 2015
    • Torsten Grote's avatar
      Use a RecyclerView for the ConversationView and · e98d4f22
      Torsten Grote authored
      properly notify the view adapter of dataset changes
      in order to avoid invalidating the entire dataset when not absolutely necessary.
      
      This change also shows unread messages in a different color,
      so users do not fail to notice delayed messages.
      e98d4f22
    • Torsten Grote's avatar
      New Conversation View in XML · 68cd1ff2
      Torsten Grote authored
      It now uses conversation bubbles in alternating colors
      and vector drawables to indicate message state.
      
      The conversation bubbles have been taken from Telegram
      and can be replaced by a UX designer later.
      
      This commit also addresses #9, because message text can
      now be selected and copied. This is done by using
      
          android:textIsSelectable="true"
      
      which only works for API level 11 or higher.
      
      If we want copy and paste on lower API levels,
      additional measures have to be implemented.
      68cd1ff2
    • Torsten Grote's avatar
      Use a RecyclerView for the Contact List · 4bcd2046
      Torsten Grote authored
      4bcd2046
  21. Dec 21, 2015
  22. Dec 18, 2015
  23. Dec 17, 2015
Loading