JC Brand
03b9447f1d
Asynchronously render spoiler button only if all clients support it
2018-02-08 17:48:15 +01:00
JC Brand
ba09996998
Don't allow PEP bookmarks if #publish-options is not advertised
2018-02-08 09:49:05 +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
4742e66b69
Fix linting errors and failing tests
2018-02-07 14:21:46 +01:00
JC Brand
ed33d4e53d
Add spec for spoilers, clean up linting errors
2018-02-06 18:05:12 +01:00
JC Brand
210a75b02f
Scroll down again after all images have been loaded.
2018-01-17 19:29:11 +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
8c616f0edd
Test breaks when run in a different timezone
2018-01-15 19:03:08 +01:00
JC Brand
e9bba77b36
Add test for /help
command in private chats
2018-01-15 18:41:04 +01: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
4652385bb4
Remove jQuery from non-tests config
2018-01-04 12:11:03 +00:00
JC Brand
7cf9c9ef8f
Fix linting error
2018-01-04 11:31:04 +00:00
JC Brand
671691353a
Use Backbone.NativeView instead of Backbone.View
2018-01-03 20:41:03 +00:00
JC Brand
46e54667c3
Simplify insertDayIndicator
method
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
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
ac643ae63f
Refactor views to use Backbone.OrderedListView
2017-12-22 12:02:18 +00:00
JC Brand
ce1954a9f7
Improved roster performance.
...
Don't sort the roster group for each `chat_status` change. Instead batch
every 500ms.
2017-12-20 16:59:17 +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
6c6ef1f1f9
Refactoring of the roster view.
...
* Removed the dependency on jQuery
* Contacts are now shown inside a group element, simplifying the code
2017-12-19 18:44:31 +00: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
fc94127014
Fix failing tests
2017-12-03 18:49:53 +01:00
JC Brand
d5e2aa5992
Fix failing test
2017-11-17 11:13:27 +01:00
JC Brand
3b8c2d1b00
Various bug and timing fixes due to the previous refactoring
2017-08-16 14:16:24 +02:00
JC Brand
ad695c253d
Trying to fix timing bug in tests (for Travis)
2017-08-16 10:10:38 +02:00
JC Brand
eed936ff64
Trying to fix timing/heisenbugs on Travis
2017-08-09 14:21:24 +02:00
JC Brand
02a055d31d
Bugfix. Query user's JID for mam:2
support, not the domain
2017-08-08 22:09:17 +02:00
JC Brand
22113a8ccb
Expand test for rendering of images (and fix accordingly)
2017-07-16 12:29:08 +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
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
3fabe88970
Updated package-lock. Fix tests.
2017-07-15 07:58:57 +02:00
JC Brand
67578c9747
Merge branch 'master' into emoji
2017-07-15 07:16:37 +02:00
JC Brand
16d62bf9e4
Fix broken tests due to using ES2015 promises
2017-07-11 17:05:02 +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
a36e8a63ce
Fix test when not running on localhost
2017-07-05 09:55:40 +00: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
70f56b31f4
Merge branch 'master' into emoji
2017-06-24 11:04:19 +02:00
JC Brand
02e5921415
Fix problem of stuck/hanging tests on TravisCI
2017-06-19 15:05:22 +02:00
JC Brand
ca53a8d8ef
Add support for Emojis
2017-06-17 01:01:52 +02:00
JC Brand
fb69106352
Fixes #887 Enclose embedded images in URLs
2017-06-16 15:11:19 +02:00
JC Brand
5949ca9e36
Show number of unread messages on the "Rooms" tab
2017-06-05 14:52:24 +02:00
Novokreshchenov Konstantin
7c057910a8
Inconsistent unread messages count updating #873 ( #874 )
...
* Consistent unread messages count updating on ChatBoxView, Minimized ChatBoxView, RosterView and page's title
* Add tests for checking unread messages count updates in different GUI parts
* Update docs/CHANGES.md
* document windowStateChanged event in events.rst
2017-05-03 09:06:28 +02:00
Novokreshchenov Konstantin
4b46ec3f8c
#591 Unread message counter is reset when the chatbox is closed ( #867 )
...
* chatview: disable handling onMessageAdded when fetching messages during initialization
* update CHANGES.md
2017-05-01 13:05:58 +02:00
JC Brand
c81599931c
Fix failing tests based on recent unread message changes
2017-04-24 15:57:22 +02:00
Novokreshchenov Konstantin
bf1e612768
support opening chat in minimized mode initially ( #855 )
2017-04-23 15:38:48 +02:00
JC Brand
ee8f37b4fc
Bump waiting time to avoid test failures
2017-04-19 14:41:42 +02:00