{"id":81,"date":"2024-08-11T07:06:36","date_gmt":"2024-08-11T07:06:36","guid":{"rendered":"https:\/\/blogs.scummvm.org\/chico\/?p=81"},"modified":"2024-08-11T07:06:36","modified_gmt":"2024-08-11T07:06:36","slug":"week-11-testing","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/chico\/2024\/08\/11\/week-11-testing\/","title":{"rendered":"Week 11- Testing"},"content":{"rendered":"<p>This week, I mainly focused on testing the system I previously developed to see if there were any overlooked issues. Fortunately, the problems I discovered were minimal. Below are the issues I fixed and the new features I implemented this week:<\/p>\n<ol>\n<li>Marking a fileset as\u00a0<code>full<\/code>\u00a0on the fileset page is straightforward; I just needed to add a button for that.<\/li>\n<li>The\u00a0<code>set.dat<\/code>\u00a0file may contain checksums for \u201csha1\u201d and \u201ccrc,\u201d which I initially forgot to ignore. As a result, these two checksum types appeared in the fileset.<\/li>\n<li>I added a \u201cready_for_review\u201d page. I realized I could reuse the\u00a0<code>file_search<\/code>\u00a0page, so I simply created a redirect to this page.<\/li>\n<li>Speaking of the\u00a0<code>file_search<\/code>\u00a0page, I finally fixed the pagination error. The issue arose because I hadn\u2019t considered that the query page could include filter conditions, which caused the results to show the entire table (i.e., without any query conditions). This error was hidden in a small detail, but I managed to fix it.<\/li>\n<li>I added a\u00a0<code>user_count<\/code> based on different user IPs. I implemented a simple prototype, but I\u2019m still contemplating whether there\u2019s a better solution, such as creating a new table in the database to store user IP addresses. I\u2019m not sure if this is necessary and I may consult my mentor for advice later.<\/li>\n<\/ol>\n<p>Overall, this week has been relatively easy, but I\u2019m still thinking about areas for improvement.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I mainly focused on testing the system I previously developed to see if there were any overlooked issues. Fortunately, the problems I discovered were minimal. Below are the issues I fixed and the new features I implemented this week: Marking a fileset as\u00a0full\u00a0on the fileset page is straightforward; I just needed to add [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-website"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts\/81\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}