Utopian Registration: Backend - TOS, Privacy & Bug Fixes

in utopian-io •  7 years ago  (edited)

image.png

This Contribution is part of the Utopian Registration-Project.

The goal for the Utopian Registration is, to allow People who are new to STEEM to create an Utopian ( STEEM ) - Account through Utopian itself (and not how it is currently handled, through STEEMIT).

In this post I'll go through the backend-changes which also introduced the public testing phase of the registration.


The Pull-Request

image.png

This is the first and most important one - but was an additional pull-request for some bug-fixes.

image.png


Changes

  • implented an ENV var to choose the registration mode (test / production). In the case of test - instead of connecting to the mainnet, dsteem connects to the testnet and also SMS-Verification is disabled.

  • added logic for TOS & privacy acceptance

  • fixed a problem that stopped the actual account-creation from working

Ready for testing

You can test the signup yourself at: signup.utopian.io

Oh and .. I would be very happy about feedback :)



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for the contribution. It has been approved.

  • Tested with existing github account, it detected a already used one.

  • The privacy acceptance modal window is not resizeable and that means I can't accept it on an iPhone 5/SE.

  • With the SMS dsiabled, that means I could not test beyond this:
    signup-test-helo.png

  • or was it the end? by editing the html and removing the pesky disable tag, I was able to submit.
    signup-test-helo-2.png

  • unfortunately, it was a fake number in the test so I will not get the code back even if I try now with a good number. Do you have ways to get out of that loop?

You can contact us on Discord.
[utopian-moderator]

Hey @helo,

thank you for testing.

The privacy acceptance modal window is not resizeable and that means I can't accept it on an iPhone 5/SE.

I also just noticed that it doesn't look nice on iphone 5 resolution. So I have to fix that as well.

Tested with existing github account, it detected a already used one.

Exactly. That's how it should be.

unfortunately, it was a fake number in the test so I will not get the code back even if I try now with a good number. Do you have ways to get out of that loop?

SMS is not disabled in test-mode.

The first line checks if TESTNET is activated and if it is - a static phone-number will be used.

let code:any = process.env.REG_TESTNET === 'false' ? await phoneCode.findOne({ user_id: req.body.user_id, code: req.body.code }) : { phone_number: '49123456789', user_id: req.body.user_id }

if(!code) return res.status(400).send({ type: 'not-verified', message: 'Invalid SMS-Code' })

This also means that you can enter any code in TESTNET-mode and it will be correct.

Thank you. Am I right in understanding that utopian rewards people for contributing code (instead of say blogs with steemit)? If so, the genius continues.

good information thank for share please upvote my blog @momin109

I am following each update like hunchback

@therealwolf
I have not gotten any response from @smartsteem about my vote buy, when will I get my sbd back?...ty

I'll check it out and see if I can do anything useful with my college level programming skills.

Its been incredible seeing you working on open source projects, fixing things and introducing feature from day to day :)

1UP-Kayrex_tiny.png

You've got upvoted by Utopian-1UP!

You can give up to ten 1UP's to Utopian posts every day after they are accepted by a Utopian moderator and before they are upvoted by the official @utopian-io account. Install the @steem-plus browser extension to use 1UP. By following the 1UP-trail using SteemAuto you support great Utopian authors and earn high curation rewards at the same time.


1UP is neither organized nor endorsed by Utopian.io!

@therealwolf bro sorry for everythng my apology abt previous post of mine ...

hi nice post and your contribution

very hard to write there, I am confused how to start it

Hey @therealwolf I am @utopian-io. I have just upvoted you!

Achievements

  • WOW WOW WOW People loved what you did here. GREAT JOB!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

  ·  7 years ago Reveal Comment