JC Brand
a246aef823
muc-views: clear empty history indicator when inserting a date
2019-12-18 12:07:25 +01:00
dependabot[bot]
115ee46e09
Bump npm from 6.11.3 to 6.13.4
...
Bumps [npm](https://github.com/npm/cli ) from 6.11.3 to 6.13.4.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.11.3...v6.13.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-18 12:47:13 +02:00
JC Brand
b0e66232d3
Fixes #1253 : Show contacts with unread messages at the top of the roster
2019-12-18 11:42:26 +01:00
JC Brand
d8a522b2d4
Use CDN for resources and update to latest release
2019-12-17 16:39:37 +01:00
JC Brand
82b19173f1
rosterview: Import individual lodash methods
2019-12-17 14:38:12 +01:00
JC Brand
565283b8a3
rosterview: Let the default chat state filter be online
...
Also replaced some lodash methods with native ones.
2019-12-17 14:27:56 +01:00
JC Brand
03b7ae0a30
Improvements to how things are stored.
...
- Use the bare JID as indexedDB dataStore
- Collapse localStorage and indexedDB stores into one `persistent` store.
- When testing, only clear test data
2019-12-17 13:59:43 +01:00
JC Brand
4aa6b728cf
muc: wait for restoreSession
2019-12-11 16:20:08 +01:00
JC Brand
0f63c84d5b
core: properly clear cache in clearSession
...
Bump to latest backbone.browserStorage which adds the `clear` method
2019-12-11 15:44:56 +01:00
JC Brand
c379807d4c
muc: Move code into restoreSession
method
2019-12-11 10:06:26 +01:00
JC Brand
f3a1351a42
muc: loosen isJoined
criteria
...
Handle any `error` IQ result or timeout from a MUC ping as indication that we're no longer joined.
2019-12-11 10:06:03 +01:00
JC Brand
720087bef2
controlbox: remove unnecessary overrides
2019-12-11 08:38:28 +01:00
JC Brand
a4567ee075
muc: Store connection_status
in session storage
...
Otherwise we might run into a situation where a very old,
cached MUC that's being restored has `connection_status` set to ENTERED
(and the user happens to be in the MUC via another client)
and then restores cached messages without taking
`clear_messages_on_reconnection` into account.
2019-12-11 08:10:27 +01:00
JC Brand
09b085be6e
muc: no need to override tearDown
...
we already listen for `beforeTearDown` and do what's necessary there.
2019-12-11 08:10:25 +01:00
JC Brand
8125eaed57
chatboxviews: Remove ineffectual override
...
`initStatus` is no longer on the `_converse` object, so the override
wasn't being applied and chat boxes get closed when the
`clearSession` event fires.
2019-12-10 15:21:28 +01:00
JC Brand
306748feb0
muc-views: no need to set nickname before calling join
...
It was in any case setting the wrong key, should've been `nick`
2019-12-09 17:17:40 +01:00
JC Brand
3d3738f3be
muc: refactor MUC joining
...
We now distinguish more clearly between joining and re-joining a MUC.
The `enterRoom` method has been refactored away.
Instead, `join` or `rejoin` should be used, depending on the circumstances.
Don't fetch cached occupants in the `initialize` function, instead, only fetch
them if we're restoring a MUC that we're still connected to.
If we're not restoring a still-connected MUC, then we clear the
occupants cache, and the messages cache if `clear_messages_on_reconnection` is `true`.
updates #1807
updates #1808
2019-12-09 17:17:33 +01:00
JC Brand
7bf39a092f
muc: move message handler into own method
2019-12-06 13:09:09 +01:00
Dele Olajide
890db3427f
Handle message notifications about affiliation change for users not in a room
...
See https://git.happy-dev.fr/startinblox/components/sib-chat/issues/96
2019-12-06 12:55:07 +01:00
JC Brand
c646879cca
Ping the server when the tab becomes visible
2019-12-06 10:57:52 +01:00
JC Brand
5b507ec74e
muc: check that we're still connected if the tab becomes visible
...
Otherwise Converse might only realise we're no longer in the room when
the user tries to interact with it.
2019-12-05 22:29:37 +01:00
JC Brand
7866247f5d
dragresize: Unregister global event handlers
2019-12-05 21:02:06 +01:00
raphaelSeguin
97b8ecbbdf
Display status avatars in the occupants list
2019-12-05 14:13:52 +01:00
Nÿco
0082c0ce60
More visual README for users
...
* Add screenshot for embedded view mode
* Add Pàdé
2019-12-05 10:21:41 +01:00
JC Brand
b1c9af3ed0
Various improvements to resizing of occupants view.
...
- Remove need for the `converse-mouse-events` plugin.
- Register `mousemove` and `mouseup` handlers only when necessary and only inside the MUC DOM element.
- Restore converse-dragresize to roughly it's original state before work started on this.
- Move `applyDragResistance` to utils.
updates #1640
2019-12-05 09:32:48 +01:00
JC Brand
0c4da63e07
Merge branch 'pullRequest_SkalierungTeilnehmerListe' of github.com:worlword/converse.js
2019-12-04 14:55:47 +01:00
poVoq
8e19ae7824
Added Chimeverse and UT app
2019-12-04 14:49:46 +01:00
JC Brand
115abdda27
muc-views: pass all model attributes to template
...
Makes it possible to show a validation message in a downstream
application.
2019-12-03 15:02:37 +01:00
JC Brand
dffe3d1a26
smacks: Set enable_smacks
to true
as default
2019-12-03 13:54:28 +01:00
JC Brand
c3447dd205
New config option: `persistent_store
`
...
Allows for using IndexedDB as the persistent store, instead of localStorage
2019-12-03 13:51:57 +01:00
JC Brand
5232019ed7
roster: Replace lodash methods with native ones
2019-12-03 12:37:26 +01:00
JC Brand
7fc3151e56
Fixes #1783
2019-12-03 11:31:28 +01:00
JC Brand
5809c97828
Fixes #1666 . Fixes #1792 . Add scrollbars for modals
2019-12-03 11:08:35 +01:00
JC Brand
9bff567b3c
Fixes #1796
2019-12-03 10:57:01 +01:00
JC Brand
f1e1e538b6
muc-views: Wait for messages to be fetched
...
Also, insert occupants sidebar before inserting the chat into the DOM
2019-12-02 14:00:21 +01:00
JC Brand
099603ed8b
chatview: Reduce debounce time for markScrolled from 100ms to 50ms
2019-12-02 13:59:58 +01:00
JC Brand
fc42f2903c
muc-views: enterRoom should be called on the model
2019-12-02 13:45:35 +01:00
JC Brand
d2cf29bce4
muc: One more place to fetch messages
...
When restoring an already entered room from cache.
Otherwise we end up with an empty history.
2019-11-29 17:04:54 +01:00
JC Brand
1c116b0385
mam: distinguish between messages fetched before and after MUC join
2019-11-29 16:17:48 +01:00
JC Brand
a9128808de
muc: Re-render the bottom panel once we enter the MUC
...
Otherwise we end up with no textarea when rendering a MUC that starts
with connection_status of entered but which then needs to reconnnect.
2019-11-29 16:17:28 +01:00
JC Brand
53ced8c763
muc: Don't restore messages from cache...
...
if we're just going to clear them again
This avoids flashing of messages followed by a spinner.
2019-11-29 09:58:38 +01:00
aitzol berasategi
a8cfc12fac
Translated using Weblate (Basque)
...
Currently translated at 88.2% (374 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
2019-11-29 09:28:19 +01:00
Yaron Shahrabani
8a93b74f68
Translated using Weblate (Hebrew)
...
Currently translated at 93.4% (396 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/he/
2019-11-29 09:28:19 +01:00
Xosé M
c7e12b1aef
Translated using Weblate (Galician)
...
Currently translated at 100.0% (424 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2019-11-29 09:28:19 +01:00
Guybrush Threepwood
ef79a9fc82
Translated using Weblate (Bulgarian)
...
Currently translated at 35.4% (150 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/bg/
2019-11-29 09:28:19 +01:00
JC Brand
970143fcd2
Translated using Weblate (Afrikaans)
...
Currently translated at 100.0% (424 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/af/
2019-11-29 09:28:19 +01:00
Ömer Çakmak
18fbfd2ce5
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (424 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/tr/
2019-11-29 09:28:19 +01:00
Allan Nordhøy
14a23afcef
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 70.8% (300 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2019-11-29 09:28:19 +01:00
Quentí
c2fd4159c9
Translated using Weblate (Occitan)
...
Currently translated at 100.0% (424 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/oc/
2019-11-29 09:28:15 +01:00
Antonio Morais
e88f54f3d4
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 82.5% (350 of 424 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pt_BR/
2019-11-29 09:28:15 +01:00