Articles on codetheorem's Bloghttps://blogs.python-gsoc.orgUpdates on different articles published on codetheorem's BlogenFri, 09 Sep 2022 23:28:01 +0000New UI for Admin Panelhttps://blogs.python-gsoc.org/en/codetheorems-blog/new-ui-for-admin-panel/<p>Personal branding is important for any project . So we added our branding in our projects.</p> <p><b>What did I do this week?</b></p> <p>Changed the UI of the admin panel that was built using the Strapi.js. We added the our Logo and name and links.</p> <p><strong>What is coming up next?</strong></p> <p>Working on improving the documentation of the User Story project.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>No, It went well.</p>hrishikeshagarwalv@gmail.com (codetheorem)Fri, 09 Sep 2022 23:28:01 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/new-ui-for-admin-panel/Added CKEditor5 for better user experience.https://blogs.python-gsoc.org/en/codetheorems-blog/added-ckeditor5-for-better-user-experience/<p>Features make a application better. Users are attracted towards a product seeing its features. So our mission is to add relevant features in User story. This week I added some new features.</p> <p><b>What did I do this week?</b></p> <p>To give our users a better experience I added a CKEditor 5 rich text editor in our new story page. Now users can use many features like table,image upload etc. Users can now also mention other users in the story description. </p> <p><strong>What is coming up next?</strong></p> <p>Updating the UI of the Strapi Admin. New UI will be aligned with our frontend .</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>I first tried to customize the existing markdown editor but it did't went well so new package was used. I also have to change the webpack config of our editor build.</p>hrishikeshagarwalv@gmail.com (codetheorem)Wed, 24 Aug 2022 17:18:46 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/added-ckeditor5-for-better-user-experience/Adding new features in story creationhttps://blogs.python-gsoc.org/en/codetheorems-blog/adding-new-features-in-story-creation/<p>New features in story creation process.</p> <p><b>What did I do this week?</b></p> <p>I am working on a feature that will enable the users to mention others users in the story body. A notification will be sent to the user mentioned in the story body.</p> <p><strong>What is coming up next?</strong></p> <p>Updating the UI of the Strapi Admin. New UI will be aligned with our frontend .</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>No, It well went.</p>hrishikeshagarwalv@gmail.com (codetheorem)Thu, 18 Aug 2022 17:12:29 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/adding-new-features-in-story-creation/Added Sorting Functionalityhttps://blogs.python-gsoc.org/en/codetheorems-blog/added-sorting-functionality/<p>Sorting is done for giving better UX experience to our users.</p> <p><b>What did I do this week?</b></p> <p>Fixed the sorting functionality in User Story. Previously sorting was being done in frontend but the problem with that was it was only sorting the paginated data and not the whole data so to solve this I updated the controller in strapi to sort the data and send back sorted and paginated data. I also updated the graphql call to accommodate the new changes. </p> <p><strong>What is coming up next?</strong></p> <p>New UI updates.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>No, It well went.</p>hrishikeshagarwalv@gmail.com (codetheorem)Wed, 10 Aug 2022 22:55:58 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/added-sorting-functionality/Documentation of SSO Integrationhttps://blogs.python-gsoc.org/en/codetheorems-blog/documentation-of-sso-integration/<p>For our users  to use SSO documentation should be there for setting it up.</p> <p><b>What did I do this week?</b></p> <p>Added documentation for setting up Okta as SSO provider in User Story.</p> <p><strong>What is coming up next?</strong></p> <p>Tests for Okta Integration.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>No,</p>hrishikeshagarwalv@gmail.com (codetheorem)Thu, 04 Aug 2022 22:21:28 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/documentation-of-sso-integration/SSO work completed in backend.https://blogs.python-gsoc.org/en/codetheorems-blog/sso-work-completed-in-backend/<p>SSO is working and running.</p> <p><b>What did I do this week?</b></p> <p>I integrated the SSO in our Strapi Backend using the existing Users and Permissions Plugin.</p> <p><strong>What is coming up next?</strong></p> <p>Tests and SSO utilization in the Frontend of the User Story.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>No, This time everything was under control.</p>hrishikeshagarwalv@gmail.com (codetheorem)Thu, 28 Jul 2022 22:10:32 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/sso-work-completed-in-backend/Creating a Strapi Plugin (Part 2)https://blogs.python-gsoc.org/en/codetheorems-blog/creating-a-strapi-plugin-part-2/<p>This is the second part of the Strapi plugin development series.</p> <p><b>What did I do this week?</b></p> <p>I completed the UI or the admin panel of our plugin. Our UI takes the credentials from the admin and then saves it to the Strapi store for future use. It takes credentials like Client ID,Client Secret etc. For building our admin UI we used buffet.js which is the UI library of Strapi. We tried to keep our UI as simple as possible and user friendly.</p> <p><strong>What is coming up next?</strong></p> <p>After this I am working on adding different routes to the plugin and creating corresponding controllers for them. We are following MVC architecture in development.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>No, This time everything was under control.</p>hrishikeshagarwalv@gmail.com (codetheorem)Thu, 21 Jul 2022 15:41:20 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/creating-a-strapi-plugin-part-2/Creating a Strapi Plugin (Part 1)https://blogs.python-gsoc.org/en/codetheorems-blog/creating-a-strapi-plugin-part-1/<p>As I stated in my previous blog I will be working on a local Strapi Plugin to handle our Okta SSO authentication. So I started working on that. </p> <p><b>What did I do this week?</b></p> <p>I started working on creating a local plugin for our backend which is created using Strapi which is a headless CMS. The need for plugin is that we want our users to use SSO authentication method. So making a plugin in Strapi has two faces one is which our admin sees that is UI and other is the backend part that is models, controllers etc associated with it.</p> <p>The objectives of this plugin is -</p> <ol> <li>Create a redirect URI that can be consumed by the front-end of User story.</li> <li>Verify JWT tokens and secure the API routes.</li> <li>Sync the user database with Okta database.</li> </ol> <p><strong>What is coming up next?</strong></p> <p>After completion of UI of this plugin I will be working on backend part of this plugin and integration with our main site.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>While working on this plugin I was not able to use hot-reload but after talking with a developer relations manager of Strapi.js my doubts were cleared.</p>hrishikeshagarwalv@gmail.com (codetheorem)Fri, 15 Jul 2022 20:37:52 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/creating-a-strapi-plugin-part-1/Adding SSO in Frontend.https://blogs.python-gsoc.org/en/codetheorems-blog/adding-sso-in-frontend/<p>My Task is to add SSO which means Single Sign On in our application <strong>EOS User Story</strong>. So I am doing this work in three phases .Currently working on implementing the first phase.</p> <p><b>What did I do this week?</b></p> <p>This week I worked on Okta setup which will serve as identity provider for our application. So we are using OpenID connect authentication method for authenticating users. After this I worked on adding the Okta SDK for react in the frontend of our application. So now our application can handle two authentication methods one is by using your Email Id and Password which is validated by our backend and one is our Okta SSO authentication method.</p> <p><strong>What is coming up next?</strong></p> <p>After this I will be working on adding JWT validator in our backend and write new test cases to handle the integration of new authentication scheme.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>Yes while adding Okta I was trying to add it as a new provider in the existing Roles and Permission plugin of Strapi so rather than updating it I am in process of making a custom plugin that handles all our needs.</p>hrishikeshagarwalv@gmail.com (codetheorem)Thu, 14 Jul 2022 11:00:32 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/adding-sso-in-frontend/Starting off with EOS User Storyhttps://blogs.python-gsoc.org/en/codetheorems-blog/starting-off-with-eos-user-story/<p>I am really excited to work at The EOS Design System. I have started working on a EOS User Story which is a feature request system. I am working with a awesome team that is very excited for this project. I will working on adding new features in the system.</p> <p><b>What did I do this week?</b></p> <p>This week I worked on setting up the codebase and debugged issues that were coming in setting up the Strapi backend codebase. I also did some research on SSO and SAML 2.0 technologies which are used for authentications in applications. I studied the documentation of Okta which is an identity platform. I helped my other teammates in setting up the project.</p> <p>I discussed the implementation of Single Sign-On feature with my mentors and teammates. This is the most important feature that we will be adding this summer.  </p> <p><strong>What is coming up next?</strong></p> <p>I will be implementing Single Sign-On with basic customizations and will work on adding more customizations.</p> <p><strong>Did I get stuck anywhere?</strong></p> <p>When I was working on Okta Dashboard I got stuck while choosing which authentication technique should be used for application but it was solved after discussion with the seniors.</p> <p> </p>hrishikeshagarwalv@gmail.com (codetheorem)Sat, 25 Jun 2022 20:12:31 +0000https://blogs.python-gsoc.org/en/codetheorems-blog/starting-off-with-eos-user-story/