1. 13 Jun, 2019 3 commits
    • JC Brand's avatar
      Fix failing tests · 0e81234f
      JC Brand authored
      0e81234f
    • JC Brand's avatar
      Bugfix. · 22bdccc7
      JC Brand authored
      https://xmpp.org/extensions/xep-0198.html#resumption
      
      The <resume/> element MUST include a 'previd' attribute whose value
      is the SM-ID of the former stream and MUST include an 'h' attribute
      that identifies the sequence number of the last handled stanza sent
      over the former stream from the server to the client.
      22bdccc7
    • JC Brand's avatar
      Avoid unnecessarily sending out a presence stanza · f3c4dbc3
      JC Brand authored
      - Set roster_fetched flag when we get an empty IQ[type="result"] stanza
      - Set `restored` flag when resuming in converse-smacks
      - Don't trigger change event when fetching xmppstatus values
      - Removed two events, since we can just listen to `change` on `_converse.xmppstatus`.
      f3c4dbc3
  2. 12 Jun, 2019 9 commits
  3. 11 Jun, 2019 5 commits
  4. 06 Jun, 2019 3 commits
  5. 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
  6. 04 Jun, 2019 9 commits
  7. 03 Jun, 2019 6 commits