Commit Graph

5181 Commits

Author SHA1 Message Date
JC Brand
1c89af47ef Bugfix. Promise is not callable 2018-10-13 14:14:02 +02:00
JC Brand
7270abb08b Some refactoring of the code that collapses leave/join messages
Mostly to match any previous leave/join message from the same user

Fixes #1062
2018-10-13 13:23:55 +02:00
JC Brand
7b9c97dfd3 Also squash leave/join messages
And fix an HTML rendering bug for info messages and nicks that contain spaces
2018-10-11 19:04:06 +02:00
JC Brand
71cc98d6f6 Reduce join/leave clutter by removing subsequent ones
Previously we checked only if the last message was a join message from
the same person.

Now instead we check the last n messages that are join or leave
notifications.
2018-10-11 15:59:52 +02:00
JC Brand
cf75d37587 join/leave notification fixes.
* Don't show leave notification twice when someone leaves, joins and then leaves again
* Add a test case for a member joining and then leaving
2018-10-11 14:05:52 +02:00
JC Brand
5316aad340 Fix occupants offset in overlay view mode 2018-10-11 14:05:47 +02:00
JC Brand
aa50942400 Don't show join message for non-online occupants created from members list
Fixes #1169
2018-10-11 13:23:39 +02:00
JC Brand
8c772a7f71 We do actually want to show join/leave messages for members 2018-10-11 13:21:01 +02:00
JC Brand
a339053163 Revert "Remove check for @ and for allow_non_roster_messaging"
Seems to make some sense after all, but we need to add a check that the
user isn't a roster contact as well.
2018-10-11 11:58:45 +02:00
JC Brand
eee7ff763e Remove check for @ and for allow_non_roster_messaging
The second especially doesn't make sense and I'm currently not aware of
a case headline stanzas with a JIDs containing `@` and with a body
exist.
2018-10-11 11:02:20 +02:00
JC Brand
dffcc13dea Fixes #1140 Add support for destroyed chatrooms 2018-10-10 22:57:12 +02:00
JC Brand
7cc59b9ef3 Check in test that headliness box is not created.
Updates #1221
2018-10-10 20:17:56 +02:00
JC Brand
23e9c48e53 Avoid creating a headlines box...
if we don't have anything to show inside it.

Updates #1221
2018-10-10 20:12:29 +02:00
JC Brand
9cd458668b Upgrade ruby Sass and dependencies 2018-10-10 19:31:10 +02:00
JC Brand
5c3661d730 Remove unused dependency protobufjs 2018-10-10 19:28:25 +02:00
Licaon_Kter
20ca324cd8 Fix a typo in MUC error messages (#1238)
* Typo in error message
2018-10-09 06:51:31 +02:00
JC Brand
2f5691dc1e Fix broken fa icon 2018-10-08 14:54:14 +02:00
JC Brand
053d4070f2 Fixes #1176
Add config setting `send_chat_state_notifications`
2018-10-07 05:08:08 +02:00
JC Brand
b039398a73 Fixes #1204 2018-10-07 05:05:29 +02:00
JC Brand
6a5a502d58 Add support for rendering xmpp: and mailto: URIs 2018-10-07 04:46:41 +02:00
JC Brand
7a612460da Fixes #1063 Make URLs in topic clickable 2018-10-07 03:31:18 +02:00
JC Brand
5d97445d3e Show the sponsors in the sphinx docs 2018-10-06 22:29:57 +02:00
JC Brand
2b5d6327f8 New builds 2018-10-06 19:39:45 +02:00
Emmanuel Gil Peyrot
e9007146aa Improve the moderated and not moderated explanations 2018-10-06 19:32:03 +02:00
JC Brand
d81f585894 Updates #1232 2018-10-06 19:30:04 +02:00
JC Brand
269ff9a158 Make sure website css is also built by watch command 2018-10-06 08:03:57 +02:00
JC Brand
490d3bbdf1 Let make watch handle both css and js 2018-10-06 06:59:04 +02:00
JC Brand
c62dca4bd4 Fixes #1199 Provide a link back to the login form 2018-10-05 20:32:34 +02:00
JC Brand
d30efcb3ab Better bootstrap markup for the account registration form 2018-10-05 20:12:13 +02:00
JC Brand
11bd3db86b Fixes #1190 by explicitly setting the column width 2018-10-05 17:40:57 +02:00
JC Brand
7a330600d4 Fixes #1214
Hide "add contact" button and requesting/pending contacts when
allow_contact_requests is false.
2018-10-05 17:19:53 +02:00
JC Brand
ad142028ca Updated builds 2018-10-05 04:54:00 +02:00
JC Brand
82ce73005b Fixes #1222 2018-10-05 04:54:00 +02:00
JC Brand
5836e9d805 Formatting 2018-10-05 04:43:24 +02:00
JC Brand
d426d79702 Bugfix. Room features weren't being refreshed properly
We were removing the disco entity, but it's associated collections
(`features`, `fields`, `identities` etc) were still stored in
localStorage and not cleared.

So when the entity gets recreated, the stale localStorage cached items
repopulate the collections.

Added `refreshFeatures` API method for refetching disco features and use
that instead.
2018-10-05 04:42:34 +02:00
JC Brand
c1106f3867 Bugfix. Handler not triggered when submitting password form 2nd time 2018-10-05 03:29:14 +02:00
JC Brand
9bc8bdf34c Test updates after updating to use latest strophe.js
`toLocaleString` now returns element attributes in alphabetical order
(for better cross-browser consistency).

Also, `toLocaleString` is now used in favor of `outerHTML` because
browsers aren't consistent with one another in their output.
2018-10-03 21:11:20 +02:00
JC Brand
79b8ed7177 New release 4.0.2 2018-10-02 22:51:01 +02:00
JC Brand
dbfd460125 Don't include additionalData when en/decrypting with crypto.subtle
Otherwise compatibility with Conversations is broken.
Unfortunately this means that OMEMO won't work on Edge, because it
for some reason requires the additionalData.

References:
* https://github.com/conversejs/converse.js/issues/1187#issuecomment-426276243
* https://stackoverflow.com/questions/42933162/web-crypto-api-using-microsoft-edge-38-14393-0-0/42950731

Fixes #1187
2018-10-02 22:07:16 +02:00
JC Brand
148eaeacf5 Bugfix. Error messages don't have associated vcards 2018-10-02 18:04:03 +02:00
JC Brand
ba37826d44 Hook in Hindi and Romanian and update all pot, po and json files 2018-10-02 17:34:59 +02:00
Emmanuel Gil Peyrot
7bc345cac5 Translated using Weblate (French)
Currently translated at 99.7% (338 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-10-02 17:19:58 +02:00
madmalkav
d7440a38b7 Translated using Weblate (Spanish)
Currently translated at 65.4% (222 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2018-10-02 17:19:36 +02:00
Licaon Kter
428992275a Added translation using Weblate (Romanian)
Currently translated at 25.6% (87 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ro/
2018-10-02 17:19:11 +02:00
John Doe
2f7e936a39 Added translation using Weblate (Hindi)
Currently translated at 12.0% (41 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hi/
2018-10-02 17:19:11 +02:00
Emmanuel Gil Peyrot
7d92d79986 Translated using Weblate (French)
Currently translated at 97.6% (331 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-10-02 17:19:11 +02:00
Sneer Sneerowski
1bc665ad94 Translated using Weblate (Polish)
Currently translated at 82.5% (280 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pl/
2018-10-02 17:18:27 +02:00
ButterflyOfFire
efc10d71c3 Translated using Weblate (Arabic)
Currently translated at 84.6% (287 of 339 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ar/
2018-10-02 17:13:49 +02:00
JC Brand
45643d52bf fixes #1225 2018-10-01 21:50:25 +02:00
JC Brand
defe32d172 Make sure omemo tests pass on Firefox 2018-09-25 14:05:56 +02:00