1. 24 Feb, 2018 2 commits
    • Linus Jahn's avatar
      XmlLogHandler: Clean up coding style · 7654f518
      Linus Jahn authored
    • Linus Jahn's avatar
      Use new ClientThread for XMPP-connection; Make offline usable · 5c513623
      Linus Jahn authored
      This rewrites the full back-end <-> front-end communication, moves the
      connection logic to the back-end and makes the XMPP client connection
      independant of the user interface (they will run parallel). However, the
      database still runs on the main, GUI thread, so this will still block GUI
      rendering (will be done in one of the next commits).
      Now, Kaidan is able to handle different DisconnectionReason, so it can
      distinguish if the authentication failed or there's just no connection to the
      server available. So this will finally make Kaidan offline useable! But it
      currently won't reconenct after losing the connection once.
      The bug that Kaidan always crashed, when logging in after logging out has also
      been fixed with this.
      The LogInPage was simplified: now, the button only shows "Connecting..." (when
      pressed) or "Connect". The trivial state of "retry" has been removed.
      `branding.h` was renamed to `Globals.h`. The new `Enums` namespace is used to
      register enums as a QMetaEnum, to make them printable and accessible in QML. The
      new `Q_ENUM_NS` macro is used for that.
      Coding style: I started to use doxygen-compatible inline documentation for the
      most functions, classes, enums and other elements. I don't want to really use
      doxygen (we're not a library), but it should definitely make it easier for new
      developers to understand the code. So from now on new code should be documented
      like this.
      Closes #107 - Make Kaidan offline usable.
  2. 23 Feb, 2018 1 commit
  3. 21 Feb, 2018 1 commit
    • Jonah Brüchert's avatar
      Travis-CI: Use CCache (#188) · f58af7d2
      Jonah Brüchert authored
      This will use ccache on the travis-ci and cache the ccache files in the travis-ci caches, so the travis-ci
      builds will speed up a bit, if the same file has been compiled already.
  4. 20 Feb, 2018 1 commit
  5. 19 Feb, 2018 2 commits
  6. 17 Feb, 2018 8 commits
  7. 16 Feb, 2018 1 commit
  8. 14 Feb, 2018 8 commits
  9. 08 Feb, 2018 1 commit
    • Ilya Bizyaev's avatar
      New chat page look (#179) · bfb720ab
      Ilya Bizyaev authored
      This commit:
      * Updates Kirigami and Breeze submodules to make use of layout fixes and new icon
      * Adds tool buttons for attachments and sending
      * Changes text input appearance to a more traditional for messengers
      * Adds "Enter to send, Ctrl-Enter for newline"
      * Changes messages layout and corner radius
  10. 24 Jan, 2018 1 commit
  11. 21 Jan, 2018 3 commits
    • Linus Jahn's avatar
      Fix RichText labels in Plasma (Mobile) (#175) · 8740918f
      Linus Jahn authored
      This adds explicit textFormat settings in most labels, so labels are always
      parsed, if wanted and never if not. So now, the messages aren't parsed anymore,
      so the "send image hack" won't work anymore. This is also for security reasons,
      because you probably don't want your system to always check any incoming links
      in img tags.
    • Linus Jahn's avatar
      LoginPage: Fix layout positioning · 695cd61f
      Linus Jahn authored
      This fixes the word wrapping for the header ("Log in to your XMPP account") and
      also contains a code simplification of the serviceBar (the bar where the XMPP
      and diaspora icons are in). The layout of the serviceBar in the plasma style is
      also fixed, now.
    • Linus Jahn's avatar
  12. 13 Jan, 2018 2 commits
    • Linus Jahn's avatar
      LICENSE: Add generation script and make machine-readable · 91c64859
      Linus Jahn authored
      This adds a script in utils/generate-license.py that will generate a new
      LICENSE file upon the git history and information set in it. It's in the
      debian copyright format, but it would be easily possible to use a
      different style/format.
      Since this will gather information from the git history, all
      contributors will get their copyright line, even translators. This
      should solve the problem with "see git history for more details" not
      being a correct copyright for the participants in the git history.
      In the script, there are replacements, and excludes of user ids. If
      you've got several user ids in the git history, you can add replacements
      for them, so they are not displayed several times in the LICENSE file.
      Excludes are used for Weblate and anonymous translations.
    • Linus Jahn's avatar
      Bump copyright to 2018 · 14b7183a
      Linus Jahn 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!'.
  13. 07 Jan, 2018 4 commits
  14. 25 Dec, 2017 5 commits