2015-11-05 11:59:46 +01:00
# Changelog
2019-05-03 14:10:26 +02:00
2020-01-30 17:39:40 +01:00
## 7.0.0 (Unreleased)
2020-03-30 16:29:09 +02:00
*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.
2020-10-01 12:06:35 +02:00
- #2231: add sort_by_query and remove sort_by_length
2020-01-10 13:26:50 +01:00
- #1313: Stylistic improvements to the send button
2020-09-17 17:05:59 +02:00
- #1481: MUC OMEMO: Error No record for device
2020-03-30 05:25:22 +02:00
- #1490: Busy-loop when fetching registration form fails
2020-02-22 20:14:12 +01:00
- #1535: Add option to destroy a MUC
2020-02-27 02:42:09 +01:00
- #1715: Update chat state notification after receiving a message correction.
2020-01-10 13:26:50 +01:00
- #1793: Send button doesn't appear in Firefox in 1:1 chats
2019-12-29 14:47:25 +01:00
- #1820: Set focus on jid field after controlbox is loaded
2020-02-22 20:14:12 +01:00
- #1822: Don't log error if user has no bookmarks
2020-09-17 17:05:59 +02:00
- #515 Add support for XEP-0050 Ad-Hoc commands
2019-12-30 13:23:52 +01:00
- #1823: New config options [muc_roomid_policy ](https://conversejs.org/docs/html/configuration.html#muc-roomid-policy )
2020-01-14 10:06:01 +01:00
and [muc_roomid_policy_hint ](https://conversejs.org/docs/html/configuration.html#muc-roomid-policy-hint )
2019-12-31 17:05:11 +01:00
- #1826: A user can now add himself as a contact
2020-01-22 09:22:38 +01:00
- #1839: Headline messages are shown in controlbox
2020-09-25 18:43:37 +02:00
- #1924: Configuring an ejabberd room fails
2020-04-27 16:19:48 +02:00
- #1896: Don't send receipts for messages fetched from the archive
2020-04-06 14:27:44 +02:00
- #1937: Editing a message removes the mentions highlight
2020-04-15 12:25:53 +02:00
- #1963: Mentions are visually incorrect when used in message replies
2020-04-28 10:35:19 +02:00
- #1999: Demarcate first unread message
2020-04-27 16:19:48 +02:00
- #2002: fix rendering of `muc_roomid_policy_hint`
2020-04-28 18:35:58 +02:00
- #2006: fix rendering of emojis in case `use_system_emojis == false`
2020-06-01 17:30:20 +02:00
- #2028: Implement XEP-0333 `displayed` chat marker
2020-06-26 13:10:39 +02:00
- #2101: Improve contrast of text in control box
2020-08-12 10:12:10 +02:00
- #2187: Avoid merging initial settings with themselves every time settings are extended.
2020-08-20 17:09:11 +02:00
- #2199: Fix BOSH session restore.
2020-08-24 19:05:47 +02:00
- #2201: added html to converse.env
2020-08-30 16:55:40 +02:00
- #2213: added CustomElement to converse.env
2020-09-04 13:07:37 +02:00
- #2220: fix rendering of emojis in case `use_system_emojis == false` (again).
2020-10-07 10:37:35 +02:00
- #2092: fixes room list update loop when having the `locked_muc_domain` truthy or `'hidden'`
2020-09-30 12:46:07 +02:00
- The `api.archive.query` method no longer accepts an RSM instance as argument.
2020-09-21 17:52:00 +02:00
- The plugin `converse-uniview` has been removed and its functionality merged into `converse-chatboxviews`
2020-06-29 14:15:48 +02:00
- Removed the mockups from the project. Recommended to use tests instead.
2020-06-03 09:17:13 +02:00
- The API method `api.settings.update` has been deprecated in favor of `api.settings.extend` .
2020-09-04 12:51:03 +02:00
- The API methods under the `api.user.status` namespace are now asynchronous and need to be `await` ed.
2020-05-14 12:20:23 +02:00
- Filter roster contacts via all available information (JID, nickname and VCard full name).
2020-02-28 11:35:31 +01:00
- 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 ](https://github.com/skeletorjs/skeletor )
- Start using [lit-html ](https://lit-html.polymer-project.org/ ) instead of lodash for templating.
- [muc_fetch_members ](https://conversejs.org/docs/html/configuration.html#muc-fetch-members ) now also accepts an array of affiliations to fetch.
2020-03-31 22:43:55 +02:00
- Remove the configuration setting `muc_show_join_leave_status` . The optional status message is no longer shown at all.
2020-04-10 15:21:13 +02:00
- Support for XEP-0156 is now enabled by default (which means that
[discover_connection_methods ](https://conversejs.org/docs/html/configuration.html#discover-connection-methods ) now has a default value of `true` ).
2020-04-14 14:49:09 +02:00
- [show_send_button ](https://conversejs.org/docs/html/configuration.html#show-send-button ) now has a default value of `true` .
2020-04-14 17:18:58 +02:00
- The [api.confirm ](https://conversejs.org/docs/html/api/-_converse.api.html#.confirm ) method now accepts a list of fields and returns the filled in list upon confirmation.
2020-05-05 15:32:15 +02:00
- New config option [allow_adhoc_commands ](https://conversejs.org/docs/html/configuration.html#allow-adhoc-commands )
2020-04-17 13:14:23 +02:00
- New config option [modtools_disable_assign ](https://conversejs.org/docs/html/configuration.html#modtools-disable-assign )
- New config option [modtools_disable_query ](https://conversejs.org/docs/html/configuration.html#modtools-disable-query )
- New config option [muc_hats_from_vcard ](https://conversejs.org/docs/html/configuration.html#muc-hats-from-vcard ).
2020-05-05 15:32:15 +02:00
- New config option [muc_send_probes ](https://conversejs.org/docs/html/configuration.html#muc-send-probes ).
2020-08-26 00:02:53 +02:00
- New config option [notify_nicknames_without_references ](https://conversejs.org/docs/html/configuration.html#notify-nicknames-without-references ).
2020-06-04 14:27:51 +02:00
- New config option [show_message_avatar ](https://conversejs.org/docs/html/configuration.html#show-message-avatar ).
2020-06-10 12:30:52 +02:00
- New public API [converse.insertInto ](https://conversejs.org/docs/html/api/converse.html#.insertInto )
2020-01-10 13:26:50 +01:00
2020-01-09 15:56:54 +01:00
## 6.0.0 (2020-01-09)
2019-10-09 11:32:25 +02:00
2019-12-03 13:54:28 +01:00
- [enable_smacks ](https://conversejs.org/docs/html/configuration.html#enable-smacks ) is not set to `true` by default.
- Refactor some presence and status handling code from `converse-core` into `@converse/headless/converse-status` .
2020-01-07 15:58:46 +01:00
- It's now possible to navigate the emoji-picker via the keyboard arrow keys.
2019-11-29 12:21:38 +01:00
- Add support for [notifications about affiliation change for users not in a room ](https://xmpp.org/extensions/xep-0045.html#example-196 )
2020-01-10 10:26:01 +01:00
- Add support for [XEP-0424 Message Retraction ](http://xmpps.org/extensions/xep-0424.html )
- Add support for [XEP-0425 Message Moderation ](http://xmpps.org/extensions/xep-0425.html )
2019-11-29 12:21:38 +01:00
2019-11-01 16:04:55 +01:00
- New API [\_converse.api.headlines ](https://conversejs.org/docs/html/api/-_converse.api.headlines.html#.get )
2019-11-22 12:55:15 +01:00
- New config option [allow_message_retraction ](https://conversejs.org/docs/html/configuration.html#allow-message-retraction )
2019-11-28 17:01:08 +01:00
- New config option [muc-show-logs-before-join ](https://conversejs.org/docs/html/configuration.html#muc-show-logs-before-join )
2019-12-03 13:51:57 +01:00
- New config option [muc_mention_autocomplete_filter ](https://conversejs.org/docs/html/configuration.html#muc-mention-autocomplete-filter )
2020-01-10 10:26:01 +01:00
- New config option [muc_mention_autocomplete_show_avatar ](https://conversejs.org/docs/html/configuration.html#muc-mention-autocomplete-show-avatar )
2019-12-03 13:51:57 +01:00
- New config option [persistent_store ](https://conversejs.org/docs/html/configuration.html#persistent-store )
2019-11-28 15:26:08 +01:00
2019-10-16 17:17:29 +02:00
- Initial support for sending custom emojis. Currently only between Converse
instances. Still working out a wire protocol for compatibility with other clients.
To add custom emojis, edit the `emojis.json` file.
2019-11-11 15:27:34 +01:00
2019-12-04 16:01:34 +01:00
- #129: Add support for [XEP-0156: Disovering Alternative XMPP Connection Methods ](https://xmpp.org/extensions/xep-0156.html ). Only XML is supported for now.
- #1105: Support for storing persistent data in IndexedDB
2019-12-18 11:21:28 +01:00
- #1253: Show contacts with unread messages at the top of the roster
2018-11-27 15:28:31 +01:00
- #1322 Display occupants’ avatars in the occupants list
2019-12-04 16:01:34 +01:00
- #1640: Add the ability to resize the occupants sidebar in MUCs
- #1666: Allow scrolling of the OMEMO fingerprints list
- #1691: Fix `collection.chatbox is undefined` errors
2020-01-09 11:05:37 +01:00
- #1767: `credentials_url` is not called when logging out and then in again
2020-01-09 14:59:45 +01:00
- #1764: Incorrect URI encoding in "mention" references
2019-12-04 16:01:34 +01:00
- #1772: `_converse.api.contact.add(jid, nick)` fails, says not a function
2020-01-09 14:28:43 +01:00
- #1791: `auto_focus` set to `false` is ignored when switching back to a MUC
2019-12-04 16:01:34 +01:00
- #1792: Fix: modals don't have scrollbars
- #1796: Don't show "back" arrow navigation (on mobile) in the chat header when in `singleton` mode
2019-12-29 21:54:01 +01:00
- #1821: Errors caused by malformed URLs are now handled
2019-12-29 13:55:47 +01:00
- #1819: Click on a desktop notification now opens corresponding chat.
2020-01-16 13:48:46 +01:00
- #1836: MUC invites appear to come from the MUC name
2019-09-24 15:33:41 +02:00
2019-10-04 18:26:33 +02:00
### Breaking changes
2019-11-22 14:23:19 +01:00
- The ``debug`` configuration option has been replaced with [loglevel ](https://conversejs.org/docs/html/configuration.html#loglevel ).
2019-10-24 14:29:15 +02:00
- In contrast to sessionStorage and localStorage, IndexedDB is an asynchronous database.
A lot of code that relied on database access to be synchronous had to be
updated to work with asynchronous access via promises.
2018-11-18 19:14:22 +01:00
- In order to add support for XEP-0156, the XMPP connection needs to be created
only once we know the JID of the user that's logging in. This means that the
[connectionInitialized ](https://conversejs.org/docs/html/api/-_converse.html#event:connectionInitialized )
event now fires much later than before. Plugins that rely on `connectionInitialized`
being triggered before the user's JID has been provided will need to be updated.
2019-10-04 18:26:33 +02:00
- The following API methods now return promises:
* `_converse.api.chats.get`
2019-10-11 09:54:12 +02:00
* `_converse.api.chats.create`
2019-10-04 18:26:33 +02:00
* `_converse.api.rooms.get`
* `_converse.api.rooms.create`
2019-10-24 14:29:15 +02:00
* `_converse.api.roomviews.close`
2019-09-16 12:49:18 +02:00
2019-12-18 12:42:40 +01:00
- Changes the events:
* The `chatBoxInitialized` event now triggers when a `_converse.ChatBox` (not the view) is opened.
* Renamed the old `chatBoxInitialized` to `chatBoxViewInitialized` and trigger only for `ChatBoxView` instances.
* Renamed `chatRoomOpened` event to `chatRoomViewInitialized`
* The order of certain events have now changed: `statusInitialized` is now triggered after `initialized` and `connected` and `reconnected` .
2019-11-01 16:04:55 +01:00
- `_converse.api.chats.get()` now only returns one-on-one chats, not the control box or headline notifications.
2019-10-17 13:17:33 +02:00
- The `show_only_online_users` setting has been removed.
2019-10-31 14:42:28 +01:00
- `_converse.api.alert.show` is now `_converse.api.show` and instead of taking
an integer for the `type` , "info", "warn" or "error" should be passed in.
2019-11-01 16:04:55 +01:00
- The `converse-headline` plugin has been split up into `converse-headlines` and `converse-headlines-view` .
2019-10-17 13:17:33 +02:00
2019-11-20 11:23:55 +01:00
## 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
2019-10-04 18:26:33 +02:00
## 5.0.4 (2019-10-08)
2019-11-18 21:59:33 +01:00
2019-10-11 09:54:12 +02:00
- New config option [allow_message_corrections ](https://conversejs.org/docs/html/configuration.html#allow-message-corrections )
2019-10-06 12:48:05 +02:00
which, if set to `last` , limits editing of sent messages to the last message sent.
- Bugfix: Don't treat every duplicate message ID as a message correction; since some clients don't use globally unique ID's this causes false positives.
2019-10-06 11:04:47 +02:00
- Bugfix: process stanzas from mam one-by-one in order to correctly process message receipts
2019-09-16 14:02:14 +02:00
- #1712: `TypeError: plugin._features is not a function`
2019-10-06 12:48:05 +02:00
- #1714: Don't notify the user in case we're receiving a message delivery receipt only
2019-10-11 09:54:12 +02:00
- #1739: New config option [assets_path ](https://conversejs.org/docs/html/configuration.html#assets-path )
2019-10-06 12:48:05 +02:00
which lets you set the path from which "chunks" are loaded.
2019-09-16 12:49:18 +02:00
2019-09-13 15:05:34 +02:00
## 5.0.3 (2019-09-13)
2019-09-12 11:04:11 +02:00
- Emit `chatBoxFocused` and `chatBoxBlurred` events for emoji picker input
2019-09-13 08:57:49 +02:00
- SECURITY FIX: Reject unencapsulated forwarded messages, since we don't support XEP-0297 on its own
2019-09-12 11:04:11 +02:00
2019-09-11 17:42:09 +02:00
## 5.0.2 (2019-09-11)
2019-08-23 08:20:33 +02:00
2019-08-23 10:41:28 +02:00
- `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.
2019-08-23 08:20:33 +02:00
- 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
2019-08-23 10:41:28 +02:00
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
2019-08-23 08:20:33 +02:00
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` ).
2019-09-06 14:34:59 +02:00
- Use `listenTo` to avoid memory leaks when views get removed.
2019-09-11 14:16:48 +02:00
- SECURITY FIX: Ignore MAM `chat` messages not sent from yourself
2019-09-06 16:14:30 +02:00
- #1692 Bugfix: `TypeError: oldest_message is undefined`
2019-10-06 12:48:05 +02:00
- #1704: SECURITY FIX: Impersonation by misusage of groupchat carbons
- #1705: Bugfix: `this.roomspanel` is `undefined` after hibernating
2019-09-06 16:14:30 +02:00
2019-08-14 12:53:40 +02:00
## 5.0.1 (2019-08-14)
2019-07-04 14:12:12 +02:00
- Add a new GUI for moderator actions. You can trigger it by entering `/modtools` in a MUC.
2019-08-10 18:47:32 +02:00
- 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).
2019-08-12 20:16:34 +02:00
- Show an error message and option to retry when fetching of the MAM archive times out
2019-08-13 19:30:20 +02:00
- Bugfix: `TypeError: o.getAttribute is not a function converse-chatview.js` (can cause messages to not appear).
2019-08-16 20:59:21 +02:00
- #1679: Room invitation fails with singleton and random server assigned room name
2019-07-04 14:12:12 +02:00
2019-08-08 17:47:31 +02:00
## 5.0.0 (2019-08-08)
2019-07-04 14:12:12 +02:00
2019-06-05 10:01:55 +02:00
- BOSH support has been moved to a plugin.
2019-06-03 11:36:55 +02:00
- Support for XEP-0410 to check whether we're still present in a room
2019-06-03 09:25:01 +02:00
- Initial support for the [CredentialsContainer ](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer ) web API
2019-05-30 09:42:18 +02:00
- Allow for synchronous events. When a synchronous event is fired, Converse will
wait for all promises returned by the event's handlers to finish before continuing.
- Properly handle message correction being received before the corrected message
2019-05-04 06:15:39 +02:00
- Groupchat default configuration now supports `list-multi` fields
2019-04-16 16:56:49 +02:00
- Bugfix: Don't set `muc_domain` for roomspanel if `locked_muc_domain` is `true` .
- Bugfix: Modal auto-closes when you open it for a second time.
2019-08-03 21:49:44 +02:00
- Bugfix: `Cannot read property 'parentElement' of null` in shadow DOM
2019-04-16 16:56:49 +02:00
- Take roster nickname into consideration when rendering messages and chat headings.
- Hide the textarea when a user is muted in a groupchat.
2019-04-22 14:13:23 +02:00
- Don't restore a BOSH session without knowing the JID
2019-04-25 10:34:17 +02:00
- In the `/help` menu, only show allowed commands
2019-04-27 14:58:50 +02:00
- Message deduplication bugfixes and improvements
2019-04-29 17:29:07 +02:00
- Continuously retry (in 2s intervals) to fetch login credentials (via [credentials_url ](https://conversejs.org/docs/html/configuration.html#credentials-url )) in case of failure
2019-05-06 11:16:56 +02:00
- Replace `moment` with [DayJS ](https://github.com/iamkun/dayjs ).
2019-06-19 14:51:34 +02:00
- New config option [auto_focus ](https://conversejs.org/docs/html/configuration.html#auto-focus )
2019-07-03 11:55:42 +02:00
- New config option [clear_messages_on_reconnection ](https://conversejs.org/docs/html/configuration.html#clear-messages-on-reconnection )
2019-06-19 14:51:34 +02:00
- New config option [enable_smacks ](https://conversejs.org/docs/html/configuration.html#enable-smacks )
2019-06-16 14:16:35 +02:00
- New config option [message_limit ](https://conversejs.org/docs/html/configuration.html#message-limit )
2019-07-26 13:32:21 +02:00
- New config option [muc_fetch_members ](https://conversejs.org/docs/html/configuration.html#muc-fetch-members )
2019-07-03 11:55:42 +02:00
- New config option [muc_mention_autocomplete_min_chars ](https://conversejs.org/docs/html/configuration.html#muc-mention-autocomplete-min-chars )
- New config option [muc_show_join_leave_status ](https://conversejs.org/docs/html/configuration.html#muc-show-join-leave-status )
2019-06-19 14:51:34 +02:00
- New config option [singleton ](https://conversejs.org/docs/html/configuration.html#singleton )
2018-12-04 12:52:25 +01:00
By setting this option to `false` and `view_mode` to `'embedded'` , it's now possible to
2019-05-30 09:42:18 +02:00
"embed" the full app and not just a single chat. To embed just a single chat, it's now
necessary to explicitly set `singleton` to `true` .
2019-07-26 17:53:18 +02:00
- Re-add the previously removed config option [keepalive ](https://conversejs.org/docs/html/configuration.html#keepalive )
2019-05-22 14:03:13 +02:00
- New event: [chatBoxBlurred ](https://conversejs.org/docs/html/api/-_converse.html#event:chatBoxBlurred )
- New event: [chatReconnected ](https://conversejs.org/docs/html/api/-_converse.html#event:chatReconnected )
2018-05-29 12:00:23 +02:00
- #316: Add support for XEP-0198 Stream Management
2019-06-19 15:37:55 +02:00
- #1071: x clear cross of same size as text
2019-06-17 09:00:02 +02:00
- #1142: Up/down arrow shouldn't erase current message
2019-06-04 15:10:03 +02:00
- #1196: Use alternative connection method upon connfail
2019-04-16 16:56:49 +02:00
- #1296: `embedded` view mode shows `chatbox-navback` arrow in header
2019-06-04 12:08:09 +02:00
- #1330: Missing room name in MUC invitation popup
2019-06-04 12:19:55 +02:00
- #1445: Participants list uses big font in embedded mode
2019-06-26 10:24:27 +02:00
- #1455: Avatar in controlbox status-view not updated
2019-05-10 12:28:10 +02:00
- #1465: When highlighting a roster contact, they're incorrectly shown as online
2019-07-06 10:38:52 +02:00
- #1476: Support OMEMO on by default for chats via a config variable
2019-06-26 10:59:02 +02:00
- #1494: Trim whitespace around messages
2019-06-19 09:35:39 +02:00
- #1495: Mentions should always include a URI attribute
2019-06-19 09:21:46 +02:00
- #1502: Fatal error when using prebind
2019-07-05 19:15:23 +02:00
- #1524: OMEMO libsignal-protocol.js Invalid signature
2019-04-16 16:56:49 +02:00
- #1532: Converse reloads on enter pressed in the filter box
2019-06-19 09:21:46 +02:00
- #1538: Allow adding self as contact
2019-08-03 18:26:57 +02:00
- #1548: Add support for paging through the MAM results when filling in the blanks
2019-05-03 14:10:26 +02:00
- #1550: Legitimate carbons being blocked due to erroneous forgery check
2019-05-03 18:03:58 +02:00
- #1554: Room auto-configuration broke if the config form contained fields with type `fixed`
2019-05-13 14:35:55 +02:00
- #1558: `this.get` is not a function error when `forward_messages` is set to `true` .
2019-08-01 16:26:29 +02:00
- #1561: Don't call `clear` on local or session storage
2019-05-14 14:16:16 +02:00
- #1572: In `fullscreen` view mode the top is cut off on iOS
2019-06-19 14:51:34 +02:00
- #1575: MUC invitation autocomplete list doesn't appear
2019-05-26 15:27:33 +02:00
- #1576: Converse gets stuck with spinner when logging out with `auto_login` set to `true`
2019-06-19 09:21:46 +02:00
- #1579: Trim spaces at the beginning and end of a JID (when adding contact)
2019-07-03 22:26:07 +02:00
- #1585: Upload files by pasting from clipboard
2019-07-05 19:15:23 +02:00
- #1586: Not possible to kick someone with a space in their nickname
2019-08-04 11:38:59 +02:00
- #1664: Blacklisting converse-profile makes the control box totally blank
2019-04-05 12:49:24 +02:00
2018-05-29 12:00:23 +02:00
### Breaking changes
2019-07-11 09:46:17 +02:00
- The minimum required NodeJS version for making builds is now 8.9.0
2019-04-25 10:59:16 +02:00
- Rename `muc_disable_moderator_commands` to [muc_disable_slash_commands ](https://conversejs.org/docs/html/configuration.html#muc-disable-slash-commands ).
2019-05-03 19:47:49 +02:00
- `_converse.api.archive.query` now returns a Promise instead of accepting a callback functions.
2019-05-07 09:53:36 +02:00
- `_converse.api.disco.supports` now returns a Promise which resolves to a Boolean instead of an Array.
2019-05-31 16:03:20 +02:00
- The `forward_messages` config option (which was set to `false` by default) has been removed.
Use [message_carbons ](https://conversejs.org/docs/html/configuration.html#message-carbons ) instead.
2019-06-05 10:01:55 +02:00
- 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.
2019-06-13 13:29:55 +02:00
- Removed events `statusChanged` and `statusMessageChanged` . Instead, you can
listen on the `change:status` or `change:status\_message` events on
`_converse.xmppstatus` .
2019-08-03 21:49:44 +02:00
- #1403: Rename show_chatstate_notifications to show_chat_state_notifications
2019-05-07 09:53:36 +02:00
2019-04-16 16:36:58 +02:00
### API changes
2019-04-16 16:56:49 +02:00
- `_converse.chats.open` and `_converse.rooms.open` now take a `force`
2019-04-16 16:36:58 +02:00
parameter to force maximizing (in `overlayed` view mode) or bringing a
background chat into the foreground (in `fullscreen` view mode). Previously
this was the default behavior.
2019-04-16 16:56:49 +02:00
- `_converse.api.emit` has been removed in favor of [\_converse.api.trigger ](https://conversejs.org/docs/html/api/-_converse.api.html#.trigger )
- `_converse.updateSettings` has been removed in favor of [\_converse.api.settings.update ](https://conversejs.org/docs/html/api/-_converse.api.settings.html#.update )
2019-04-17 11:52:41 +02:00
- `_converse.api.roster.get` now returns a promise.
2018-05-29 12:00:23 +02:00
- New API method [\_converse.api.disco.features.get ](https://conversejs.org/docs/html/api/-_converse.api.disco.features.html#.get )
2019-06-01 19:36:23 +02:00
- New API method [\_converse.api.connection.reconnect ](https://conversejs.org/docs/html/api/-_converse.api.connection.html#.reconnect )
2019-04-16 16:36:58 +02:00
2019-04-04 12:33:08 +02:00
## 4.2.0 (2019-04-04)
2019-02-26 11:05:15 +01:00
2019-04-04 13:53:01 +02:00
**Note:** This release introduces a hard requirement on [MAM:2 ](https://xmpp.org/extensions/xep-0313.html ),
specifically the requirement that the MAM archive ID matches the [XEP-0359 stanza-id ](https://xmpp.org/extensions/xep-0359.html ).
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 ](https://www.igniterealtime.org/projects/openfire/plugin-archive.jsp?plugin=monitoring )
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.
2019-04-04 13:18:56 +02:00
- Updated translation: af, cz, de, es, gl, he, lt, nl, nl_BE, ru
2019-03-26 21:58:49 +01:00
- Upgrade to Backbone 1.4.0, Strophe 1.3.2 and Jasmine 2.99.2
2019-03-28 12:35:40 +01:00
- Remove dependency on (our fork of) Awesomplete
2019-03-28 15:32:50 +01:00
- Prevent user from adding themselves as contact
2019-03-28 12:35:40 +01:00
- Fix "flashing" of roster filter when you have less than 5 roster contacts
- Fix handling of CAPTCHAs offered by ejabberd
2019-03-12 13:00:15 +01:00
- Don't send out receipts or markers for MAM messages
2019-02-27 16:02:55 +01:00
- Allow setting of debug mode via URL with `/#converse?debug=true`
2019-03-28 14:34:12 +01:00
- 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 ](https://conversejs.org/docs/html/configuration.html#autocomplete-add-contact )
2019-02-26 10:34:41 +01:00
- New config setting [locked_muc_domain ](https://conversejs.org/docs/html/configuration.html#locked-muc-domain )
2019-03-26 13:29:33 +01:00
- New config setting [locked_muc_nickname ](https://conversejs.org/docs/html/configuration.html#locked-muc-nickname )
2019-02-27 14:42:27 +01:00
- New config setting [show_client_info ](https://conversejs.org/docs/html/configuration.html#show-client-info )
2019-03-21 20:55:07 +01:00
- Document new API method [sendMessage ](https://conversejs.org/docs/html/api/-_converse.ChatBox.html#sendMessage )
2019-03-29 23:07:45 +01:00
- Don't filter out own device when sending an OMEMO message
2019-03-01 11:42:09 +01:00
- #1149: With `xhr_user_search_url` , contact requests are not being sent out
2019-03-01 10:43:23 +01:00
- #1213: Switch roster filter input and icons
2019-03-04 20:47:06 +01:00
- #1327: fix False mentions positives in URLs and Email addresses
2019-03-15 10:29:21 +01:00
- #1352: Add [Jed ](https://github.com/messageformat/Jed ) as dependency of `@converse/headless`
2019-02-26 10:34:41 +01:00
- #1373: Re-add support for the [muc_domain ](https://conversejs.org/docs/html/configuration.html#muc-domain ) setting
2019-02-27 10:34:47 +01:00
- #1400: When a chat message is just an emoji, enlarge the emoji
2019-03-26 12:16:18 +01:00
- #1407: Silent errors when trying to use whitespace as MUC nickname
2019-02-26 11:05:15 +01:00
- #1437: List of groupchats in modal doesn't scroll
2019-02-26 12:08:48 +01:00
- #1457: Wrong tooltip shown for "unbookmark" icon
2019-03-27 10:56:09 +01:00
- #1467: Fix rendering of URLs enclosed with sharp brackets such as < https: // example . org >
2019-03-05 17:44:28 +01:00
- #1479: Allow file upload by drag & drop also in MUCs
2019-03-08 08:20:09 +01:00
- #1487: New config option [muc_respect_autojoin ](https://conversejs.org/docs/html/configuration.html#muc-respect-autojoin )
2019-03-28 15:35:37 +01:00
- #1488: In error message, fall back to JID if name is not available.
2019-03-18 18:53:38 +01:00
- #1501: Don't prompt for a reason if [auto_join_on_invite ](https://conversejs.org/docs/html/configuration.html#auto-join-on-invite ) is `true`
2019-03-22 16:16:32 +01:00
- #1507: Make message id and origin-id identical in order to fix LMC with Conversations
2019-03-25 16:35:26 +01:00
- #1508: Minimized bookmarked chatboxes should not be always maximized after page reload.
2019-03-28 15:43:29 +01:00
- #1512: Allow manual entry of jid even with [xhr_user_search_url ](https://conversejs.org/docs/html/configuration.html#xhr-user-search-url ).
The JID input field is now also visible. To hide it simply hide `.add-xmpp-contact__jid` via CSS.
2019-02-26 11:05:15 +01:00
2019-02-22 16:49:45 +01:00
## 4.1.2 (2019-02-22)
2019-02-19 23:08:05 +01:00
2019-02-22 16:49:45 +01:00
- Updated translations: af, cz, de, es, he, it, nl, nl_BE, pt_BR, zh_CN
2019-02-19 23:08:05 +01:00
- Bugfix. Prevent duplicate messages by comparing MAM archive id to XEP-0359 stanza ids.
2019-02-20 22:58:59 +01:00
- Bugfix. Open groupchats not shown when logging in after disconnection.
2019-02-21 09:19:02 +01:00
- #1406: `TypeError: e.devicelists is undefined` when unchecking the "trusted device" checkbox
2019-02-19 23:08:05 +01:00
2019-02-18 20:40:55 +01:00
## 4.1.1 (2019-02-18)
2019-01-12 17:04:17 +01:00
2019-01-29 05:12:41 +01:00
- Updated translations: af, cz, de, es, eu, ga, he, hi, ja, nb, nl_BE, zh_CN
- New language supported: Esperanto
2019-01-18 14:02:59 +01:00
- Accessibility: Tag the chat-content as an ARIA live region, for screen readers
2019-02-12 19:10:46 +01:00
- Set releases URL to new Github repo
2019-02-13 19:31:05 +01:00
- Rudimentary support for XEP-0333 chat markers
2019-02-14 11:32:45 +01:00
- Better support for XEP-0359 `stanza-id` and `origin-id` elements.
2019-02-14 13:20:37 +01:00
- Bugfix: restore textarea size after sending a message
2019-02-18 15:23:26 +01:00
- Bugfix: MUC invite form not appearing
2019-01-28 10:06:23 +01:00
- #1369 Don't wrongly interpret message with `subject` as a topic change.
2019-02-11 17:26:42 +01:00
- #1405 Status of contacts list are not displayed properly
2019-02-26 10:34:41 +01:00
- #1408 New config option [roomconfig_whitelist ](https://conversejs.org/docs/html/configuration.html#roomconfig-whitelist )
2019-02-13 15:43:09 +01:00
- #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
2019-02-06 13:06:34 +01:00
- #1414 Prevent duplicate messages on MUC join
2019-02-12 19:10:46 +01:00
- #1417 Margin between nickname and badge
2019-02-13 15:43:09 +01:00
- #1421 Fix direct invite for membersonly room
2019-02-12 19:10:46 +01:00
- #1422 Resurrect the `muc_show_join_leave` option
2019-02-09 23:26:32 +01:00
- #1438 Update contact nickname when receiving a roster push
2019-02-12 19:10:46 +01:00
- #1442 MUC read receipts causing empty lines
2019-01-12 17:04:17 +01:00
2019-01-11 18:45:05 +01:00
## 4.1.0 (2019-01-11)
2018-12-10 15:38:41 +01:00
- Bugfix: MUC commands were being ignored
2019-01-10 12:14:45 +01:00
- Bugfix: Multiple rooms shown active in the rooms list
2019-01-10 21:10:29 +01:00
- Bugfix: Don't open chats when receiving messages without a `body`
2019-01-11 18:38:09 +01:00
- Bugfix: Typing in the textarea can become very slow in large MUCs
2018-12-13 15:36:37 +01:00
- UI: Always show the OMEMO lock icon (grayed out if not available).
2018-12-19 14:38:16 +01:00
- 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
2018-12-20 21:48:41 +01:00
- #1180 It's now possible to use OMEMO in a MUC (if it's members-only and non-anonymous)
2019-01-14 12:06:02 +01:00
- #1334 Force avatar refetch when receiving `vcard-temp:x:update`
2019-01-11 17:40:43 +01:00
- #1337 `send_chat_state_notifications` doesn't work in MUCs
2018-12-16 10:58:48 +01:00
- #1353 Message Delivery Receipts not working because of the message "type" attribute
2019-04-16 16:56:49 +02:00
- #1356 Make triangle icon usable
2018-12-13 15:36:37 +01:00
- #1374 Can't load embedded chat when changing `view_mode` between page reloads
2018-12-16 08:27:06 +01:00
- #1376 Fixed some alignment issues in the sidebar
- #1378 Message Delivery Receipts were being sent for carbons and own messages
2018-12-16 12:29:43 +01:00
- #1379 MUC unread messages indicator is failing
2018-12-16 13:50:37 +01:00
- #1382 Message Delivery Receipts: Set store hint and type='chat'
2018-12-22 18:27:07 +01:00
- #1388 implement muc-owner command `/destroy`
2018-12-10 15:38:41 +01:00
## 4.0.6 (2018-12-07)
2018-11-16 18:05:18 +01:00
2018-12-07 12:30:51 +01:00
- Updated translations: ar, cs, de, es, eu, fr, gl, hu, id, it, ja, nb, pt_BR
2018-11-18 15:56:14 +01:00
- Don't render http (i.e. non-TLS) resources
2018-12-03 21:31:39 +01:00
- Bugfix: Converse caused `RID out of range` errors on Prosody
2018-12-06 12:08:00 +01:00
- Bugfix: MUC messages sometimes appear twice after resync.
2018-11-16 18:05:18 +01:00
- #1331 Fix missing checkmarks in old muc messages
2018-11-20 17:19:55 +01:00
- #1333 Don't send receipt requests in MUCs
2018-12-07 11:27:57 +01:00
- #1348 Font gets cut off in Firefox #1348
2018-11-16 18:05:18 +01:00
2018-11-15 13:23:54 +01:00
## 4.0.5 (2018-11-15)
2018-10-29 23:16:07 +01:00
2018-11-07 12:10:24 +01:00
- Error `FATAL: TypeError: Cannot read property 'extend' of undefined` when using `embedded` view mode.
- Default paths in converse-notifications.js are now relative
2018-11-12 15:12:33 +01:00
- Add a button to regenerate OMEMO keys
2018-11-14 11:52:58 +01:00
- Add client info modal which shows Converse's version number
2018-11-14 15:56:28 +01:00
- New config setting [theme ](https://conversejs.org/docs/html/configuration.html#theme )
2018-11-03 14:37:57 +01:00
- #141 XEP-0184: Message Delivery Receipts
2018-11-14 11:52:58 +01:00
- #1033 Setting show_send_button to true didn't work
2018-11-03 01:02:54 +01:00
- #1188 Feature request: drag and drop file to HTTP Upload
- #1268 Switch from SASS variables to CSS custom properties
- #1278 Replace the default avatar with a SVG version
2018-11-15 10:25:35 +01:00
- #1288 Add CSS classes to differentiate between incoming and outgoing messages
2018-11-04 08:19:08 +01:00
- #1305 added value 'all' for 'show_desktop_notifications' to notifiy even if converse.js is open
2018-11-14 11:52:58 +01:00
- #1306 added option `notification_delay`
2018-11-07 12:10:24 +01:00
- #1312 Error `unrecognized expression` in Safari
2018-11-14 11:52:58 +01:00
- #1316 show version info in login dialog
2018-11-14 14:33:07 +01:00
- #1317 Don't show errors for CSI messages
2018-11-10 08:46:17 +01:00
- #1318 added values 'on' and 'off' for 'trusted' option which removes the "This is a trusted device" checkbox from the login form
2018-11-12 18:46:03 +01:00
- #1319 Implement sending of presences according to XEP-0319: Last User Interaction in Presence
2018-10-29 23:16:07 +01:00
2018-10-29 22:28:28 +01:00
## 4.0.4 (2018-10-29)
2018-10-23 03:41:38 +02:00
- Use [Lerna ](https://lernajs.io/ ) to create the @converse/headless package
- Use ES2015 modules instead of UMD.
2018-10-27 22:56:05 +02:00
- #1252 Correctly reflect the state in bookmark icon title.
2018-10-24 22:59:43 +02:00
- #1257 Prefer 'probably' over 'maybe' when evaluating audio play support.
2018-10-27 22:56:05 +02:00
- #1259 Don't inform of affiliation change after user leaves MUC
2018-10-24 22:59:43 +02:00
- #1261 File upload not working
2018-10-29 11:40:18 +01:00
- #1264 Right Align badges of room occupants
2018-10-26 16:37:56 +02:00
- #1272 Hiding MUC occupants leaves a blank space
2018-10-29 11:40:18 +01:00
- #1278 Replace the default avatar with a SVG version
2018-10-22 18:32:57 +02:00
2018-10-22 11:41:40 +02:00
## 4.0.3 (2018-10-22)
2018-10-05 04:39:19 +02:00
2018-10-02 17:55:28 +02:00
- New translations: Arabic, Basque, Czech, French, German, Hungarian, Japanese, Norwegian Bokmål, Polish, Romanian, Spanish
2018-10-18 00:09:36 +02:00
- Bugfix. Converse continuously publishes an empty OMEMO devicelist for itself
2018-10-05 04:39:19 +02:00
- Bugfix. Handler not triggered when submitting MUC password form 2nd time
- Bugfix. MUC features weren't being refreshed when saving the config form
2018-10-13 14:40:05 +02:00
- Don't show duplicate notification messages
2018-10-16 00:22:39 +02:00
- New config setting [show_images_inline ](https://conversejs.org/docs/html/configuration.html#show-images-inline )
2018-10-18 07:43:41 +02:00
- Disable OMEMO when the user has indicated that Converse is running on an untrusted device.
2018-10-13 13:23:55 +02:00
- #537 Render `xmpp:` URI as link
2018-10-29 11:40:18 +01:00
- #1058 Send an inactive chat state notification when the user switches to another tab
2018-10-13 13:23:55 +02:00
- #1062 Collapse multiple join/leave messages into one
2018-10-07 03:31:18 +02:00
- #1063 URLs in the topic / subject are not clickable
2018-10-10 22:28:32 +02:00
- #1140 Add support for destroyed chatrooms
2018-10-11 13:21:44 +02:00
- #1169 Non-joined participants display an unwanted status message
2018-10-17 22:31:21 +02:00
- #1185 Added Contact still shown as pending
2018-10-05 20:08:11 +02:00
- #1190 MUC Participants column disappears in certain viewport widths
2018-10-15 23:47:22 +02:00
- #1193 OMEMO messages without a `<body>` fallback are ignored
2018-10-05 20:31:56 +02:00
- #1199 Can't get back from to login screen from registration screen
2018-10-07 05:05:29 +02:00
- #1204 Link encoding issue
2018-10-07 20:17:52 +02:00
- #1209 Bring color codes of users' status in line with other clients
2018-10-05 17:19:53 +02:00
- #1214 Setting `allow_contact_requests` to `false` has no effect
2018-10-10 20:12:29 +02:00
- #1221 Avoid creating a headlines box if we don't have anything to show inside it
2018-10-05 04:43:57 +02:00
- #1222 Adding a bookmark should prefill the room name
2018-10-16 00:22:39 +02:00
- #1228 Converse automatically visits links (to try and determine whether they're images to show inline)
2018-10-05 04:39:19 +02:00
2018-10-02 22:51:01 +02:00
## 4.0.2 (2018-10-02)
2018-09-24 10:00:10 +02:00
2018-10-02 17:34:59 +02:00
- M4A and WEBM files, when sent as XEP-0066 Out of Band Data, are now playable directly in chat
- Updated French and Spanish translations
- Two new languages supported, [Hindi ](https://hosted.weblate.org/languages/hi/conversejs/ ) and [Romanian ](https://hosted.weblate.org/languages/ro/conversejs/ )
2018-10-07 02:36:26 +02:00
- #1176 Add config setting [send_chat_state_notifications ](https://conversejs.org/docs/html/configuration.html#send-chat-state-notifications )
2018-10-01 21:46:38 +02:00
- #1187 UTF-8 characters have the wrong encoding when using OMEMO
- #1189 Video playback failure
2018-09-24 16:03:53 +02:00
- #1220 Converse not working in Edge
2018-10-01 21:46:38 +02:00
- #1225 User profile sometimes not displayed when libsignal-protocol.js is used
2018-10-05 04:39:19 +02:00
- #1227 Login form does not work in Epiphany
2018-09-24 10:00:10 +02:00
2018-09-19 16:16:10 +02:00
## 4.0.1 (2018-09-19)
2018-09-10 16:21:30 +02:00
2018-10-01 21:46:38 +02:00
- Use https://compliance.conversations.im instead of dead link tot st https://xmpp.net
2018-09-13 11:46:42 +02:00
- New config setting [auto_register_muc_nickname ](https://conversejs.org/docs/html/configuration.html#auto-register-muc-nickname )
- New config setting [enable_muc_push ](https://conversejs.org/docs/html/configuration.html#enable-muc-push )
2018-09-10 16:21:30 +02:00
- #1182 MUC occupants without nick or JID created
- #1184 Notification error when message has no body
2018-09-18 16:25:33 +02:00
- #1201 Emoji picker appears when pressing enter
2018-09-10 16:21:30 +02:00
2018-09-07 16:20:30 +02:00
## 4.0.0 (2018-09-07)
2018-04-03 12:29:12 +02:00
## New Features
2018-04-24 14:29:08 +02:00
- #161 XEP-0363: HTTP File Upload
2018-05-11 13:31:48 +02:00
- #194 Include entity capabilities in outgoing presence stanzas
2018-05-08 17:48:37 +02:00
- #337 API call to update a VCard
2018-07-07 22:44:07 +02:00
- #421 XEP-0308: Last Message Correction
2018-08-27 21:57:05 +02:00
- #497 XEP-0384: OMEMO encrypted messaging
2018-05-24 10:24:48 +02:00
- #968 Use nickname from VCard when joining a room
2018-09-07 11:53:50 +02:00
- #986 Affiliation changes aren't displayed in the chat
2018-08-31 13:57:49 +02:00
- #1081 Allow for shift-enter to insert newlines
2018-05-24 14:37:52 +02:00
- #1091 There's now only one CSS file for all view modes.
2018-05-09 12:57:50 +02:00
- #1094 Show room members who aren't currently online
2018-05-29 12:03:49 +02:00
- #1106 Support for Roster Versioning
2018-08-31 13:57:49 +02:00
- #1137 Autocompletion and support for [XEP-0372 References ](https://xmpp.org/extensions/xep-0372.html ), specifically section "3.2 Mentions".
2018-05-08 17:48:37 +02:00
- It's now also possible to edit your VCard via the UI
2018-05-01 11:33:32 +02:00
- Automatically grow/shrink input as text is entered/removed
- MP4 and MP3 files when sent as XEP-0066 Out of Band Data, are now playable directly in chat
- Support for rendering URLs sent according to XEP-0066 Out of Band Data.
- Geo-URIs (e.g. from Conversations) are now replaced by links to openstreetmap (works in reverse also)
2018-05-17 18:25:12 +02:00
- Add a checkbox to indicate whether a trusted device is being used or not.
2018-05-18 12:21:02 +02:00
If the device is not trusted, sessionStorage is used and all user data is deleted from the browser cache upon logout.
If the device is trusted, localStorage is used and user data is cached indefinitely.
2018-08-16 12:15:23 +02:00
- Initial support for [XEP-0357 Push Notifications ](https://xmpp.org/extensions/xep-0357.html ), specifically registering an "App Server".
2018-09-04 11:39:27 +02:00
- Add support for logging in via OAuth (see the [oauth_providers ](https://conversejs.org/docs/html/configuration.html#oauth-providers ) setting)
2018-04-03 12:29:12 +02:00
2018-05-05 20:28:41 +02:00
### Bugfixes
- Spoiler messages didn't include the message author's name.
- Documentation includes utf-8 charset to make minfied versions compatible across platforms. #1017
- #1026 Typing in MUC shows "Typing from another device"
2018-05-13 12:39:16 +02:00
- #1039 Multi-option data form elements not shown and saved correctly
2018-08-01 18:46:52 +02:00
- #1143 Able to send blank message
2018-05-05 20:28:41 +02:00
2018-05-01 11:33:32 +02:00
### API changes
2018-05-22 16:44:58 +02:00
2018-05-01 11:33:32 +02:00
- `_converse.api.vcard.get` now also accepts a `Backbone.Model` instance and
has an additional `force` parameter to force fetching the vcard even if it
has already been fetched.
2018-05-01 14:51:18 +02:00
- New API method `_converse.api.vcard.update` .
2018-05-22 16:44:58 +02:00
- The `contactStatusChanged` event has been renamed to `contactPresenceChanged`
and a event `presenceChanged` is now also triggered on the contact.
2018-10-05 04:39:19 +02:00
- `_converse.api.chats.open` and `_converse.api.rooms.open` now returns a
2018-07-30 18:16:32 +02:00
`Presence` which resolves with the `Backbone.Model` representing the chat
object.
2018-02-21 14:40:41 +01:00
2018-03-26 15:38:03 +02:00
## UI changes
2018-02-23 15:45:44 +01:00
2018-05-01 18:29:04 +02:00
- #956 Conversation pane should show my own identity in pane header
2018-04-08 19:44:53 +02:00
- The UI is now based on Bootstrap4 and Flexbox is used extensively.
2018-09-04 11:39:27 +02:00
- Fontawesome 5 is used for icons.
2018-05-01 18:29:04 +02:00
- User Avatars are now shown in chat messages.
2018-02-23 15:45:44 +01:00
2018-10-05 04:39:19 +02:00
## Configuration changes
2018-02-23 15:45:44 +01:00
2018-09-04 11:39:27 +02:00
- Removed the `storage` configuration setting, use [trusted ](https://conversejs.org/docs/html/configuration.html#trusted ) instead.
2018-05-04 22:50:41 +02:00
- Removed the `use_vcards` configuration setting, instead VCards are always used.
2018-04-08 19:44:53 +02:00
- Removed the `xhr_custom_status` and `xhr_custom_status_url` configuration
2018-02-21 14:40:41 +01:00
settings. If you relied on these settings, you can instead listen for the
[statusMessageChanged ](https://conversejs.org/docs/html/events.html#contactstatusmessagechanged )
event and make the XMLHttpRequest yourself.
2018-04-08 19:44:53 +02:00
- Removed `xhr_user_search` in favor of only accepting `xhr_user_search_url` as configuration option.
2018-08-27 21:57:05 +02:00
- `xhr_user_search_url` has to include the `?` character now in favor of more flexibility. See example in the documentation.
2018-04-08 19:44:53 +02:00
- The data returned from the `xhr_user_search_url` must now include the user's
2018-03-26 15:38:03 +02:00
`jid` instead of just an `id` .
2018-09-04 11:39:27 +02:00
- New configuration settings [nickname ](https://conversejs.org/docs/html/configuration.html#nickname )
and [auto_join_private_chats ](https://conversejs.org/docs/html/configuration.html#auto-join-private-chats ).
2018-03-09 11:02:15 +01:00
2018-04-08 19:44:53 +02:00
## Architectural changes
- Extracted the views from `converse-muc.js` into `converse-muc-views.js` and
where appropriate moved methods from the views into the models/collections.
This makes MUC possible in headless mode.
2018-05-05 20:28:41 +02:00
- Created a new core plugin `converse-roster.js` which contains the models for
roster-related data. Previously this code was in `converse-core.js` .
- VCards are now stored separately from chats and roster contacts.
2018-04-08 19:44:53 +02:00
2018-08-27 21:57:05 +02:00
## Other
- Support for OTR (off-the-record) encryption has been dropped.
2018-02-21 14:40:41 +01:00
2018-03-05 14:43:53 +01:00
## 3.3.4 (2018-03-05)
2018-02-19 10:35:58 +01:00
2018-02-22 13:55:17 +01:00
- Don't show bookmark toggles when PEP bookmarking not supported by the XMPP server.
2018-03-02 15:45:36 +01:00
- Emojis are now sent in unicode instead of short names (also in MUCs)
2018-02-19 10:35:58 +01:00
2018-03-02 12:36:08 +01:00
### Bugfixes
2018-03-03 11:45:57 +01:00
- Server field in `Rooms` tab showed MUC supporting clients instead of only components.
2018-03-02 12:36:08 +01:00
- Avatars weren't being shown.
- Bookmarks list and open rooms list weren't recreated after logging in for a 2nd time (without reloading the browser).
2018-03-02 19:35:06 +01:00
- #1022 Status message not sent out on subsequent presences
2018-03-02 12:36:08 +01:00
- #1024 null reference on MUC Invite
- #1025 OTR lock icon disappears
2018-03-02 15:51:04 +01:00
- #1027 `new Event` not supported in IE11
2018-03-02 16:30:00 +01:00
- #1028 Avoid `eval` (crept in via `_.template` from lodash).
### Translation changes
2018-03-04 06:10:32 +01:00
- New locale: Bulgarian
- Updated German, Russian, Chinese (traditional), Norwegian Bokmål and French translations.
2018-02-19 10:35:58 +01:00
2018-02-14 16:53:07 +01:00
## 3.3.3 (2018-02-14)
2018-01-30 10:25:08 +01:00
2018-02-07 17:23:04 +01:00
### Bugfixes
2018-01-30 10:25:08 +01:00
- Attribute error when empty IQ stanza is returned for vCard query
2018-02-14 13:44:17 +01:00
- In fullscreen view, sometimes a background MUC would come into the foreground
when a new message appears inside it.
2018-02-08 09:51:16 +01:00
2018-02-14 16:53:07 +01:00
### Security fixes
- CVE-2018-6591: Don't allow PEP bookmarks if `pubsub#publish-options` is not advertised by the server.
In previous versions of converse.js, bookmarks sent to servers that don't
support `pubsub#publish-options` were visible to all your contacts, even
though they should be kept private. This is due to those servers simply
ignoring the `pubsub#publish-options` directive and converse.js not checking
first whether `pubsub#publish-options` is supported before setting bookmarks
via PEP.
More info here: https://gultsch.de/converse_bookmarks.html
2018-02-07 17:23:04 +01:00
### New features
2018-02-07 15:32:32 +01:00
- XEP-0382 Spoiler Messages (currently only for private chats)
2018-02-07 21:59:45 +01:00
- Listen for new room bookmarks pushed from the user's PEP service.
2018-02-14 02:06:13 +01:00
- Simplified the [embedded ](https://conversejs.org/demo/embedded.html ) usecase.
- No need to manually blacklist or whitelist any plugins.
2018-09-04 11:39:27 +02:00
- Relies on the [view_mode ](https://conversejs.org/docs/html/configuration.html#view-mode ) being set to `'embedded'` .
2018-02-14 02:36:25 +01:00
- The main `converse.js` build can be used for the embedded usecase.
2018-02-14 16:53:07 +01:00
- Maintain MUC session upon page reload
2018-01-30 10:25:08 +01:00
2018-02-07 17:23:04 +01:00
### API changes
2018-05-01 11:33:32 +02:00
- New API method `_converse.api.disco.getIdentity` to check whether a JID has a given identity.
2018-02-07 17:23:04 +01:00
2018-02-09 16:02:56 +01:00
### Configuration settings
2018-02-09 16:20:05 +01:00
- `auto_reconnect` is now set to `true` by default.
2018-09-04 11:39:27 +02:00
- New configuration setting [allow_public_bookmarks ](https://conversejs.org/docs/html/configuration.html#allow-public-bookmarks )
- New configuration setting [root ](https://conversejs.org/docs/html/configuration.html#root )
- The [view_mode ](https://conversejs.org/docs/html/configuration.html#view-mode ) setting now has a new possible value: `embedded`
2018-02-08 15:39:27 +01:00
2018-02-14 13:44:17 +01:00
### Translation updates
- Chinese (Traditional), French, German, Portuguese (Brazil), Russian, Ukrainian
2018-02-08 15:39:27 +01:00
2018-01-29 16:33:30 +01:00
## 3.3.2 (2018-01-29)
2018-01-22 09:50:24 +01:00
### Bugfixes
2018-01-29 14:39:59 +01:00
- Various fixes for IE11.
2018-01-22 09:50:24 +01:00
- Could not register on Ejabberd 18. `"Missing attribute 'id' in tag qualified by namespace 'jabber:client'"`
2018-01-29 15:12:27 +01:00
- #878 Ending slash in link not recognized
2018-01-29 15:16:44 +01:00
- #921 FATAL error when `visible_toolbar_buttons.emoji = false`
2018-01-29 15:03:10 +01:00
- #959 Add padding for the iPhone X (to the mobile CSS).
2018-01-22 12:40:43 +01:00
- #993 `moment.format` is not a function error when sending a message.
2018-01-22 12:36:58 +01:00
- #994 TypeError when using the `user.login` API.
2018-01-22 11:59:14 +01:00
- #995 `ChildNode.replaceWith` is not available in Internet Explorer or Safari. Use `Node.replaceChild` instead.
2018-01-29 14:59:42 +01:00
- #999 MUC Chat Send button causes page reload
2018-01-29 11:40:13 +01:00
- #1000 Scroll to bottom when maximizing a chat room.
2018-01-29 14:51:49 +01:00
- #1003 Handle bare MUC room JIDs
2018-01-22 09:50:24 +01:00
2018-01-29 11:40:13 +01:00
### Translation changes
- Updated Dutch, French, Japanese, Norwegian Bokmål and Ukrainian translations
2018-01-18 14:48:32 +01:00
## 3.3.1 (2018-01-18)
2018-01-18 10:59:23 +01:00
2018-01-18 11:41:47 +01:00
### UI/UX changes
- Add new configuration option
2018-09-04 11:39:27 +02:00
[show_message_load_animation ](https://conversejs.org/docs/html/configuration.html#show-message-load-animation )
2018-01-18 11:41:47 +01:00
with a default value of `false` . The message load animations (added in 3.3.0)
cause slowness and performance issues in Firefox, so they're now disabled by default.
2018-01-18 10:59:23 +01:00
### Translation changes
- Updated Spanish and French translations.
- New translation: "Simplified Chinese"
- Rename `zh` language code to `zh_TW` and add Simplified Chinese as `zh_CN`
2018-01-17 19:45:33 +01:00
## 3.3.0 (2018-01-17)
2017-09-08 14:24:38 +02:00
2017-09-24 20:36:39 +02:00
### Bugfixes
2017-10-31 23:04:46 +01:00
- #800 Could not register successfully in ejabberd 17.01
2017-11-10 22:50:39 +01:00
- #949 Don't flash the roster contacts filter (i.e. hide by default)
2018-01-10 13:25:40 +01:00
- #951 Duplicate messages received in an MUC chat room.
2017-12-06 16:38:16 +01:00
- #953 MUC "Features" displayed when exiting configuration
2017-12-19 14:56:32 +01:00
- #967 Rooms list doesn't show when the server doesn't support bookmarks
2017-09-16 20:02:47 +02:00
- Don't require `auto_login` to be `true` when using the API to log in.
2017-10-25 17:09:35 +02:00
- Moment locale wasn't being set to the value passed via the `i18n` option.
2017-11-17 12:50:16 +01:00
- In the chat heading, two avatars sometimes get rendered.
2017-10-30 10:25:30 +01:00
- Refetch the roster from the server after reconnection.
From the perspective of the XMPP server, this is an entirely new login,
and therefore as per [RFC-6121 ](https://tools.ietf.org/html/rfc6121#section-2.1.6 )
the roster SHOULD be queried, making the client an "interested resource".
Otherwise connected contacts might not get your presence updates.
2017-12-02 14:11:10 +01:00
- The way the archive ID of a MAM message is specified, has changed.
See https://xmpp.org/extensions/xep-0313.html#archives_id
2017-12-04 20:44:54 +01:00
- Fixed error building DOM toggle_chats.html span.unread-message-count class attribute
2017-12-06 17:01:17 +01:00
- Bugfix. In a MUC the `/help` command didn't render properly.
2017-12-14 14:23:14 +01:00
- The `/voice` MUC command didn't set the right role in order to grant voice again.
2017-09-24 20:36:39 +02:00
### New Features
2018-01-17 17:03:23 +01:00
- Emojis are now sent in unicode instead of short names
2017-10-31 23:04:46 +01:00
- #314 Add support for opening chat rooms with a URL fragment such as `#converse/room?jid=room@domain`
and private chats with a URL fragment such as `#converse/chat?jid=user@domain`
- #828 Add routing for the `#converse/login` and `#converse/register` URL
2017-09-16 19:17:54 +02:00
fragments, which will render the registration and login forms respectively.
2018-09-04 11:39:27 +02:00
- New configuration setting [view_mode ](https://conversejs.org/docs/html/configuration.html#view-mode )
2017-11-02 15:30:24 +01:00
This removes the need for separate `inverse.js` and `converse-mobile.js`
builds. Instead the `converse.js` build is now used with `view_mode` set to
`fullscreen` and `mobile` respectively.
2017-12-03 19:05:36 +01:00
- Fetch VCard when starting a chat with someone not in the user's roster.
2017-12-14 14:23:14 +01:00
- Show status messages in an MUC room when a user's role changes.
2017-12-15 17:24:30 +01:00
- In MUC chat rooms, collapse multiple, consecutive join/leave messages.
2017-12-22 14:37:08 +01:00
- Performance improvements for rendering private chats, rooms and the contacts roster.
2018-01-03 13:55:57 +01:00
- MUC Leave/Join messages now also show a new day indicator if applicable.
2017-09-08 14:24:38 +02:00
2017-11-02 23:23:01 +01:00
### API changes
- New API method `_converse.disco.supports` to check whether a certain
service discovery feature is supported by an entity.
2017-12-02 18:00:18 +01:00
- New API method `_converse.api.vcard.get` which fetches the VCard for a
particular JID.
2017-11-02 23:23:01 +01:00
2018-01-10 14:26:35 +01:00
### Configuration changes
- `hide_open_bookmarks` is now by default `true` .
2017-09-24 20:36:39 +02:00
### UX/UI changes
2018-01-16 15:38:08 +01:00
- #984 Improve loading of archived messages via "infinite scroll"
2017-09-24 20:36:39 +02:00
- Use CSS3 fade transitions to render various elements.
- Remove `Login` and `Registration` tabs and consolidate into one panel.
- Show validation error messages on the login form.
- Don't hang indefinitely and provide nicer error messages when a connection
can't be established.
- Consolidate error and validation reporting on the registration form.
2017-11-12 20:08:37 +01:00
- Don't close the emojis panel after inserting an emoji.
- Focus the message textarea when the emojis panel is opened or closed.
2017-12-14 18:43:00 +01:00
- MUC chatroom occupants are now sorted alphabetically and according to their roles.
2017-09-24 20:36:39 +02:00
### Technical changes
2017-12-13 22:39:41 +01:00
- Converse.js now includes a [Virtual DOM ](https://github.com/snabbdom/snabbdom )
via [backbone.vdomview ](https://github.com/jcbrand/backbone.vdomview ) and uses
it to render various views.
2017-09-24 20:36:39 +02:00
- Converse.js no longer includes all the translations in its build. Instead,
only the currently relevant translation is requested. This results in a much
smaller filesize but means that the translations you want to provide need to
2018-09-04 11:39:27 +02:00
be available. See the [locales_url ](https://conversejs.org/docs/html/configuration.html#locales-url )
2017-09-24 20:36:39 +02:00
configuration setting for more info.
2017-10-24 12:56:35 +02:00
- The translation machinery has now been moved to a separate module in `src/i18n.js` .
2018-01-04 13:51:40 +01:00
- jQuery has been completely removed as a dependency (still used in tests though).
2017-09-24 20:36:39 +02:00
2017-08-29 13:28:34 +02:00
## 3.2.1 (2017-08-29)
2017-08-23 11:57:17 +02:00
### Bugfixes
- Various IE11 fixes.
2017-08-29 10:32:44 +02:00
- #907 Unnecessary login validation error when `default_domain` or `locked_domain` are set.
2017-08-29 10:22:27 +02:00
- #908 Login form for inVerse is only 200px when `allow_registration` is set to `false` .
- #909 Translations written as template literals [aren't parsed properly by xgettext ](https://savannah.gnu.org/bugs/?50920 ).
- #911 Use `getDefaultNickName` consistently to allow better overrides via plugins.
2017-08-29 11:08:37 +02:00
- #912 `maximize` method in `converse-minimize` fails if the `controlbox` is not there.
2017-08-23 11:57:17 +02:00
2017-08-09 17:59:21 +02:00
## 3.2.0 (2017-08-09)
2017-04-20 21:25:58 +02:00
2017-07-21 12:41:16 +02:00
### New Plugins
- New plugin `converse-disco` which replaces the original support for
[XEP-0030 ](https://xmpp.org/extensions/xep-0030.html ) and which has been
2017-08-09 15:50:24 +02:00
refactored to allow features for multiple entities to be stored.
2017-07-21 12:41:16 +02:00
2017-07-18 10:46:46 +02:00
### New features and improvements
2017-08-09 15:50:24 +02:00
- Add support for Emojis (either native, or via < a href = "https://www.emojione.com/" > Emojione</ a > ).
- Add JID validation to the contact add form, the occupant invite form and the login form.
- #896 Consistently use `XMPP username` in user-facing text (instead of JID, Jabber ID etc.).
2017-07-16 12:27:21 +02:00
### New configuration settings
* The `visible_toolbar_buttons.emoticons` configuration option is now changed to `visible_toolbar_buttons.emoji` .
2018-09-04 11:39:27 +02:00
* [use_emojione ](https://conversejs.org/docs/html/configuration.html#use-emojione )
2017-07-16 12:27:21 +02:00
is used to determine whether Emojione should be used to render emojis,
otherwise rendering falls back to native browser or OS support.
2018-09-04 11:39:27 +02:00
* [emojione_image_path ](https://conversejs.org/docs/html/configuration.html#emojione-image-path )
2017-07-16 12:27:21 +02:00
is used to specify from where Emojione will load images for rendering emojis.
2017-07-15 08:17:41 +02:00
2017-07-21 15:01:35 +02:00
### New events
* ['discoInitialized' ](https://conversejs.org/docs/html/development.html#discoInitialized )
* ['afterMessagesFetched' ](https://conversejs.org/docs/html/development.html#afterMessagesFetched )
2017-07-15 08:17:41 +02:00
### Code changes
2017-08-09 15:50:24 +02:00
- Removed jQuery from `converse-core` , `converse-vcard` and `converse-roomslist` .
2017-07-14 23:01:09 +02:00
- Remove `jquery.easing` from the full build. Was only being used by the
2017-08-09 15:50:24 +02:00
[conversejs.org ](https://conversejs.org ) website, which has been updated to not rely on it.
- All promises are now native (or polyfilled) ES2015 Promises instead of jQuery's Deferred.
- #866 Add babel in order to support ES2015 syntax
2017-07-10 14:07:46 +02:00
2017-07-17 17:10:25 +02:00
#### Bugfixes:
2017-08-09 15:50:24 +02:00
- The domain was queried for MAM:2 support, instead of the JID.
- Roster filter is not shown when all groups are collapsed.
- When filtering, contacts in closed groups appear.
- Room name wasn't being updated after changing it in the configuration form.
- Server disco features were "forgotten" after logging out and then logging in again.
- Don't show duplicate sent groupchat messages in Slack chat rooms.
- Bookmark icon shown in the open rooms list when `allow_bookmarks` is to `false` .
- It wasn't possible to add or remove bookmarks via the "Open Rooms" list.
2017-07-19 09:28:44 +02:00
- #879 Text in links are converted to smileys leading to non-clickable links.
2017-08-09 16:05:49 +02:00
- #899: Only touch `stamp-npm` if `npm install` was successful
2017-08-09 15:53:35 +02:00
- #902 `make build` dependends on non-existing files
2017-07-17 17:10:25 +02:00
2017-07-12 23:33:35 +02:00
## 3.1.1 (2017-07-12)
2017-07-12 22:38:03 +02:00
- Use a patched version of [awesomplete ](https://github.com/LeaVerou/awesomplete )
which doesn't render suggestions as HTML (possible XSS attack vector). [jcbrand]
More info here: https://github.com/LeaVerou/awesomplete/pull/17082
2017-07-10 14:07:46 +02:00
## 3.1.0 (2017-07-05)
2017-04-20 21:25:58 +02:00
2017-07-05 11:03:13 +02:00
### API changes
- Deprecate the `updateSettings` method in favour of
`_converse.settings.update` . [jcbrand]
- Add a new API method `_converse.promises.add` for exposing promises to be
used with `_converse.waitUntil` . [jcbrand]
- The `message` event now returns a data object with `stanza` and
`chatbox` attributes, instead of just the stanza. [jcbrand]
### New Plugins
2017-04-21 12:20:26 +02:00
- New non-core plugin `converse-singleton` which ensures that no more than
one chat is visible at any given time. Used in the mobile build:
`converse-mobile.js` and makes the unread messages counter possible there.
[jcbrand]
2017-05-09 09:49:09 +02:00
- New non-core plugin `converse-roomslist` , which shows a list of open rooms
in the `Rooms` tab of the control box. [jcbrand]
2017-07-05 11:03:13 +02:00
### New configuration settings
- New setting for `converse-bookmarks` :
2018-09-04 11:39:27 +02:00
[hide_open_bookmarks ](https://conversejs.org/docs/html/configuration.html#hide-open-bookmarks )
2017-05-09 09:49:09 +02:00
It is meant to be set to `true` when using `converse-roomslist` so that open
rooms aren't listed twice (in the rooms list and the bookmarks list).
[jcbrand]
2017-07-05 11:03:13 +02:00
### Github tickets resolved
2017-04-24 22:34:08 +02:00
- #567 Unreaded message count reset on page load [novokrest]
2017-06-15 17:50:20 +02:00
- #575 Logging out from converse.js doesn't clear the connection status from the
sessionStorage [jcbrand]
2017-05-01 13:05:58 +02:00
- #591 Unread message counter is reset when the chatbox is closed [novokrest]
2017-04-29 13:30:47 +02:00
- #754 Show unread messages next to roster contacts. [jcbrand]
2017-05-24 17:18:40 +02:00
- #864 Remove all inline CSS to comply with strict Content-Security-Policy headers [mathiasertl]
2017-05-03 09:06:28 +02:00
- #873 Inconsistent unread messages count updating [novokrest]
2017-06-16 15:09:40 +02:00
- #887 Make embedded images clickabe [jcbrand]
2017-06-15 17:21:57 +02:00
- #890 Message carbons not sent out after reconnection [jcbrand]
2017-06-14 22:20:46 +02:00
- #894 Room affiliation lost when connection jid and room presence jid are of different case [Rayzen]
2017-04-20 21:25:58 +02:00
2017-07-05 11:03:13 +02:00
### Miscellaneous
- Support for [XMPP-0313 Message Archive Management ](https://xmpp.org/extensions/xep-0313.html )
has been upgraded to version 2. [jcbrand]
- Show unread messages for minimized chats. [jcbrand]
- Render nickname form when entering a room via invitation. [jcbrand]
2017-04-23 19:02:44 +02:00
## 3.0.2 (2017-04-23)
2017-04-04 19:13:37 +02:00
2017-04-13 13:18:52 +02:00
*Dependency updates*:
2017-04-06 22:28:35 +02:00
- Jasmine 2.5.3
- Phantomjs 2.1.14
- moment 2.18.1
- sinon 2.1.0
- eslint 3.19.0
2017-04-21 19:37:11 +02:00
- Don't rerender the text input when filtering contacts. [jcbrand]
2017-04-21 19:05:10 +02:00
- Show the MUC server in a bookmarked room's info view (in the bookmarks list). [jcbrand]
2017-04-21 16:32:28 +02:00
- Enable creation of `dist/converse-muc-embedded.js` build file for the
embedded MUC room demo. [jcbrand]
2017-04-21 15:52:16 +02:00
- Use `noConflict` to avoid polluting globale namespace with lodash and Backbone. [jcbrand]
2017-04-20 10:02:59 +02:00
- Bugfix: MUC user's nickname wasn't being shown in HTML5 notification messages. [jcbrand]
- Bugfix: OTR meta-messages were being shown in HTML5 notifications. [jcbrand]
- CSS fix: Icon lock wasn't showing. [jcbrand]
2017-04-23 15:38:48 +02:00
- #626 Open chat minimised [novokrest]
2017-04-13 13:18:52 +02:00
- #842 Persistent muc room creation not working [jcbrand]
2017-04-20 10:04:33 +02:00
- #848 OTR doesn't start when `cache_otr_key` is set to `true` . [jcbrand]
2017-04-19 14:18:30 +02:00
- #849 `TypeError: _converse.i18n.locale_data is undefined` when reconnecting. [jcbrand]
2017-04-21 18:10:51 +02:00
- #850 Roster not loading when group names are numbers. [jcbrand]
2017-04-04 19:13:37 +02:00
## 3.0.1 (2017-04-04)
2017-03-08 12:15:19 +01:00
2017-03-31 03:54:42 +02:00
- Bugfix. Endless spinner when trying to log in after rendering the registration form. [jcbrand]
2017-03-09 15:01:31 +01:00
- #585 Duplicate contact created due to JID case sensivity [saganshul]
2017-03-09 12:38:54 +01:00
- #628 Fixes the bug in displaying chat status during private chat. [saganshul]
2017-03-16 16:28:59 +01:00
- #628 Changes the message displayed while typing from a different resource of the same user. [smitbose]
2017-03-31 01:59:16 +02:00
- #675 Time format made configurable.
2018-09-04 11:39:27 +02:00
See [time_format ](https://conversejs.org/docs/html/configuration.html#time-format )
2017-03-31 01:59:16 +02:00
[smitbose]
- #682 Add "Send" button to input box in chat dialog window.
2018-09-04 11:39:27 +02:00
See [show_send_button ](https://conversejs.org/docs/html/configuration.html#show-send-button )
2017-03-31 01:59:16 +02:00
[saganshul]
- #704 Automatic fetching of registration form when
2018-09-04 11:39:27 +02:00
[registration_domain ](https://conversejs.org/docs/html/configuration.html#registration-domain )
2017-03-31 01:59:16 +02:00
is set. [smitbose]
2017-03-08 12:52:41 +01:00
- #806 The `_converse.listen` API event listeners aren't triggered. [jcbrand]
2017-03-08 12:15:19 +01:00
- #807 Error: Plugin "converse-dragresize" tried to override HeadlinesBoxView but it's not found. [jcbrand]
2017-03-31 01:59:16 +02:00
- #811 jQuery wasn't being closured in builds. [jcbrand]
2017-04-04 16:05:50 +02:00
- #814 Images from URLs with query strings aren't being rendered. [novokrest]
2017-03-19 19:23:02 +01:00
- #820 Inconsistency in displaying room features. [jcbrand]
2017-03-08 12:15:19 +01:00
2017-03-05 10:45:18 +01:00
## 3.0.0 (2017-03-05)
2017-02-16 21:46:18 +01:00
- **Breaking changes**:
2017-03-07 11:18:26 +01:00
* Plugins must now be whitelisted.
See the [whitelisted_plugins ](https://conversejs.org/docs/html/configuration.html#whitelisted-plugins ) setting.
2017-02-16 21:46:18 +01:00
* Callbacks for `converse.on` now no longer receive an event object as first parameter.
* The API has been split into public and private parts.
The private API methods are now only available to plugins.
For more info, read [developer API ](https://conversejs.org/docs/html/developer_api.html )
and the [plugin_development ](https://conversejs.org/docs/html/plugin_development.html )
documentation.
* To prevent confusion the private, closured object, only
available to plugins, has been renamed from `converse` to `_converse` .
The public API is accessible via a global `converse` object.
2017-02-17 08:54:58 +01:00
* The `keepalive` and `roster_groups` options are now set to `true` by default.
2017-02-19 11:02:36 +01:00
* Templates are no longer stored as attributes on the `_converse` object.
If you need a particular template, use `require` to load it.
2017-02-16 21:46:18 +01:00
2017-03-02 23:28:22 +01:00
- Bugfix. After bookmarking a room for which a nickname is required, return to
the nickname form. [jcbrand]
2017-02-28 06:27:30 +01:00
- Show the chat states of room occupants. [jcbrand]
2017-02-27 08:42:17 +01:00
- The no-jQuery build has been renamed from `converse.nojquery.js` to
`converse-no-jquery.js` to fit the convention used for other build names.
[jcbrand]
2017-02-27 22:12:15 +01:00
- 50 is the new default [archived_messages_page_size ](https://conversejs.org/docs/html/configuration.html#archived-messages-page-size )
2017-02-25 09:57:22 +01:00
[jcbrand]
2017-02-21 23:25:19 +01:00
- Better support for delayed delivery of presence stanzas (XEP-0203). [jcbrand]
2017-02-18 18:15:16 +01:00
- The chat room `description` is now shown in the heading, not the `subject` .
[jcbrand]
2017-02-18 20:41:44 +01:00
- Chat room features are shown in the sidebar. [jcbrand]
2017-02-19 02:18:36 +01:00
- Hide the chat room invite widget if the room is not open or if the room is members-only
and the user is not the owner. [jcbrand]
2017-02-16 22:03:03 +01:00
- Created a new non-core plugin `converse-muc-embedded` which embeds a single
chat room into a page. An example can be found at https://conversejs.org/demo/embedded.html
[jcbrand]
2017-02-16 21:46:18 +01:00
- Use lodash instead of underscore.js [jcbrand]
2017-02-01 18:36:20 +01:00
- Case insensitive matching of moderation commands. [jcbrand]
- Add `/subject` as alias to `/topic` [jcbrand]
2017-02-27 11:09:15 +01:00
- `message_carbons` , `play_sounds` and `allow_chat_pending_contacts` now default to `true` [jcbrand]
2017-02-13 16:05:43 +01:00
- Improved roster filter UX. [jcbrand]
2017-02-13 16:22:56 +01:00
- Render the login form again upon authfail. [jcbrand]
2017-02-16 20:29:48 +01:00
- New promises API: [waitUntil ](https://conversejs.org/docs/html/developer_api.html#waituntil )
[jcbrand]
2017-02-14 14:00:45 +01:00
- New configuration setting:
[show_chatstate_notifications ](https://conversejs.org/docs/html/configuration.html#show-chatstate-notifications )
[jcbrand]
2017-02-16 20:29:48 +01:00
- New configuration setting:
[whitelisted_plugins ](https://conversejs.org/docs/html/configuration.html#whitelisted-plugins )
[jcbrand]
- New configuration setting:
[blacklisted_plugins ](https://conversejs.org/docs/html/configuration.html#blacklisted-plugins )
[jcbrand]
2017-02-14 15:58:29 +01:00
- The API now no longer returns wrapped chatboxes (or rooms) but instead a
Backbone.View object. This means the API of the returned object has changed.
You're still able to do everything from before but now also much more.
[jcbrand]
2017-02-19 02:18:36 +01:00
- Allow JIDs not on the roster to be invited to a chat room. [jcbrand]
2017-02-16 21:46:18 +01:00
- Bugfix. `TypeError: this.sendConfiguration(...).then is not a function` when
2017-02-16 20:29:48 +01:00
an instant room is created. [jcbrand]
2017-02-14 18:23:22 +01:00
- Ensure consistent behavior from `show_controlbox_by_default` [jcbrand]
2017-02-24 11:54:54 +01:00
- #365 Show join/leave messages for chat rooms.
New configuration setting:
[muc_show_join_leave ](https://conversejs.org/docs/html/configuration.html#muc-show-join-leave )
2017-02-20 10:48:41 +01:00
- #366 Show the chat room occupant's JID in the tooltip (if you're allowed to see it). [jcbrand]
2017-02-22 22:13:23 +01:00
- #610 , #785 Add presence priority handling [w3host, jcbrand]
2017-02-25 10:52:31 +01:00
- #620 `auto_away` shouldn't change the user's status if it's set to `dnd` . [jcbrand]
2017-02-15 20:12:45 +01:00
- #694 The `notification_option` wasn't being used consistently. [jcbrand]
2017-02-22 22:13:23 +01:00
- #745 New config option [priority ](https://conversejs.org/docs/html/configuration.html#priority ) [jcbrand]
2017-02-16 12:49:21 +01:00
- #770 Allow setting contact attrs on chats.open [Ape]
2017-02-25 09:53:36 +01:00
- #790 MAM retrieval broken [jcbrand]
2017-02-14 17:55:32 +01:00
2017-02-13 16:47:37 +01:00
## 2.0.6 (2017-02-13)
- Escape user-generated input to prevent JS-injection attacks. (Thanks to SamWhited) [jcbrand]
2017-02-12 20:01:07 +01:00
- #486 Honor existing mam user configuration [throwaway42]
2017-02-13 14:59:36 +01:00
- #749 /me will show your contact's name in the sent field [jcbrand]
2017-02-13 15:16:06 +01:00
- #774 Browser language (fr-fr or fr) is not detected by default [jcbrand]
2017-02-13 15:26:59 +01:00
- #775 Anonymous login form is a text field instead of a push button [jcbrand]
2017-01-26 18:13:07 +01:00
2017-02-13 16:47:37 +01:00
## 2.0.5 (2017-02-01)
2017-01-15 11:08:29 +01:00
- #743 , #751 , #753 Update to Strophe 1.2.12. SASL-EXTERNAL now has reduced priority, so it won't
be prioritized above other auth mechanisms. [jcbrand]
2017-01-13 14:00:34 +01:00
- #755: create composer.json to add this project in packagist.org [fabiomontefuscolo]
2017-01-26 10:35:17 +01:00
- #758: Bugfix. Render all resize drag handles for ChatRoomView. [LeoYReyes]
2017-02-01 10:14:36 +01:00
- #762 Allow chatting with users not in your roster. [Ape, jcbrand]
2016-12-19 09:17:04 +01:00
- Bugfix. Cancel button shown while registration form is being fetched wasn't working
properly. [jcbrand]
2017-01-31 20:29:47 +01:00
- Bugfix. Login form wasn't rendered after logging out (when `auto_reconnect` is `true` ). [jcbrand]
2017-01-31 21:18:06 +01:00
- Bugfix. Properly disconnect upon "host-unknown" error. [jcbrand]
- Bugfix. Minimized chats weren't removed when logging out. [jcbrand]
2017-01-31 23:18:26 +01:00
- Security fix: Prevent message forging via carbons. (Thanks to ge0rg) [jcbrand]
2017-01-13 14:00:34 +01:00
2016-12-13 20:46:07 +01:00
## 2.0.4 (2016-12-13)
2016-12-04 17:53:35 +01:00
- #737: Bugfix. Translations weren't being applied. [jcbrand]
2016-12-05 07:03:44 +01:00
- Fetch room info and store it on the room model.
2019-03-04 17:49:44 +01:00
For context, see: https://xmpp.org/extensions/xep-0045.html#disco-roominfo [jcbrand]
2016-12-04 14:06:34 +01:00
- Bugfix. Switching from bookmarks form to config form shows only the spinner. [jcbrand]
- Bugfix. Other room occupants sometimes not shown when reloading the page. [jcbrand]
2016-12-04 16:03:06 +01:00
- Bugfix. Due to changes in `converse-core` the controlbox wasn't aware anymore of
disconnection or reconnection events. [jcbrand]
2016-12-04 15:44:43 +01:00
- Optimize fetching of MAM messages (in some cases happened on each page load). [jcbrand]
2016-12-04 17:32:32 +01:00
- Fix empty controlbox toggle after disconnect. [jcbrand]
2016-12-05 11:50:01 +01:00
- When inviting someone to a members-only room, first add them to the member
list. [jcbrand]
2016-12-13 21:01:20 +01:00
- New configuration setting [muc_disable_moderator_commands ](https://conversejs.org/docs/html/configuration.html#muc-disable-moderator-commands ) [jcbrand]
2016-12-04 14:06:34 +01:00
2016-11-30 18:39:53 +01:00
## 2.0.3 (2016-11-30)
- #735 Room configuration button not visible. [jcbrand]
- CSS fix for fadeIn animation. [jcbrand]
2016-11-30 17:27:20 +01:00
## 2.0.2 (2016-11-30)
2016-11-07 18:30:10 +01:00
- #721 keepalive not working with anonymous authentication [jcbrand]
2016-11-24 09:51:01 +01:00
- #723 Bugfix: Arrays in configuration settings were ignored. [jcbrand]
- #734 Bugfix. `converse.rooms.open` ignored the `muc_nickname_from_jid` setting. [jcbrand]
2016-11-20 17:42:11 +01:00
- Enable new rooms to be configured automatically, with a default config, via `rooms.open` .
For details, refer to the [relevant documentation ](https://conversejs.org/docs/html/developer_api.html#the-rooms-grouping ) [jcbrand]
2016-11-22 10:12:39 +01:00
- Bugfix: Chatboxes aren't closed when logging out. [jcbrand]
2016-11-22 10:35:36 +01:00
- Bugfix: Trying to save data on the `ControlBox` model before `ChatBoxes`
collection has its `browserStorage` configured.
Causes `Error: A "url" property or function must be specified` . [jcbrand]
2016-11-22 17:40:03 +01:00
- Don't open the controlbox on contact requests. [jcbrand]
2016-11-23 12:53:06 +01:00
- Bugfix: Reconnection fails when original connection was never established. [jcbrand]
- If a `credentials_url` is provided, then keep on attempting to reconnect when connection is down. [jcbrand]
- Remove (undocumented) `callback` config parameter for `converse.initialize` .
Instead, `converse.initialize` returns a promise which will resolve once
initialization is complete. [jcbrand]
2016-11-23 15:50:28 +01:00
- New event ['reconnecting' ](https://conversejs.org/docs/html/development.html#reconnecting ) [jcbrand]
2016-12-13 21:01:20 +01:00
- New configuration setting [allow_bookmarks ](https://conversejs.org/docs/html/configuration.html#allow-bookmarks ) [jcbrand]
2016-11-30 11:00:12 +01:00
- The `rooms.open` API method will no longer maximize rooms that are minimized (unless `maximize: true` is passed in). [jcbrand]
2016-11-07 18:30:10 +01:00
2016-11-07 15:43:48 +01:00
## 2.0.1 (2016-11-07)
2016-12-13 21:01:20 +01:00
- #203 New configuration setting [muc_domain ](https://conversejs.org/docs/html/configuration.html#muc-domain ) [jcbrand]
2017-02-19 02:18:36 +01:00
- #705 White content after submitting password on chat rooms [jcbrand]
2016-11-03 16:43:05 +01:00
- #712 Controlbox clicks stop responding after auto-reconnect [jcbrand]
- Removed shared state between tests. All tests are now isolated. [jcbrand]
2016-09-21 13:12:42 +02:00
- Allow the context (i.e. `this` value) to be passed in when registering event
listeners with `converse.listen.on` and `converse.listen.once` . [jcbrand]
2016-09-21 15:00:09 +02:00
- New event ['rosterContactsFetched' ](https://conversejs.org/docs/html/development.html#rosterContactsFetched ) [jcbrand]
- New event ['rosterGroupsFetched' ](https://conversejs.org/docs/html/development.html#rosterGroupsFetched ) [jcbrand]
2016-09-23 10:54:55 +02:00
- HTML templates are now loaded in the respective modules/plugins. [jcbrand]
2016-10-03 19:51:15 +02:00
- Start improving Content-Security-Policy compatibility by removing inline CSS. [mathiasertl]
2016-06-27 23:50:38 +02:00
- Add support for XEP-0048, chat room bookmarks [jcbrand]
2016-11-07 16:23:10 +01:00
- New configuration setting [connection_options ](https://conversejs.org/docs/html/configuration.html#connection-options ) [jcbrand]
2016-09-21 13:12:42 +02:00
2016-09-16 14:35:02 +02:00
## 2.0.0 (2016-09-16)
2016-09-16 14:46:34 +02:00
- #656 Online users count not shown initially [amanzur]
- #674 Polish translation updated [ser]
2016-08-31 12:06:17 +02:00
- Backwards incompatible change: the `_super` attribute in plugins is now named `__super__` . [jcbrand]
2016-08-18 21:43:18 +02:00
- Continuously attempt to resurrect dead connections when `auto_reconnect` is `true` . [jcbrand]
2016-08-21 13:09:08 +02:00
- Update the 'rooms' API to allow user to pass in room attributes. [jcbrand]
2016-12-13 21:01:20 +01:00
- New configuration setting [message_storage ](https://conversejs.org/docs/html/configuration.html#message-storage ) [jcbrand]
2017-02-19 02:18:36 +01:00
- Hardcode the storage for roster contacts and chat room occupants to `sessionStorage` . [jcbrand]
2016-08-23 10:43:20 +02:00
- Fixed wrong chat state value, should be `chat` , not `chatty` .
See [RFC 3921 ](https://xmpp.org/rfcs/rfc3921.html#rfc.section.2.1.2.2 ). [jcbrand]
2016-09-16 13:06:52 +02:00
- Adds support for SASL-EXTERNAL. [jcbrand]
2016-08-18 21:43:18 +02:00
2016-08-12 22:52:21 +02:00
## 1.0.6 (2016-08-12)
2016-08-12 21:41:32 +02:00
- #632 Offline and Logout states do not properly update once users start
chatting. [chrisuehlinger, jcband]
2016-08-11 14:00:52 +02:00
- #674 Polish translation updated to the current master. [ser]
2016-08-12 22:38:39 +02:00
- #677 Chatbox does not open after close. [jcbrand]
- The behavior of `converse.chats.get` has changed. If the chat box is not
already open, then `undefined` will be returned. [jcbrand]
2016-08-12 14:52:33 +02:00
- Typing (i.e. chat state) notifications are now also sent out from MUC rooms. [jcbrand]
- `ChatRoomView.onChatRoomMessageSubmitted` has been renamed to
`onMessageSubmitted` , to make it the same as the method on `ChatBoxView` . [jcbrand]
2016-12-13 21:01:20 +01:00
- New configuration setting [muc_nickname_from_jid ](https://conversejs.org/docs/html/configuration.html#muc-nickname-from-jid ) [jcbrand]
- New configuration setting [muc_instant_rooms ](https://conversejs.org/docs/html/configuration.html#muc-instant-rooms ) [jcbrand]
2016-08-11 14:00:52 +02:00
2016-07-28 18:06:31 +02:00
## 1.0.5 (2016-07-28)
2016-07-26 08:59:34 +02:00
- In case of nickname conflict when joining a room, allow the user to choose a new one.
[jcbrand]
- Check whether the user has a reserved nickname before entering a room, and if so,
use it. [jcbrand]
2016-07-26 11:04:05 +02:00
- Mention someone in your chat room message by clicking on their name in the occupants
list. [jcbrand]
2016-07-28 12:35:43 +02:00
- #645 When accepting a contact request, the contact didn't appear in the
pending contacts group. [jcbrand]
2016-07-28 18:01:37 +02:00
- Bugfix: allow multiple MAM queries to be made simultaneously. [jcbrand]
2016-07-20 10:16:08 +02:00
2016-07-26 08:00:30 +02:00
## 1.0.4 (2016-07-26)
2016-06-20 21:25:57 +02:00
2017-02-19 02:18:36 +01:00
- Restrict occupants sidebar to 30% chat room width. [jcbrand]
2016-06-21 19:48:18 +02:00
- Made requesting contacts more visible, by placing them at the top of the roster. [jcbrand]
2016-06-22 15:54:22 +02:00
- `insertIntoPage` method of `ChatBoxView` has been renamed to `insertIntoDOM` ,
to make it the same as the method of `ChatRoomView` . [jcbrand]
2016-07-20 10:16:08 +02:00
- Render error messages received from the server (for undelivered chat messages). [jcbrand]
2016-07-26 08:00:30 +02:00
- Don't hide requesting contacts when filtering by chat state. [jcbrand]
2016-07-20 10:16:08 +02:00
- When logging in anonymously, the server JID can now be passed in via `converse.initialize`
or via `converse.user.login` . [jcbrand]
2016-06-20 21:25:57 +02:00
2016-06-20 21:11:43 +02:00
## 1.0.3 (2016-06-20)
2016-05-24 11:02:04 +02:00
2016-06-10 16:13:52 +02:00
- Update the plugin architecture to allow plugins to have optional dependencies [jcbrand]
2016-05-31 10:03:06 +02:00
- Bugfix. Login form doesn't render after logging out, when `auto_reconnect = false` [jcbrand]
2016-05-25 08:23:00 +02:00
- Also indicate new day for the first day's messages. [jcbrand]
2016-05-31 10:03:06 +02:00
- Chat bot messages don't appear when they have the same ids as their commands. [jcbrand]
2016-05-30 18:53:31 +02:00
- Updated onDisconnected method to fire disconnected event even if `auto_reconnect = false` . [kamranzafar]
2016-05-30 19:07:59 +02:00
- Bugfix: MAM messages weren't being fetched oldest first. [jcbrand]
- Add processing hints to chat state notifications [jcbrand]
2016-05-30 20:19:10 +02:00
- Don't use sound and desktop notifications for OTR messages (when setting up the session) [jcbrand]
2016-05-31 10:03:06 +02:00
- New config option [default_state ](https://conversejs.org/docs/html/configuration.html#default_state ) [jcbrand]
2016-06-21 19:48:18 +02:00
- New API method `converse.rooms.close()` [jcbrand]
2016-06-10 16:13:52 +02:00
- New configuration setting [allow_muc_invites ](https://conversejs.org/docs/html/configuration.html#allow-muc-invites ) [jcbrand]
2016-06-21 19:48:18 +02:00
- Add new event [pluginsInitialized ](https://conversejs.org/docs/html/development.html#pluginsInitialized ) [jcbrand]
2016-05-30 19:30:14 +02:00
- #553 Add processing hints to OTR messages [jcbrand]
- #650 Don't ignore incoming messages with same JID as current user (might be MAM archived) [jcbrand]
2016-06-20 21:25:57 +02:00
- #656 online users count in minimized chat window on initialization corrected [amanzur]
2016-06-10 16:27:28 +02:00
2016-05-24 10:40:51 +02:00
## 1.0.2 (2016-05-24)
- Bugfix. Bind `sendPresence` to the right context. Bug that slipped in during
the release of `1.0.1` . [jcbrand]
2016-05-24 10:23:19 +02:00
## 1.0.1 (2016-05-24)
2016-05-24 10:06:54 +02:00
2016-05-24 10:40:51 +02:00
- Bugfix. Roster filter sometimes gets hidden when it shouldn't. [jcbrand]
- Chat boxes weren't being initialized due to typo. [jcbrand]
2016-05-24 10:06:54 +02:00
- Flush request queue just after connection. Solves a problem with PubSub and
2016-05-24 10:40:51 +02:00
Prosody, whereby BOSH HTTP responses weren't being received. [jcbrand]
2016-05-24 10:06:54 +02:00
2016-05-03 17:37:10 +02:00
## 1.0.0 (2016-05-03)
2016-02-08 09:58:57 +01:00
2016-05-03 17:37:10 +02:00
- Add catalan language [JoseMariaRubioMoral]
2016-03-31 11:41:15 +02:00
- Split converse.js up into different plugin modules. [jcbrand]
2016-04-02 13:30:54 +02:00
- Better Sass/CSS for responsive/mobile views. New mobile-only build. [jcbrand]
- Roster contacts can now be filtered by chat state and roster filters are
remembered across page loads. [jcbrand]
2016-03-20 00:03:00 +01:00
- Add support for messages with type `headline` , often used for notifications
from the server. [jcbrand]
2016-03-16 19:11:18 +01:00
- Add stanza-specific event listener `converse.listen.stanza` .
2016-03-20 00:03:00 +01:00
As a result `converse.listen.on('message');` has been deprecated, use
`converse.stanza.on('message');` instead. [jcbrand]
2016-03-16 16:49:44 +01:00
- Emit an event `chatBoxInitialized` once a chat box's initialize method has been called. [jcbrand]
- Emit an event `statusInitialized` once the user's own status has been initialized upon startup. [jcbrand]
2016-12-13 21:01:20 +01:00
- New config option [chatstate_notification_blacklist ](https://conversejs.org/docs/html/configuration.html#chatstate-notification-blacklist ) [jcbrand]
- New config option [sticky_controlbox ](https://conversejs.org/docs/html/configuration.html#sticky-controlbox ) [jcbrand]
- New config option [credentials_url ](https://conversejs.org/docs/html/configuration.html#credentials-url ) [jcbrand]
2016-02-14 13:10:54 +01:00
- Don't play sound notifications for OTR messages which are setting up an
encrypted session. [jcbrand]
2016-03-15 19:14:49 +01:00
- Bugfix: RID, SID and JID tokens ignored when `keepalive` set to `true` . [jcbrand]
2016-02-16 08:50:52 +01:00
- Removed the `account.logout` API, instead use `user.logout` . [jcbrand]
2016-03-20 00:03:00 +01:00
- Use `rel=noopener` with links that contain `target=_blank` to prevent potential
phishing attacks. [More info here ](https://mathiasbynens.github.io/rel-noopener/ )
[jcbrand]
2016-03-22 09:15:52 +01:00
- #156 Add the option `auto_join_rooms` which allows you to automatically
connect to certain rooms once logged in. [jcbrand]
2016-02-16 08:50:52 +01:00
- #261 `show_controlbox_by_default` config not working [diditopher]
2016-02-29 21:58:01 +01:00
- #443 HTML5 notifications of received messages [jcbrand]
2016-03-06 20:07:50 +01:00
- #534 Updated Russian translation [badfiles]
2016-02-15 17:19:14 +01:00
- #566 Do not steal the focus when the chatbox opens automatically [rlanvin]
2016-02-14 13:10:54 +01:00
- #573 xgettext build error: `'javascript' unknown` [jcbrand]
2016-12-13 21:01:20 +01:00
- #577 New config variable [message_archiving_timeout ](https://conversejs.org/docs/html/configuration.html#message-archiving-timeout ) [jcbrand]
2016-02-16 08:50:52 +01:00
- #587 Fix issue when logging out with `auto_logout=true` [davec82]
- #589 Save scroll position on minimize and restore it on maximize [rlanvin]
2016-03-20 00:03:00 +01:00
- #592 Add random resource for `auto_login` , add method generateResource to
generate random resource [davec82]
2016-02-18 10:17:00 +01:00
- #598 Add option `synchronize_availability` [davec82]
2016-02-19 12:44:17 +01:00
- #600 Fix change xmpp status also on icon-status click [davec82]
2016-03-20 01:47:51 +01:00
- #616 converse-otr should depend on converse-minimize [jcbrand]
- #609 Remove split of fullname [lixmal]
2016-02-08 09:58:57 +01:00
2016-02-06 10:23:50 +01:00
## 0.10.1 (2016-02-06)
2015-12-02 11:17:24 +01:00
2016-01-15 08:30:08 +01:00
- #352 When the user has manually scrolled up in a chat window, don't scroll
down on chat event notifications. [jcbrand]
2016-01-15 10:34:51 +01:00
- #524 Added [auto_join_on_invite ](https://conversejs.org/docs/html/configuration.html#auto_join_on_invite )
2017-02-19 02:18:36 +01:00
parameter for automatically joining chat rooms. [ben]
2016-01-15 10:31:36 +01:00
- #520 Set specific domain. Two new options [default_domain ](https://conversejs.org/docs/html/configuration.html#default_domain )
and [locked_domain ](https://conversejs.org/docs/html/configuration.html#locked_domain ). [jcbrand]
2016-01-13 21:25:56 +01:00
- #521 Not sending presence when connecting after disconnection. [jcbrand]
2016-01-15 09:47:59 +01:00
- #535 Messages not received when room with mixed-case JID is used. [jcbrand]
2016-01-13 21:25:56 +01:00
- #536 Presence not sent out (in cases where it should) after page refresh. [jcbrand]
2016-01-14 22:09:35 +01:00
- #540 `bind is not a function` error for plugins without `initialize` method. [jcbrand]
2016-01-18 11:37:59 +01:00
- #547 By default the `offline` state is no longer choosable.
2016-12-13 21:01:20 +01:00
See [include_offline_state ](https://conversejs.org/docs/html/configuration.html#include-offline-state ) for details. [jcbrand]
2017-02-19 02:18:36 +01:00
- A chat room invite might come from someone not in your roster list. [ben]
2016-01-19 12:52:04 +01:00
- #487 Empty the resources array when the resource is null [rlanvin]
2016-02-06 10:08:05 +01:00
- #534 Updated Russian translation [LaconicTranslator]
- #555 The status restored from sessionStorage is never updated [jcbrand]
- #559 Remove reconnection timer once connected succesfully [m0cs]
2015-12-02 11:17:24 +01:00
2015-11-05 12:17:40 +01:00
## 0.10.0 (2015-11-05)
2015-11-05 12:08:06 +01:00
**Note:**
*This release drops CSS support for IE8 and IE9.*
2015-11-05 11:59:46 +01:00
- #459 Wrong datatype passed to converse.chatboxes.getChatBox. [hobblegobber, jcbrand]
- #493 Roster push fix [jcbrand]
- #403 emit an event `rosterPush` when a roster push happens [teseo]
- #502 . Chat room not opened in non_amd version. [rjanbiah]
- #505 Typo caused [object Object] in room info [gromiak]
- #508 "Is typing" doesn't automatically disappear [jcbrand]
2015-11-05 12:08:06 +01:00
- #509 Updated Polish translations [ser]
2015-11-05 11:59:46 +01:00
- #510 MUC room memberlist is being cleared with page reload when keepalive option is set. [jcbrand]
- Add the ability to also drag-resize chat boxes horizontally. [jcbrand]
2015-11-05 12:08:06 +01:00
- Updated Sass files and created a new style. [jcbrand]
2015-11-05 11:59:46 +01:00
2015-12-02 11:17:24 +01:00
2015-11-05 11:59:46 +01:00
## 0.9.6 (2015-10-12)
- Bugfix. Spinner doesn't disappear when scrolling up (when server doesn't support XEP-0313). [jcbrand]
- #462 Fix MUC rooms with names containing special characters not working [1st8]
- #467 Fix outgoing chat messages not having a msgid when being put into sessionStorage [1st8]
- #468 Fix [object Object] being sometimes shown as status [1st8]
- #472 Fix "Cannot read property 'splitOnce' of undefined" when typing /clear in a chat room. [jcbrand]
- #493 Roster wasn't being updated after a Roster push update [teseo, jcbrand]
- #496 Bugfix. Pings weren't being sent out. [teseo, jcbrand]
- #499 Message not received due to non-unique message ids. [jcbrand]
## 0.9.5 (2015-08-24)
- #306 XEP-0313: Message Archive Management [jcbrand]
- #439 auto_login and keepalive not working [jcbrand]
- #440 null added as resource to contact [jcbrand]
- Add new event serviceDiscovered [jcbrand]
2016-12-13 21:01:20 +01:00
- Add a new configuration setting [muc_history_max_stanzas ](https://conversejs.org/docs/html/configuration.html#muc-history-max-stanzas> ). [jcbrand]
2015-11-05 11:59:46 +01:00
## 0.9.4 (2015-07-04)
- #144 Add Ping functionality and Pong handler [thierrytiti]
- #234 , #431 Messages aren't received when the user logs in with a mixed-case JID. [jcbrand]
- #367 API methods for changing chat status (online, busy, away etc.) and status message [jcbrand]
- #389 Allow login panel placeholders and roster item 'Name' translations. [gbonvehi]
- #394 Option to allow chatting with pending contacts [thierrytiti]
- #396 Add automatic Away mode and XEP-0352 support [thierrytiti]
- #400 , #410 Allow offline pretty status and placeholder for "Insert a smiley" to be translated [thierrytiti]
- #401 Updated French translation [thierrytiti]
- #404 CSS fix: position and width of the div #conversejs [thierrytiti]
- #407 CSS: Fonts Path: editabable $font-path via sass/variables.scss [thierrytiti]
- #408 MUC: missing toggle call handler and updated documentation about call [thierrytiti]
- #413 Auto-detect user's locale to show date and time in the right format [thierrytiti]
- #415 closeAllChatBoxes is giving ReferenceError when 2 chats are open [nevcos, jcbrand]
- #416 Add icon for XA status [thierrytiti]
- #418 Logging out with `auto_reconnect=true` causes reconnection retries [jcbrand]
- #420 Updated German translation [1st8]
- #427 Converse.js does not subscribe back to a contact not in the roster. [emmanuel-florent]
- Add offline pretty status to enable translation [thierrytiti]
- Bugfix. ClearSessions during unload event would throw an error when not logged in. [gbonvehi]
- Bugfix. Manual login doesn't work when only websocket_url is set and not bosh_service_url. [jcbrand]
- Bugfix. Wrong callback argument mapping in XmppStatus initialize: fullname is null [thierrytiti]
- CSS fix: room-info bug on hover after room description loaded [thierrytiti]
- CSS: Fonts Path: editabable $font-path via sass/variables.scss [thierrytiti]
- Chat boxes returned by the API now have an `is_chatroom` attribute [jcbrand]
- Decouple automatic away and XEP-0352 support. [jcbrand]
- Don't carbon copy OTR messages. [jcbrand]
- I18N: Autodetection of User Locale if no i18n setting is set. [thierrytiti]
- Refactored in order to remove the strophe.roster.js dependency. [jcbrand]
- Refactored the plugin architecture. Add `overrides` convention for
automatically overriding converse.js's methods and Backbone views and models. [jcbrand]
- With keepalive, don't send out a presence stanza on each page load [jcbrand]
## 0.9.3 (2015-05-01)
- Add the ability to log in automatically. [jcbrand]
- Remove `type=email` from JID field in login form. Resulting validation error confuses people. [jcbrand]
- Add Ukranian translations [Andriy Kopystyansky]
- #244 Add the ability to log in anonymously. [jcbrand]
- #344 Enable the path to the sound files to be configured [thierrytiti and jcbrand]
- #370 Unable to register a new user to ejabberd 2.1.11. [gbonvehi]
- #372 Some offline users have a visible empty `<dd>` in the roster. [floriancargoet]
- #374 Fix collapsed group visibility on page load. [floriancargoet]
- #378 Expect full JIDs to be returned via XHR user search [thierrytiti]
- #379 Updated French translations [thierrytiti]
- #379 Fix for bower not finding crypto-js-evanvosberg#3.1.2-5 any more. [jcbrand]
## 0.9.2 (2015-04-09)
- Bugfix. Prevent attaching twice during initialization. [jcbrand]
- API method chats.get can now also return chat boxes which haven't been opened yet. [jcbrand]
- Add API method contacts.add. [pzia]
- #356 Fix the plugin extend function. [floriancargoet]
- #357 Fix the known bug where a state notification reopens a chat box. [floriancargoet]
- #358 Bugfix. Chat rooms show the same occupants bug. [floriancargoet]
- #359 Fix a timeout bug in chat state notifications. [floriancargoet]
- #360 Incorrect roster height when `allow_contact_requests=true` . [floriancargoet, jcbrand]
- #362 Add API for retrieving and opening rooms. [pzia]
- #364 Text selection in chat boxes not shown in Firefox. [jcbrand]
## 0.9.1 (2015-03-26)
- Set the JID input field in the login form to `type=email` . [chatme]
- New configuration setting [allow_contact_removal ](https://conversejs.org/docs/html/configuration.html#allow-contact-removal ) [jcbrand]
- Document that event handlers receive 'event' obj as first arg. [jcbrand]
- Add a test to check that notifications are played in chat rooms. [jcbrand]
- #333 Enable automatic reconnection when `prebind` and `prebind_url` are specified. [jcbrand]
- #339 Require the JID to be specified when using `keepalive` with `prebind` . Also add a logout API method. [jcbrand]
- #349 Indicate visitors in chat rooms. [c143]
## 0.9.0 (2015-03-06)
- #204 Support websocket connections. [jcbrand]
- #252 , 253 Add fullname and jid to contact's tooltip in roster. [gbonvehi]
- #292 Better support for XEP-0085 Chat State Notifications. [jcbrand]
- #295 Document "allow_registration". [gbonvehi]
- #304 Added Polish translations. [ser]
- #305 presence/show text in XMPP request isn't allowed by specification. [gbonvehi]
- Add new API method `chats.open` to open chat boxes. [jcbrand]
- Add new API method to set and get configuration settings. [jcbrand]
- Add responsiveness to CSS. We now use Sass preprocessor for generating CSS. [jcbrand]
- Bugfix. Custom status message form doesn't submit/disappear. [jcbrand]
- Calling the API method `contacts.get()` without parameters now returns all contacts. [jcbrand]
- Don't send out the message carbons IQ stanza on each page load. [jcbrand]
- New Makefile.win to build in Windows environments. [gbonvehi]
- Norwegian Bokmål translations. [Andreas Lorentsen]
- Removed deprecated API methods. [jcbrand]
- Strophe.log and Strophe.error now uses converse.log to output messages. [gbonvehi]
- The API method `chats.get` now only returns already opened chat boxes. [jcbrand]
- Updated Afrikaans translations. [jcbrand]
- Add new configuration setting [prebind_url ](https://conversejs.org/docs/html/configuration.html#prebind-url ) [jcbrand]
## 0.8.6 (2014-12-07)
- Bugfix. Login panel didn't appear under certain conditions. [jcbrand]
- Bugfix. Error when trying to render chat room configuration form. [jcbrand]
- Text on the registration form was not configurable or i18n aware. [jcbrand]
- #285 With prebind the jid, rid and sid settings were ignored. [jcbrand]
## 0.8.5 (2014-12-01)
- #117 JIDs or nicknames not shown in chat rooms. [jcbrand]
- #282 XEP-0077 In-band registration. [jcbrand]
## 0.8.4 (2014-11-15)
**note:**
*Certain API methods have been deprecated in favor of a new API and will be removed in the 0.9.0 release.*
- Bugfix. Error when trying to use prebind and keepalive together. [heban and jcbrand]
- Bugfix. Cannot read property "top" of undefined. [jcbrand]
- Add new event, noResumeableSession, for when keepalive=true and there aren't
any prebind session tokens. [jcbrand]
- #46 Refactor the API and add new methods. [jcbrand]
- #151 Browser locks/freezes with many roster users. [jcbrand]
- #177 Setting status to offline does nothing. [jcbrand]
- #232 Always get full name from model. [jcbrand]
- #237 Unable to create room when `hide_muc_server` is `true` . [jcbrand]
- #238 Rooms are not shown when `hide_offline_users` is `true` . [jcbrand]
- #251 Non-minified builds for debugging. [jcbrand]
- #260 Sent message carbons are not displayed. [jcbrand]
- #262 Contact requests are not shown if page is reloaded. [jcbrand]
- #264 Remove unnecessary commas for ie8 compatibility. [Deuteu]
- #267 Unread messages counter wrongly gets incremented by chat state notifications. [Deuteu]
- #274 Roster filtering results change with presence changes. [jcbrand]
- #275 Custom status message doesn't reset. [jcbrand]
- #278 Unread messages counter doesn't unbind it's events. [Deuteu]
- #279 Handle more field types for MUC config forms. [gbonvehi]
- #280 New config option, `hide_offline_users` [gbonvehi]
## 0.8.3 (2014-09-22)
- The Javascript build files in the 0.8.2 release weren't updated due to a
unnoticed build error. [jcbrand]
## 0.8.2 (2014-09-22)
- Converse.js now has the ability to maintain sessions across page loads.
Previously, the session tokens had to be handled externally and passed in.
See the [keepalive ](https://conversejs.org/docs/html/configuration.html#keepalive ) configuration setting. [jcbrand]
- Allow changing of nickname in a chat room via /nick command. [jcbrand]
- Allow a chat room user to be muted or unmuted with the /mute and /voice commands. [jcbrand]
- Add a chat room toolbar button for toggling the list of occupants. [jcbrand]
- Converse.js now responds to XEP-0030: Service Discovery requests. [jcbrand]
- Bugfix. Roster groups all appear offline after page reload (with prebind).
See http://librelist.com/browser//conversejs/2014/8/26/problem-with-contact-list-everyone-is-offline/ [heban and jcbrand]
- Bugfix concerning trimmed chats. Chats were being trimmed even though there was enough room. [jcbrand]
- #62 Sound notifications will now also play when you are mentioned in a chat room. [jcbrand]
- #212 Bugfix. Groups weren't being show again after the live filter was cleared. [jcbrand]
- #215 (and also #75 ) XEP-0249: Direct MUC Invitations. [jcbrand]
- #216 Contacts tab empty when using xhr_user_search. [hcderaad and jcbrand]
- #219 New contacts added need page refresh to be accepted and become visible. [hcderaad and jcbrand]
- #220 Non-AMD example page was not working. [xavier83ar and jcbrand]
- #222 Control box state not remembered. [priyadi and jcbrand]
- #223 Provide API to query buddy status. [priyadi and jcbrand]
- #227 Updated Hebrew translations [GreenLunar]
## 0.8.1 (2014-08-23)
- Bugfix: Roster contacts' cache key too vague. [jcbrand]
- Bugfix: Roster contacts weren't properly sorted according to chat status. [jcbrand]
- #63 Support for sound notification when message is received. [jcbrand]
- #212 Provide a live filter of the roster contacts. [jcbrand]
## 0.8.0 (2014-08-04)
**note**:
1. Converse.js is now relicensed under the [Mozilla Public License ](http://www.mozilla.org/MPL/2.0/ ).
2. Configuration options for the chat toolbar have changed. Please refer to the [relevant documentation ](http://devbox:8890/docs/html/configuration.html#visible-toolbar-buttons ).
3. This release has reduced support for IE8 (some features won't work).
4. Events have been renamed to remove "on" prefix (sorry for any inconvenience).
- No initial HTML markup is now needed in the document body for converse.js to work. [jcbrand]
- All date handling is now done with moment.js. [jcbrand]
- Add a new toolbar button for clearing chat messages. [jcbrand]
- Chat boxes and rooms can now be resized vertically. [jcbrand]
- Upgraded dependencies to their latest versions. [jcbrand]
- Add new configuration setting [forwarded_messages ](https://conversejs.org/docs/html/configuration.html#forwarded-messages ).
Message forwarding was before a default behavior but is now optional (and disabled by default). [jcbrand]
- Newly opened chat boxes always appear immediately left of the controlbox. [jcbrand]
- #71 Chat boxes and rooms can be minimized. [jcbrand]
- #83 Roster contacts can be shown according to their groups. [jcbrand]
Note: Converse.js can show users under groups if you have assigned them
already via another client or server configuration. There is not yet a way
to assign contacts to groups from within converse.js itself.
- #123 Show converse.js in the resource assigned to a user. [jcbrand]
- #130 Fixed bootstrap conflicts. [jcbrand]
- #132 Support for [XEP-0280: Message Carbons ](https://xmpp.org/extensions/xep-0280.html ).
Configured via [message_carbons ](https://conversejs.org/docs/html/configuration.html#message-carbons ) [hejazee]
- #176 Add support for caching in sessionStorage as opposed to localStorage. [jcbrand]
- #180 RID and SID undefined [g8g3]
- #191 No messages history [heban]
- #192 Error: xhr_user_search_url is not defined. [jcbrand]
- #195 Chinese translations. [lancelothuxi]
- #196 [Safari v7.0.5] TypeError: Attempted to assign to readonly property. [g8g3]
- #199 Improved Spanish translations [chilicuil]
- #201 Add zh-locale to fix build task [schoetty]
## 0.7.4 (2014-03-05)
2016-05-28 00:31:58 +02:00
**note:**
2015-11-05 11:59:46 +01:00
*This release contains an important security fix. Thanks to Renaud Dubourguais from [Synacktiv ](http://synacktiv.com ) for reporting the vulnerability.*
- #125 Bugfix: crypto dependencies loaded in wrong order [jcbrand]
- Bugfix: action messages (i.e. /me) didn't work in OTR mode. [jcbrand]
- Security fix: Ensure that message URLs are properly encoded. [jcbrand]
## 0.7.3 (2014-02-23)
- #93 Add API methods exposing the RID and SID values. Can be disabled. [jcbrand]
- #102 Option to enable OTR by default. [Aupajo]
- #103 Option to display a call button in the chatbox toolbar, to allow third-party libraries to provide a calling feature. [Aupajo]
- #108 Japanese Translations [mako09]
- #111 OTR not working when using converse.js with prebinding. [jseidl, jcbrand]
- #114 , #124 Hewbrew Translations [GreenLunar]
- #115 Indonesian Translations [priyadi]
## 0.7.2 (2013-12-18)
**note**
*This release contains an important security fix. Thanks to hejsan for reporting the vulnerability.*
- #48 Add event emitter support and emit events. [jcbrand]
- #97 Wrong number of online contacts shown with config option `show_only_online_users` . [jcbrand]
- #100 Make the fetching of vCards optional (enabled by default). [jcbrand]
- Sanitize message text to avoid Javascript injection attacks. [jcbrand]
## 0.7.1 (2013-11-17)
- Don't load OTR crypto if the browser doesn't have a CSRNG [jcbrand]
- Don't break when crypto libraries aren't defined. [jcbrand]
- Check if canvas is supported before trying to render the user avatar [jcbrand]
- Use newest strophe.muc plugin. Fixes #85 [jcbrand]
**note:**
If you are using the development libraries, you'll need to run ``bower update``
to fetch the newest strophe.muc.plugin (for bugfix of #85 ).
This release contains 3 different builds:
- converse.min.js
- converse-no-otr.min.js (Without OTR encryption)
- converse-no-locales-no-otr.min.js (Without OTR encryption or any translations)
## 0.7.0 (2013-11-13)
### Important:
This release includes support for [Off-the-record encryption ](https://otr.cypherpunks.ca ).
For this to work, your browser needs a CSPRNG (Cryptographically secure pseudorandom number generator).
Internet Explorer of all versions doesn't have one at all, neither does older versions of Firefox.
If you need to support older browsers, please download the latest release from the 0.6 bran
#### Features:
- Add a toolbar to the chat boxes [jcbrand]
- Add support for OTR (off-the-record) encryption [jcbrand]
- Add support for smileys [jcbrand]
- Simplified boilerplate markup [jcbrand]
- New configuration settings, `xhr_custom_status_url` and `xhr_user_search_url` [jcbrand]
**note:**
*This release introduces a backward incompatible change. The boilerplate
HTML needed in your webpage for converse.js to work has been reduced to a
single div: `<div id="conversejs"></div>` *
#### Bugfixes:
- #58 Contact's name gets replaced with their JID [jcbrand]
- #81 Requesting contacts appear as pending contacts [jcbrand]
## 0.6.6 (2013-10-16)
- Bugfix: Presence stanza must be sent out after roster has been initialized [jcbrand]
- Bugfix: Don't reconnect while still disconnecting, causes endless authentication loops. [jcbrand]
- Dutch translation [maartenkling]
## 0.6.5 (2013-10-08)
- Fetch vCards asynchronously once a roster contact is added [jcbrand]
- Hungarian translation [w3host]
- Russian translation [bkocherov]
- Update CSS to avoid clash with bootstrap [seocam]
- New config option `allow_muc` toggles multi-user chat (MUC) [jcbrand]
- New config option `allow_contact_requests` toggles user adding [jcbrand]
- New config option `show_only_online_users` [jcbrand]
## 0.6.4 (2013-09-15)
- Add icon for the unavailable chat state. [jcbrand]
- Chat state descriptions weren't translation aware. [jcbrand]
- Clear messages from localStorage when user types "/clear". [jcbrand]
- The 'xa' chat state wasn't being handled properly. [jcbrand]
- Updated pt-BR translations [seocam]
- Updated af and de translations [jcbrand]
## 0.6.3 (2013-09-12)
*NB: This release contains an important security fix. Please don't use older
versions of the 0.6 branch.*
- French translations. [tdesvenain]
- Bugfix: Messages were stored against buddy JID and not own JID. [jcbrand]
## 0.6.2 (2013-08-29)
- Bugfix. The remove icon wasn't appearing in the contacts roster. [jcbrand]
- Bugfix. With auto_subscribe=True, the "Pending Contacts" header didn't disappear
after a new user was accepted. [jcbrand]
## 0.6.1 (2013-08-28)
- IE9 and IE8 CSS fixes. [jcbrand]
- Bugfix: Pencil icon not visible (for setting status update). [jcbrand]
- Bugfix: RID, JID and SID initialization values were being ignored. [jcbrand]
- Bugfix: Fall back to English if a non-existing locale was specified. [jcbrand]
## 0.6.0 (2013-08-26)
- #39 Documentation for minifying JS is wrong. [jcbrand]
- #41 prebind and show_controlbox_by_default true fails. [jcbrand]
- With prebinding, attaching to the connection now happens inside Converse and
not as a separate step after initialization. [jcbrand]
- Register presence and message handlers before fetching the roster. Otherwise
some presence notifications might be missed. [jcbrand]
- Add a debug option (logs to the browser console). [jcbrand]
- Use font icons from http://icomoon.io [jcbrand]
- Added a static mockup to aid CSS/design process. [jcbrand]
- Save language codes with hyphens. Thanks to @seocam . [jcbrand]
- The combined and minified JS file now uses almond and not require.js. [jcbrand]
## 0.5.2 (2013-08-05)
- Important security update. Don't expose the Strophe connection object globally. [jcbrand]
## 0.5.1 (2013-08-04)
- #13 , #14: Messages sent between to GTalk accounts weren't being received. [jcbrand]
- #32: Default status was offline when user didn't have contacts. [jcbrand]
- Attach panels to the DOM upon initialize. [jcbrand]
## 0.5.0 (2013-07-30)
- #09 Remove dependency on AMD/require.js [jcbrand]
- #22 Fixed compare operator in strophe.muc [sonata82]
- #23 Add Italian translations [ctrlaltca]
- #24 Add Spanish translations [macagua]
- #25 Using span with css instead of img [matheus-morfi]
- #26 Only the first minute digit shown in chatbox. [jcbrand]
- #28 Add Brazilian Portuguese translations [matheus-morfi]
- Use Bower to manage 3rd party dependencies. [jcbrand]
## 0.4.0 (2013-06-03)
2017-02-19 02:18:36 +01:00
- CSS tweaks: fixed overflowing text in status message and chat rooms list. [jcbrand]
- Bugfix: Couldn't join chat room when clicking from a list of rooms. [jcbrand]
- Add better support for kicking or banning users from chat rooms. [jcbrand]
2015-11-05 11:59:46 +01:00
- Fixed alignment of chat messages in Firefox. [jcbrand]
- More intelligent fetching of vCards. [jcbrand]
- Fixed a race condition bug. Make sure that the roster is populated before sending initial presence. [jcbrand]
- Reconnect automatically when the connection drops. [jcbrand]
- Add support for internationalization. [jcbrand]
## 0.3.0 (2013-05-21)
- Add vCard support [jcbrand]
- Remember custom status messages upon reload. [jcbrand]
- Remove jquery-ui dependency. [jcbrand]
- Use backbone.localStorage to store the contacts roster, open chatboxes and chat messages. [jcbrand]
- Fixed user status handling, which wasn't 100% according to the spec. [jcbrand]
- Separate messages according to day in chats. [jcbrand]
- Add support for specifying the BOSH bind URL as configuration setting. [jcbrand]
- #8 Improve the message counter to only increment when the window is not focused [witekdev]
2017-02-19 02:18:36 +01:00
- Make fetching of list of chat rooms on a server a configuration option. [jcbrand]
2015-11-05 11:59:46 +01:00
- Use service discovery to show all available features on a room. [jcbrand]
2017-02-19 02:18:36 +01:00
- Multi-user chat rooms are now configurable. [jcbrand]
2015-11-05 11:59:46 +01:00
## 0.2.0 (2013-03-28)
- Performance enhancements and general script cleanup [ichim-david]
- Add "Connecting to chat..." info [alecghica]
- Various smaller improvements and bugfixes [jcbrand]
## 0.1.0 (2012-06-12)
- Created [jcbrand]