Commit Graph

6625 Commits

Author SHA1 Message Date
JC Brand
9ff505fd66 Add unregisterGlobalEventHandlers method
And call it when `converse.initialize` gets called again
2018-12-15 20:00:36 +01:00
JC Brand
003af0c438 visibilitychange is supported by all browsers we support
So simplify the code that saves the window state
2018-12-15 19:59:30 +01:00
JC Brand
935ca52b03 Test that open groupchats are shown with their bookmarked names 2018-12-15 19:31:19 +01:00
JC Brand
d5485d09ae Always render the OMEMO lock icon
When OMEMO isn't possible, render it as grey.

This change makes OMEMO for MUCs easier, since there I anticipate that
OMEMO support might change dynamically based on who enters/exits the
room.

updates #1180
2018-12-14 11:25:57 +01:00
JC Brand
4cd06b645d Bugfix. [] evaluates to truthy 2018-12-13 11:09:58 +01:00
JC Brand
9b61b2bdab We do need a validate method, but it needed a fix. 2018-12-13 10:07:31 +01:00
JC Brand
060fd94547 Allow features to be passed in to openAndEnterChatRoom 2018-12-13 09:31:36 +01:00
JC Brand
2d511a5e96 Make openAndEnterChatRoom and async function 2018-12-13 09:31:36 +01:00
JC Brand
c954610903 No need to call validate here
Since the plugin is not enabled when it matters.

updates #1374
2018-12-13 08:57:58 +01:00
JC Brand
5dacb96b78 Don't try to create ChatBox from controlbox data in embedded mode
updates #1374
2018-12-12 18:52:41 +01:00
JC Brand
e38daf34f7 Remove coupling between converse-chatboxes and converse-roster
In embedded mode (singleton) we don't need or want the roster, so we
should be able to disable it.

updates #1374
2018-12-12 18:52:40 +01:00
JC Brand
a8ed46f672 Use async/await in spec 2018-12-12 17:40:14 +01:00
JC Brand
df3118fe81 Fix bookmark icon 2018-12-12 17:40:14 +01:00
pom2ter
aecf7f2cdf fixing some alignment issues in the sidebar 2018-12-12 10:45:17 +01:00
JC Brand
cd29d10436 Don't include *~ files in zip 2018-12-11 11:44:11 +01:00
JC Brand
4013fbd273 Updated dependencies 2018-12-11 11:43:40 +01:00
JC Brand
a31e14a355 CSS: properly align section heading and its actions 2018-12-10 18:07:22 +01:00
JC Brand
ccb8662ef7 Bugfix. First match for MUC commands 2018-12-10 15:40:30 +01:00
JC Brand
8ccf1da9d6 CSS: Set height for list items. Updates #1367 2018-12-10 15:12:33 +01:00
JC Brand
f3f819b67a CSS: Also color the room and contact toggles 2018-12-10 15:12:29 +01:00
JC Brand
1d55b131f6 CSS: set groupchat owner badge to groupchat color 2018-12-10 15:12:29 +01:00
JC Brand
262b9f9260 CSS: Give color to the controlbox headings 2018-12-10 15:12:28 +01:00
JC Brand
19735f76dd CSS: Properly align controlbox section headings and their actions 2018-12-10 15:12:28 +01:00
JC Brand
4c965b58d3 CSS: Reuse list-item-action class for "Contact Requests" actions 2018-12-10 15:12:27 +01:00
JC Brand
2a79c5b08a Consistent icon usage for leaving a room 2018-12-10 13:31:42 +01:00
JC Brand
917b08a957 Bump distance between list item actions
- Set it to the same spacing for controlbox heading buttons
- Make it configurable
2018-12-10 13:07:27 +01:00
JC Brand
f01419d05f Rename user-panel to controlbox
To bring it inline with naming used in the code
2018-12-10 12:57:35 +01:00
JC Brand
02c907128c Fix regex for setting the version number.
updates #1366
2018-12-07 13:55:41 +01:00
JC Brand
384f1d7977 New release 4.0.6 2018-12-07 12:40:02 +01:00
JC Brand
7e3c9028e7 Document translation updates in changelog 2018-12-07 12:30:51 +01:00
Allan Nordhøy
423d9570dd Translated using Weblate (Portuguese (Brazil))
Currently translated at 56.8% (209 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pt_BR/
2018-12-07 12:29:03 +01:00
Douglas Dayan
98d1c258c2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 56.8% (209 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pt_BR/
2018-12-07 12:29:03 +01:00
ssantos
72fd595967 Translated using Weblate (German)
Currently translated at 100.0% (368 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2018-12-07 12:29:03 +01:00
ButterflyOfFire
e08b4c0e94 Translated using Weblate (Arabic)
Currently translated at 82.6% (304 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ar/
2018-12-07 12:29:03 +01:00
Allan Nordhøy
aae7a7ba70 Translated using Weblate (Norwegian Bokmål)
Currently translated at 72.6% (267 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2018-12-07 12:29:03 +01:00
Sylke Vicious
3da01eec26 Translated using Weblate (Italian)
Currently translated at 56.5% (208 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
2018-12-07 12:29:03 +01:00
JC Brand
9545e2e3bb Translated using Weblate (Spanish)
Currently translated at 100.0% (368 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2018-12-07 12:29:03 +01:00
FELIPE BORELA ALVES
ba8b25c864 Translated using Weblate (Portuguese (Brazil))
Currently translated at 46.7% (172 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pt_BR/
2018-12-07 12:29:03 +01:00
JC Brand
81f21d1365 Translated using Weblate (Japanese)
Currently translated at 96.2% (354 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2018-12-07 12:29:03 +01:00
JC Brand
e023e52be2 Translated using Weblate (Indonesian)
Currently translated at 11.4% (42 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/
2018-12-07 12:29:03 +01:00
Szilágyi Gyula
caa7f325ac Translated using Weblate (Hungarian)
Currently translated at 100.0% (368 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
2018-12-07 12:29:03 +01:00
Lorem Ipsum
e977923de7 Translated using Weblate (Czech)
Currently translated at 99.7% (367 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/cs/
2018-12-07 12:29:03 +01:00
JC Brand
75ecd7df04 Translated using Weblate (Basque)
Currently translated at 96.2% (354 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
2018-12-07 12:29:03 +01:00
Jean-Baptiste
3f9557f04d Translated using Weblate (French)
Currently translated at 100.0% (368 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-12-07 12:29:03 +01:00
JC Brand
1de1b90486 Translated using Weblate (German)
Currently translated at 85.9% (316 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2018-12-07 12:29:03 +01:00
Chema Ortega
114d95cd5d Translated using Weblate (Spanish)
Currently translated at 100.0% (368 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2018-12-07 12:29:03 +01:00
Allan Nordhøy
147f2272d1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 72.3% (266 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2018-12-07 12:29:03 +01:00
nautilusx
ff912a113c Translated using Weblate (German)
Currently translated at 85.9% (316 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2018-12-07 12:29:03 +01:00
Xosé M
95a080e762 Translated using Weblate (Galician)
Currently translated at 100.0% (368 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2018-12-07 12:29:03 +01:00
Emmanuel Gil Peyrot
e0cb220d1c Translated using Weblate (French)
Currently translated at 99.7% (367 of 368 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-12-07 12:29:03 +01:00