JC Brand
0c5593ed75
Various smaller fixes
...
- Fix failing tests.
- Bump timeout for emoji tests
- Remove unused files.
- Update features section.
2020-04-28 10:42:20 +02:00
JC Brand
5efb7b2a84
MUC: provide feedback when no rooms found
2020-04-27 18:31:56 +02:00
JC Brand
be2def5fad
Docs: Remove out of date section on testing
2020-04-27 18:31:29 +02:00
JC Brand
8815699d4e
Remove reference to deleted file
2020-04-27 17:56:38 +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
77f38bb40b
Document supported XEPs.
...
Updates #1037
2020-04-24 15:13:40 +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
4b270359f6
Use Karma as test runner
2020-04-23 11:55:51 +02:00
JC Brand
7e23adf26f
Remove the need for require.js to run tests
2020-04-22 12:10:39 +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
65246d0041
Update Makefile
...
- Don't unnecessarily build dist files
2020-04-21 14:25:27 +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
6426f9cf12
Don't hide info messages in the concord theme
2020-04-19 06:48:59 +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
99d95b06ea
Copy over new webfonts from font-awesome
2020-04-17 14:18:51 +02:00
JC Brand
622abbe128
Downgrade style-loader
...
Webfonts don't load when running the dev server
2020-04-17 14:17:57 +02:00
JC Brand
3630055baa
Indentation
2020-04-17 11:46:17 +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
f74e270b8a
CSS: Style .form-help
2020-04-16 13:37:17 +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
JC Brand
0660663161
Bump various 3rd party dependencies
2020-04-15 12:31:30 +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
590bb8e3e0
CSS: Color fixes for buttons
2020-04-15 09:30:10 +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
ced8b8acdc
CSS fixes
...
- Use :before to make sure container maintains its height
- Don't space out words in the textarea
2020-04-14 14:45:45 +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
JC Brand
ce1f7e090e
Rename getMessageAttributesFromStanza
to parseMessage
2020-04-13 17:44:47 +02:00