JC Brand
f40bbbf145
Turn status plugin into folder
...
Remove the use of an override and add a hook `presenceConstructed` instead
2021-05-11 17:04:15 +02:00
Shaun Wu
1cb2b1f7a9
Adding configurable url history changing
2021-04-29 11:59:28 +02:00
JC Brand
24e57244d1
Remove the messageSend
event
2021-04-08 10:17:02 +02:00
JC Brand
3c99f1f840
Fixes #2348
...
Don't automatically hide the first MUC opened in uni-view
2021-03-22 11:39:17 +01:00
Kim Alvefur
e0ccba9e24
Add Description Of A Project (DOAP) file
...
Project summary, including supported XEPs in a machine-readable format,
for automated listings, aggregation of XEP implementation status and
other nice things.
See https://xmpp.org/extensions/xep-0453.html
This list was simply scraped from the README and mangled into XML using
`csv2 | sed | 2xml` and amended with a few other details from e.g.
package.json and links on the website.
2021-03-15 15:02:59 +01:00
JC Brand
35ad4d31a1
Remove erroneous changelog entry
2021-03-15 15:01:49 +01:00
JC Brand
4646956922
Don't render hidden chats
2021-03-11 13:05:03 +01:00
JC Brand
3e5bd34141
Fixes #2381
2021-03-03 22:25:04 +01:00
JC Brand
16e1f95790
New config setting: muc_show_ogp_unfurls
2021-03-01 14:00:28 +01:00
JC Brand
c11b3d03f4
Make sure dist/converse-headless.min.js
gets built
...
Fixes #2377
2021-02-24 07:57:56 +01:00
JC Brand
5cab477bf4
fixes #2396 : @converse/headless wrongly depends on CustomElement
from the view layer
2021-02-24 07:36:10 +01:00
Dele Olajide
61dacfd2a5
fix #2409 - Integrate App Badging API for unread messages
2021-02-24 06:55:59 +01:00
JC Brand
16edc2954d
Add support for rendering unfurls via Prosody's mod_ogp
...
See here: https://modules.prosody.im/mod_ogp.html
2021-02-22 17:55:20 +01:00
JC Brand
9f5dbad589
Turn roster into a custom element
2021-02-09 15:48:21 +01:00
JC Brand
ccfb29f1b3
Turn BookmarksView into a custom element
2021-02-09 15:48:21 +01:00
JC Brand
1949356ede
Work on turning chat views into custom elements
...
The eventual goal is to avoid UI-related stanza processing if the relevant chats
aren't in the DOM.
With the current architecture, chatboxes are created (and the stanzas
related to them processed) even if `#conversejs` isn't in the DOM.
* Initial work on making controlbox an element
* Create a shared base class
* Ceate ChatBoxViews proxy
* Update sass now that certain classes are moved to converse-chats element
2021-02-09 15:48:21 +01:00
Ariel Fuggini
758c46c5aa
Fixes infinite loop bug when appending .png to allowed image urls
2021-02-09 15:38:06 +01:00
JC Brand
5d1b5ac6c9
Notifiations: Add new hook shouldNotifyOfGroupMessage
2021-02-01 17:14:35 +01:00
JC Brand
c0249b9c28
New configuration setting send_chat_markers
...
Can be used to fine-tune which (if any) of the XEP-0333 chat markers
will be sent out.
2021-01-15 11:11:38 +01:00
JC Brand
dcd1407109
New config setting mam_request_all_pages
2021-01-13 10:42:22 +01:00
JC Brand
3f47c4d3dd
Use real JID in XEP-0372 references only when the MUC is non-anonymous
2021-01-04 14:24:23 +01:00
JC Brand
2121766623
More RAI improvements
...
- Add test for incoming RAI message
- Only enable RAI if the user is affilated in MUC being left
- Handle error presence indicating a resouce-constraint
- Don't unregister stanza handlers in `leave`, since we still want to
listen to RAI-related stanzas. Instead unregister upon the `destroy`
event.
2020-12-17 13:04:24 +01:00
JC Brand
e8eea6324e
MUC: Send XEP-0333 markers with the MUC stanza id
...
See: https://xmpp.org/extensions/xep-0333.html#rules-muc
2020-12-14 16:30:13 +01:00
JC Brand
14c9b2f4ae
Clear message cache when closing a MUC
2020-12-11 13:57:16 +01:00
JC Brand
d47c72711b
Document the button hooks
2020-12-03 16:56:54 +01:00
Xavi Ferrer
f4b6b93b8b
update info messages visibility
2020-12-03 11:45:25 +01:00
JC Brand
01ee942920
Styling fixes
...
* Calculate proper length for :geo URI matches
* Don't strip out line-break after quotes, instead use CSS `display: inline-block`
2020-12-01 10:21:21 +01:00
JC Brand
f86efca9a6
autocomplete: Use regex instead of hardcoded list...
...
to determine valid characters to form a boundary before an `@` mention
Also fixed an issue with mentions looking like they're part of URLs, by
first processing mentions separately.
2020-11-27 22:06:22 +01:00
Xavi Ferrer
8b9c97745f
Allow selected characters to precede a mention
2020-11-27 14:12:29 +01:00
JC Brand
33f62bb93c
Update changelog for previous revert and add title
for img emoji
2020-11-26 14:25:54 +01:00
JC Brand
c002600ac5
Rename update_title
setting to show_tab_notifications
2020-11-25 16:30:52 +01:00
JC Brand
d2074afe9a
Document breaking changes to message transformation events
2020-11-25 14:53:27 +01:00
JC Brand
f9650f33be
Add support for XEP-0393 message styling
...
Fixes #1083
Directives are rendered as templates and their bodies are MessageText instances.
We thereby achieve the necessary nesting of directives (and other rich
elements inside directives) by letting each directive
body render itself similarly to how the whole message body is rendered.
2020-11-24 16:06:48 +01:00
JC Brand
357b6406e2
Postrelease
2020-11-23 10:29:42 +01:00
JC Brand
db1905fdb6
Release 7.0.2
2020-11-23 10:18:35 +01:00
JC Brand
1b50696ca7
Make sure all necessary files are included in the NPM package
2020-11-19 13:12:13 +01:00
JC Brand
a70e82c82b
Mention new translations in changelog
2020-11-19 11:44:35 +01:00
JC Brand
4520a04be9
Postrelease
2020-11-19 11:37:56 +01:00
JC Brand
85375842a8
Release 7.0.1
2020-11-19 11:23:04 +01:00
Christoph Scholz
e0088a45da
fix emoji-picker for use_system_emojis==false
2020-11-18 17:22:14 +01:00
JC Brand
76aa1ef3ec
make postrelease
2020-11-18 13:07:51 +01:00
JC Brand
357cad8a49
Release 7.0.0
2020-11-18 12:10:32 +01:00
Dele Olajide
9f548ae8de
fix #1250 ( #2323 )
...
Fixes #1250 Change favicon color when unread messages
2020-11-02 09:10:07 +01:00
Dele Olajide
285bbbc2f1
fix #2321 ( #2322 )
...
When Converse runs inside a browser extension, enable browser sync and local storage for persistent storage
2020-10-30 12:51:55 +01:00
Xavi
15f5b185c3
Fix message reorder issue after edit ( #2300 )
...
* keep message in place after edition by assigning previous message original timestamp
* update time displayed to keep current behaviour
* add test to check a message remains in the same position of the history after being edited
* briefly describe pr changes in changelog
2020-10-23 15:07:56 +02:00
Xavi
5a4fbe12a9
Allow getHats method to be overriden ( #2308 )
2020-10-23 14:09:30 +02:00
Dele Olajide
03919b9777
Force CI rebuild
2020-10-23 13:55:28 +02:00
Dele Olajide
81f0cb49bb
fix #2307 - BootstrapModal no more accessible to plugins
2020-10-23 13:55:28 +02:00
Dele Olajide
646542602f
fix #2304 - Custom emojis (stickers) images not shown
2020-10-21 11:01:08 +02:00
JC Brand
19dc66900d
Split the trusted
setting into two new ones:
...
- `allow_user_trust_override`
- `clear_cache_on_logout`
The `persistent_store` setting can now also be set to `sessionStorage`
The `trusted` settings was in effect playing the role of two separate settings
and implicitly affecting a third ('persistent_store').
By breaking it up, we make things more explicit and allow for new
configurations. For example, clearing the cache on logout, while using
some kind of persistent store.
2020-10-20 11:29:03 +02:00
Xavi
042aa3a73e
Create hats from vcard conditionally ( #2285 )
...
* allow the use of MUC affiliation, MUC role, and VCard roles as hats
* update setting documentation
* remove filter from VCard roles
* update naming and documentation to make explicit the use of XEP-317 Hats
* include muc_hats config option update to changelog
2020-10-15 09:51:19 +02:00
Koen Van den Wijngaert
15aef10d5d
#2092 fixes room list update loop with locked muc domains ( #2268 )
...
* Only update the room list after shown.bs.modal
* add changes to CHANGES.md
* Move shown listener to initialize
2020-10-07 10:37:35 +02:00
bernard ng
efd4e50378
Fix #2231 add sort by query ( #2234 )
...
Use of lowercase letters and Infinity to avoid calculation errors when the index is -1
2020-10-01 12:06:35 +02:00
JC Brand
b5783c0668
Refactor converse-api.query
and the RSM class
...
- The `converse.api.query` method now no longer accepts an RSM instance.
- The RSM class now separates `query` parameters from `result` attributes
- Improve JSDoc docs and remove need to make `converse-rsm` a plugin
- Add typedefs for the options expected by RSM and `api.archive.query`
2020-09-30 18:51:21 +02:00
JC Brand
3fc6f7fa23
Fixes #1924
2020-09-25 18:46:45 +02:00
JC Brand
78f8f73fea
Get rid of converse-uniview
plugin
...
Instead of overriding createChatBox, set 'hidden' flag via defaults
2020-09-21 18:08:48 +02:00
JC Brand
a0ae8135ce
Fixes #1481
...
For OMEMO in MUC, use the real JID of the user, not the MUC JID
2020-09-17 17:12:06 +02:00
Ariel Fuggini
fce337e352
New configuration setting: notify_nicknames_without_references
2020-09-09 13:11:45 +02:00
Christoph Scholz
6319f566dd
fix emojis in case use_system_emojis == false
2020-09-05 11:33:25 +02:00
JC Brand
c3d8f12050
Make api.user.status
API methods async
...
So that `_converse.xmppstatus` is defined before trying to set the
status.
2020-09-04 13:13:07 +02:00
Christoph Scholz
4d9d391365
add CustomElement to env
2020-08-31 17:03:23 +02:00
Christoph Scholz
823134d762
add html to converse.env
2020-08-24 23:48:24 +02:00
Xavi Ferrer
fa3a825549
add changes introduced
2020-08-24 11:46:24 +02:00
Xavi
7cdc592ed9
merge only relevant settings when calling api.settings.extend ( #2187 )
...
* merge only relevant settings when calling api.settings.extend
* test behaviour is the one expected and change doesn't break previous tests
2020-08-12 10:12:10 +02:00
Guus der Kinderen
0c5f0e247b
Removed the mockups from the project. Recommended to use tests instead.
2020-06-29 16:47:36 +02:00
Kim Alvefur
1062fbdd6b
Fix #2101 : Improve contrast of text in control box
2020-06-26 17:30:36 +02:00
JC Brand
cf258f0b4c
Add new public API method converse.insertInto
2020-06-10 12:42:46 +02:00
JC Brand
7b0e9df41e
New config option: show_message_avatar
2020-06-04 14:27:51 +02:00
JC Brand
830e060568
Rename api.settings.update
to api.settings.extend
...
This is to try and make it clearer that this method won't override
initialization settings, and is instead simply to add to the default
settings.
2020-06-03 09:32:16 +02:00
JC Brand
5a57ded243
Add support for the XEP-0333 displayed
chat marker
...
Credit for this work goes to @deleolajide
2020-06-01 18:01:02 +02:00
JC Brand
3cca2fdb7f
roster: Filter contacts via all available information
2020-05-14 12:20:23 +02:00
Dele Olajide
cae5e9c875
Updates #1999 - Demarcate first unread message
2020-05-13 13:39:33 +02:00
JC Brand
d49b630bdc
Enable sending of MUC presence probes
2020-05-06 18:01:59 +02:00
Christoph Scholz
a7deb2021a
make use_system_emojis==false work
2020-04-29 11:25:08 +02:00
Christoph Scholz
f78a1372e3
fix rendering of muc_roomid_policy_hint
2020-04-28 10:52:49 +02:00
JC Brand
2696c26ffb
Add new config setting allow_adhoc_commands
2020-04-17 15:01:12 +02:00
JC Brand
78b60a3bd9
Fixes #515 Add support for XEP-0050 Ad-Hoc commands
2020-04-17 11:01:44 +02:00
Dele Olajide
f97d827280
fix #1963 - Mentions are visually incorrect when used in message replies ( #1968 )
...
* fix #1963 - Mentions are visually incorrect when used in message replies
2020-04-15 12:25:53 +02:00
JC Brand
16c58a966a
modal: Add ability to show multiple input fields for confirm modal
2020-04-15 09:29:52 +02:00
JC Brand
78b1a5c42a
Show send button by default
2020-04-14 14:49:09 +02:00
JC Brand
8b496d085e
Enable XEP-0156 support by default
2020-04-10 15:25:49 +02:00
JC Brand
531ebf335c
Properly test and fix show/hide of MUC topic
2020-04-06 15:27:32 +02:00
Dele Olajide
10da630d8a
fix #1937 - Editing a message removes the mentions highlight ( #1938 )
...
* Fixes #1937 Editing a message removes the mentions highlight
2020-04-02 11:45:04 +02:00
JC Brand
bb9e394e93
muc: handle join/leave notifications similarly to CSNs
...
Remove the `muc_show_join_leave_status` config setting.
We don't show the optional statuses at all now.
2020-04-01 14:34:11 +02:00
JC Brand
631b9bb438
Use the settings API for setting and getting config settings
...
This is an initial step towards no longer storing and accessing settings
directly via the `_converse` object
2020-03-31 11:57:03 +02:00
JC Brand
095a1bc56b
Fixes #1490 . Don't reconnect if were weren't auth'd to begin with.
2020-03-30 05:29:21 +02:00
Lance Stout
a6aaf3f595
Update chat state notifications when message is edited.
2020-03-03 15:24:15 +01:00
JC Brand
4b62678e2f
Update changelog
2020-02-28 11:35:31 +01:00
Dele Olajide
5a9f8218c8
Fix issue 1896 ( #1897 )
...
* fix issue https://github.com/conversejs/converse.js/issues/1896
* Added issue to CHANGES.md
2020-02-28 11:24:25 +01:00
JC Brand
2af93f4492
modtools: settings for which roles/affiliations may be queried or assigned
2020-02-22 23:16:22 +01:00
JC Brand
61e86a3c23
Fixes #1535
...
Add option to destroy MUC in the dropdown context menu.
Also add a confirmation dialog.
2020-02-22 20:22:02 +01:00
JC Brand
62ef18a027
muc_fetch_members now accepts an array of affiliations
2020-02-20 18:39:56 +01:00
GriZmio
897d3af277
Allow ignore bootstrap modules at build ( #1852 )
...
* This allow you to ignore some bootstrap modules you have already included/imported
to your project. Fix error: In a webpage you are already using bootstrap and have
a dropdown, but you have to click twice to make it work, because conversejs added
another handler.
* Add:
- Allow ignoring bootstrap modules using environment variable: BOOTSTRAP_IGNORE_MODULES="Modal,Dropdown".
Example: export BOOTSTRAP_IGNORE_MODULES="Modal,Dropdown" ; make dist
2020-02-11 09:53:37 +01:00
JC Brand
17b86f0491
Update changelog
2020-01-30 17:39:40 +01:00
Christoph Scholz
a472a0806e
show headline messages in controlbox
2020-01-23 11:32:15 +01:00
JC Brand
929a00e1cd
Fixes #1836
2020-01-16 13:48:46 +01:00
JC Brand
9ce315dece
Bugfix. Handle stanza that clears the MUC subject
2020-01-14 10:07:23 +01:00
Christoph Scholz
40726e06e9
A user can now add himself as a contact
2020-01-13 10:30:00 +01:00
Christoph Scholz
e2d744ddc4
config option for roomid validation
2020-01-13 09:01:21 +01:00
Christoph Scholz
d0ee41d4fb
focus now on jid field after controlbox is loaded
2020-01-11 23:26:36 +01:00