Commit Graph

5570 Commits

Author SHA1 Message Date
JC Brand
2857293ad1 Fix failing tests by waiting and slightly improve code 2018-12-06 13:10:34 +01:00
JC Brand
5f00987578 Bugfix. Pass original_stanza to isDuplicate 2018-12-06 13:10:33 +01:00
JC Brand
79bfb45639 Use async/await in MAM code and tests 2018-12-06 13:10:33 +01:00
JC Brand
6e05f3b67c Create sourcemaps for CSS 2018-12-04 13:50:15 +01:00
JC Brand
118bc20478 Rename isSingleton to isUniView
We distinguish between UniView and MultiView instances.

UniView means that only one chat is visible, even though there might be multiple ongoing chats.
MultiView means that multiple chats may be visible simultaneously.
2018-12-04 13:50:15 +01:00
JC Brand
dda0af6404 New sponsor Codefirst 2018-12-04 10:49:33 +01:00
JC Brand
dd3133e7de Avoid RID out of range errors in Prosody
by not flushing stanzas when sending out an <inactive> CSI.

When reloading the page, the stanzas are resent (because we never had
time to receive acks) which causes problems on Prosody (and likely also
causes the Ejabberd "other-request" errors).
2018-12-03 21:33:34 +01:00
JC Brand
9a551b3e89 Update view_mode documentation
Put the historical background info into a ``note`` and add short
explanations of the 4 different view modes
2018-12-03 13:08:55 +01:00
JC Brand
5e217aae9b Reduce max width of roster items
Otherwise they get cut off sometimes
2018-12-03 11:26:01 +01:00
JC Brand
f051ff283b Don't store vcards globally to all accounts. 2018-11-30 19:43:40 +01:00
JC Brand
714da6f0df Wait until push services are disabled as well 2018-11-29 13:22:58 +01:00
JC Brand
7109ff672e Add api method to retrieve controlbox 2018-11-29 12:37:21 +01:00
JC Brand
36d2db78c4 Use async/await and remove jquery in some tests 2018-11-29 12:37:21 +01:00
JC Brand
6358fd7c97 Use finally 2018-11-29 10:41:46 +01:00
JC Brand
4e6ac905b8 Async/await in controlbox tests 2018-11-26 12:58:06 +01:00
JC Brand
c22fe41aef Use async/await in tests 2018-11-22 14:25:56 +01:00
JC Brand
cb3ba7bdf6 Use async/await in spec/chatbox.js 2018-11-22 09:31:00 +01:00
JC Brand
cd63afcaad Add space following question mark 2018-11-22 09:09:14 +01:00
JC Brand
b91f488491 Use async/await 2018-11-21 13:03:32 +01:00
Maxime “pep” Buquet
54652f7461 Remove sudo: false in .travis.yml
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

`sudo: false` is getting deprecated and support for it will soon be
removed entirely. They seem to be moving to using VMs entirely for their
service.

Converse doesn't seem to be using Travis' features extensively so I
don't think anything would break, but this clause will become useless in
less than a month, (quite a tight timeline).

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-11-20 18:16:06 +01:00
JC Brand
7beeada087 Don't use outerHTML in tests, it's not consistent across browsers 2018-11-20 18:01:09 +01:00
JC Brand
c9b540289c Use async/await 2018-11-20 18:01:09 +01:00
Christoph Scholz
267d91a4f3 don't send receipt requests in MUCs 2018-11-20 17:38:59 +01:00
JC Brand
d341c6a13b Revert "Use getter to lazily create Strophe.Connection"
This reverts commit 7af73c3471.

Doesn't look like the right approach for adding support for XEP-0156.
Work on that will continue in a branch in the meantime.
2018-11-20 17:31:53 +01:00
JC Brand
7af73c3471 Use getter to lazily create Strophe.Connection 2018-11-18 18:05:47 +01:00
JC Brand
86593dc378 Don't render http (i.e. non-TLS) resources
Causes "Mixed Content" TLS errors
2018-11-18 18:05:47 +01:00
JC Brand
e07bb52d2a Use async/await 2018-11-18 18:05:46 +01:00
JC Brand
c46d937ea4 Fix null check 2018-11-18 15:16:40 +01:00
JC Brand
67958bba40 Check xmlns 2018-11-17 18:58:23 +01:00
Christoph Scholz
8524ff3b99 Fix missing checkmarks in old muc messages 2018-11-17 18:52:52 +01:00
Emmanuel Gil Peyrot
223deaa782 Log the actual error on MAM error 2018-11-17 18:39:28 +01:00
JC Brand
d3a684a57d Move some functions outside of the initialize closure 2018-11-15 23:10:40 +01:00
JC Brand
588b015e62 Release v4.0.5 2018-11-15 13:24:22 +01:00
JC Brand
084b8e939b New i18n bulids 2018-11-15 13:23:15 +01:00
JC Brand
5109c845ef Add language support for Galician 2018-11-15 12:25:31 +01:00
Sneer Sneerowski
9a3bcf56b7 Translated using Weblate (Polish)
Currently translated at 83.1% (294 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pl/
2018-11-15 12:22:08 +01:00
JC Brand
d99fe387ec Translated using Weblate (German)
Currently translated at 85.9% (304 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2018-11-15 12:22:08 +01:00
flevop
93c44a97a2 Translated using Weblate (Dutch)
Currently translated at 96.6% (342 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl/
2018-11-15 12:22:08 +01:00
Infinite universe
2caacebfa0 Translated using Weblate (Russian)
Currently translated at 53.7% (190 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ru/
2018-11-15 12:22:08 +01:00
Mako N
abf4d03081 Translated using Weblate (Japanese)
Currently translated at 100.0% (354 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2018-11-15 12:22:08 +01:00
Xosé M
03ca9be9c6 Translated using Weblate (Galician)
Currently translated at 100.0% (354 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2018-11-15 12:22:08 +01:00
Xosé M
d515564b47 Added translation using Weblate (Galician) 2018-11-15 12:22:08 +01:00
Emmanuel Gil Peyrot
63ec4c1321 Translated using Weblate (French)
Currently translated at 100.0% (354 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-11-15 12:22:08 +01:00
Lorem Ipsum
9b71f28f92 Translated using Weblate (Czech)
Currently translated at 99.7% (353 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/cs/
2018-11-15 12:22:08 +01:00
aitzol berasategi
e54bf24cff Translated using Weblate (Basque)
Currently translated at 100.0% (354 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
2018-11-15 12:22:08 +01:00
Atef Ben Ali
2e6aa8d1e3 Translated using Weblate (Arabic)
Currently translated at 85.8% (304 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ar/
2018-11-15 12:22:08 +01:00
JC Brand
ba00b30bf3 Translated using Weblate (Afrikaans)
Currently translated at 100.0% (201 of 201 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/af/
2018-11-15 12:22:08 +01:00
Licaon Kter
e982347116 Translated using Weblate (Romanian)
Currently translated at 24.2% (86 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ro/
2018-11-15 12:22:08 +01:00
Szilágyi Gyula
dfa12a537c Translated using Weblate (Hungarian)
Currently translated at 100.0% (354 of 354 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
2018-11-15 12:22:08 +01:00
JC Brand
35a1693ade Use es2015 module imports in i18n.js 2018-11-15 11:51:43 +01:00