1. 08 Jun, 2017 1 commit
  2. 07 Jun, 2017 1 commit
    • Linus Jahn's avatar
      Clean up Message/RosterController · 5fdf2e7a
      Linus Jahn authored
      I separated them again, so the RosterController will also connect to the
      Message received event, and will upsate the unread message counter on its
      I also removed many `emit xxxModelChanged`. They are unnecessary and I don't
      know why I added them at all (in these cases).
      There were also some unused #includes, that I have removed.
      But the QML API has also changed through this and sendMessage and chatPartner
      are now on the top level of `kaidan`.
  3. 06 Jun, 2017 1 commit
  4. 05 Jun, 2017 1 commit
  5. 01 May, 2017 1 commit
  6. 30 Apr, 2017 1 commit
  7. 14 Mar, 2017 1 commit
    • Linus Jahn's avatar
      Roster: Sort using last exchanged · 51c48b80
      Linus Jahn authored
      The new `lastExchanged` coloumn in the RosterModel contains
      a ISODate string with the time when the last message has
      arrived or has been sent. The roster is now sorted using this
      The message controller is now able to communicate with the roster
      controller directly and updates the lastExchanged whenever a
      message arrives/is been sent.
      To preserve the lastExchanged property, the roster is now only
      'updated' instead of being replaced every login. It looks up
      which JIDs have been removed and added, adds/removes them
      and updates the name of all the others (lastExchanged keeps the
      same). Roster Versioning would be the better solution here and
      also generally ...
  8. 07 Mar, 2017 1 commit
    • Linus Jahn's avatar
      Add VCard back-end support (#85) · d4527fb8
      Linus Jahn authored
      The new QML-side variables:
      `kaidan.vCardController.currentJid = ""`
      `kaidan.vCardController.currentVCard = VCard` (read-only)
      `kaidan.vCardController.ownVCard = VCard`
      Properties of a VCard:
      `version`, `fullName`, `familyName`, `givenName`, `middleName`,
      `prefix`, `suffix`, `nickname`, `preferredEMailAddress`
      The own VCard is not working correctly yet.
  9. 06 Mar, 2017 1 commit
    • Jonah Brüchert's avatar
      Port to Kirigami 2 (#81) · 16283d28
      Jonah Brüchert authored
      AboutPage: version number is now a Kirigami.Heading, not a normal
      Label with a <h1> tag.
      LoginPage is only a normal Kirigami.Page now.
      The ListItems in the Roster page are Kirigami.SwipeListItems again and
      have the remove action again.
  10. 05 Mar, 2017 1 commit
  11. 22 Feb, 2017 1 commit
  12. 18 Feb, 2017 1 commit
    • Linus Jahn's avatar
      Add SQLite database for messages and roster caching · 3b366c75
      Linus Jahn authored
      The new SQLite3 database is saved (on Linux) under:
      ~/.local/share/KaidanIM/kaidan/messages.sqlite3 (This is the AppData
      location from Qt)
      It currently has two tables one for the roster and one for messages.
      The roster table has two coloumns: jid and name. The message table
      has six: author, author_resource, recipient, recipient_resource,
      timestamp and message. 'recipient' and 'author' contain a bare JID
      (a JID without the resource) and the resource saved in
      author/recipent_resource, if available. The resource is not really
      necessary, but I thought it might be cool to add e.g. some stats for
      this, later.
      In the Kaidan.cpp/h, I moved the handleMessageReceived part into the
      MessageController, later we should also move the handle Presence
      Received into a PresenceController or something as this.
      I also removed the 'import harbour.kaidan 1.0' in QML, because, now
      we don't have any new QML-types from Kaidan -> you can't import it.
      The Chat-GUI is still very ugly, we/I should definitely imporve it
      in a later commit.
      Closes #55.
  13. 08 Jan, 2017 1 commit
  14. 07 Jan, 2017 1 commit
  15. 06 Jan, 2017 1 commit
  16. 02 Dec, 2016 1 commit
    • Linus Jahn's avatar
      Add Kirigami UI (#33) · 14a8cb5e
      Linus Jahn authored
      The needed QtQuick version is 2.0, now. At the moment we don't
      need a newer version.
      The connect button will show 'Connecting...', when pressed now.
  17. 20 Nov, 2016 1 commit
  18. 18 Nov, 2016 2 commits
    • Linus Jahn's avatar
      Restructure project (#22) · 2144d981
      Linus Jahn authored
      I also had to adjust the README and of course the qrc-file.
      In the qrc-file I adjusted the path and added an alias, so
      all code remains compatible (we should add such aliases for
      all files in there).
      Closes #10.
    • Marzanna's avatar
      Add simple login screen (#20) · 63bb1351
      Marzanna authored