Project

General

Profile

Feature #5318

Avatar?id=6023&size=50x50 Avatar?id=6023&size=22x22

In-band registration to use XMPP Data Forms XEP-0004 with captcha

Added by Artur Hefczyc TigaseTeam over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
2017-05-15
% Done:

100%

Estimated time:
8.00 h

Description

As implemented on the server side in ticket #5219


Related issues

Related to Tigase XMPP Server - Feature #5219: in-band registration to use XMPP Data Forms XEP-0004.Closed

Related to Tigase.IM Web Client - Feature #792: Better registration and login formsClosed2012-08-232017-05-16

Blocked by Tigase JaXMPP Client Library - Feature #5223: in-band registration to use XMPP Data Forms XEP-0004Closed

Copied to Tigase.IM Web Client - Bug #5529: Issues with authenticationClosed

Associated revisions

Revision ce5ef194 (diff)
Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

#5318: version bump and update of Jaxmpp to 3.2.0-SNAPSHOT

Revision 660ee247 (diff)
Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

#5318: added implementation for GwtElement::removeChild() method

Revision 8a00f286 (diff)
Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

#5318: added support for form-based in-band registration

squash! #5318: added support for form-based in-band registration

History

#1 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

  • Related to Feature #5219: in-band registration to use XMPP Data Forms XEP-0004. added

#2 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

  • Target version changed from 160 to Version 1.0 Beta1

#3 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Estimated time set to 8.00 h

#4 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Blocked by Feature #5223: in-band registration to use XMPP Data Forms XEP-0004 added

#5 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Related to Feature #792: Better registration and login forms added

#6 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Due date set to 2017-05-15

#7 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Parent task set to #5218

#8 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Status changed from New to In Progress

#9 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Andrzej Wójcik to Artur Hefczyc
  • % Done changed from 0 to 100

The feature is implemented and I tested it. It is part of a new version of Tigase.IM Web Client, which will be shipped with Tigase XMPP Server 7.2.0-SNAPSHOT.

#10 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

  • Status changed from Resolved to Feedback

Great? Is it deployed on our tigase.im website yet?

#11 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

No, it was not deployed yet. If you want me to deploy it just let me know.

#12 Updated by Wojciech Kapcia TigaseTeam over 1 year ago

Artur, jenkins automatically deploys it to http://beta.sure.im/ so each change can be tested there before deploying to main site.

#13 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

  • Assignee changed from Artur Hefczyc to Andrzej Wójcik

Wojtek, indeed, of course I do NOT remember about that beta site.

Andrzej, please deploy it to the tigase.im.

#14 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Status changed from Feedback to In QA
  • Assignee changed from Andrzej Wójcik to Artur Hefczyc

A new version of Tigase.IM Web Client is now deployed at sure.im@/@tigase.im cluster.

#15 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

  • Status changed from In QA to Feedback
  • Assignee changed from Artur Hefczyc to Andrzej Wójcik

Looks OK.

However, when I am logging in, I stay logged for a few seconds and I am being thrown back to the login page. I am not sure, but it seems that my contacts slowly start showing and after 2 or 3 show up, I am taken back to the login page. Maybe some presence stanza generates an error?

#16 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

%kobit Which domain and account? I need to check in server logs and look for causes as for me it works all the time.

#18 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

Any update on this? We can get together some day and test it. I can login to the system and you can watch logs to see what/why this happen.

#19 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

%kobit I tried this few times and I cannot replicate this issue. I would like to ask you to use a web browser (ie. Chrome) with Developer Tools console open at Network tab, and then try to log in.

I suppose that in case of tigase.im domain BOSH is still used (not WebSocket) and we could check it this way. In console we will get whole XMPP stream logged and we can check it.

Alternatively please try opening Advanced section in authentication dialog, enter there ws://blue.sure.im:5290/ and try if it will help. If this solves your issue then an issue is related to BOSH connectivity.

#20 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

Ok, I have done some more testing.

  1. First of all I discovered under Chrome that websocket is used by default and this problem actually happens with websocket

  2. Under Chrome, I noticed kind of strange behavior, when I logging in, the client stays logged in for a few seconds, then goes back to login screen, then, after another few seconds, it automatically loggings in, without me pressing any button, and then stays logged in for a long time

  3. Then I went back to Safari and the same exact thing happens. I to make sure this is the case with websocket, I manually entered ws connection in advanced settings and i can confirm this happens with websocket

  4. Then, when I reload the page under Safari, it shows an empty login form but after a second it jumps back to the logged in screen

So, to sum it up, it kind of works after all but not entirely the way I would expect.

#21 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Copied to Bug #5529: Issues with authentication added

#22 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

  • Status changed from Feedback to In QA
  • Assignee changed from Andrzej Wójcik to Artur Hefczyc

Thank you for a detailed description of this issue. I checked web application behavior and found few glitches with authentication, see-other-host and stream resumption. From my observation, this is related to the fact that I updated Jaxmpp from 3.1.0 to 3.2.0-SNAPSHOT, which lead to minor changes in events order. To for further analysis and fixing this issue, I created separate task #5529.

#23 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 1 year ago

  • Status changed from In QA to Closed

Works as expected now.

Also available in: Atom PDF