JC Brand
|
9c3e9233e4
|
Test that the spoiler button is hidden when OTR is active
|
2018-02-07 13:16:34 +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
|
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
|
b1ffb34b76
|
Add docstrings
|
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
|
34b592be09
|
Fixes #921
|
2018-01-29 15:16:44 +01:00 |
|
JC Brand
|
e5006b0004
|
Fixes #1000. Scroll down when maximizing a chat room
|
2018-01-29 11:40:42 +01:00 |
|
JC Brand
|
4b64522c18
|
Fixes #993.
|
2018-01-22 12:41:45 +01:00 |
|
JC Brand
|
db8fd5c018
|
Turn off message animations by default
|
2018-01-18 11:41:47 +01:00 |
|
JC Brand
|
210a75b02f
|
Scroll down again after all images have been loaded.
|
2018-01-17 19:29:11 +01:00 |
|
ChaosKid42
|
115b887802
|
Send emojis as unicode (#977)
* render the shortnames as unicode when sending a message
* updated CHANGES.md
|
2018-01-17 17:03:23 +01:00 |
|
JC Brand
|
e2a545a849
|
No need for animations during testing
|
2018-01-16 16:55:38 +01:00 |
|
JC Brand
|
8997af7890
|
Updates #984 Add color-fadein animation for messages
|
2018-01-16 16:36:23 +01:00 |
|
JC Brand
|
2cb4a36a6b
|
Updates #984: Remember scroll position when using infinite scroll.
|
2018-01-16 15:38:08 +01:00 |
|
JC Brand
|
95bf69b8a9
|
Maintain simplicity by using only one variable instead of two
|
2018-01-16 14:56:58 +01:00 |
|
JC Brand
|
f1c8de15d1
|
Make DOM traversal methods more generic and move to utils.
|
2018-01-16 14:56:23 +01:00 |
|
JC Brand
|
9b3c6d1a3a
|
Fixes #985 Give help messages a "message" class and isodate data attr.
|
2018-01-15 20:32:24 +01:00 |
|
JC Brand
|
e9bba77b36
|
Add test for /help command in private chats
|
2018-01-15 18:41:04 +01:00 |
|
JC Brand
|
76170427ec
|
Bugfix. Exclude chat events when looking for first/last/prev message
Also, don't clear events in `renderMessage`, try to keep it free from
side-effects.
|
2018-01-11 22:47:37 +00:00 |
|
JC Brand
|
8d999b2802
|
Explicit plugin dependencies. Make hide_open_bookmarks false by default
|
2018-01-10 13:26:50 +00:00 |
|
JC Brand
|
c22aff9b13
|
Use newest pluggable.js.
`optional_dependencies` is now called `dependencies`
|
2018-01-10 13:13:26 +00:00 |
|
JC Brand
|
4f227b467b
|
Take all messages except chat events into consideration
when determining where to insert new messages
|
2018-01-10 12:45:12 +00:00 |
|
JC Brand
|
da1f103532
|
Bugfix. Don't include .chat-events, to avoid null reference
|
2018-01-09 13:40:32 +00:00 |
|
JC Brand
|
2c7a942fbc
|
Remove unused declaration
|
2018-01-09 13:40:32 +00:00 |
|
JC Brand
|
16b8946dd9
|
Updates #978: Use moment and generate date in correct format
|
2018-01-04 13:11:51 +00:00 |
|
JC Brand
|
199e2e7e27
|
The refreshWebkit hack appears to no longer be necessary
|
2018-01-04 12:11:03 +00:00 |
|
JC Brand
|
671691353a
|
Use Backbone.NativeView instead of Backbone.View
|
2018-01-03 20:41:03 +00:00 |
|
JC Brand
|
f1820e5fcd
|
Set dependencies for chatview and muc
|
2018-01-03 16:08:30 +00:00 |
|
JC Brand
|
da3670d9f0
|
MUC Join/Leave messages now also show a new day indicator
|
2018-01-03 13:37:25 +00:00 |
|
JC Brand
|
46e54667c3
|
Simplify insertDayIndicator method
|
2018-01-03 13:37:25 +00:00 |
|
JC Brand
|
cc29d16929
|
Simplify message insertion into the chat area
|
2018-01-03 13:37:25 +00:00 |
|
JC Brand
|
e360d9eead
|
Removed jquery from converse-chatview
|
2018-01-02 21:52:55 +00:00 |
|
JC Brand
|
ee15e9e331
|
Fix and test message ordering
|
2018-01-02 20:25:30 +00:00 |
|
JC Brand
|
21a46a15ae
|
Bugfix. markScrolled wasn't debounced for MUC.
|
2017-12-25 11:59:54 +00:00 |
|
JC Brand
|
91526c3a46
|
Bugfix. Query all messages
|
2017-12-25 09:46:13 +00:00 |
|
JC Brand
|
1e1aa1d9c9
|
Some refactoring while removing jquery
|
2017-12-24 17:09:49 +00:00 |
|
JC Brand
|
334a24c938
|
Use template to render .chat-info messages
Also did some work on removing jQuery from converse-chatview
|
2017-12-24 17:09:49 +00:00 |
|
JC Brand
|
fb35ed844a
|
Avoid flashing when opening chat room.
|
2017-12-20 11:02:46 +00:00 |
|
JC Brand
|
3f94028377
|
Speed up rendering of chat boxes by lazily rendering the emoji picker
|
2017-12-20 11:02:46 +00:00 |
|
JC Brand
|
19979c4840
|
Listen to animationend event instead of using setTimeout
|
2017-12-20 11:02:46 +00:00 |
|
JC Brand
|
32621b8327
|
Clear chat_state timer when closing chat
|
2017-12-19 19:17:38 +00:00 |
|
JC Brand
|
a4a1c80b5b
|
Bugfix. In a MUC the /help command didn't render properly
|
2017-12-06 17:01:17 +01:00 |
|
JC Brand
|
1adc4938a8
|
Fetch VCard when starting a chat with someone not in the user's roster
|
2017-12-03 20:50:13 +01:00 |
|
JC Brand
|
e701305d05
|
Bugfix. Avatar wasn't being shown
|
2017-12-02 18:07:31 +01:00 |
|
JC Brand
|
063908e032
|
Append spinner when fetching newer messages
|
2017-12-02 15:09:04 +01:00 |
|
JC Brand
|
fa7ca46d12
|
Text fixes based on feedback from translator
|
2017-11-23 12:10:40 +01:00 |
|
JC Brand
|
141eaa6a39
|
Fix rendering of heading for headlines boxes
|
2017-11-17 14:41:54 +01:00 |
|
JC Brand
|
ca0cbb1c31
|
Use an img tag instead of canvas for rendering avatars
|
2017-11-17 13:19:21 +01:00 |
|
JC Brand
|
bac1d22205
|
Fix: In chatbox heading two avatars sometimes get rendered
|
2017-11-17 12:50:16 +01:00 |
|
JC Brand
|
adb92a2eda
|
Two small UX fixes
- Don't close the emojis panel after inserting an emoji.
- Focus the message textarea when the emojis panel is opened or closed.
|
2017-11-12 20:08: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
|
b9b9689668
|
Fixes #912 maximize method in converse-minimize fails...
if the `controlbox` is not there.
Also, make `converse-controlbox` and `converse-muc` optional dependencies of
`converse-minimize`.
|
2017-08-29 12:21:53 +02:00 |
|
JC Brand
|
3b8c2d1b00
|
Various bug and timing fixes due to the previous refactoring
|
2017-08-16 14:16:24 +02:00 |
|
JC Brand
|
273da9e876
|
Move chatboxes collection and overview into separate plugin
|
2017-08-16 12:32:15 +02:00 |
|
JC Brand
|
eed936ff64
|
Trying to fix timing/heisenbugs on Travis
|
2017-08-09 14:21:24 +02:00 |
|
JC Brand
|
5a67d985dc
|
emoji: Render shortname in textarea, not unicode.
|
2017-08-09 12:33:00 +02:00 |
|
JC Brand
|
a9d1e5c235
|
Don't use forEach on nodeList objects (not supported by all browsers).
|
2017-08-08 15:32:53 +02:00 |
|
JC Brand
|
0a47f60f94
|
Emit new event `afterMessagesFetched `
|
2017-07-21 15:09:50 +02:00 |
|
JC Brand
|
e4ebcc8f71
|
emoji: various css and html changes to improve ui/ux in converse and inverse
|
2017-07-16 15:04:54 +02:00 |
|
JC Brand
|
ffdd4e25f3
|
emoji: remember category and skin tone selection
|
2017-07-16 14:12:17 +02:00 |
|
JC Brand
|
8c4f6ffe03
|
emoji: Listen for clicks on a larger surface area
|
2017-07-16 13:41:01 +02:00 |
|
JC Brand
|
e3d2abf0ec
|
emoji: Make sure emojis are also rendered for ascii emoticons
|
2017-07-16 12:50:59 +02:00 |
|
JC Brand
|
49f26d8e49
|
emoji: Allow the assets path of Emojione to be overridden
|
2017-07-16 12:30:40 +02:00 |
|
JC Brand
|
f8c6467feb
|
emoji: Show only one skin-tone at a time (including the "neutral" one)
|
2017-07-16 12:29:09 +02:00 |
|
JC Brand
|
3ebe41384d
|
emoji: Remember scroll position when rerendering the emoji picker
|
2017-07-16 12:29:09 +02:00 |
|
JC Brand
|
9a5f2fce61
|
emoji: Add a skin-tone picker to the emoji toolbar
|
2017-07-16 12:29:09 +02:00 |
|
JC Brand
|
12510a9689
|
emoji: Fix rendering of emojione images
|
2017-07-16 12:29:05 +02:00 |
|
JC Brand
|
972c31be1d
|
emoji: Allow the option of using emojione (now that we sanitize)
|
2017-07-16 12:29:02 +02:00 |
|
JC Brand
|
284e884766
|
Add js-xss and use it to sanitize message HTML
|
2017-07-15 19:15:48 +02:00 |
|
JC Brand
|
f69e39dc8b
|
Reuse code for submitting a message
|
2017-07-15 15:58:11 +02:00 |
|
JC Brand
|
cf1e8f2921
|
Fix failing test for emoji picker
|
2017-07-15 15:16:38 +02:00 |
|
JC Brand
|
4ea50de927
|
Use emoji instead of emoticon
|
2017-07-15 15:14:47 +02:00 |
|
JC Brand
|
b2a118ca9e
|
Refactor slide methods in utils and use them for toolbar menus
|
2017-07-15 11:03:22 +02:00 |
|
JC Brand
|
ce2548c838
|
Remove the visible_toolbar_buttons.emoticons config option
in favor of `visible_toolbar_buttons.emoji`.
|
2017-07-15 08:17:41 +02:00 |
|
JC Brand
|
67578c9747
|
Merge branch 'master' into emoji
|
2017-07-15 07:16:37 +02:00 |
|
JC Brand
|
6ef0536e31
|
Some work on using es6 promises
|
2017-07-10 21:14:48 +02:00 |
|
JC Brand
|
9a9eae3fcf
|
Use esnext to auto-generate es2015 syntax
|
2017-07-10 17:46:22 +02:00 |
|
JC Brand
|
40e7ee1ae6
|
Initial stab at using ES2015
Mostly replaced ``var`` with ``let`` and ``const``.
Also added a few arrow functions.
|
2017-07-10 12:49:20 +02:00 |
|
JC Brand
|
5ab1693136
|
logging: Add deprecation warning for updateSettings
and also use the Strophe.LogLevel levels for logging in general.
|
2017-07-05 11:33:55 +02:00 |
|
JC Brand
|
f81a94baf1
|
Move updateSettings to the private API.
Also add an API method for exposing new promises.
Update the plugin and API documentation, specifically concerning the above
changes.
|
2017-07-05 11:03:13 +02:00 |
|
JC Brand
|
4e467044d3
|
Some usability fixes around the toolbar and emojis
|
2017-06-24 11:34:01 +02:00 |
|
JC Brand
|
70f56b31f4
|
Merge branch 'master' into emoji
|
2017-06-24 11:04:19 +02:00 |
|
JC Brand
|
36e078c9f6
|
utils: Rename saveWithFallback to safeSave
|
2017-06-23 20:17:58 +02:00 |
|
JC Brand
|
3e8e770517
|
chatview: use utils.isPersistableModel
|
2017-06-23 18:19:20 +02:00 |
|
JC Brand
|
02e5921415
|
Fix problem of stuck/hanging tests on TravisCI
|
2017-06-19 15:05:22 +02:00 |
|
JC Brand
|
10ae9a5ea4
|
Remove the ability to use emojione for rendering emoji
Creates an XSS opening.
|
2017-06-17 01:01:52 +02:00 |
|
JC Brand
|
ca53a8d8ef
|
Add support for Emojis
|
2017-06-17 01:01:52 +02:00 |
|
JC Brand
|
076af0970f
|
Make spinner into a template
|
2017-06-14 19:43:02 +02:00 |
|
JC Brand
|
e1dace59ae
|
Bugfix. Don't scroll down on archived messages
when already scrolled up.
|
2017-06-14 19:43:02 +02:00 |
|
JC Brand
|
0d22f5c33c
|
Bugfix. Make sure to only append after a single message.
|
2017-06-14 19:43:02 +02:00 |
|
JC Brand
|
fcbeff4c72
|
Better check to know whether we can save the model
|
2017-06-06 22:12:54 +02:00 |
|