JC Brand
|
ba09996998
|
Don't allow PEP bookmarks if #publish-options is not advertised
|
2018-02-08 09:49:05 +01:00 |
|
Weblate
|
9d031d6fce
|
Merge remote-tracking branch 'origin/master'
|
2018-02-07 22:00:10 +01:00 |
|
JC Brand
|
fbef370b65
|
Listen for new room bookmarks pushed from the user's PEP service
|
2018-02-07 21:59:45 +01:00 |
|
Emmanuel Gil Peyrot
|
6269729ab8
|
Translated using Weblate (French)
Currently translated at 100.0% (285 of 285 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
|
2018-02-07 21:36:23 +01:00 |
|
JC Brand
|
5f3761dc7f
|
Only initialize bookmarks and show icon if PEP is supported
which we check by checking if the PEP identity is provided.
https://xmpp.org/extensions/xep-0163.html#support
|
2018-02-07 21:05:38 +01:00 |
|
JC Brand
|
bbe47b465d
|
Looks like this ain't necessary
Also, the condition was the opposite of what it should have been.
|
2018-02-07 17:26:09 +01:00 |
|
JC Brand
|
1759cc1672
|
Advertise support for spoilers
|
2018-02-07 17:25:49 +01:00 |
|
JC Brand
|
d4ceb6d340
|
Add the ability to query for a disco identity
|
2018-02-07 17:24:25 +01:00 |
|
JC Brand
|
2f19fd983f
|
Fix mastodon logo for firefox
|
2018-02-07 15:51:14 +01:00 |
|
JC Brand
|
3a743dd974
|
Update docs concerning XEP-0382
|
2018-02-07 15:32:32 +01:00 |
|
JC Brand
|
4732f315ed
|
Use "hidden message" instead of spoiler
|
2018-02-07 14:39:45 +01:00 |
|
JC Brand
|
f267ee5ae0
|
Looks like new messages can have an archive_id
|
2018-02-07 14:28:35 +01:00 |
|
JC Brand
|
4742e66b69
|
Fix linting errors and failing tests
|
2018-02-07 14:21:46 +01:00 |
|
JC Brand
|
e7aed050b4
|
Move test pages into the tests folder
|
2018-02-07 13:26:39 +01:00 |
|
JC Brand
|
9c3e9233e4
|
Test that the spoiler button is hidden when OTR is active
|
2018-02-07 13:16:34 +01:00 |
|
JC Brand
|
0031938b97
|
Make the toolbar a little lighter
|
2018-02-07 13:16:34 +01:00 |
|
JC Brand
|
aab957b0b8
|
Show only icon for OTR button
|
2018-02-07 11:16:24 +01:00 |
|
JC Brand
|
86a962bee2
|
Don't render message form via separate Backbone.View
Appeared to only complicate things...
|
2018-02-07 11:16:24 +01:00 |
|
JC Brand
|
cc4d4a6f40
|
Properly configure visibility of spoiler toolbar button
|
2018-02-07 10:32:21 +01:00 |
|
JC Brand
|
e34fa5d635
|
Style the spoiler
|
2018-02-07 10:30:06 +01:00 |
|
JC Brand
|
20706cb617
|
Expand the spoiler tests
|
2018-02-06 21:21:21 +01:00 |
|
JC Brand
|
f6db2a9167
|
Use template to render the spoiler message.
|
2018-02-06 18:58:06 +01:00 |
|
JC Brand
|
3b850c77ea
|
Move focus method into ChatBoxMessageForm
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
7ee0b19409
|
Move code to chatview
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
253c4d736e
|
Focus the textarea after toggling between spoiler or not
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
19d9e281ae
|
Update css and keep input and textarea values across toggles
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
d5348ea899
|
Render the message form via VDOMView
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
4e077aac08
|
Start moving code from the plugin to converse-chatview
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
400bdf775d
|
More refactoring of spoilers code
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
fa06b528e1
|
Also show spoiler for sent messages.
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
d6da643a7f
|
Add an (incomplete) test for a received spoiler message
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
b1ffb34b76
|
Add docstrings
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
7870fc53ca
|
Refactor adding of spoiler stanza element into separate method
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
293ca2c75c
|
Let the OTR code for adding a button mirror the spoiler way
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
7bf157d9b2
|
Refactor code that adds button into new method.
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
7f9f62476d
|
Render spoiler button as a template
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
ed33d4e53d
|
Add spec for spoilers, clean up linting errors
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
be8b9edf2a
|
Remove tabs
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
41bbf653b9
|
Handle cases where hint is not supplied.
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
934e5ad421
|
Display images inside spoilers. Emojis not handled properly
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
1a1a7a4b27
|
Add event and logic to display spoiler messages
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
808cc385a5
|
Refactor to remove jQuery syntax
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
093fd7a283
|
Start overriding renderMessage() properly
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
226df674ae
|
Start message rendering
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
4451a7c813
|
Use events in a less obscure manner
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
affd08bdaa
|
Send user's hint if any
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
98fe606222
|
Send hints
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
26c579e326
|
Start with sending stanza with spoiler
|
2018-02-06 18:05:12 +01:00 |
|
Seve
|
a2b2291ef6
|
Initial concept for spoilers editor
|
2018-02-06 18:05:12 +01:00 |
|
JC Brand
|
3eb3668bef
|
Small fixes
|
2018-02-06 18:05:12 +01:00 |
|