1. 07 Jul, 2019 1 commit
  2. 02 Apr, 2019 1 commit
  3. 22 Jan, 2019 1 commit
  4. 24 Nov, 2018 1 commit
  5. 23 Oct, 2018 1 commit
  6. 16 May, 2018 1 commit
    • LNJ's avatar
      avatars: Optimize vCard fetchment, Use SHA1 hashes locally · 2dcbad9b
      LNJ authored
      I made a mistake and somehow forgot to also check if the hash in the vCard based
      avatars presence actually differs from the local hash saved for the JID. Thus,
      before the vCards were fetched unnecessarily often. To do this I had to use
      SHA1 hashes (instead of SHA3-256) for identifying the avatars.
      
      Now the vCards only get fetched on start up, if there's no local avatar saved
      for the JID, so if somebody has no avatar in their vCard the vCard will be
      fetched every time at start up. Unfortunately this can't be further optimized,
      but on the other hand that are just some bytes and I think that's totally ok.
      2dcbad9b
  7. 13 Jan, 2018 1 commit
    • LNJ's avatar
      Bump copyright to 2018 · 14b7183a
      LNJ authored
      This updates all copyright headers in the source files to 2018. Also,
      there are not all contributors listed with a seperate copyright line,
      only one line for all Kaidan developers and contributors with a 'link'
      to a full list of contributors in the LICENSE file.
      
      It would be very hard to maintain the old strategy and adding each
      contributor to each file. Also the copyright lines were get too long then.
      
      All Kaidan headings are uniform, now. I replaced 'A cross platform XMPP
      client' with 'A user-friendly XMPP client for every device!'.
      14b7183a
  8. 12 Aug, 2017 1 commit
    • LNJ's avatar
      AvatarStorage: Deploy IDs dynamically to QML (#122) · e3de6116
      LNJ authored
      This will make it possible to show automatically updating avatars of a
      specific JID. Also the avatar hashes don't have to be saved in the
      message database anymore, and so problems when changing accounts are
      fixed now.
      
      The AvatarStorage now has a signal, that is emitted when the avatar of a JID
      was changed. Connected to it is the NOTIFY signal of the Q_PROPERTY of
      the avatar storage, so all avatars are updated then.
      e3de6116
  9. 06 Aug, 2017 1 commit
  10. 05 Aug, 2017 1 commit
    • LNJ's avatar
      Add AvatarFileStorage · 6a8ebae5
      LNJ authored
      This storage is able to save QByteArrays for identifiers and restore them.
      You can get a path to the file by the identifier (JID) or the SHA3-256 hexadecimal hash,
      that is used for naming the files.
      These avatars are saved in an "avatars" subfolder in Qt's cache location.
      6a8ebae5