Articles on error838's Bloghttps://blogs.python-gsoc.orgUpdates on different articles published on error838's BlogenMon, 28 Aug 2023 19:44:11 +0000Final GSoC'23 Summaryhttps://blogs.python-gsoc.org/en/error838s-blog/final-gsoc-23-summary/<h2>UI Improvements and adding defaults</h2> <h3>Summary:</h3> <p>The current version of Postorius and Mailman presents minimal information on the list index page, which only provides a link to each subscription's options page. It also does not have a user interface for creating different styles and applying them over new lists.</p> <h3>Aim:</h3> <p>The objective is to enhance code quality and improve the user interface. This involves:</p> <ul> <li>Creating a mechanism for administrators to establish user-specific styles and seamlessly apply them to new lists.</li> <li>Generating a new view, which displays all attributes related to a mailing list.</li> <li>Developing additional functionalities for importing, exporting, cloning, and batch modifying mailing lists.</li> </ul> <h3>Tasks Achieved:</h3> <ul> <li>Styles: <ul> <li>Created a new attribute and its API connection in the existing model, enabling the storage of new styles in the database.</li> <li>A new form has been created to facilitate the registration of styles.</li> <li>A new view has been implemented to display all available styles and their associated attributes. Administrators have the ability to update styles directly from this view.</li> </ul> </li> <li>Style Operations: <ul> <li>Apply: <ul> <li>This function enables the users to select a specific style and generate a new list with the same settings.</li> </ul> </li> <li>Clone: <ul> <li>This function enables the users to create a duplicate of their chosen style.</li> </ul> </li> </ul> </li> <li>List Operations: <ul> <li>Export: <ul> <li>This function enables the users to select a specific list along with their preferred attributes, then export the list settings in a <code>.json</code> format.</li> </ul> </li> <li>Import: <ul> <li>This function enables the users to upload list settings in <code>.json</code> format and apply them to any list of their choice.</li> </ul> </li> <li>Clone: <ul> <li>This function enables the users to create duplicates of their chosen lists.</li> </ul> </li> <li>Batch Modify: <ul> <li>This function enables the users to pick a primary list and apply its specific attribute settings to one or more chosen lists simultaneously.</li> </ul> </li> </ul> </li> <li>Attribute View: <ul> <li>Developed a new table that displays all registered lists along with their respective attributes.</li> <li>Administrators can modify and update attribute values through this table.</li> </ul> </li> </ul> <h2>Future Work</h2> <p>I plan on contributing significantly to the project after the GSoC period. Things I plan to do:</p> <ul> <li>Further improving the code quality and working on making the codebase future proof.</li> <li>Generating and registering a new default domain for styles.</li> <li>Create a batch modification feature for styles.</li> <li>Generating tests for the new code.</li> </ul> <p>I am thankful to <strong>Google</strong>, <strong>Python Software Foundation</strong>, and <strong>GNU Mailman</strong> for providing me with this excellent opportunity and the mentors, <a href="https://gitlab.com/yaseppochi">Stephen J. Turnbull</a> and <a href="https://gitlab.com/danil-smirnov">Danil Smirnov</a>, who guided and helped me throughout the program.</p>durlabhpathak@gmail.com (error838)Mon, 28 Aug 2023 19:44:11 +0000https://blogs.python-gsoc.org/en/error838s-blog/final-gsoc-23-summary/Weekly Blog Post #12https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-12-8/<div class="lead"> <p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>Apologies for the tardiness in updating my progress on the blog. I was engrossed in enhancing the recently designed UI. Pleased to report that the new UI is now finished and operates precisely as intended and promised. Subsequently, I shifted my focus towards developing a fresh model and interface for the list styles, which am delighted to announce is complete as well. The final step involves integrating it with Postorius, bringing an end to my GSoC'23 journey.</p> </div>durlabhpathak@gmail.com (error838)Thu, 24 Aug 2023 20:32:07 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-12-8/Weekly Blog Post #11https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-11-3/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>The previously cluttered presentation of the lists and attributes table has been successfully rectified, resulting in a significantly improved readability and accessibility. Users will now find it much easier to navigate and comprehend the information presented. This enhancement aligns with an ongoing effort to refine the user experience, as the latest iteration is undergoing an aesthetic transformation to further elevate its visual appeal and usability.</p> <p> </p> <p><strong>Did I get stuck anywhere?</strong></p> <p>My virtual environment has become corrupted, and it will require some time to recreate and set up again.</p>durlabhpathak@gmail.com (error838)Mon, 07 Aug 2023 17:10:36 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-11-3/Weekly Blog Post #10https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-10-7/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>The previous iteration of list defaults had a faulty list cloning feature. However, I have rectified this issue and also made it more user-friendly and accessible. The cluttered appearance of the lists and attributes table is currently undergoing modifications.</p>durlabhpathak@gmail.com (error838)Mon, 31 Jul 2023 18:06:03 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-10-7/Weekly Blog Post #9https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-9-5/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>I had a discussion with my mentor regarding the agenda and significant modifications needed in the current code. Subsequently, I began working on implementing these changes and further developing new models and interface for styles.</p>durlabhpathak@gmail.com (error838)Thu, 27 Jul 2023 18:56:55 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-9-5/Weekly Blog Post #8https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-8-9/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>Started development of new models and interfaces for styles.</p>durlabhpathak@gmail.com (error838)Mon, 17 Jul 2023 17:58:18 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-8-9/Weekly Blog Post #7https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-7-5/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>I began working on refining the style aspect of the list defaults. In addition, I have pushed both the list and domain defaults branches to the GitLab repository.</p> <p><br> <strong>What is next?</strong></p> <p>Currently developing new models and interfaces to facilitate the management of a style database.</p>durlabhpathak@gmail.com (error838)Mon, 10 Jul 2023 16:56:06 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-7-5/Weekly Blog Post #6https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-6-10/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>Because of a personal matter, I couldn't accomplish much during the week. I reached out to my mentor, Mr. Turnbull, to inform him about the situation and provide an explanation. We have had a discussion and will make the necessary updates to the schedule.</p>durlabhpathak@gmail.com (error838)Sun, 09 Jul 2023 16:16:44 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-6-10/Weekly Blog Post #5https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-5-9/<div class="lead"> <p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>During today's meeting with my mentor, Mr. Turnbull, we discussed and decided to change the entire approach for the project. As a result, we will be scrapping the work done this week.</p> <p><br> <strong>What is next?</strong></p> <p>Moving forward, I will be focusing on extending and improving the functionality of previously started work. Additionally, there will be a significant overhaul in the UI design for the system defaults. We have decided to move away from the previous form technique.<br>  </p> </div>durlabhpathak@gmail.com (error838)Tue, 27 Jun 2023 20:13:05 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-5-9/Weekly Blog Post #4https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-4-10/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>I have made substantial progress in the development of the defaults page for the domain section. To accomplish this, I utilized the defaults from Mailman2 and organized them based on list, site, and domain. This new page is now available for users to manage their defaults in the domain section. Currently, I am focusing on establishing the necessary backend connections to ensure seamless functionality.</p> <p><br> <strong>What is next?</strong></p> <p>My next step is to incorporate the default page for the list section. Once implemented, I will proceed with thorough testing to ensure the accuracy and functionality of the defaults.<br> <br> <strong>Did I get stuck anywhere?</strong></p> <p>No, I did not encounter any difficulties this week.</p>durlabhpathak@gmail.com (error838)Mon, 19 Jun 2023 17:51:43 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-4-10/Weekly Blog Post #3https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-3-8/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>My main goal continues to be gaining a thorough understanding of the system-wide user defaults and their intended functionality within the existing system. In pursuit of this, I started developing a basic user interface for the system-wide user defaults in my local development environment. Unfortunately, I encountered difficulties in accessing certain features due to a malfunctioning environment, which hindered my progress. However, I have since resolved this issue by setting up a new local environment. This setback has provided me with an opportunity for improvement, as it has made me aware of previously unknown options in the previous build. Therefore, I am now building upon this knowledge..<br> <br> <strong>What is next?</strong></p> <p>I am still focused on my objective of finalizing the basic HTML design for the user interface. The goal is to create a user-friendly and intuitive interface that enables site administrators to set default options for new subscribers across all lists in the system. Once the frontend development is complete, my next step will be to establish the necessary backend connectivity. This ensures a seamless interaction between the user interface and the underlying functionality of the system.<br> <br> <strong>Did I get stuck anywhere?</strong></p> <p>I didn't encounter any difficulties this week, but I need to accelerate my timeline in order to compensate for previous setbacks.</p>durlabhpathak@gmail.com (error838)Mon, 12 Jun 2023 18:22:00 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-3-8/Weekly Blog Post #2https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-2-10/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>My main focus was to gain a deep understanding of the system-wide user defaults and how they should function within the existing system. I also started working on building a basic user interface for the system-wide user defaults in my local development environment.<br> <br> <strong>What is next?</strong></p> <p>My next task is to complete the basic HTML design for the user interface. This involves creating an intuitive and user-friendly interface that allows site administrators to define default options for new subscribers across all lists within the system. Once the frontend is in place, I will begin working on the backend connectivity to ensure that the UI interacts seamlessly with the underlying functionality.<br> <br> <strong>Did I get stuck anywhere?</strong></p> <p>I did encounter a setback during the week. My local development environment started giving me numerous errors, which hindered my progress. To overcome this obstacle, I decided to redo and recreate a new local environment. Although this setback has caused a slight delay, I managed to resolve the issues and get back on track. Should be able to cover up in the coming week.</p>durlabhpathak@gmail.com (error838)Mon, 05 Jun 2023 15:34:32 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-2-10/Weekly Blog Post #1https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-1-7/<p>Hello readers!<br> My name is Durlabh Pathak, and I am currently pursuing my undergraduate degree in Computer Science &amp; Engineering at Manipal University Jaipur. I'll be sharing my progress during the Google Summer of Code 2023 program here. My involvement revolves around two projects, namely "UI Improvements for Subscription Management" and "System-Wide User Defaults."</p> <p><br> <strong>What did I do this week?</strong></p> <p>I focused on configuring the required repositories for both projects. This involved setting up the development environment and ensuring that all dependencies were in place. Additionally, I conducted thorough local testing to verify that everything was functioning as intended.<br> <br> <strong>What is next?</strong></p> <p>My next task involves the development of a new section in Postorius. This section will empower site administrators to establish system-wide user defaults. By utilizing this feature, admins can define default options for new subscribers across all lists within the system. To accomplish this, I plan to extend the current schema of the Mailman3 database in the coming week.<br> <br> <strong>Did I get stuck anywhere?</strong></p> <p>Fortunately, I did not encounter any significant obstacles during the week and managed to handle all tasks smoothly.</p>durlabhpathak@gmail.com (error838)Thu, 01 Jun 2023 15:23:47 +0000https://blogs.python-gsoc.org/en/error838s-blog/weekly-blog-post-1-7/