Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Nheko-Reborn/nheko.git. Pull mirroring updated .
  1. Jun 27, 2019
  2. Jun 14, 2019
    • Joe Donofry's avatar
      Further Improve Reply Functionality · 129beb57
      Joe Donofry authored
      Quoted replies now include matrix.to links for the event and the user.
      UI Rendering has been (slightly) improved... still very WIP.
      Restructured the reply structure in the code for future usability
      improvements.
      129beb57
  3. Jan 26, 2019
    • Joe Donofry's avatar
      Update user colors to use Cache vs Utils · 2ba51c82
      Joe Donofry authored
      User colors are now stored in cache.  This is consistent
      with other similar variables.  I think there's a bug
      right now where it doesn't properly refresh colors
      for the TimeLineItem when the theme is changed.
      2ba51c82
  4. Jan 20, 2019
    • Joe Donofry's avatar
      Author Color Fixes · 237c7ad1
      Joe Donofry authored
      Author color is now cached so that it will not be re-calculated
      each time a new message is posted.  This cache gets cleared when
      the theme is changed.
      
      Additionally, the author color is now automatically refreshed
      when the theme is changed, fixing the issue where you had to
      change rooms before the colors would switch.
      237c7ad1
    • Joe Donofry's avatar
      Update user id color generation · b3f7c13e
      Joe Donofry authored
      Update the author color generation.  Now, instead of generating
      an entire hex string based on the user id, the user id instead
      is used to generate a hue value.  After this hue value is created,
      there is some logic to tweak first the lightness and then saturation
      values to achieve a readable color (in contrast to the background).
      
      This change makes it so that user colors will not vary as wildly
      between the different themes.
      
      The values still are not cached and still do not update
      initially when the theme is changed.  Both of these things
      will be resolved.
      b3f7c13e
  5. Jan 18, 2019
    • Joe Donofry's avatar
      Modified the code that generates user's colors so that it will · 50e382f5
      Joe Donofry authored
      work regardless of the theme choices the user makes.  The code
      now incorporates the contrast between the background color and the
      color generated by the user_name when picking colors.  It currently
      has two 'big' issues:
      1. Colors are not cached.  I am planning on adding a QHash for this
      a little later.  This should improve performance by not calculating
      the color for the same users over and over and over again.
      2. Theme changes do not trigger the colors to get refreshed.
      Currently, you will have to switch to a different room and back
      to get the colors to refresh.
      50e382f5
    • Joe Donofry's avatar
      Make the author text slightly large. · 1882198e
      Joe Donofry authored
      Add author color generated based on user id.
      1882198e
  6. Oct 07, 2018
  7. Oct 01, 2018
  8. Sep 21, 2018
  9. Sep 19, 2018
  10. Sep 13, 2018
  11. Sep 12, 2018
  12. Sep 07, 2018
  13. Sep 06, 2018
  14. Sep 01, 2018
  15. Aug 21, 2018
  16. Aug 01, 2018
  17. Jul 22, 2018
  18. Jul 20, 2018
  19. Jul 17, 2018
  20. Jul 15, 2018
  21. Jun 28, 2018
  22. May 11, 2018
  23. May 05, 2018
  24. Apr 29, 2018
  25. Apr 28, 2018
  26. Apr 27, 2018
  27. Apr 21, 2018
  28. Mar 24, 2018
  29. Feb 19, 2018
  30. Feb 18, 2018
    • christarazi's avatar
      Support audio, video, generic file for pasting (#220) · cd9d1a2e
      christarazi authored
      * Refactor widget items to use same interface
      
      * Support audio, video, generic file for pasting
      
      * Add utils function for human readable file sizes
      
      * Set correct MIME type for media messages
      
      This change also determines the size of the upload once from the
      ContentLengthHeader, rather than seeking the QIODevice and asking for
      its size. This prevents any future trouble in case the QIODevice is
      sequential (cannot be seeked). The MIME type is also determined at
      upload once, rather than using the QIODevice and the underlying data
      inside.
      
      * Allow for file urls to be used as fall-back
      
      This fixes an issue on macOS which uses `text/uri-list` for copying
      files to the clipboard.
      
      fixes #228 
      cd9d1a2e
  31. Jan 12, 2018
  32. Jan 04, 2018
Loading