JC Brand
43bbae9006
Don't require auto_login
to be true when using the API to log in
2017-09-24 00:30:43 +02:00
JC Brand
57d2f9bce8
Add validation message for an invalid JID in the login form
2017-09-24 00:30:43 +02:00
JC Brand
158acbf1d7
Fixes #828 Add routing for login and register URL fragments
2017-09-24 00:30:43 +02:00
JC Brand
7e4fb52f8d
Render register and login forms via links
2017-09-24 00:30:43 +02:00
JC Brand
37fcc6b70e
Hide connection feedback parent element
2017-09-24 00:30:43 +02:00
JC Brand
140946a34b
Add brand headings
2017-09-24 00:30:43 +02:00
JC Brand
1613c0d7de
Styling changes now that we don't have tabs.
2017-09-24 00:30:43 +02:00
JC Brand
196a42dc50
Make sure strings get translated and that interpolation is safe
2017-09-24 00:30:43 +02:00
JC Brand
ce56e0d858
We no longer have login and register tabs
2017-09-24 00:30:42 +02:00
JC Brand
681245584e
Remove Login
and Registration
tabs and consolidate into one panel
2017-09-24 00:30:42 +02:00
JC Brand
f908463ab9
Clear connection feedback after login
2017-09-08 18:18:55 +02:00
JC Brand
bd913734e4
Don't hang indefinitely + nicer error messages
...
when a connection can't be established.
2017-09-08 14:24:38 +02:00
JC Brand
34e214d0df
New release 3.2.1
2017-08-29 13:28:34 +02:00
JC Brand
c9913bf6ac
Fix failing tests
2017-08-29 12:29:56 +02:00
JC Brand
e6e0fc9070
minimize: Don't trim chats prematurely.
...
Also, the minimized chats view now gets rendered after chat boxes are fetched,
so we need to make it check for already added and minimized chats.
2017-08-29 12:29:56 +02: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
734991f1ce
Fixes #907 : unnecessary validation error
2017-08-29 10:32:44 +02:00
JC Brand
4da4131003
Fixes #908 : narrow inVerse login form when allow_registration
is false
.
2017-08-29 10:23:03 +02:00
lduburas
eef483cb4d
Fix regarding ChatRoomView.getDefaultNickName() and muc_nickname_from_jid ( #911 )
...
* ChatRoomView.getDefaultNickName() when muc_nickname_from_jid is used
Allows to overridde nickname by plugins when muc_nickname_from_jid is used.
* CHANGES.md updated
2017-08-28 09:27:59 +02:00
JC Brand
32d574039d
Translateable strings must not be template literals
...
xgettext doesn't support them yet, which causes errors in the pot/po files.
https://savannah.gnu.org/bugs/?50920
updates #909
2017-08-23 12:00:49 +02:00
JC Brand
6c6b85347a
Move functions out to make containing function smaller
2017-08-23 11:54:19 +02:00
JC Brand
ab0ec7301f
Various fixes for browser that don't support ES2015
...
Specifically for IE11.
* Add a polyfill for String.prototype.includes
* Make sure all bundled code is transpiled
* Add IE specific fix in converse-otr.js
2017-08-21 15:43:36 +02:00
JC Brand
75301d2875
Bugfix. info called on object that doesn't implement interface Console
2017-08-21 12:52:18 +02:00
JC Brand
016bca74b8
console.warn
is not supported on FF < 52
2017-08-21 11:29:06 +02:00
JC Brand
d70746d6ef
Fix linting error
2017-08-16 16:32:25 +02:00
JC Brand
9e8c034b42
Handle cases where Jed and/or Strophe.disco aren't available
2017-08-16 16:01:31 +02:00
JC Brand
56c5a9c8d0
Move form utilities to form-utils.js
2017-08-16 15:19:41 +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
694eabfc0e
Use promises to determine when to create the controlbox
2017-08-16 13:22:18 +02:00
JC Brand
956340aa8c
Make initialized
a promise and use it in the controlbox
2017-08-16 12:32:15 +02:00
JC Brand
bc6b5ca930
controlbox: Set connected
immediately
2017-08-16 12:32:15 +02:00
JC Brand
273da9e876
Move chatboxes collection and overview into separate plugin
2017-08-16 12:32:15 +02:00
JC Brand
4938621048
Nicer CSS and markup for room configuration forms.
2017-08-16 09:39:13 +02:00
JC Brand
add3b8efb3
utils now no longer depends on jquery.
2017-08-16 09:05:15 +02:00
JC Brand
6c3aa34c23
Some work on removing jquery from converse-bookmarks
2017-08-15 21:47:06 +02:00
JC Brand
3afe5eb8f3
Run the lodash converter only once.
2017-08-15 16:46:55 +02:00
JC Brand
e4d95eb794
Don't load lodash.fp
in converse-core. It's not being used there.
2017-08-15 16:36:43 +02:00
JC Brand
bfeb297ffc
Clarify usage of locked_domain
.
...
Also, declare it in the controlbox plugin, not in core, where it's not used.
2017-08-15 10:23:57 +02:00
JC Brand
4d2c807cf2
Fixes #220 . Enable usage of both _
and fp
in non-AMD case
2017-08-09 17:35:48 +02:00
JC Brand
38f8724dd9
roomslist: Add ability to add or remove bookmarks
2017-08-09 15:50:24 +02:00
JC Brand
01888b9ba4
vcard: Properly handle case where FN is empty in VCard
2017-08-09 14:37:33 +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
02a055d31d
Bugfix. Query user's JID for mam:2
support, not the domain
2017-08-08 22:09:17 +02:00
JC Brand
805db75e10
Bugfix. Handle case where there's no room data
2017-08-08 16:27:07 +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
8113a14ace
Release candicate for 3.2.0
2017-07-22 22:23:44 +02:00
JC Brand
27931d3e37
controlbox: Add JID validation to the login form
2017-07-21 20:14:38 +02:00
JC Brand
631ac6108f
controlbox: have only one dropdown menu open at one time.
2017-07-21 20:10:32 +02:00
JC Brand
bfc1e99694
Fix disco test
2017-07-21 20:01:09 +02:00
JC Brand
59edcb2393
muc: Add JID validation to the occupant invite form
2017-07-21 19:53:57 +02:00
JC Brand
b1e5cb26a1
rosterview: When filtering, contacts in closed groups appear.
2017-07-21 18:48:55 +02:00
JC Brand
e59168a360
rosterview: show filter when there are 10 or more contacts
...
Instead of checking if there's a scrollbar. Otherwise the filter disappears
when all groups are collapsed.
2017-07-21 18:47:43 +02:00
JC Brand
75342b066e
css: Titles for available chat rooms were cut off too soon
2017-07-21 18:08:29 +02:00
JC Brand
de7a1f7545
Check specifically for the Slack identity when working around its quirks
2017-07-21 17:58:46 +02:00
JC Brand
9084cdaa57
disco: Don't query for #items on conference components.
...
We don't need them at that time and we'll query when a chat room gets opened.
2017-07-21 17:46:24 +02:00
JC Brand
439e37feaa
disco: Refactor service discovery and add tests.
...
* `disco#items` are now only fetched when advertised by the entity.
* `identity` information is now also stored on the `DiscoEntity` model.
2017-07-21 17:38:08 +02:00
JC Brand
084d9914b0
muc: Refactored how MAM messages are fetched.
...
Listen for the `afterMessagesFetched` event.
Wait until `discoInitialized` before fetching.
Add `fetchArchivedMessagesIfNecessary` method(s).
2017-07-21 15:09:50 +02:00
JC Brand
0a47f60f94
Emit new event `afterMessagesFetched
`
2017-07-21 15:09:50 +02:00
JC Brand
a9589cba71
Don't expose 'connected' as a promise.
...
'reconnected' cannot be used as a promise (because it's recurring),
so to avoid confusion let's not have a 'connected' promise either.
2017-07-21 15:09:50 +02:00
JC Brand
7850c38faa
disco: Create new plugin converse-disco
.
...
We can now support feature discovery for multiple entities (although we
currently still only query for the user's own XMPP server).
2017-07-21 15:09:50 +02:00
JC Brand
00484280c2
core: Catch and log errors that might happen during initStatus
2017-07-21 15:09:50 +02:00
JC Brand
6ac01ed2ac
Bookmark icon shown in open rooms list when allow_bookmarks
set to false
2017-07-19 09:28:44 +02:00
JC Brand
0edb38e2c6
Fixes #896 Consistently use XMPP username
in user facing text
2017-07-19 09:17:46 +02:00
JC Brand
713e49b095
Fix failing tests
2017-07-19 09:14:02 +02:00
JC Brand
f84790e68c
muc: Show JID (instead of only server) in room info
...
Also made some styling changes and tweaked the room head to better
differentiate between the Name and JID of a room.
2017-07-19 08:30:04 +02:00
JC Brand
c012c2c1af
Don't show duplicate sent groupchat messages in Slack chat rooms
2017-07-19 08:28:51 +02:00
JC Brand
d9a61746a2
Bugfix. Server disco features forgotten between logouts.
2017-07-18 10:46:46 +02:00
JC Brand
6fea88fcc3
Add JID validation and error messages to the add contact
form
2017-07-17 22:08:15 +02:00
JC Brand
5c487d2faf
Refactored the slide methods
...
so that slider does not have fixed height after being opened and can therefore
shrink or expand appropriately when its children change.
2017-07-17 21:53:33 +02:00
JC Brand
d23046329e
Fixed a bug in slideOut
where offsetHeight
changes after sliding out
...
As a result we can again show emoji categories and skin tones on the same line
(if there is enough space).
2017-07-17 18:09:14 +02:00
JC Brand
496d2521fc
muc: Show room domain in header.
...
Also make sure room name gets saved once it's been updated.
2017-07-17 18:07:31 +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
1dfdba0db9
muc: Ignore non-MUC (like error) messages
...
Noticed that Slack sends error messages back in response to chat state
notifications.
We're not doing anything with them currently and they bloat the sessionStorage
2017-07-16 12:51:20 +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
22113a8ccb
Expand test for rendering of images (and fix accordingly)
2017-07-16 12:29:08 +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
b85b29bb20
vcard: Bugfix. 'FN' may not be defined.
2017-07-15 17:26:59 +02:00
JC Brand
e6492e286d
Don't specify method
2017-07-15 16:00:36 +02:00
JC Brand
0958915021
Refactor slightly to improve readability
2017-07-15 16:00:18 +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
a65b319d57
Improve styling for emoji-picker in the converse theme
2017-07-15 11:51:15 +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
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
bd38f0d634
Update the website to not use jquery.easing
...
It will now also no longer be included in the full bundle.
2017-07-14 23:01:09 +02:00
JC Brand
914f739dbc
Add slideUp
and slideDown
methods
...
And use them in the roomslist plugin instead of the jQuery methods.
ALso removed the jQuery dependency in roomslist.
2017-07-14 10:08:42 +02:00
JC Brand
76cc9642e0
roomslist: replace jQuery methods with native
2017-07-13 23:55:40 +02:00
JC Brand
2fe77b8a5c
Don't escape room name.
...
It's being rendered as a string literal.
2017-07-13 23:55:16 +02:00