Commit Graph

5087 Commits

Author SHA1 Message Date
JC Brand
6457bc765a MUC: Use converse-disco to query for room features
By doing so we create a new DiscoEntity for the room, which allows us to
query for features via the disco API.

We also avoid duplication of functionality between converse-muc and
converse-disco
2018-09-12 12:36:14 +02:00
JC Brand
197451db54 Add support XEP-0128 service discovery extensions
Also add new API methods which return features and XEP-128 fields.
2018-09-12 12:36:13 +02:00
JC Brand
acef8feaaa Refactoring of fetching of reserved nick
- Move `getDefaultNickName` to the model and rename to `getDefaultNick`
- Let `checkForReservedNick` return a promise and save `nick` once received
- Updated `openAndEnterChatRoom` to wait appropriately and remove presence-wrapper
- Update tests to wait appropriately
- Remove presence-wrapper in `getRoomFeatures`
2018-09-12 12:36:13 +02:00
JC Brand
2df9b24211 Add option to auto-register your nickname to a room
See https://xmpp.org/extensions/xep-0045.html#register
2018-09-12 12:36:13 +02:00
JC Brand
764686dd19 Enable push services for a MUC domain
As soon as a chatroom from that domain is opened and if the MUC supports it.
2018-09-11 11:29:02 +02:00
JC Brand
989ce0f54d Fixes #1184 2018-09-10 16:21:52 +02:00
Martin/Geno
955f1bc80d [DOC] update integration and features 2018-09-10 16:11:11 +02:00
JC Brand
a3911094d3 Fix incorrect closing tag 2018-09-10 16:09:38 +02:00
JC Brand
c8eea72831 Fix failing test.
Looks like Chromium strips the forward slash from `<br/>` when printing
innerHTML.
2018-09-10 16:07:06 +02:00
Martin/Geno
dbe88535f1 [BUGFIX] html br 2018-09-10 15:58:17 +02:00
JC Brand
2f2b2ceaf2 Bugfix. Don't create occupants without nick/JID 2018-09-10 08:11:09 +02:00
JC Brand
09bb6b494d New release 4.0.0 2018-09-07 16:20:30 +02:00
JC Brand
201b8559b6 Avoid bookmark toggle duplication 2018-09-07 16:09:12 +02:00
Sneer Sneerowski
4a954a80e6 Translated using Weblate (Polish)
Currently translated at 75.5% (256 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pl/
2018-09-07 15:45:23 +02:00
Allan Nordhøy
c1b18e04dd Translated using Weblate (Norwegian Bokmål)
Currently translated at 65.7% (223 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/
2018-09-07 15:45:23 +02:00
Szilágyi Gyula
4ac6d9a418 Translated using Weblate (Hungarian)
Currently translated at 100.0% (339 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
2018-09-07 15:45:23 +02:00
Lorem Ipsum
eb011fed85 Translated using Weblate (Czech)
Currently translated at 100.0% (339 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/cs/
2018-09-07 15:45:23 +02:00
JC Brand
9efebadb25 Updated af translation 2018-09-07 15:40:44 +02:00
JC Brand
d89a47b071 Fade in logo after a delay 2018-09-07 15:39:08 +02:00
JC Brand
cfcab80147 Don't inform of unencryptable OMEMO messages unless in debug mode 2018-09-07 15:23:16 +02:00
JC Brand
06352b67c1 Fix AttributeError 2018-09-07 14:49:11 +02:00
JC Brand
0b8a63d5d8 Messages in overlay mode should span whole area 2018-09-07 14:10:53 +02:00
JC Brand
8cc88d9b17 Fixes #1152 CSN in MUC triggers rate limiting.
- Avoid registering `sendChatState` twice as handler.
- Avoid sending out a CSN right after sending out a message
2018-09-07 14:00:57 +02:00
JC Brand
999536365d Fixes #1014 Don't show IRC gateway as MUC prefill 2018-09-07 13:14:36 +02:00
JC Brand
353bbef08b Update copy to mention number of contributors 2018-09-07 12:20:01 +02:00
JC Brand
014354d075 Fixes #986 Affiliation changes aren't displayed in the chat 2018-09-07 11:54:29 +02:00
JC Brand
47bde92513 Fixes #1052 Moment locale incorrectly set to zh-tw 2018-09-07 10:38:47 +02:00
JC Brand
27378068c0 Fixes #1064 /topic without argument sets topic to "undefined" 2018-09-07 10:21:47 +02:00
JC Brand
572cc49498 Show room subject in heading, not description 2018-09-07 09:55:36 +02:00
JC Brand
a52ccc6588 Position branding. Fixes #1155 2018-09-06 21:03:23 +02:00
JC Brand
2ef117e402 Fix more missing icons due to Fontawesome upgrade 2018-09-06 19:50:41 +02:00
JC Brand
2acc11f776 Fixes #1158. Fall back to bookmark JID if name is not available 2018-09-06 17:25:10 +02:00
JC Brand
baf598608a Fix leave icon 2018-09-06 17:09:47 +02:00
JC Brand
50a1bd7bc5 Fixes #1159 2018-09-06 17:09:32 +02:00
JC Brand
eb8953795f New builds 2018-09-06 16:56:40 +02:00
JC Brand
99432eebd9 I think this fixes #1160
Don't included MAM data form if there's nothing to filter
2018-09-06 16:56:13 +02:00
JC Brand
012dd1328a Add converse.json for cs 2018-09-06 16:20:19 +02:00
JC Brand
9f41846b77 Generate new i18n po and json files 2018-09-06 16:05:29 +02:00
JC Brand
565cfc3984 Hook in the Czech translations 2018-09-06 16:03:37 +02:00
juan
702d02179b Translated using Weblate (Spanish)
Currently translated at 69.3% (224 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2018-09-06 15:44:10 +02:00
Emmanuel Gil Peyrot
675340e88d Translated using Weblate (French)
Currently translated at 100.0% (323 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-09-06 15:44:10 +02:00
ButterflyOfFire
25d1328ae3 Translated using Weblate (Afrikaans)
Currently translated at 98.1% (317 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/af/
2018-09-06 15:44:10 +02:00
Lorem Ipsum
eddc9280b5 Translated using Weblate (Czech)
Currently translated at 100.0% (323 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/cs/
2018-09-06 15:44:09 +02:00
ButterflyOfFire
864e0deab9 Translated using Weblate (Arabic)
Currently translated at 71.5% (231 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ar/
2018-09-06 15:44:09 +02:00
Lorem Ipsum
b9a8ac47ef Added translation using Weblate (Czech) 2018-09-06 15:44:09 +02:00
Piotr Skwarna
af5f93c7f7 Translated using Weblate (Polish)
Currently translated at 31.8% (103 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pl/
2018-09-06 15:44:09 +02:00
Szilágyi Gyula
61aaf5d59f Translated using Weblate (Hungarian)
Currently translated at 100.0% (323 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
2018-09-06 15:44:09 +02:00
Thomas Camaran
2f5626f69c Translated using Weblate (Italian)
Currently translated at 68.1% (220 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
2018-09-06 15:44:06 +02:00
Emmanuel Gil Peyrot
1abfd1d62d Translated using Weblate (French)
Currently translated at 100.0% (323 of 323 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-09-06 15:44:01 +02:00
JC Brand
023249f62e Render profile avatar as canvas.
We now have uniform avatar rendering for the profile, messages and
chatboxes.

By rendering as canvas, we can avoid stretching the image.

In the process I also moved the ChatBoxViews collection into its own
plugin `converse-chatboxviews` and placed the AvatarAware views there.

fixes #1157
2018-09-06 15:33:13 +02:00