It's been a long time since I made a post about my contributions to the Utopian API.
This is what I've worked on thus far:
- Slimming the data stored in the blockchain, no longer is the entire GitHub repository stored.
- Moderator parameters are stored in the blockchain now (the db is always the source of truth in this matter, so there is no security risk)
- Strict post validation to ensure junk data can't be added to the database
- The post create function can be called by everyone to allow external app integration
- Removed unused beneficiaries endpoints from the old payment system
- Moderator time is stored with the moderator parameters now (used by the new payment system)
- Other miscellaneous cleanups and refactors
- Fix any potential sensitive data leaks
- Cross editing for moderators (front end not yet ready)
- Top API got more improvements to add more detailed information and no longer requires authentication or querying the Steem API
Some of the changes that went live had a bumpy start that was resolved quickly in other various commits. I've been monitoring and helping with any issues that arise to resolve them. Soon Apiary documentation and will go live! I've been code reviewing pull requests from other contributors that have been working on the API as well.
There's a good chance I missed something in the log, so you can view the entire history here:
https://github.com/utopian-io/api.utopian.io/commits/master
Commit log:
- https://github.com/utopian-io/api.utopian.io/commit/ed16c4125e8a0ad4ecd416f5add9c1ac56e096e8
- https://github.com/utopian-io/api.utopian.io/commit/b9ca1bb703eaa358e5707d69f38e9643e096a116
- https://github.com/utopian-io/api.utopian.io/commit/4e3fb3ddbec6be880852186b81db1b2bbda0aef5
- https://github.com/utopian-io/api.utopian.io/commit/8d97f3fbe2bb64ab3d17445ce8217007d0f26099
- https://github.com/utopian-io/api.utopian.io/commit/d92749cd0f5542ef00110c5c5621f7e8e0001c67
- https://github.com/utopian-io/api.utopian.io/commit/bc21c0c1bcf42ed234ca01b6415e20f567cb008e
- https://github.com/utopian-io/api.utopian.io/commit/d84edd3eb9fd1bdd368f039514cf6c3314d8028a
- https://github.com/utopian-io/api.utopian.io/commit/ed7645914a42e06bd38588a9395ff6d0b2eb7008
- https://github.com/utopian-io/api.utopian.io/commit/815cd9ac8f5a2c0aaa0c905d93a7ae471868e3f0
- https://github.com/utopian-io/api.utopian.io/commit/2441695f9467a519941858184aac29d2dc05eb79
- https://github.com/utopian-io/api.utopian.io/commit/78b79cfbf56b2092a8264c6402dbd839cbced50a
- https://github.com/utopian-io/api.utopian.io/commit/765f20951b16a8ca529ca239eae354af1bd5dc8b
- https://github.com/utopian-io/api.utopian.io/commit/c58673a58746a757b9073ab8d02c66de7879df2a
- https://github.com/utopian-io/api.utopian.io/commit/74722893f24e23e419945b02e290b93e6547f0e8
- https://github.com/utopian-io/api.utopian.io/commit/269729206a2c8ea6110e09e1c90942aee5d32fdc
- https://github.com/utopian-io/api.utopian.io/commit/5ba45aed8e6852ad18b3e103b1cbbf5c448b8a59
- https://github.com/utopian-io/api.utopian.io/commit/75b4cf19642b1a0c459b282155e0f92ca95a74bc
- https://github.com/utopian-io/api.utopian.io/commit/6d0172236f51f59880fc16eef64db59953271341
- https://github.com/utopian-io/api.utopian.io/commit/08cbce3bac616fa685a15093186a41f1ad260c0a
- https://github.com/utopian-io/api.utopian.io/commit/75a11715e54fc4233594af41604360321ec074db
- https://github.com/utopian-io/api.utopian.io/commit/ed16c4125e8a0ad4ecd416f5add9c1ac56e096e8
- https://github.com/utopian-io/api.utopian.io/commit/e13fb40edf411ae5d16cd25e87b03469459220cc
- https://github.com/utopian-io/api.utopian.io/commit/1456f0f7d7a7cdde01d4339293a4a035b8768331
- https://github.com/utopian-io/api.utopian.io/commit/cc604a500f0e70ec770d333193aaa01c9acc6607
- https://github.com/utopian-io/api.utopian.io/commit/73af01679f92c34d511f8be7b6efdbffe85a22fe
- https://github.com/utopian-io/api.utopian.io/commit/c67fbb0108a6f9285b45ed4dce38001bb6a2eefa
- https://github.com/utopian-io/api.utopian.io/commit/e40611d6ff54a044e2cd03a276b6e8ed3f0760b5
- https://github.com/utopian-io/api.utopian.io/commit/df3fdedcdb75239af2f59419d93018ffce0ef9a0
- https://github.com/utopian-io/api.utopian.io/commit/e6fed1060b505210c2fbb45f38c040494d651a4d
- https://github.com/utopian-io/api.utopian.io/commit/a0da2e4fa8e17e5986a34cb3d7ca565ad9141d54
- https://github.com/utopian-io/api.utopian.io/commit/b4ecb1d805022eea416424c0a8e4a4f8b473849b
- https://github.com/utopian-io/api.utopian.io/commit/6531cdb3c5d4b2522f8c4e030719dddabea0632d
- https://github.com/utopian-io/api.utopian.io/commit/6b76fb5b7b8d915d1970fafcc7345b64e8442ec1
- https://github.com/utopian-io/api.utopian.io/commit/2816f414d4f7c4c2896ee65e4570427b0a3cf26c
- https://github.com/utopian-io/api.utopian.io/commit/22792d47252c5c58163818547f28c4c8dfa99d62
Posted on Utopian.io - Rewarding Open Source Contributors
Impressive updates!
well updates.nice work .
That's a lot!
Wow!!! I'm incredibly impressed, great work!
Source
When are you going to start teaching me some of this stuff? ;)
That's a lot of work!
Awesome contributions!
This is great a great work @samrg472 just one thing "The post create function can be called by everyone to allow external app integration" so we can now create contributions from outside Utopian or this is not active yet ?
@thegoldenphoenix It's possible to do so if it follows the strict validation rules:
https://github.com/utopian-io/api.utopian.io/blob/master/src/server/controllers/post.controller/update.ts#L56
hhhh i ve checked this rules and i think it is better to contribute from utopian for now lol
The app field can be manually set in the metadata?
if (meta.app !== 'utopian/1.0.0')
I didn't know this. Sounds interesting.
I am thankful to know Sam and his incredible mind to help solve crucial issues.
great
as well as your development of @steemdunk, a genius at work.
I know it's been a while since openly posting all the work done, but still, this is a hefty list of accomplishments.
I have no idea how to decipher the matrix, but that looks impressive!
Hi Sam, hope you are free. I will post a task request for "steemgigs" really soon. I hope you will consider joining in too. I would so love this
how i can we will support this api ? Great updates :)
Help me plis upvote from @utopian-io