JC Brand
dea2eea919
Componentize dragresize
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
JC Brand
eb65f75f45
Move headlines panel template to plugin
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
7199e63fd7
Move converse-profile plugin into folder
2021-01-22 15:49:16 +01:00
JC Brand
85bd192f3c
Move converse-minimize into a folder
...
Also, use utility methods instead of adding a mixin to ChatBoxViews
(since we're planning on removing it).
2021-01-18 12:56:17 +01:00
JC Brand
2da2dbff71
Move converse-bookmark-views into folder
2021-01-07 13:29:55 +01:00
JC Brand
9a2ded5a9a
Remove global lodash
2020-12-29 15:12:45 +01:00
JC Brand
c1847a0b34
Use lit-html to render room description in modal
2020-12-29 12:49:09 +01:00
JC Brand
12bb9375f4
Move converse-dragresize plugin to folder
2020-12-29 12:38:17 +01:00
JC Brand
e31fa1f7dd
Move converse-register plugin to folder
2020-12-29 10:36:59 +01:00
JC Brand
794a709690
Move converse-rosterview plugin into folder
2020-12-28 19:46:40 +01:00
JC Brand
da131715ba
Use lit-html to render form fields
2020-12-28 18:25:51 +01:00
JC Brand
fe365a6561
Move converse-roomslist plugin into folder
2020-12-16 14:05:34 +01:00
JC Brand
4c1813d6d4
Move converse-controlbox plugin into folder
2020-12-08 09:50:17 +01:00
JC Brand
824bf2ed30
Move all plugin files to ./plugin folders
...
Rename converse-core.js to core.js
2020-12-03 16:41:15 +01:00
JC Brand
160ab3452e
Rename ids of two modals
2020-12-03 11:43:04 +01:00
JC Brand
b18cc6bcc5
Move modals and their templates into ./modals/
2020-12-03 11:02:35 +01:00
JC Brand
34cba68432
Allow user modals to be opened from message headings
2020-12-03 11:02:35 +01:00
JC Brand
a65da05094
Revert "fix emoji-picker for use_system_emojis==false"
...
This reverts commit e0088a45da
.
2020-11-26 14:19:30 +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
Christoph Scholz
e0088a45da
fix emoji-picker for use_system_emojis==false
2020-11-18 17:22:14 +01:00
JC Brand
2b59186d03
Don't render booleans in profile modal
2020-11-18 11:40:40 +01:00
bernard-ng
08684a7c51
Fixes #2277 Show nickname conflict error
2020-11-18 11:23:46 +01:00
JC Brand
d921242be7
Fix TypeError: Cannot read property 'chatbox' of undefined
2020-11-04 15:14:12 +01:00
JC Brand
476bcfe7cc
Fixes #2137 : Show back arrow on mobile
2020-10-23 21:36:39 +02:00
JC Brand
4252a17f62
Fixes #1642 Add option to hide participant list by default
...
In the process, turn it into a component
2020-10-23 21:18:05 +02: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
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
JC Brand
395aa8cb95
Use JS to dynamically set height of img modal
2020-10-13 15:35:54 +02:00
JC Brand
e73d14304c
Fix image to modal (i.e. avoid scrollbars)
2020-10-13 15:05:57 +02:00
JC Brand
4295264a33
MAM: Maintain scroll position during upwards infinite scroll
2020-10-13 06:25:31 +02:00
JC Brand
3f08201f5a
Remove unused code for the removed features section in occupants sidebar
2020-10-07 11:20:16 +02:00
JC Brand
383b6a27c3
Render the brand heading as a component
2020-10-02 11:44:28 +02:00
JC Brand
24ddbefb63
Pass model's whole JSON to nickname form
...
Not strictly necessary for vanilla Converse, but makes life easier
downstream
2020-10-01 16:29:44 +02:00
JC Brand
6d9752645f
Replace lodash methods with native ones
...
filter
find
has
isEmpty
isString
isUndefined
noop
reject
uniq
2020-10-01 12:56:00 +02:00
JC Brand
ccd9146c6c
Bugfixes. Fix order of parameters and don't render undefined
2020-09-30 18:51:21 +02:00
JC Brand
904a1394eb
Always render avatar via lit-html
...
Fixes #2244 by checking if image already is in the `data:` format.
2020-09-27 10:31:53 +02:00
JC Brand
5dac2d8873
muc-views: Use lit-html instead of lodash templates
2020-09-27 10:31:32 +02:00
JC Brand
889f4d4e15
Always render spinner via lit-html
2020-09-26 10:04:33 +02:00
JC Brand
b17e7cd55b
Fix rendering of SVG avatars
2020-09-18 15:09:55 +02:00
JC Brand
5949d29460
omemo: specify pubsub item id of 'current'
2020-09-18 15:09:23 +02:00
JC Brand
dd155220f0
Use declarative autofocus for login form
2020-09-18 11:33:24 +02:00
JC Brand
527c14b194
Fixes #2133
2020-09-10 10:51:57 +02:00
JC Brand
2c042cc3fa
Fixes #2184 : Headless build relies on locale directory
...
Removed Jed from the headless build and instead let `__` call sprintf.
It's now up to downstream users for `@converse/headless` to decide
whether they want i18n support for the few translatable strings in that package
and to implement it themselves.
2020-09-10 08:55:38 +02:00
JC Brand
cb53c86711
Don't use date-separator
CSS class for the new messages indicator
2020-09-03 13:06:17 +02:00
JC Brand
c41bdac6c8
Some work on componentizing the minimized chats UI
2020-09-03 13:06:17 +02:00
JC Brand
496b070d2a
If adding .png fallback fails, revert to original URL
2020-09-01 12:21:32 +02:00
Ariel Fuggini
3535d05ff5
Removes query params from urls as set in config
2020-09-01 07:12:52 +02:00
JC Brand
831a9fa224
Append .png
to failed image URLs without extensions
...
Otherwise Imgur URLs don't render
2020-08-31 20:43:54 +02:00