JC Brand
b64b20c44d
muc: fall back to finding occupant by nick
2020-05-06 18:01:59 +02:00
JC Brand
1ddf1032f5
Register listeners when occupant is added to a message
2020-05-06 18:01:59 +02:00
JC Brand
d49b630bdc
Enable sending of MUC presence probes
2020-05-06 18:01:59 +02:00
JC Brand
98faa71e65
muc: Ensure message rerenders when occupant is added
2020-05-06 18:01:59 +02:00
JC Brand
e621362471
mam: include chatbox in data sent via MAMResult
2020-05-06 18:01:59 +02:00
Ariel Fuggini
a0de42503e
Prevent selecting text in background when resizing chat box
2020-05-01 14:04:23 +02:00
JC Brand
fa30563937
Don't assume that window.converse is always defined
2020-04-30 13:27:01 +02:00
JC Brand
089a54281e
Bump various 3rd party dependencies
2020-04-29 16:01:33 +02:00
Christoph Scholz
a7deb2021a
make use_system_emojis==false work
2020-04-29 11:25:08 +02:00
JC Brand
5546085f0d
Add keywords
2020-04-29 11:17:21 +02:00
JC Brand
f20e14282a
Re-add log to _converse object
2020-04-29 10:19:57 +02:00
JC Brand
db69d724bb
Fix typo in js-xss data
...
updates #2006
2020-04-28 21:28:33 +02:00
JC Brand
2963830916
Trigger sendMessage
event
2020-04-28 17:46:57 +02:00
JC Brand
82b7e2846a
Use outerHTML to render existing nickname form
2020-04-28 12:11:40 +02:00
Ari F
60134c4d35
Fixed bug showing occupants sidebar on browser tab switch
2020-04-28 12:11:40 +02:00
Christoph Scholz
f78a1372e3
fix rendering of muc_roomid_policy_hint
2020-04-28 10:52:49 +02:00
JC Brand
5efb7b2a84
MUC: provide feedback when no rooms found
2020-04-27 18:31:56 +02:00
JC Brand
b5eea12d49
Refactor so that message attributes are parsed early
...
It's better to parse an incoming message stanza early, than to have
all kinds of methods throughout the codebase that does querySelector
etc.
Firstly, it allows us to catch and report errors and malicious stanzas early on.
It also simplifies programming because you don't need to try and
remember how to properly parse a stanza, all the work is done upfront
for you.
2020-04-27 16:34:37 +02:00
JC Brand
27008aff66
Bugfix. Add missing variable for string interpolation
2020-04-27 16:30:46 +02:00
JC Brand
bad815b429
Bugfix. Don't create multiple RosterContactView objects
2020-04-27 16:30:33 +02:00
JC Brand
958379682a
muc: Render role change messages as ephemeral notifications
2020-04-23 15:11:36 +02:00
JC Brand
c6f8ef0c46
Various JSDoc related fixes and improvements
...
Using the `@method` directive on a `@class` means that the method
doesn't appear.
2020-04-23 13:55:08 +02:00
JC Brand
b44c0c266c
mam: Add MAMResult
hook
2020-04-23 13:55:08 +02:00
JC Brand
ad4999384d
Reduce unnecessary logging in tests
2020-04-23 13:52:21 +02:00
JC Brand
7e2552bd8c
core: Allow multiple imports
2020-04-23 13:50:35 +02:00
JC Brand
7eb6a17fd2
Add the ability to run tests via the webpack devserver
2020-04-21 20:18:43 +02:00
JC Brand
ac3e87965f
Remove unused import
2020-04-20 19:48:09 +02:00
JC Brand
d9c41f62cf
Add install
recipe as alias to build
and dist
2020-04-20 18:49:02 +02:00
JC Brand
c1efb0d2b4
Add an external API for sending presences
2020-04-19 09:41:38 +02:00
JC Brand
edf7f6b8d3
Show status messages via object creation
2020-04-19 08:11:53 +02:00
JC Brand
8a7b25584d
Show error messages via objects
...
Instead of injecting them directly into the DOM.
2020-04-19 08:03:44 +02:00
JC Brand
4131850429
Allow setting of affiliation on JID of user not in the MUC
2020-04-19 06:49:03 +02:00
JC Brand
2696c26ffb
Add new config setting allow_adhoc_commands
2020-04-17 15:01:12 +02:00
JC Brand
fb92229f22
Rename modal
2020-04-17 14:29:09 +02:00
JC Brand
5e91adbf4e
Update various 3rd party dependencies
2020-04-17 11:40:14 +02:00
JC Brand
78b60a3bd9
Fixes #515 Add support for XEP-0050 Ad-Hoc commands
2020-04-17 11:01:44 +02:00
JC Brand
60b3f7ae25
Add an autocomplete component
2020-04-17 11:01:44 +02:00
JC Brand
4c872164c3
Bugfix. Don't show 'undefined' for nick
2020-04-17 10:50:30 +02:00
JC Brand
be3cbe6dc3
Downgrade dayjs
...
Due to this bug: https://github.com/iamkun/dayjs/issues/792
2020-04-15 17:47:50 +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
38bb845ce7
muc-views: ensure MUC becomes visible when opened via modal
2020-04-15 12:24:34 +02:00
JC Brand
f68f577b71
muc-views: Update ListChatRoomsModal to make better use of lit-html
2020-04-15 11:54:07 +02:00
JC Brand
c9084e4ed5
muc-views: Present challenge to destroy
confirmation
...
And also allow the user to specify the JID to where the conversation has
moved to.
2020-04-15 09:30:10 +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
5cb65d84f1
Bugfix. Don't assume OMEMO store is always there
2020-04-14 14:04:26 +02:00
JC Brand
5ea7a4d127
MUC: Small updates to message fetching and queueing
...
- Always clear queue after fetching messages from cache
- Empty `message_queue` without waiting for all messages to first be processed.
- Don't assume that `this.messages` is set by the time `queueMessage` is called
2020-04-14 12:29:12 +02:00
JC Brand
df9612f937
Add support for XEP-0317 MUC Hats
2020-04-13 22:57:29 +02:00
JC Brand
e2a7045e22
Move MUC presence parsing code to src/headless/utils/stanza.js
2020-04-13 18:22:15 +02:00
JC Brand
a1d5563963
Move OMEMO-related message parsing to utils/stanza.js
2020-04-13 17:44:47 +02:00