Commit Graph

5697 Commits

Author SHA1 Message Date
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
JC Brand
a5fdbb0e8a Avoid loading all the moment locales 2018-11-15 11:44:16 +01:00
JC Brand
01c3d35db2 Remove unnecessary webpack aliases 2018-11-15 11:29:28 +01:00
JC Brand
bab1b6093c Update number of translations 2018-11-15 11:28:29 +01:00
JC Brand
82a97fdcb0 Add padding to receipt checkmark 2018-11-15 10:50:25 +01:00
JC Brand
7e24019568 Fixes #1288
Add CSS classes to differentiate between incoming and outgoing messages
2018-11-15 10:30:58 +01:00
JC Brand
ecff1fd954 Don't show role badges for /me messages 2018-11-15 10:25:12 +01:00
Emmanuel Gil Peyrot
339d8a8f92 Add XHTML compatibility
This is mainly a testing tool, which makes a mode where all HTML bugs
which could slightly mess up the rendering will trigger proper errors in
the browser.

Fixes #1131.
2018-11-14 22:08:12 +01:00
JC Brand
88e74975c9 Fix failing tests due to avatar changes 2018-11-14 16:37:16 +01:00
JC Brand
3505750536 Enforce avatar img size 2018-11-14 16:37:02 +01:00
JC Brand
fb8ccc1fc1 Use non-minified resources 2018-11-14 16:16:45 +01:00
Emmanuel Gil Peyrot
ab5dd4a146 Switch avatar rendering from canvas to SVG.
This delegates the calculation of the aspect ratio to the browser, and
generally simplifies the code.

Fixes #1156.
2018-11-14 16:03:37 +01:00
JC Brand
352c0797ad Rename theme to concord and add config option for setting the theme 2018-11-14 15:56:28 +01:00
JC Brand
dde2efb653 Fix trash icons for pending contacts 2018-11-14 15:46:51 +01:00
Emmanuel Gil Peyrot
174b257c39 Add a dark theme inspired by Discord
This theme takes inspiration from https://discordapp.com/ and builds on
top of custom-properties, making the design more familiar to some users.

In order to change the theme, add the 'theme-dark' class on #conversejs,
you can do it at any point during the lifetime of Converse, either
directly in your HTML or by changing the DOM at runtime.
2018-11-14 15:45:51 +01:00
JC Brand
067d87a73e Fix failing test 2018-11-14 15:15:29 +01:00
JC Brand
7cb889b065 Fixes #1317 Don't show errors for CSI messages 2018-11-14 14:34:23 +01:00
JC Brand
1e7247b4d2 Add client info modal showing name and version number 2018-11-14 12:01:27 +01:00
JC Brand
0baed97703
Merge pull request #1316 from ChaosKid42/show_version
show version info in login dialog
2018-11-14 11:03:33 +01:00
Christoph Scholz
9a307da808 show version info in login dialog 2018-11-13 21:12:24 +01:00
JC Brand
5a556dd544
Merge pull request #1319 from ChaosKid42/implement_last_user_interaction_in_presence
Send presences according to XEP-0319: Last User Interaction in Presence
2018-11-13 18:46:06 +01:00
JC Brand
45c47ab2c0
Merge branch 'master' into implement_last_user_interaction_in_presence 2018-11-13 18:45:47 +01:00
Christoph Scholz
12b7687a89 Implement sending presences according to XEP-0319: Last User Interaction in Presence 2018-11-13 18:39:13 +01:00
Christoph Scholz
4b7d18f418 added values 'on' and 'off' for 'trusted' option 2018-11-13 18:36:24 +01:00