- 18 Jun, 2019 2 commits
-
-
JC Brand authored
-
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.
-
- 17 Jun, 2019 3 commits
-
-
JC Brand authored
It gets populated again upon MUC reflection or chat marker
-
JC Brand authored
-
JC Brand authored
Up and down arrows only serve as message correction shortcuts if the textarea is empty. This means that: - Up arrow doesn't start correction of previous message if we're currently writing a message - Down arrow doesn't erase currently written message This is based on user-feedback and is also how Slack handles these shortcuts.
-
- 16 Jun, 2019 3 commits
- 14 Jun, 2019 5 commits
-
-
JC Brand authored
For some reason the latter causes extreme lag when switching rooms
-
Nÿco authored
Removed one occurrence
-
JC Brand authored
When reconnecting with a new transport, we call setUserJID so that a new resource is generated, to avoid multiple server-side sessions with the same resource. We also call `_proto._doDisconnect` so that connection event handlers for the old transport are removed.
-
JC Brand authored
- Don't ever resume SMACKS stream when using BOSH - Clear SMACKS session data when using BOSH
-
JC Brand authored
-
- 13 Jun, 2019 5 commits
-
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
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.
-
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`.
-
- 12 Jun, 2019 9 commits
-
-
JC Brand authored
- Test for info message indicating a configuration change - Test that the MUC reconnects when a `not-acceptable` error is returned
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
instead of on the view.
-
- 11 Jun, 2019 5 commits
- 06 Jun, 2019 3 commits
- 05 Jun, 2019 5 commits
-
-
JC Brand authored
updates #555
-
JC Brand authored
-
JC Brand authored
-
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.
-
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.
-