Commit Graph

4859 Commits

Author SHA1 Message Date
JC Brand
5d64f4c704 Newly generated build 2018-08-09 15:46:52 +02:00
JC Brand
c25cc4c76b Bugfix. Existing occupants weren't found because query was only by jid
Which meant that occupants were being duplicated.

updates #1146
2018-08-09 15:46:49 +02:00
JC Brand
1aceaa9c40 Avoid creating unnecesary promises
by returning existing promises and by using _converse.api.sendIQ
2018-08-09 14:44:39 +02:00
JC Brand
daf470e311 Check permissions before attempting to execute action on behalf of user 2018-08-09 14:43:40 +02:00
JC Brand
3564c8748a Increase line-height to avoid text being cut off 2018-08-09 10:38:28 +02:00
JC Brand
5e42bb2d49 Bugfix. Don't only set, save to storage.
Otherwise the flag doesn't persist across page loads.
2018-08-08 10:01:26 +02:00
JC Brand
8d40d5f108 Bugfix. Stanza passed in as 2nd parameter 2018-08-08 09:43:32 +02:00
JC Brand
99bdf235dd Newly generated build 2018-08-07 15:32:13 +02:00
JC Brand
2d05487862 More code reuse between chatboxview and chatroomview 2018-08-07 15:32:13 +02:00
JC Brand
2600372a2e Hide the textarea resize handle 2018-08-07 15:32:12 +02:00
JC Brand
d852721933 Place cursor at the end when correcting a message 2018-08-07 10:09:36 +02:00
JC Brand
08dce556f9 When correcting a message, also highlight the textarea. 2018-08-07 10:09:35 +02:00
JC Brand
27bc33ba09 Use nickname from global settings when entering a room 2018-08-07 10:09:35 +02:00
JC Brand
bfb7ea4fc8 Add missing index.rst to integrate JSDoc API into sphinx 2018-08-03 14:48:04 +02:00
JC Brand
0a00c61731 Updated JSON translation files 2018-08-03 14:22:39 +02:00
Weblate push user
0dce7ddceb Update from Weblate. (#1150)
* Translated using Weblate (German)

Currently translated at 100,0% (323 of 323 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 65.3% (211 of 323 strings)

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

* 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-08-03 12:44:09 +02:00
JC Brand
890dbca8b8 Fix tests failing on Travis 2018-08-02 08:30:37 +02:00
JC Brand
b027f0f784 Fixes #1143 Disallow sending of empty messages 2018-08-01 18:48:02 +02:00
JC Brand
f120fbd209 Bugfix. Own groupchat messages weren't being recognized 2018-08-01 18:37:54 +02:00
JC Brand
dc4c832fce Add jsdoc docstrings to chats API.
Link to the jsdoc output from the Sphinx docs
2018-08-01 12:11:10 +02:00
JC Brand
506aa33131 Wait for promises before opening chats in API methods 2018-08-01 11:12:00 +02:00
JC Brand
cb118b9cd0 Extract inline code into method 2018-08-01 11:10:43 +02:00
JC Brand
cbe6092c33 Handle case where chat content is empty 2018-08-01 11:10:43 +02:00
JC Brand
1443fdd447 (WIP) Wait for promises before opening chats in API methods 2018-08-01 11:10:43 +02:00
JC Brand
4115461409 Make tests independent of URL at which they're run 2018-07-31 19:13:49 +02:00
Emmanuel Gil Peyrot
8de78dfaf5 Fix disco#info result stanza
Converse forgot to add the wrapping query element, making the iq
invalid[1].

Thanks to lovetox for reporting this bug!

[1] https://pastebin.com/raw/T7h3FKHu
2018-07-31 17:52:07 +02:00
JC Brand
7c20e16ea8 Bump bootstrap.native 2018-07-30 16:43:28 +02:00
JC Brand
7a47b7b992 Don't require a chat JID to be specified in embedded mode
We might want to only open a chat later.
2018-07-30 16:42:54 +02:00
JC Brand
7fafc6758e Updated build 2018-07-28 17:16:33 +02:00
JC Brand
964b10dc33 Set default BOSH wait time to 59
to avoid timing conflicts with the webserver
2018-07-28 17:13:13 +02:00
JC Brand
b323794fe4 Document timeout fix for parsing errors 2018-07-28 16:57:08 +02:00
JC Brand
4cefc7cdf9 Fix failing tests due to renames 2018-07-25 12:05:09 +02:00
JC Brand
d7a3e50539 Merge branch 'translation-fixes' 2018-07-22 12:13:15 +02:00
JC Brand
ba33e02f65 Translation fixes.
- Found more instance of `room` to be replaced with `groupchat`
- Fix fatal errors in po files
- Update af translations
2018-07-22 12:08:18 +02:00
JC Brand
5abb9f8bb2 Found more instance of room to be replaced with groupchat 2018-07-22 11:31:45 +02:00
JC Brand
6424844a90 Updated translation files 2018-07-22 10:43:50 +02:00
Weblate push user
9329fb4eee Update from Weblate. (#1141)
* Translated using Weblate (French)

Currently translated at 99.3% (316 of 318 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (318 of 318 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-07-22 10:41:58 +02:00
JC Brand
87406f5f93 Allow messages to be edited by clicking a pencil icon
updates #421
2018-07-21 10:41:10 +02:00
linkmauve
8069e73fb4 Fix some more links to use HTTPS. (#1136)
* Actually fix the correct link to the room.

* Update the other opcode.com links to HTTPS.

* Update all other links to HTTPS.

* Update all links to HTTPS also in the README.

The mailing list and Patternslib don’t support it yet.
2018-07-21 08:20:40 +02:00
JC Brand
6a790916d3 Only own messages should be editable.
Fixes #1139
2018-07-21 08:12:33 +02:00
JC Brand
acd9a18696 Update with new message markup 2018-07-21 07:34:03 +02:00
JC Brand
6a462f6c2c Fix tests for the fullscreen view_mode 2018-07-20 15:28:45 +02:00
JC Brand
b751c06694 Start using BEM to structure messages Sass/CSS
updates #421
2018-07-20 14:09:30 +02:00
JC Brand
25f9e5ad7c Fix links. Thanks @linkmauve 2018-07-20 14:08:43 +02:00
Weblate push user
bfab0d3021 Translated using Weblate (Chinese (Simplified)) (#1135)
Currently translated at 21.4% (70 of 327 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/
2018-07-19 17:14:34 +02:00
JC Brand
778436412c Tweak the subtitle of private chats' headings 2018-07-19 17:09:48 +02:00
JC Brand
5444f54d00 Add message edit icons to mockups
updates #421
2018-07-19 17:06:58 +02:00
linkmauve
d25b227ba4 Remove @locked_domain if it has been provided in the JID. (#1132)
Fixes #917.
2018-07-17 08:15:27 +02:00
JC Brand
6130ca3745 Revert "Remove position:relative in embedded CSS (#1122)"
This reverts commit 563bee916a.
2018-07-16 01:21:42 +02:00
linkmauve
563bee916a Remove position:relative in embedded CSS (#1122)
This was rendering the content outside of the viewport, rendering Converse.js unusable.
2018-07-16 01:13:40 +02:00