Commit Graph

3900 Commits

Author SHA1 Message Date
Weblate
584598fd59 Merge remote-tracking branch 'origin/master' 2017-11-02 17:30:32 +01:00
JC Brand
305f8d2499 Use latest pluggable.js 2017-11-02 17:30:24 +01:00
Weblate
42b442f142 Merge remote-tracking branch 'origin/master' 2017-11-02 16:41:43 +01:00
JC Brand
007e608f32 More work on combining the inverse/converse builds
- Use `enabled` method for plugins
- Rename `converse-inverse.js` to `converse-fullscreen.js` and make it a
  core plugin.
- We're no longer making separate mobile and inverse builds

No longer a need to whitelist/blacklist plugins for inverse to work.
2017-11-02 16:41:06 +01:00
JC Brand
754ad7a027 Initial work on combining the converse and inverse modes
- Adds new config setting: `view_mode`
- `converse-singleton` is now a core plugin and its behavior depends on `view_mode`.
2017-11-02 14:21:29 +01:00
Weblate
ff45c9b697 Merge remote-tracking branch 'origin/master' 2017-10-31 23:13:57 +01:00
JC Brand
221798e6e1 Merge branch 'open-room-via-url' 2017-10-31 23:11:37 +01:00
JC Brand
3514d6d56b fixes #316
- Also allow private chats to be opened via URL fragment.
- Make sure to clear the URL fragment when the relevant chat is closed.
2017-10-31 23:11:27 +01:00
JC Brand
985cf6c294 Use global router to open chat rooms 2017-10-31 22:08:06 +01:00
JC Brand
35db952e71 Make openChatRoom a closured function 2017-10-31 22:07:40 +01:00
JC Brand
46ca6c7de2 Make the router global and clear login/register fragments
upon login or after registering.
2017-10-31 21:47:27 +01:00
JC Brand
61ed55dbaa Rename login and register urls 2017-10-31 20:39:44 +01:00
JC Brand
ad0e457486 Update API documentation to mention promises to wait for 2017-10-31 20:38:52 +01:00
JC Brand
523c84a254 Log as warning instead of error 2017-10-31 20:38:52 +01:00
JC Brand
e8e20fbf93 Make sure to emit upon reconnection 2017-10-31 20:38:52 +01:00
JC Brand
2d747bb287 Various changes. See below.
* Update localisation/translation documentation due to recent changes.
* Remove `moment_locales.js` and instead load the moment locales in `src/i18n.js`
* Mention how to load the fullscreen version. Refs #939
2017-10-31 20:38:51 +01:00
Weblate push user
2f0a91ffde Update from Weblate. (#938)
* Translated using Weblate (German)

Currently translated at 98.4% (260 of 264 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (French)

Currently translated at 99.6% (263 of 264 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (Indonesian)

Currently translated at 36.3% (97 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 34.0% (91 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 32.9% (88 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 32.9% (88 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 33.7% (90 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (German)

Currently translated at 98.1% (262 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 72.6% (194 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/

* Translated using Weblate (German)

Currently translated at 100.0% (283 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (German)

Currently translated at 100.0% (283 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (French)

Currently translated at 92.2% (261 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 92.5% (262 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 95.7% (271 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 96.1% (272 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (283 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 70.3% (199 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/
2017-10-31 20:38:51 +01:00
JC Brand
9862d747a9 Refetch the roster from the server after reconnection.
From the perspective of the XMPP server, this is an entirely new login,
and therefore as per RFC-6121 the roster SHOULD be queried, making the
client an "interested resource".

https://tools.ietf.org/html/rfc6121#section-2
2017-10-31 20:38:51 +01:00
JC Brand
0a7c20a1e2 Log incoming and outgoing XML stanzas in different colors 2017-10-31 20:38:51 +01:00
JC Brand
4dad60c8d6 Include timestamps in debug logs 2017-10-31 20:38:51 +01:00
JC Brand
05c3a5cad6 Move translation machinery into a separate module 2017-10-31 20:38:51 +01:00
JC Brand
bb0e4d26ec Throw more helpful error when there's no connection 2017-10-31 20:38:51 +01:00
JC Brand
c789af346f Add another example to the section about dealing with async 2017-10-31 20:38:51 +01:00
Giuseppe Pignataro
207d134eff Updated italian translation (#932) 2017-10-31 20:38:51 +01:00
Weblate
d6de627fa3 Merge remote-tracking branch 'origin/master' 2017-10-31 18:07:31 +01:00
JC Brand
d3fb9d81c8 Update API documentation to mention promises to wait for 2017-10-31 18:07:03 +01:00
JC Brand
0acaaeb2a0 Log as warning instead of error 2017-10-31 18:06:39 +01:00
JC Brand
098c8e545c Make sure to emit upon reconnection 2017-10-31 18:06:28 +01:00
Weblate
7ea09337a7 Merge remote-tracking branch 'origin/master' 2017-10-30 10:44:10 +01:00
JC Brand
2bce9e7272 Various changes. See below.
* Update localisation/translation documentation due to recent changes.
* Remove `moment_locales.js` and instead load the moment locales in `src/i18n.js`
* Mention how to load the fullscreen version. Refs #939
2017-10-30 10:44:00 +01:00
Weblate
ade8e227b3 Merge remote-tracking branch 'origin/master' 2017-10-27 11:21:29 +02:00
Weblate push user
b686fa1672 Update from Weblate. (#938)
* Translated using Weblate (German)

Currently translated at 98.4% (260 of 264 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (French)

Currently translated at 99.6% (263 of 264 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (Indonesian)

Currently translated at 36.3% (97 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 34.0% (91 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 32.9% (88 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 32.9% (88 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (Indonesian)

Currently translated at 33.7% (90 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/id/

* Translated using Weblate (German)

Currently translated at 98.1% (262 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 72.6% (194 of 267 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/

* Translated using Weblate (German)

Currently translated at 100.0% (283 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (German)

Currently translated at 100.0% (283 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

* Translated using Weblate (French)

Currently translated at 92.2% (261 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 92.5% (262 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 95.7% (271 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 96.1% (272 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (283 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 70.3% (199 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/
2017-10-27 11:21:22 +02:00
Weblate
a5503de530 Merge remote-tracking branch 'origin/master' 2017-10-27 11:00:20 +02:00
JC Brand
4f8a09b019 Refetch the roster from the server after reconnection.
From the perspective of the XMPP server, this is an entirely new login,
and therefore as per RFC-6121 the roster SHOULD be queried, making the
client an "interested resource".

https://tools.ietf.org/html/rfc6121#section-2
2017-10-27 10:59:58 +02:00
Weblate
7aa6286e7f Merge remote-tracking branch 'origin/master' 2017-10-26 15:48:36 +02:00
JC Brand
0a3e31dda4 Log incoming and outgoing XML stanzas in different colors 2017-10-26 15:47:49 +02:00
Weblate
e786af725d Merge remote-tracking branch 'origin/master' 2017-10-25 17:11:49 +02:00
JC Brand
00f111498d Include timestamps in debug logs 2017-10-25 17:11:34 +02:00
Weblate
6c2f7c8745 Merge remote-tracking branch 'origin/master' 2017-10-24 12:56:47 +02:00
JC Brand
f73075d20a Move translation machinery into a separate module 2017-10-24 12:56:35 +02:00
JC Brand
20f3172f5e Add fixme note 2017-10-24 11:07:58 +02:00
Weblate
15430a159f Merge remote-tracking branch 'origin/master' 2017-10-23 14:18:14 +02:00
JC Brand
dffc6fbb50 Throw more helpful error when there's no connection 2017-10-23 12:18:00 +00:00
JC Brand
71440fe2e0 Add another example to the section about dealing with async 2017-10-23 12:15:57 +00:00
Allan Nordhøy
6392b11cce Translated using Weblate (Norwegian Bokmål)
Currently translated at 70.3% (199 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/
2017-10-18 00:47:44 +02:00
Weblate
7368900112 Merge remote-tracking branch 'origin/master' 2017-10-15 11:42:47 +02:00
Giuseppe Pignataro
d5ac15319c Updated italian translation (#932) 2017-10-15 11:42:41 +02:00
Jean-Baptiste
ddac7658ab Translated using Weblate (French)
Currently translated at 100.0% (283 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2017-10-05 12:10:40 +02:00
anonymous
fca70a4b9e Translated using Weblate (French)
Currently translated at 96.1% (272 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2017-10-05 12:07:06 +02:00
Jean-Baptiste
c9945145a4 Translated using Weblate (French)
Currently translated at 95.7% (271 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2017-10-05 12:06:23 +02:00