JC Brand
ce08819a43
Retracted moderated sent message should not be editable.
2020-02-18 16:47:52 +01:00
JC Brand
ead8cdbcd6
Retracted moderated message should not be editable.
...
Also, don't set retracted MUC messages as ephemeral, we want to keep on
showing them to provide context in a MUC.
2020-02-18 16:06:59 +01:00
JC Brand
227b70339c
Bugfix. Retracted messages shouldn't be editable.
2020-02-18 15:45:55 +01:00
JC Brand
004d2b7f23
Fix method name in log
2020-02-18 15:45:55 +01:00
JC Brand
bcbde04530
Copy sounds dir to dist and use assets_path
for sounds_path
2020-02-16 12:30:25 +01:00
JC Brand
f564a1edaf
Show reason and actor for ban/kick events
2020-02-14 13:19:12 +01:00
JC Brand
39d140005e
Change when/how chats are shown
...
Goal is to fix a timing bug that results in `show` being triggered
before the `ChatBoxView` has been initialized, which means that 1:1
chats aren't opened when you reload the page.
2020-02-14 11:06:04 +01:00
JC Brand
3400acbfeb
Show MUC buttons in a dropdown menu
...
- Get rid of the ChatBoxHeading class
- Add support for showing standalone buttons in overlay viewmode
2020-02-13 20:57:47 +01:00
JC Brand
ed411c226d
Avoid creating Message objects for empty messages
2020-02-13 16:31:13 +01:00
JC Brand
181d18fcfe
Translation and undefined variable fixes
2020-02-11 10:13:23 +01:00
JC Brand
64f5bfa09f
Don't gatekeep rendering of the chatroom heading
2020-02-10 23:21:35 +01:00
JC Brand
faa02b058d
Make sure messages Collection exists when we receive an error message
2020-02-10 18:41:32 +01:00
JC Brand
893ef10563
Use lit-html to render chat head
2020-02-07 16:09:12 +01:00
JC Brand
2235d4c432
Use lit-html to render MUC heading
2020-02-07 14:58:26 +01:00
JC Brand
15f15e9a09
Bugfix. Declare parameter
2020-02-07 13:34:22 +01:00
JC Brand
7d91b17552
Rename methods to clarify their purpose
2020-02-07 12:42:19 +01:00
JC Brand
fb9fe280ac
Updates to how dupes are detected.
...
- Collapse 3 different loops into one.
- Check all saved stanza ids in the parsed attrs, not just the archive id
- Remove check for archive id in converse-mam since it just duplicates what's now being done in converse-chat
- Don't use disco to check for support, XEP-359 mandates that services SHOULD advertise support,
which is not a strong enough guarantee that they do.
updates #1856
2020-02-07 12:35:45 +01:00
JC Brand
746fe441e2
Updates the message parsing.
...
Only set `id` once we've actually parsed the sender attributes,
otherwise `attrs.from` is `undefined`.
Use `Array.prototype.reduce` to generate stanza_ids attributes map.
Add `from_muc` attribute which contains the MUC JID
2020-02-07 12:12:38 +01:00
JC Brand
d2b6b41128
emoji-picker: Make sure that emojis as images are rendered properly
2020-02-06 16:27:44 +01:00
JC Brand
976c3d6006
Remove the formdata and promise polyfills
2020-02-06 15:20:29 +01:00
JC Brand
a1670462ca
Remove jquery and undersscore shims
2020-02-06 14:51:50 +01:00
JC Brand
9b279ad39d
Various emoji-picker fixes after recent refactoring
...
- Fix choosing of a categoy
- Make the highlight color darker (more visible)
2020-02-05 23:20:51 +01:00
JC Brand
9e86b5e8df
emoji-picker: Disable using the right arrow to initiate keyboard nav
2020-02-05 18:05:32 +01:00
JC Brand
4b3d330190
Avoid sending blur event when navigating the emoji picker
...
Also, listen to the `focusin` and `focusout` events, since they bubble,
allowing us to listen on the chatbox itself.
2020-02-05 16:08:54 +01:00
JC Brand
f854e477b7
Add placeholder to MUC invite modal input
2020-02-03 23:24:44 +01:00
JC Brand
7279f08a34
Update to newer skeletor which can return a promise on create
2020-02-03 23:24:44 +01:00
JC Brand
7d7c41a135
OMEMO: fix timing errors
...
- Use async/await
- Wait for devices to be created before continuing
2020-02-03 23:24:44 +01:00
JC Brand
f78837cbc5
Refactor identification of duplicates...
...
to rely on the parsed stanza attributes
This was to fix a bug whereby a full stanza was used to query for 1:1
messages with a full JID when the bare JID is stored.
We now are sure that the attributes we're using to query for duplicates
are the same attributes that get saved for a messages.
2020-02-03 23:24:44 +01:00
JC Brand
6430691c22
Fix template condition
2020-01-31 22:50:13 +01:00
JC Brand
6b4bdb636e
sidebar: Show shortened text in overlay mode
2020-01-30 22:03:08 +01:00
JC Brand
e3708bd598
Refactor headlines list to render everything with one view
2020-01-30 19:57:04 +01:00
JC Brand
c55a2171d5
Refactor headlines-view
...
* Use lit-html
* Let it look and behave similarly to other list views in the controlbox
2020-01-30 19:37:00 +01:00
JC Brand
73fa24a844
headlines: move view code into converse-headlines-view.js
2020-01-30 18:18:27 +01:00
JC Brand
ed287df43a
No need to set id manually
2020-01-30 17:36:55 +01:00
JC Brand
29aed314c1
Remove Backbone
...
* Remove backbone as NPM deps and from docs
* Remove backbone stuff from webpack
2020-01-30 17:36:55 +01:00
JC Brand
fef92ad99e
oauth: Replace VDOMView with HTMLView
2020-01-30 17:36:55 +01:00
JC Brand
8b5227761e
Replace roster filter VDOMView with HTMLView
2020-01-30 17:36:55 +01:00
JC Brand
39f189b1d1
Use HTMLView for login form
2020-01-30 17:36:55 +01:00
JC Brand
30d08d2bfe
muc-views: Remove features section...
...
and replace with button to open invite modal
2020-01-30 17:36:55 +01:00
JC Brand
9fb2056753
Move MUC invite widget into a modal
2020-01-30 17:36:55 +01:00
JC Brand
c6ac03e94e
Fix linting errors
2020-01-30 17:36:55 +01:00
JC Brand
d32c4c1f61
muc-views: replace VDOMView with HTMLView
2020-01-30 17:36:55 +01:00
JC Brand
9fb2d279e9
Replace VDOMView with HTMLView
2020-01-30 17:36:55 +01:00
JC Brand
393a96cf02
roomslist: remove Backbone
2020-01-30 17:36:55 +01:00
JC Brand
c4b48d701f
bookmark-views: Changes templates to lit-html
2020-01-30 17:36:55 +01:00
JC Brand
d310f1e3e4
emoji-views: use lit-html for templating
...
* declare picker events in lit-html
* init intersection observer only once
* don't set value manually
* don't manually add classes
* avoid x-scrollbar and 'undefined' in search input
2020-01-30 17:36:55 +01:00
JC Brand
11e219dd41
Update copyright
2020-01-30 17:36:55 +01:00
JC Brand
ad93407907
Replace modal templates with lit-html components
2020-01-30 17:36:55 +01:00
JC Brand
a8104d7498
Add Skeletor as dependency
2020-01-30 17:36:55 +01:00
JC Brand
50e6c8a082
roster: refactor to use async/await
2020-01-30 17:36:55 +01:00