Commit Graph

5625 Commits

Author SHA1 Message Date
JC Brand
9f5031c278 Make converse.initialize an async function
- Combine all test init functions into `initConverse`
- Use `async` functions in more tests
- Replace `var` with `let` and `const` in more tests
- New utils method `toStanza` which converts a string to a Node
2019-02-12 15:34:50 +01:00
JC Brand
fb5c299d9b Upgrade lerna to latest version 2019-02-12 14:21:40 +01:00
JC Brand
7100681496 Use devDependencies consistently
'dependencies' in package.json get installed as well when installing
converse.js or @converse/headless in a 3rd party project, which is
unnecessary.
2019-02-11 19:34:21 +01:00
JC Brand
aa64df35ee converse-core is not a plugin 2019-02-11 14:45:16 +01:00
Johan Oudinet
a7386200f7 Makefile: Simplify sed commands
And fix an extra space added by mistake by the sed command on
_converse.VERSION_NAME in converse-core.js.
2019-02-11 04:45:35 -07:00
Johan Oudinet
c5bd4c62cf Makefile: Create an archive with all assets.
Add the version to the archive name so it also fixes #1375.
Remove the recipes for css/webfonts.zip, sounds.zip, and locale.zip.
2019-02-11 04:45:35 -07:00
JC Brand
28845bb850 Updated package-lock.json 2019-02-08 15:37:47 -07:00
JC Brand
a1a381428c Add converse-chatboxviews as dependency 2019-02-08 15:37:47 -07:00
JC Brand
abe21dce66 Include origin-id in outgoing messages 2019-02-08 15:34:16 -07:00
laszlovl
590d8769a9 Prevent duplicate messages on MUC join
Fixes #1414
2019-02-08 15:32:21 -07:00
JC Brand
c403708f76 Add talentplot as sponsor 2019-02-05 14:15:45 -07:00
JC Brand
004519931c Upgrade babel and lodash 2019-02-05 13:02:36 -07:00
Christoph Scholz
5e1f5785f9 fix moderator commands that change affiliation 2019-02-05 12:47:53 -07:00
JC Brand
c023bd1d47 Fix test failures on Chrome 72 2019-02-01 21:37:29 +01:00
JC Brand
9c28ef13bf Generate CSS 2019-02-01 15:13:47 +01:00
JC Brand
e1f8d53c46 Initial support for chat markers. Updates #324 2019-02-01 15:05:13 +01:00
JC Brand
4c964c56c0 Filter out undefined 2019-02-01 15:05:13 +01:00
Emmanuel Gil Peyrot
60bb313988 Concord theme: Fix owner badge color.
Fixes #1431.
2019-02-01 10:39:37 +01:00
JC Brand
1ca7d34c25 Ignore (and destroy) archived/delayed messages with no body to show 2019-01-31 16:11:17 +01:00
JC Brand
becbedd7db CSS: fix margin for lock icon 2019-01-31 15:26:19 +01:00
JC Brand
b8c12b1cd4 Remove unused 3rd party libs 2019-01-31 15:22:14 +01:00
JC Brand
0b1e5c6308 Hack to avoid cutting of message author text 2019-01-31 13:31:58 +01:00
Christoph Scholz
b667eae1c8 muc moderator commands can be disabled selectively 2019-01-30 03:42:12 +01:00
JC Brand
10f629310e Need to declare muc_show_join_leave as setting 2019-01-29 05:50:43 +01:00
Holger Weiss
af091faf33 Resurrect muc_show_join_leave option
The option got lost in commit 9528d81c00.

Fixes #1263
2019-01-29 05:45:35 +01:00
JC Brand
26b0934ab6 Updated JSON translation files 2019-01-29 05:40:35 +01:00
JC Brand
13fca5ddfa Updated af translations 2019-01-29 05:40:35 +01:00
JC Brand
4150a3a70b Add Esperanto as supported language 2019-01-29 05:40:34 +01:00
Yaron Shahrabani
19e4cafbd5 Translated using Weblate (Hebrew)
Currently translated at 60.4% (226 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/he/
2019-01-29 05:07:23 +01:00
nautilusx
cd9ef5c33e Translated using Weblate (German)
Currently translated at 100.0% (374 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2019-01-29 05:07:22 +01:00
Chinmay Sharma
6604b3416e Translated using Weblate (Hindi)
Currently translated at 11.2% (42 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hi/
2019-01-29 05:07:22 +01:00
Emmanuel Gil Peyrot
8333e36f74 Translated using Weblate (Japanese)
Currently translated at 93.9% (351 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2019-01-29 05:07:22 +01:00
Emmanuel Gil Peyrot
b42b731e9c Added translation using Weblate (Esperanto)
Translated using Weblate (Esperanto)

Currently translated at 50.0% (187 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eo/
2019-01-29 05:07:22 +01:00
Xosé M
92a1b8942f Translated using Weblate (Galician)
Currently translated at 100.0% (374 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2019-01-29 05:07:22 +01:00
aitzol berasategi
822b231d38 Translated using Weblate (Basque)
Currently translated at 95.5% (357 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
2019-01-29 05:07:22 +01:00
sergio
5aa1354aa3 Translated using Weblate (Spanish)
Currently translated at 100.0% (374 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2019-01-29 05:07:21 +01:00
Allan Nordhøy
2fced0d421 Translated using Weblate (Norwegian Bokmål)
Currently translated at 71.7% (268 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2019-01-29 05:07:21 +01:00
Nathan Follens
2eb6b43ea7 Translated using Weblate (Flemish)
Currently translated at 100.0% (374 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
2019-01-28 13:42:28 +01:00
Nathan Follens
29fd444caf Translated using Weblate (Dutch)
Currently translated at 100.0% (374 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl/
2019-01-28 13:42:28 +01:00
Lorem Ipsum
5597c125be Translated using Weblate (Czech)
Currently translated at 98.9% (370 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/cs/
2019-01-28 13:42:28 +01:00
Louies
55741bc002 Translated using Weblate (Chinese (Traditional))
Currently translated at 24.9% (93 of 374 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hant/
2019-01-28 13:42:28 +01:00
JC Brand
59a9c86fa5 Fixes #1417 2019-01-28 13:39:33 +01:00
JC Brand
20a14f5877 Build before testing 2019-01-28 13:30:47 +01:00
JC Brand
3cbc99a3f2 Roster fixes related to reconnecting
Avoid `An 'url' property must be specified` error by properly clearing
presence data upon teardown and then resetting the browserStorage upon
reconnection.

Store contact resources in a Backbone collection
2019-01-28 13:30:47 +01:00
JC Brand
4e9e532a06 Use async/await in populateRoster 2019-01-28 13:27:25 +01:00
JC Brand
374260242c Variable interpolation bugfix 2019-01-28 13:27:25 +01:00
JC Brand
d97deaea80 Fixes #1369
* Add test and changelog entry
* Also show message subject if available
2019-01-28 13:27:25 +01:00
JC Brand
3c0e3d3fab Refactor out createMessage.
Changes:

* Avoids leaky abstraction of MUC code into converse-chatboxes
* Avoid creating unnecessary message objects (e.g. without <body)
* Add fix for #1369.
* Rename spec/chatroom.js to spec/muc.js
2019-01-28 13:27:25 +01:00
MaxLanar
3aaff4e973 remove last comma in credentials_url example
Last comma  forbidden in JSON, example doesn't work as is.
2019-01-26 06:24:54 +01:00
JC Brand
450c0e5e0f Use bootstrap.native-loader to avoid including unused code 2019-01-25 07:32:51 +01:00