Upload Images and Few Bug Fixes in KnackSteem

in utopian-io •  21 days ago

Repository & Pull Requests

https://github.com/knacksteem/knacksteem
https://github.com/knacksteem/knacksteem.org/pull/140
https://github.com/knacksteem/knacksteem.org/pull/148

https://github.com/knacksteem/knacksteem-api
https://github.com/knacksteem/knacksteem-api/pull/30

What is KnackSteem?

Knacksteem is an open source platform on the Steem blockchain that seeks to reward talents on a much broader scale, which eradicates partiality, and infuses transparency, on the blockchain. The initial goal of Steemit, which was to reward quality content was defeated in the sense that, creators of absolutely great content weren't recognized, and really cool talents were ignored. This major problem was the bane that stirred up the idea, creation, and finally, the development of Knacksteem. Talents and skills would never go unrecognized and unrewarded. The organization of Knacksteem makes this possible.

Source: https://steemit.com/knacksteem/@harry-heightz/knacksteem-the-new-den-of-talents-on-steem-blockchaingeneral-overview-and-personal-opinions-ideas-id-7dya4bjgagg

New Features - Image Upload

We are using Digital Ocean Spaces for Uploading the Images. We are DO Spaces API, which provides RESTful XML API for programmatically managing the data. The API is inter-operable with Amazon's AWS S3 API that means it allows you to interact with the service while using the tools you already know.

Commits : https://github.com/knacksteem/knacksteem.org/pull/140/commits/1db24aa8f84703adad9518915255bdfec74eeaf5

More Info About the Digital Ocean Spaces with React.js can be found at : https://www.codingdefined.com/2019/03/upload-images-to-digital-ocean-spaces.html

We are also checking if the File is only Images so that user will not upload Audio, Video or any other files

Commits : https://github.com/knacksteem/knacksteem.org/pull/140/commits/4652eb6d56c770b837fd5780c5981f0fa86cf3a9

Bug Fixes - A Lot of bug fixes have been done

One of the Issues which we were facing is that whenever there was @ we were adding the "knacksteem.org/" in front of it, now if there was a Steemit Link then it is just tampering the whole link. To fix this I have changed the Regex to get only @ which has a space in front of it. Though its not a full proof fix but it will not tamper the links as of now.

Commit : https://github.com/knacksteem/knacksteem.org/pull/148/commits/305142d25ece329b9b0a596292bbc4df5bb546a9

GitHub Account

https://github.com/codingdefined

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:  
  • Fine post about fixing a few bugs with code samples.
  • Good separation of concerns with commits.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

·

Thank you for your review, @helo! Keep up the good work!

Thank you so much for participating in the Partiko Delegation Plan Round 1! We really appreciate your support! As part of the delegation benefits, we just gave you a 3.00% upvote! Together, let’s change the world!

Hi @codingdefined!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @codingdefined!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Dear codingdefined:

We are SteemBet, the next generation STEEM based gaming platform. We are honored to invite you to join our first fantastic dice game, which is just the beginning of SteemBet game series. Our dividend system has now launched. The prize pool has already accumulated 2,000 STEEM and more than 60 players have participated in staking mining token SBT. A huge reward of 40,000 STEEM is awaiting! Join us NOW with other 500 STEEM users to loot HUGE dividend reward!!

SteemBet Team

Official Website
https://steem-bet.com

Discord Server
https://discord.gg/95cBN3W

Telegram Group
https://t.me/steembet