Articles on Juerodriguez's Bloghttps://blogs.python-gsoc.orgUpdates on different articles published on Juerodriguez's BlogenTue, 24 Aug 2021 19:27:08 +0000My Final Post of GSoC 2021https://blogs.python-gsoc.org/en/juerodriguezs-blog/my-final-post-of-gsoc-2021/Hello, in this last week we have done a review of everything we have achieved during the program, the results were reflected in the project wiki which general terms were very satisfactory, personally I have loved participating in the Openlex project since I have been able develop my skills as a programmer as planned. All of this could not have been achieved without the help of my mentors Marian Vignau, Emmanuel Arias and Nicolas Sandoval who accompanied me at all times, so I offer a special thanks to them. I hope to participate again in GSoC as a mentor to help other boys to enter the world of Open Source.StyloRJ@gmail.com (Juerodriguez)Tue, 24 Aug 2021 19:27:08 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/my-final-post-of-gsoc-2021/Last week test codinghttps://blogs.python-gsoc.org/en/juerodriguezs-blog/last-week-test-coding/Hi, Greetings this last week. - What did I do this week?. This last week, as planned, I have dedicated myself to performing tests and improving tests that I was uploading throughout the program, I have also done optimization work, such as improvements with the date formats and replacement of jquery by code in the backend. - What is comming next? The last thing to do is to carry out the evaluation and prepare the documentation in the Openlex wiki so that there is a record of the work done during the program and also finish the evaluation of GSOC 2021. - Did I get stuck anywhere? There were no problemStyloRJ@gmail.com (Juerodriguez)Thu, 19 Aug 2021 00:13:29 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/last-week-test-coding/Ninth Week of Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/ninth-week-of-code/Hi there. - What did I do this week? This week I have dedicated myself to developing a new feature for the application that is the administration of groups, now it will be possible to create groups, assign members to a group, they will be able to view the files shared by the group, and the administrator will be able to view how and who makes the changes in each group to keep track of the work done. - What is coming next? The next thing I will do is code optimization and test development tasks. -Did I get stuck anywhere? Certainly I did not have any inconvenience in carrying out this week's tasks, I feel much more confident and more internalized in the development process than when the code stage began.StyloRJ@gmail.com (Juerodriguez)Tue, 10 Aug 2021 00:42:39 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/ninth-week-of-code/Eighth Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/eighth-week-code/Hi guys. - What did I do this week? This week I finished uploading the trial version of Openlex to a pythonanywhere server, with some code corrections in the creation of a test database when the server launch is not local, plus a test user and update of the weekly agenda so that it is always visible in the weekly tasks section. - What is coming next? I must prepare the application for group work and facilitate the user to assign group roles, these groups must be able to share information between users. - Did I get stuck anywhere? The only obstacle I had this week was the development of the test user, it was not clear how it should be the same, it was not known if the data should be created without belonging to any user and then assign them or if it should create only one, I question that they did do a job and then go back, resulting in wasted time. Finally a single user was created and its data was shared for the logging.StyloRJ@gmail.com (Juerodriguez)Wed, 04 Aug 2021 11:29:52 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/eighth-week-code/Seventh Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/seventh-week-code/Hi, -What did I do this week? This week I dedicated myself again to fixing some errors, and I was able to complete my main task which was to set up a reminder via email for the scheduled tasks with their respective tests and the enablement of it through the web2py cron. - What is comming next? The next thing I have to do is prepare a test version of the application with its test database, the application will be uploaded in Pythonanywhere - Did I get stuck anywhere? Due to the fact that the cron was unknown to me I had many problems when trying to activate it and even more so because web2py had a special cron and in the documentation it was not explained well how it was activated, before that I tried to start the web2py's own scheduler without success . But in the end the cron worked and the task was completed.StyloRJ@gmail.com (Juerodriguez)Tue, 27 Jul 2021 13:11:35 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/seventh-week-code/Sixth Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/sixth-week-code/Hi guys. - What did I do this week? This week I finished the algorithm to send the reminder now it is uploaded in its respective branch and tested that it works, what remains to be developed is the task scheduler so that it can be executed in the background, I have also fixed some bugs and made some test cases. - What is comming next? The next thing would be to finish the planner so that it sends the reminder emails and then develop some tests, also according to the planning this week should begin to develop a test version as a tutorial on the web. - Did I get stuck anywhere? I was having difficulties in implementing the web2py's own scheduler, now I'm testing with the web2py's own cron to execute the task in the background.StyloRJ@gmail.com (Juerodriguez)Tue, 20 Jul 2021 16:06:41 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/sixth-week-code/Fifth Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/fifth-week-code/Hi there. What did I do this week? - This week I mainly planned the algorithm to set up the reminder via email, I also made some code corrections in previous PRs so that they are merged and help with the development of the tests, leaving some commits in the PRs. Finally, I solved two issues, one making a fixture for test logging, and the other was fixing an error in the calendar view. What is comming next? - The following week I will have to schedule the reminder and leave the base to start handling the emails for future updates. Did I get stuck anywhere? - Fortunately, I did not have many problems due to the fact that there are many examples of email development.StyloRJ@gmail.com (Juerodriguez)Tue, 13 Jul 2021 01:01:17 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/fifth-week-code/Four Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/four-week-code/Hi there. What did I do this week? - This week we were able to close a PR related to a filter of csv tables for data loading, on the other hand I open 2 new PRs in which the loading of individual data from the tables " Jurisdicciones, Fueros, Instancia, Tipo de proceso" was developed in the administrator role on production, as well as the loading of data by importing a csv. The second one was able to separate the files of the movement table by their respective expedients. Also it helped in the realization of tests for the application. What is comming next? - For next week I was preparing a proposal to develop a functionality to send a reminder of tasks via email. On the other hand, it will be developed continuing with the downloads of movements, a functionality that allows downloading in pdf format the writings of the text field of the same table when the zip download is requested. Did I get stuck anywhere? - Yes, I was stuck in the realization of the division of the files by folders, because I had to consult the file numbers from the movement table and these were foreign keys, finally it was possible to do two different queries to get both data.StyloRJ@gmail.com (Juerodriguez)Tue, 06 Jul 2021 01:15:05 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/four-week-code/Third Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/third-week-code/Hi there. What did I do this week? - This week I used to learn PLAYWRIGHT, and develop the respective tests to carry out the upload of files and the download of the zip. On the other hand, we continue working on our fork (fix-10-separatedfolders) with the development of the classification by files at the time of download. What is coming next? - This week we will finish the development of the new feature of separation by folders in the zip download, and we will develop the loading of the court tables, processes, jurisdictions, from the admin role in production. Did I get stuck anywhere? - I felt stuck trying to do the tests, because I did not know how they were performed in web applications, but thanks to having studied playwrith I was able to get out of that problem and develop the tests successfully.StyloRJ@gmail.com (Juerodriguez)Wed, 30 Jun 2021 11:13:13 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/third-week-code/Second Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/second-week-code/Hi guys, I greet you this week. What did I do this week? In the last week i had some issues with PR and commits, this brought me some problems. Therefore, I fix that issues and I made the correct PR. On the other hand, the main focus of this week was to develop a driver so that the files of a table could be downloaded using the zip format. The web2py call was used to bring the files, and care was taken to obtain the object and then iterate it with Rows and add it to the zip file which had been created as a temporary file. Finally, the Headers are designated to launch the event. What is coming next? Already having the controller, the mentors asked me to continue developing it to be able to organize the files in folders according to the type of legal process, so that in this way when downloading the zip the information is organized in it by folders. Also i should make some test cases. Did I get stuck anywhere? It was hard the develop because there weren't examples that I could base my development. It was an exhaustive work of research and comparison with examples from other frameworks to achieve the logical flow that would allow the development to be achieved.StyloRJ@gmail.com (Juerodriguez)Mon, 21 Jun 2021 23:00:50 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/second-week-code/First Week Codehttps://blogs.python-gsoc.org/en/juerodriguezs-blog/first-week-code/Hi guys, I greet you this week. What did I do this week? This week first I relate tables in the database schema, which were the table movimientos and agenda, making it possible to schedule a movement optionally. Second I update a view to clarifies the timing of urgent tasks making a bit change in a label. Third I began to develop a function to download all the files of a certain field expediente in a zip file. What is coming next? The next will be end the function on production, add security and roles for allow download by authorized users. And the end of the week add some test functions. Did I get stuck anywhere? First I had problems with GITHUB because in the last PR I brought commits from another PR, this was due to an error that I had in my first PR when creating it on the master branch. currently all this was fixed thanks to the help of the mentors who helped me to lay the foundations for next PR. Second I get stuck in the develop of the function download_zip due to there isn't other examples of the same feature. Finally I could schedule all and adapt a example.StyloRJ@gmail.com (Juerodriguez)Mon, 14 Jun 2021 16:53:22 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/first-week-code/Second Week Community boundinghttps://blogs.python-gsoc.org/en/juerodriguezs-blog/second-week-community-bounding/- What did I do this week? In this second week I have dedicated myself to learning more about github and git, their commands and the correct way of working, we have organized the work that each student had to do and the way in which we were going to coordinate so as not to step on our work. Finally, to keep my work organized, I have used the github milestones and the projects section of the repository. https://github.com/Juerodriguez/OpenLex/milestones - What comes next? Next is the coding phase, I need to fix the views, update the drivers and the database. I prepare the role groups in the application and export all the files in Table MovementStyloRJ@gmail.com (Juerodriguez)Thu, 10 Jun 2021 03:47:53 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/second-week-community-bounding/First Week 23/05, Study and Search.https://blogs.python-gsoc.org/en/juerodriguezs-blog/first-week-23-05-study-and-search/My name is Juan Elias Rodriguez, Im from Argentina and i want to tell you how was my first week on PyAr/Openlex project. What did I do this week? I could set and reach my goals for the week, this was learn about Lexdoctor data structures and what is the difference between both Lexdoctor and Openlex. The reason for this asset is can import all data from Lexdoctor (privative app) for Openlex (Open app) and make compatible between them. What is coming next? Start with the schedule of the issues that we talk on the community bounding, I should complete the schema database and fix the import/export mechanism. Did I get stuck anywhere? After studying the user manual the main differences that were found are: - Ordering of processes by groups of processes, for example, all, pending, archived. - Option to archive a process. - In the table of Parties, the consultation of all the processes linked to a person and their respective files is allowed. - We found a Test table, which allows you to save the type of test and its status (pending, own, opponent). In case a hearing is needed, it is scheduled. - In the movement table there is the option of scheduling a task.StyloRJ@gmail.com (Juerodriguez)Mon, 31 May 2021 15:42:57 +0000https://blogs.python-gsoc.org/en/juerodriguezs-blog/first-week-23-05-study-and-search/