1. 18 Jun, 2019 2 commits
    • JC Brand's avatar
      Trying to fix failing test on travis · 1879c18c
      JC Brand authored
      1879c18c
    • JC Brand's avatar
      Use flexbox to keep the chat scrolled down · dd91d3cc
      JC Brand authored
      By using `display: flex` and `flex-direction: column-reverse`, the chat
      now automatically scrolls down when loaded, without requiring any
      extra JavaScript.
      
      We still need to scroll down with JavaScript when sending a message.
      
      By using `column-reverse`, the messages container now works in reverse.
      So the newest message is the first element in the container and the
      oldest message is the last. This is the reverse of before.
      
      Due to this, this change will likely break some plugins.
      dd91d3cc
  2. 17 Jun, 2019 3 commits
  3. 16 Jun, 2019 3 commits
  4. 14 Jun, 2019 5 commits
  5. 13 Jun, 2019 5 commits
  6. 12 Jun, 2019 9 commits
  7. 11 Jun, 2019 5 commits
  8. 06 Jun, 2019 3 commits
  9. 05 Jun, 2019 5 commits
    • JC Brand's avatar
      Only fetch presences when we're resuming an existing session. · a6567504
      JC Brand authored
      updates #555
      a6567504
    • JC Brand's avatar
      Bugfix. Need to wait for setUserJID · a7184fab
      JC Brand authored
      a7184fab
    • JC Brand's avatar
      Remove old API and events docs · a954ab91
      JC Brand authored
      a954ab91
    • JC Brand's avatar
      Move BOSH code into a plugin · 38a232fd
      JC Brand authored
      - Remove the `keepalive` configuration setting. It is now always implicitly `true`.
      - Remove the `expose_rid_and_sid` configuration setting.
      - A `prebind_url` is now mandatory when setting `authentication` to `prebind`.
      - It's no longer possible to pass in `rid` and `sid` values to `converse.initialize.
      38a232fd
    • JC Brand's avatar
      Add prettierx and tentatively use it for some formatting · 01fce557
      JC Brand authored
      I'm using prettierx, which is a fork of prettier so that we can have
      spaces before the brackets in a function declaration.
      
      I don't like how restrictive prettier is concerning its configuration
      and formatting.
      
      - it messes up some indentation in specs/
      - it removes a second newline when I specifically want to have two
      - it doesn't allow spaces before brackets in function declarations (hence prettierx)
      - it adds spaces for function parameters with default values
      
      None of this is configurable.
      
      So auto-formatting is not turned on by default, but it might be a useful
      tool in some cases.
      
      Fixes an issue where indentation was off in converse-core.js, causing
      vim-sleuth to wrongly indent by three spaces only.
      01fce557