Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@converse/headless

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@converse/headless - npm Package Versions

124

7.0.0

Diff

Changelog

Source

7.0.0 (2020-11-18)

Note for plugin authors: configuration settings should now be accessed via _converse.api.settings.get and not directly on the _converse object. Soon we'll deprecate the latter, so prepare now.

  • #515 Add support for XEP-0050 Ad-Hoc commands
  • #2231: add sort_by_query and remove sort_by_length
  • #1313: Stylistic improvements to the send button
  • #1481: MUC OMEMO: Error No record for device
  • #1490: Busy-loop when fetching registration form fails
  • #1535: Add option to destroy a MUC
  • #1715: Update chat state notification after receiving a message correction.
  • #1793: Send button doesn't appear in Firefox in 1:1 chats
  • #1820: Set focus on jid field after controlbox is loaded
  • #1822: Don't log error if user has no bookmarks
  • #1823: New config options muc_roomid_policy and muc_roomid_policy_hint
  • #1826: A user can now add himself as a contact
  • #1839: Headline messages are shown in controlbox
  • #1924: Configuring an ejabberd room fails
  • #1896: Don't send receipts for messages fetched from the archive
  • #1937: Editing a message removes the mentions highlight
  • #1963: Mentions are visually incorrect when used in message replies
  • #1999: Demarcate first unread message
  • #2002: fix rendering of muc_roomid_policy_hint
  • #2006: fix rendering of emojis in case use_system_emojis == false
  • #2028: Implement XEP-0333 displayed chat marker
  • #2101: Improve contrast of text in control box
  • #2187: Avoid merging initial settings with themselves every time settings are extended.
  • #2199: Fix BOSH session restore.
  • #2201: added html to converse.env
  • #2213: added CustomElement to converse.env
  • #2220: fix rendering of emojis in case use_system_emojis == false (again).
  • #2092: fixes room list update loop when having the locked_muc_domain truthy or 'hidden'
  • #2259: Rename configuration setting muc_show_join_leave to muc_show_info_messages. Now accepts a list of events to show instead of a boolean.
  • #2285: Rename config option muc_hats_from_vcard to muc_hats. Now accepts a list instead of a boolean and allows for more flexible choices regarding user badges.
  • #2300: Fix message reorder issue after message correction.
  • #2304: Custom emojis (stickers) images not shown
  • #2307: BootstrapModal is not accessible to plugins
  • #2308: Allow getHats method to be overriden in the overrides object in plugins.
  • #2321: When Converse runs inside a browser extension, enable browser sync and local storage for persistent storage
  • #1250: Change favicon color when unread messages
  • Updated translations: de, es, fi, fr, gl, hu, nb_NO, oc, pl, pt, pt_BR, ru, tr, uk, zh
  • The trusted configuration setting has been removed in favor of two new settings: allow_user_trust_override clear_cache_on_logout
  • The persistent_store setting can now also be set to sessionStorage
  • The api.archive.query method no longer accepts an RSM instance as argument.
  • The plugin converse-uniview has been removed and its functionality merged into converse-chatboxviews
  • Removed the mockups from the project. Recommended to use tests instead.
  • The API method api.settings.update has been deprecated in favor of api.settings.extend.
  • The API methods under the api.user.status namespace are now asynchronous and need to be awaited.
  • Filter roster contacts via all available information (JID, nickname and VCard full name).
  • Allow ignoring of bootstrap modules at build using environment variable. For xample: export BOOTSTRAP_IGNORE_MODULES="Modal,Dropdown" && make dist
  • Bugfix. Handle stanza that clears the MUC subject
  • Replace Backbone with Skeletor
  • Start using lit-html instead of lodash for templating.
  • muc_fetch_members now also accepts an array of affiliations to fetch.
  • Remove the configuration setting muc_show_join_leave_status. The optional status message is no longer shown at all.
  • Support for XEP-0156 is now enabled by default (which means that discover_connection_methods now has a default value of true).
  • show_send_button now has a default value of true.
  • The api.confirm method now accepts a list of fields and returns the filled in list upon confirmation.
  • New config option allow_adhoc_commands
  • New config option modtools_disable_assign
  • New config option modtools_disable_query
  • New config option muc_hats_from_vcard.
  • New config option muc_send_probes.
  • New config option notify_nicknames_without_references.
  • New config option show_message_avatar.
  • New public API converse.insertInto
jcbrand
published 6.0.1 •

jcbrand
published 5.0.5 •

Changelog

Source

5.0.5 (2019-11-20)

  • Prevent editing of sent file uploads.
  • #1089: When filtering the roster for online users, show all non-offline users.
  • #1733: New message notifications for a minimized chat stack on top of each other
  • #1757: Chats are hidden behind the controlbox on mobile
  • #1760: Private messages no longer received after websocket reconnect
jcbrand
published 5.0.3 •

Changelog

Source

5.0.3 (2019-09-13)

  • Emit chatBoxFocused and chatBoxBlurred events for emoji picker input
  • SECURITY FIX: Reject unencapsulated forwarded messages, since we don't support XEP-0297 on its own
jcbrand
published 5.0.2 •

Changelog

Source

5.0.2 (2019-09-11)

  • po translations files are now loaded via Webpack. As a result the locales_url config option is now removed given that the path to the locale JSON files is now determined by the webpack config and can't be changed at runtime.
  • The JSON representing emojis is now fetched asynchronously as a separate file converse.emojis.js.
  • Webpack is now configured with a publicPath set to /dist/. This is necessary so that chunks (such as the emojis and locales JSON files) can be fetched asynchronously. This means that all your assets need to be served at /dist. If you need to set a different path, you'll need to set publicPath in webpack.config.js to your preferred path and then rebuild all assets (e.g. make dist).
  • Use listenTo to avoid memory leaks when views get removed.
  • SECURITY FIX: Ignore MAM chat messages not sent from yourself
  • #1692 Bugfix: TypeError: oldest_message is undefined
  • #1704: SECURITY FIX: Impersonation by misusage of groupchat carbons
  • #1705: Bugfix: this.roomspanel is undefined after hibernating
jcbrand
published 5.0.1 •

Changelog

Source

5.0.1 (2019-08-14)

  • Add a new GUI for moderator actions. You can trigger it by entering /modtools in a MUC.
  • Reconnect if the server doesn't respond to a ping within 10 seconds.
  • Don't query for MAM MUC messages before the cached messages have been restored (another cause of duplicate messages).
  • Show an error message and option to retry when fetching of the MAM archive times out
  • Bugfix: TypeError: o.getAttribute is not a function converse-chatview.js (can cause messages to not appear).
  • #1679: Room invitation fails with singleton and random server assigned room name
jcbrand
published 4.2.0 •

Changelog

Source

4.2.0 (2019-04-04)

Note: This release introduces a hard requirement on MAM:2, specifically the requirement that the MAM archive ID matches the XEP-0359 stanza-id. Patches intended to make Converse work with MAM:1 will cause problems and unexpected behaviour due to the above requirement, which is not met with MAM:1. This will affect OpenFire users who use the monitoring plugin version 1.7.0 and below. You're advised to stay on Converse version 4.1.2 until an update to that plugin has been released.

  • Updated translation: af, cz, de, es, gl, he, lt, nl, nl_BE, ru
  • Upgrade to Backbone 1.4.0, Strophe 1.3.2 and Jasmine 2.99.2
  • Remove dependency on (our fork of) Awesomplete
  • Prevent user from adding themselves as contact
  • Fix "flashing" of roster filter when you have less than 5 roster contacts
  • Fix handling of CAPTCHAs offered by ejabberd
  • Don't send out receipts or markers for MAM messages
  • Allow setting of debug mode via URL with /#converse?debug=true
  • Render inline images served over HTTP if Converse itself was loaded on an unsecured (HTTP) page.
  • Make sure nickname passed in via _converse.initialize has first preference as MUC nickname
  • Make sure required registration fields have "required" attribute
  • New config setting autocomplete_add_contact
  • New config setting locked_muc_domain
  • New config setting locked_muc_nickname
  • New config setting show_client_info
  • Document new API method sendMessage
  • Don't filter out own device when sending an OMEMO message
  • #1149: With xhr_user_search_url, contact requests are not being sent out
  • #1213: Switch roster filter input and icons
  • #1327: fix False mentions positives in URLs and Email addresses
  • #1352: Add Jed as dependency of @converse/headless
  • #1373: Re-add support for the muc_domain setting
  • #1400: When a chat message is just an emoji, enlarge the emoji
  • #1407: Silent errors when trying to use whitespace as MUC nickname
  • #1437: List of groupchats in modal doesn't scroll
  • #1457: Wrong tooltip shown for "unbookmark" icon
  • #1467: Fix rendering of URLs enclosed with sharp brackets such as https://example.org
  • #1479: Allow file upload by drag & drop also in MUCs
  • #1487: New config option muc_respect_autojoin
  • #1488: In error message, fall back to JID if name is not available.
  • #1501: Don't prompt for a reason if auto_join_on_invite is true
  • #1507: Make message id and origin-id identical in order to fix LMC with Conversations
  • #1508: Minimized bookmarked chatboxes should not be always maximized after page reload.
  • #1512: Allow manual entry of jid even with xhr_user_search_url. The JID input field is now also visible. To hide it simply hide .add-xmpp-contact__jid via CSS.
jcbrand
published 4.1.2 •

Changelog

Source

4.1.2 (2019-02-22)

  • Updated translations: af, cz, de, es, he, it, nl, nl_BE, pt_BR, zh_CN
  • Bugfix. Prevent duplicate messages by comparing MAM archive id to XEP-0359 stanza ids.
  • Bugfix. Open groupchats not shown when logging in after disconnection.
  • #1406: TypeError: e.devicelists is undefined when unchecking the "trusted device" checkbox
jcbrand
published 4.1.1 •

Changelog

Source

4.1.1 (2019-02-18)

  • Updated translations: af, cz, de, es, eu, ga, he, hi, ja, nb, nl_BE, zh_CN
  • New language supported: Esperanto
  • Accessibility: Tag the chat-content as an ARIA live region, for screen readers
  • Set releases URL to new Github repo
  • Rudimentary support for XEP-0333 chat markers
  • Better support for XEP-0359 stanza-id and origin-id elements.
  • Bugfix: restore textarea size after sending a message
  • Bugfix: MUC invite form not appearing
  • #1369 Don't wrongly interpret message with subject as a topic change.
  • #1405 Status of contacts list are not displayed properly
  • #1408 New config option roomconfig_whitelist
  • #1410 HTTP upload not working if conversations push proxy is used
  • #1412 MUC moderator commands can be disabled selectively by config
  • #1413 Fix moderator commands that change affiliation
  • #1414 Prevent duplicate messages on MUC join
  • #1417 Margin between nickname and badge
  • #1421 Fix direct invite for membersonly room
  • #1422 Resurrect the muc_show_join_leave option
  • #1438 Update contact nickname when receiving a roster push
  • #1442 MUC read receipts causing empty lines
jcbrand
published 4.1.0 •

Changelog

Source

4.1.0 (2019-01-11)

  • Bugfix: MUC commands were being ignored
  • Bugfix: Multiple rooms shown active in the rooms list
  • Bugfix: Don't open chats when receiving messages without a body
  • Bugfix: Typing in the textarea can become very slow in large MUCs
  • UI: Always show the OMEMO lock icon (grayed out if not available).
  • Use publish-options with pubsub#access_model set to open when publishing OMEMO public keys and devices
  • Add a new converse-pubsub plugin, for generic PubSub operations
  • #1180 It's now possible to use OMEMO in a MUC (if it's members-only and non-anonymous)
  • #1334 Force avatar refetch when receiving vcard-temp:x:update
  • #1337 send_chat_state_notifications doesn't work in MUCs
  • #1353 Message Delivery Receipts not working because of the message "type" attribute
  • #1356 Make triangle icon usable
  • #1374 Can't load embedded chat when changing view_mode between page reloads
  • #1376 Fixed some alignment issues in the sidebar
  • #1378 Message Delivery Receipts were being sent for carbons and own messages
  • #1379 MUC unread messages indicator is failing
  • #1382 Message Delivery Receipts: Set store hint and type='chat'
  • #1388 implement muc-owner command /destroy
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc