JC Brand
c2143f617a
Bugfix. Converse.js stopped reconnecting
...
When `_doDisconnect` is called in Strophe, `authentication` is set to
`false`, so reconnection wouldn't happen anymnore
Updates #1490
2020-05-12 11:50:13 +02:00
JC Brand
fa30563937
Don't assume that window.converse is always defined
2020-04-30 13:27:01 +02:00
JC Brand
f20e14282a
Re-add log to _converse object
2020-04-29 10:19:57 +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
78b60a3bd9
Fixes #515 Add support for XEP-0050 Ad-Hoc commands
2020-04-17 11:01:44 +02:00
JC Brand
8b496d085e
Enable XEP-0156 support by default
2020-04-10 15:25:49 +02:00
JC Brand
35de251ce7
Make sure IQ timeouts are properly logged
2020-04-10 14:41:23 +02:00
JC Brand
c7e702368b
Properly clear user settings
...
by first waiting until the model has been set up.
2020-04-07 19:07:51 +02:00
JC Brand
fe635989a1
Add support for Finnish translations
2020-04-07 13:47:34 +02:00
JC Brand
75d64c04d9
Add a hooks API
...
for triggering interceptable events with the goal of modifying data.
2020-04-06 17:22:06 +02:00
JC Brand
531ebf335c
Properly test and fix show/hide of MUC topic
2020-04-06 15:27:32 +02:00
JC Brand
c20dbbbbbd
Store in user settings whether a MUC topic is hidden or not
2020-03-31 22:57:22 +02:00
JC Brand
e498657323
Add API for setting and accessing user settings
2020-03-31 15:01:02 +02:00
JC Brand
6391cc0803
Rename applyUserSettings to applySiteSettings
2020-03-31 14:08:34 +02:00
JC Brand
d057177f1b
core: Further cleanup and refactoring
2020-03-31 12:51:30 +02:00
JC Brand
8b1d4e0e9d
core: refactor initialize method to make it as small as possible
2020-03-31 12:28:11 +02:00
JC Brand
631b9bb438
Use the settings API for setting and getting config settings
...
This is an initial step towards no longer storing and accessing settings
directly via the `_converse` object
2020-03-31 11:57:03 +02:00
JC Brand
095a1bc56b
Fixes #1490 . Don't reconnect if were weren't auth'd to begin with.
2020-03-30 05:29:21 +02:00
JC Brand
967154d314
Use optional chaining instead of lodash.get
2020-03-24 12:30:45 +01:00
JC Brand
b5d57f0ef8
Handle and render chat state notifications separately from messages
2020-03-21 17:21:53 +01:00
JC Brand
8aaa1a6417
core: Make clearSession
a synchronous event
...
In order to give plugins time to properly clear data from the browser storage.
2020-03-03 10:23:46 +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
181d18fcfe
Translation and undefined variable fixes
2020-02-11 10:13:23 +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
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
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
496e5ba46d
Fix linting error
2020-01-13 09:00:08 +01:00
JC Brand
2a3ca93256
core: don't use Chrome-only check for web auth support
2020-01-12 01:35:44 +01:00
JC Brand
22ff93c3a7
core: Import individual lodash methods
...
and use some native ones instead
2020-01-12 01:08:37 +01:00
JC Brand
e866248227
Don't include vim temp-files in release tarball
...
and bump post-release version number
2020-01-10 13:04:05 +01:00
JC Brand
cd60614f88
Release 6.0.0
2020-01-09 17:15:43 +01:00
JC Brand
ef1f16c186
Fixes #1767 : Remove JID so that credentials_url is called...
...
when the user logs out and then in again
2020-01-09 11:05:37 +01:00
JC Brand
995f2a9997
Add arrow navigation to the emoji picker
2020-01-07 15:47:05 +01:00
JC Brand
d8e561ef7e
Fix linting errors
2019-12-20 16:02:53 +01:00
JC Brand
da319604b6
Fixes #1735 : Chatboxes stay empty after logging out and in again
...
The problem was that the `emojisInitialized` promise was re-created upon
logout and then no longer resolved upon subsequent login.
The `_converse.api.promises.add` method now takes another parameter
`replace` which determine whether it should be replaced upon logout or
not.
The `emojisInitialized` promise will now not get replaced.
2019-12-18 16:09:44 +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
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
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
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
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