JC Brand
f9aa75b69e
Refactored message attributes and rendering.
...
- set `username` on the message object,
instead of always using `fullname` with fallback to `jid`.
- Distinguish better between `groupchat` messages and normal
messages in `getMessageAttributesFromStanza`
2018-05-01 12:30:58 +02:00
JC Brand
54cafb1243
Update vcard.get
API method to accept either a JID string or a model
2018-05-01 11:45:12 +02:00
JC Brand
b6f10f0efe
Update eslint to ES2017 syntax so that we can use async/await
2018-05-01 11:30:46 +02:00
JC Brand
62cdd03562
Make sure to enter chatroom in test
2018-05-01 09:47:45 +02:00
Nathan Follens
f87c5693b7
Translated using Weblate (Flemish)
...
Currently translated at 100.0% (313 of 313 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
2018-04-30 21:58:15 +02:00
Nathan Follens
dec6a0c2a4
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (313 of 313 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl/
2018-04-30 21:54:32 +02:00
JC Brand
097d992d13
Bugfix, /me message wrongly marked as followup message.
2018-04-30 16:23:52 +02:00
JC Brand
9d95d2d924
Regenerated pot, po and json files for i18n
2018-04-30 16:17:11 +02:00
Weblate push user
9f673dcd6a
Update from Weblate. ( #1093 )
...
* Translated using Weblate (Basque)
Currently translated at 90.4% (275 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
* Translated using Weblate (Basque)
Currently translated at 96.3% (293 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
* Translated using Weblate (Basque)
Currently translated at 96.7% (294 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
* Translated using Weblate (Basque)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl/
* Translated using Weblate (Basque)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
* Translated using Weblate (Japanese)
Currently translated at 98.0% (298 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
* Translated using Weblate (Japanese)
Currently translated at 98.0% (298 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
* Translated using Weblate (Basque)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 87.1% (265 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/
* Translated using Weblate (Japanese)
Currently translated at 98.0% (298 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
* Added translation using Weblate (Flemish)
* Translated using Weblate (Flemish)
Currently translated at 94.7% (288 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
* Translated using Weblate (Flemish)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl/
* Translated using Weblate (Flemish)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
* Added translation using Weblate (Lithuanian)
* Translated using Weblate (Japanese)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
* Translated using Weblate (Lithuanian)
Currently translated at 39.1% (119 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/lt/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
* Translated using Weblate (Flemish)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
* Translated using Weblate (Arabic)
Currently translated at 83.2% (253 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ar/
* Translated using Weblate (Flemish)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
* Translated using Weblate (Italian)
Currently translated at 84.8% (258 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
* Translated using Weblate (Italian)
Currently translated at 84.8% (258 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
* Translated using Weblate (Russian)
Currently translated at 99.3% (302 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ru/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (304 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
* Translated using Weblate (French)
Currently translated at 99.3% (302 of 304 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2018-04-30 16:13:21 +02:00
JC Brand
cfea066a29
update dist files
2018-04-30 16:05:20 +02:00
JC Brand
28ce3b5fa4
Fix paths for making css
2018-04-30 15:40:34 +02:00
JC Brand
eaf65f4d24
Add missing items-list class (as per mockup)
2018-04-30 15:37:37 +02:00
JC Brand
9f48b5cf51
Clean up the chatroom spec a bit
2018-04-30 15:37:37 +02:00
JC Brand
4f7c08b1da
Bail when in a callback for a hanging chatroom
2018-04-30 15:37:37 +02:00
JC Brand
3a37577252
Refactor to not have to rely on a spy
2018-04-30 15:37:37 +02:00
JC Brand
4bcf8e7bc3
Mark followup messags so that they can be styled differently
2018-04-30 15:37:37 +02:00
JC Brand
60c784a39e
Ensure that default image is used for avatars.
...
By overriding the `set` method.
2018-04-30 15:37:37 +02:00
JC Brand
58ca4a5664
Tweak message padding
2018-04-30 15:37:37 +02:00
JC Brand
6b18b2debc
Mention new donator
2018-04-30 15:37:37 +02:00
JC Brand
93af6f4d0d
In overlayed mode, don't pad followup messages
2018-04-30 15:37:37 +02:00
JC Brand
d316445fa0
Try to more intelligently break up long messages.
...
Use break-word in long URLs but not otherwise.
2018-04-30 15:37:37 +02:00
JC Brand
1873c43956
Move message-related tests into their own file
2018-04-30 15:37:37 +02:00
JC Brand
8fd65487c7
Use safeSave
to avoid intermittent test failures
...
due to asynchronous events.
2018-04-30 15:37:37 +02:00
JC Brand
876a07b3de
Fix the failing tests
2018-04-30 15:37:37 +02:00
JC Brand
1405d9cb49
Also style file upload and action messages.
2018-04-30 15:37:37 +02:00
JC Brand
209bac4b5e
Use uri.js to identify URLs in message text.
2018-04-30 15:37:37 +02:00
JC Brand
5ffb09bd15
Updates #161 : Treat sent files also as oob messages
2018-04-30 15:37:37 +02:00
JC Brand
ab09379a51
Move common Sass variables into a single file
...
Part of slowly trying to bring all styles into a single CSS file.
2018-04-30 15:37:36 +02:00
JC Brand
36ccb4618f
Tweak chatroom headings
2018-04-30 15:37:36 +02:00
JC Brand
56e4e8b8ee
Fix rendering of headline messages.
...
Also, add urijs to more intelligently handle URIs
2018-04-30 15:37:36 +02:00
JC Brand
3d42425083
Some UI improvements
...
- Render images as thumbnails
- Use the image.html template when rendering images from pasted URLs
- Update message and spoiler markup to render avatars
- Use the default avatar as fallback when user doesn't have one
- Instead of 'me' render own name or JID
2018-04-30 15:37:36 +02:00
JC Brand
f913ee86f0
Fix chat-image styling. Add spoiler margin
2018-04-30 15:37:36 +02:00
JC Brand
afcb808127
Mockup: Add "Announcements" section, update markup and styles for user-panel
2018-04-30 15:37:36 +02:00
JC Brand
57f7e31aa1
Add a spoiler message to the mockups
2018-04-30 15:37:36 +02:00
JC Brand
1fe6015787
Reuse chatroom and chatbox markup across mockups
2018-04-30 15:37:36 +02:00
JC Brand
aa6a739cfa
Initial work on showing avatars in messages.
...
- Update the mockups to show avatars.
2018-04-30 15:37:36 +02:00
midzer
2b5b2fae2c
add another server which supports websockets ( #1086 )
2018-04-26 14:46:03 +02:00
JC Brand
d7203a5da3
Indentation
2018-04-25 18:19:12 +02:00
JC Brand
ee46b0ccad
CSS fixes to embedded chat
...
* Don't change styling based on media queries
* Fix offsets so that an embedded chat fits properly inside container element
2018-04-25 18:04:04 +02:00
JC Brand
a15192974d
Update mockup somewhat to see how to more nicely render avatars
2018-04-25 18:02:39 +02:00
JC Brand
e487fe4e54
Update mockups and tweak margin for chatroom in responsive mode
2018-04-24 18:22:44 +02:00
JC Brand
d0387a65ca
Let an embedded MUC expand to fill its containing element
2018-04-24 17:31:44 +02:00
JC Brand
6cce931086
Make sure show
is created on all chatbox types
2018-04-24 16:39:39 +02:00
JC Brand
fe1ba6265a
Revert "Doesn't seem necessary to build fonts.css"
...
Actually, it's used for rendering a MUC inside a webcomponent!
2018-04-24 16:27:56 +02:00
JC Brand
07ac8d4a3e
Various HTML/CSS fixes for the demos, particularly embedded MUC
2018-04-24 14:46:09 +02:00
JC Brand
fb11cfe795
Add converse-embedded
class without requiring an override
2018-04-24 14:35:47 +02:00
JC Brand
76a47829cd
Optimize keyPressed
slightly
2018-04-24 14:35:29 +02:00
JC Brand
7807b19905
Debounce show
similarly to other methods
2018-04-24 14:34:19 +02:00
JC Brand
71be72b50c
Automatically grow/shrink input as text is entered/removed
2018-04-24 14:33:00 +02:00
JC Brand
59a72efe1b
Refactor MUC message sending
...
To make it more similar to how messages are sent in private chats and to
reuse methods as far as possible.
Removed `sendChatRoomMessage` and `clearChatRoomMessages`
2018-04-24 11:09:36 +02:00