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
JC Brand
0c43e4b87c
Upgrade to Jasmine 2.5.3
2017-04-06 11:31:05 +02:00
JC Brand
ecdb3a12be
Merge image loading tests. Updates #814
2017-04-04 14:06:24 +00:00
Novokreshchenov Konstantin
0b50c0c8c8
Fix #814 : Images from URLs with query strings aren't being rendered. ( #832 )
...
* unescape html characters in URL before checking whether it targets to image
* update docs/CHANGES.md
* test image's URL with query string which contains html-escaped characters
* utils.js: following code conventions
* split test url with query string to separate test
2017-04-04 16:05:50 +02:00
Soumit Bose
c976f3f079
Fixed typing status for typing from different devices ( #802 )
2017-03-16 16:28:59 +01:00
Soumit Bose
2c5ecd7120
Make messages' time format configurable ( #797 )
...
Fixes #675
* Made time format configurable
* Made changes to values of time_format
* Removed user restrictions on time format
* Added documentation for time-format config
* Edited changes.md
* Edited config doc
* Modified time-format explanation
* Added link to moment
* Added test to check rendered time
* Edited CHANGES and removeunncessary lines from time format checking spec
* Removed unncessary spaces
2017-03-12 11:32:38 +01:00
Anshul Singhal
40da1d688e
Fixes #628 . Bug in displaying chat status during private chat with carbons. (PR #801 )
...
* Fixes the bug in displaying chat status during private chat(message carbons)
* Adds fix#628 to ChangeLog
* Changes Log added to version 3.0.1
* Makes the string alphanumeric
* Orders the logs with ticket number
2017-03-09 12:38:54 +01:00
JC Brand
f24e7c0905
Remove scrollDownMessageHeight. Fix failing test
2017-03-03 15:12:48 +01:00
JC Brand
65fa39dd81
Properly fix and test the /me command
2017-02-15 21:03:02 +00:00
JC Brand
fe6a9ca748
Merge converse-api and converse-core
...
Otherwise `require('converse-core')` can be called, exposing the inner converse
object.
2017-02-14 14:35:52 +00:00
JC Brand
63888dd454
Fix failing tests
2017-02-02 21:55:05 +00:00
JC Brand
0424df9edc
Rename the closured converse object to _converse
...
to indicate that it's private and to differentiate it from the outer "global"
converse object.
2017-02-02 20:43:48 +00:00
JC Brand
b7b9711296
Rename the closured converse object to _converse
...
to indicate that it's private and to differentiate it from the outer "global"
converse object.
2017-02-02 18:34:13 +00:00
JC Brand
4dcb855562
Split API into public and private (plugin only) parts.
2017-02-02 18:30:59 +00:00
JC Brand
081f075aa9
Add eslint with lodash checking and apply its suggestions
2017-02-01 14:02:18 +01:00
JC Brand
25d9880f9e
Add config setting allow_non_roster_messaging
...
- Add a test case.
- Don't allow passing of `attrs` to `chats.open`. Not sure yet of the
implications of this.
2017-02-01 10:49:13 +00:00
JC Brand
e81eaf323e
Prevent forging of messages via carbons.
2017-02-01 10:49:13 +00:00
JC Brand
de07b6a529
No need for two AMD-load cycles.
2016-11-30 12:18:58 +00:00
JC Brand
a5f76abcf1
Updates #729 . Minimized chat boxes don't stay hidden
...
Bug got introduced during fix for #677
Eventually had to do a significant refactoring, to more consistently use the
`hidden` class instead of `display: None`. (relevant for #695 )
2016-11-22 17:42:58 +01:00
JC Brand
a2f4acdcee
All tests suites now updated and isolated.
2016-11-03 13:59:05 +00:00
JC Brand
6ac4f2601d
Fixes #677 Chatbox does not open after close
...
Problem was a race condition between hide and show methods.
Solution was to not hide the chat box during the initialize method.
2016-08-12 20:38:39 +00:00
JC Brand
be122af3ed
Add tests for rendering of error messages.
2016-06-23 08:56:15 +02:00
JC Brand
705c043852
Fixes concerning tab visibility
2016-06-17 09:30:47 +00:00
JC Brand
62c170273e
Allow plugins to have optional dependencies.
...
This change refactors out the plugin code from converse-core into
src/converse-puggable.js
Additionally, plugins now have an optional attribute `optional_dependencies`
which is an array of dependencies which are "nice-to-have" but not essential.
Work has also been done to ensure that a plugins' dependencies are first loaded
before the plugin itself.
2016-06-10 08:26:29 +00:00
JC Brand
a050015e61
Add processing hints to chat state notifications
...
So that they're not stored in MAM.
2016-05-30 16:53:31 +00:00
JC Brand
bd23a7751a
Add processing hints to OTR messages
...
so that they're not stored in MAM and not forwarded.
updates #553
2016-05-30 16:52:26 +00:00
JC Brand
b6fcc9b79d
Don't render unescaped urls.
2016-05-28 11:28:32 +00:00