Upload Images and Few Bug Fixes in KnackSteem
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