elective-stereophonic
elective-stereophonic
[ANN] nxtchat w/Nxt account authentication
singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: [ANN] nxtchat w/Nxt account authentication  (Read 2967 times)

coretechs

  • Sr. Member
  • ****
  • Karma: +161/-1
  • Offline Offline
  • Posts: 436
    • View Profile
[ANN] nxtchat w/Nxt account authentication
« on: March 20, 2015, 11:11:27 pm »

http://nxtportal.org/chat

I just released the latest version of nxtportal.org with a chat system that uses Nxt auth tokens for authentication.  If you use an account with a name it will display as your username, otherwise it will display the RS account ID.  Instructions are on the page, any feedback appreciated!
« Last Edit: March 26, 2015, 06:14:58 pm by coretechs »
Logged
https://ardorportal.org - Ardor blockchain explorer | https://nxtportal.org - Nxt blockchain explorer | http://bitcoindoc.com - The Rise and Rise of Bitcoin
ARDOR-T43P-R2K9-8W79-9W2AL | NXT-WY9K-ZMTT-QQTT-3NBL7

Tosch110

  • Hero Member
  • *****
  • Karma: +211/-18
  • Offline Offline
  • Posts: 2365
    • View Profile
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #1 on: March 21, 2015, 01:58:18 am »

Hi coretech,

very nice idea, though it does not work for me :-/

The login is very nice, but I cannot write any Message. (It was confusing that My AccountName was taken, because I was not sure if its now AccountName or Alias as username, both are stated in the description)

One suggestion,
a bit confusing is that if you click on any accountname in the chat, you leave the chat. Can you make either a new tab opens with account details or an extra link "Details" where you can see those? Maybe regular click to filter the messages for one account?

And, do you log which IP belongs to which NXT account?

TwinWinNerD

  • Hero Member
  • *****
  • Karma: +222/-116
  • Offline Offline
  • Posts: 2012
  • CEO BitPanda.com
    • View Profile
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #2 on: March 21, 2015, 02:03:41 am »

Really nice! Works like a charm

coretechs

  • Sr. Member
  • ****
  • Karma: +161/-1
  • Offline Offline
  • Posts: 436
    • View Profile
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #3 on: March 21, 2015, 03:34:08 am »

Hi coretech,

very nice idea, though it does not work for me :-/

Sorry had a confusing bug due to timezones that was loading chat history based on browser time instead of server time.  It's fixed now, the log files will sync up in 1/2 an hour.

Quote from: Tosch110
The login is very nice, but I cannot write any Message. (It was confusing that My AccountName was taken, because I was not sure if its now AccountName or Alias as username, both are stated in the description)

You can only type messages after you have authorized with an auth token.  It will display the accountRS as the username for the account that generated the auth token by default.  However, if the account has an associated name (the one you can set in the Nxt client), it will display the name as the username instead.

Quote from: Tosch110
One suggestion,
a bit confusing is that if you click on any accountname in the chat, you leave the chat. Can you make either a new tab opens with account details or an extra link "Details" where you can see those? Maybe regular click to filter the messages for one account?

I may change this behavior to function like the rest of the site.  For now it's easy to get right back to the same chat window by clicking the nxtchat link at the top.

Quote from: Tosch110
And, do you log which IP belongs to which NXT account?

No, I don't log anything aside from what you see in the chat logs.  The webserver has generic access logs that contain ip addresses but they are ephemeral and clear any time the process cycles.  Anyone concerned with ip addresses logging should be using tor anyway.
« Last Edit: March 26, 2015, 06:15:20 pm by coretechs »
Logged
https://ardorportal.org - Ardor blockchain explorer | https://nxtportal.org - Nxt blockchain explorer | http://bitcoindoc.com - The Rise and Rise of Bitcoin
ARDOR-T43P-R2K9-8W79-9W2AL | NXT-WY9K-ZMTT-QQTT-3NBL7

coretechs

  • Sr. Member
  • ****
  • Karma: +161/-1
  • Offline Offline
  • Posts: 436
    • View Profile
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #4 on: March 21, 2015, 04:02:14 am »

Fixed one last bug, converted all timestamps used in chat to UTC.  Chat logs are rotated daily and are available at the bottom of the page.
Logged
https://ardorportal.org - Ardor blockchain explorer | https://nxtportal.org - Nxt blockchain explorer | http://bitcoindoc.com - The Rise and Rise of Bitcoin
ARDOR-T43P-R2K9-8W79-9W2AL | NXT-WY9K-ZMTT-QQTT-3NBL7

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2503
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #5 on: March 21, 2015, 10:29:42 am »

Wowww Very Nice!  :-*

EvilDave

  • Hero Member
  • *****
  • Karma: +341/-40
  • Offline Offline
  • Posts: 1789
    • View Profile
    • NXT Foundation
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #6 on: March 21, 2015, 10:45:35 pm »

Just tested NxtChat out, and I like it.

all +1s to Coretechs please, if everyones stopped BCPing CfB yet  :D
Logged
Nulli Dei, nulli Reges, solum NXT
NXT Donations: NXT-BNZB-9V8M-XRPW-3S3WD
We will ride eternal, shiny and chrome!

Damelon

  • Hero Member
  • *****
  • Karma: +792/-54
  • Offline Offline
  • Posts: 2314
    • View Profile
    • Nxt Inside
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #7 on: March 21, 2015, 11:15:33 pm »

Nice :)

Works like a charm!
Logged
Member of the Nxt Foundation | Donations: NXT-D6K7-MLY6-98FM-FLL5T
Join Nxt Slack! https://nxtchat.herokuapp.com/
Founder of Blockchain Workspace | Personal Site & Blog

coretechs

  • Sr. Member
  • ****
  • Karma: +161/-1
  • Offline Offline
  • Posts: 436
    • View Profile
Re: [ANN] nxtchat w/Nxt account authentication
« Reply #8 on: March 22, 2015, 07:51:45 pm »

Updated.  Added de-auth option and some sound effects and made some other improvements.
Logged
https://ardorportal.org - Ardor blockchain explorer | https://nxtportal.org - Nxt blockchain explorer | http://bitcoindoc.com - The Rise and Rise of Bitcoin
ARDOR-T43P-R2K9-8W79-9W2AL | NXT-WY9K-ZMTT-QQTT-3NBL7
 

elective-stereophonic
elective-stereophonic
assembly
assembly