JC Brand
85078b403b
Use change
event instead of blur
.
...
This solves a bug whereby switching to the register form doesn't happen because
validation gets triggered which somehow prevents it.
2017-09-24 10:21:14 +02:00
JC Brand
3d53943f49
Generate pot file from the converse-no-dependencies
build
...
This is a workaround for the fact that getttext doesn't support ES2015 template
literals and it also allows us to scan for translateable strings in our HTML
templates.
2017-09-24 00:30:43 +02:00
JC Brand
92af05d510
Some more refactoring now that we use a vdom for the login panel
...
We can now simply call `render` whenever we want to show an error or
notification message.
The flip side is that the template is now larger and contains more login.
2017-09-24 00:30:43 +02:00
JC Brand
be7f8ab4c4
Use a virtual dom to render the login form
2017-09-24 00:30:43 +02:00
JC Brand
2203e9505a
Set autofocus
on inputs
2017-09-24 00:30:43 +02:00
JC Brand
937b310733
Refactor login form to make it more reactive.
2017-09-24 00:30:43 +02:00
JC Brand
f827979000
converse-register: render the buttons as part of the template
...
instead of manually
2017-09-24 00:30:43 +02:00
JC Brand
33cc72829b
converse-register: 2 changes.
...
* Use declarative events instead of `addEventListener`.
* Remove the jquery dependency in this module
2017-09-24 00:30:43 +02:00
JC Brand
4063bbfc1c
converse-register: Consolidate validation and error reporting
2017-09-24 00:30:43 +02:00
JC Brand
7cfe81ea1f
Fix failing tests.
...
Somehow the tests are flaky when the router sets a URL fragment for login or
registration, so I've now added an event handler which does the work without
setting the URL fragment.
The router is still there so that one can manually link to a URL that has the
registration form open. (Issue #828 )
2017-09-24 00:30:43 +02:00
JC Brand
a9b74ca9b5
converse-register: refactor in order to simplify.
2017-09-24 00:30:43 +02:00
JC Brand
ce1e29e4f2
Bugfix. Fields weren't being marked as required.
2017-09-24 00:30:43 +02:00
JC Brand
9cdb0dde8c
Various changes
...
* In certain places, use native methods instead of jQuery
* Nicer rendering of registration forms
* Use CSS3 fade-in animations.
2017-09-24 00:30:43 +02:00
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