CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2024-03-08T17:41:09ZCUNY Graduate Center - Project Tracking System
Redmine CUNY Academic Commons - Bug #19928 (New): Forum Topic by Email Statshttps://redmine.gc.cuny.edu/issues/199282024-03-08T17:41:09ZRaymond Hoh
<p>Matt wanted to know the number of topics created by email vs. total number of topics.</p>
<p>Here are the stats:</p>
<p>2024 - 192/515 (so far)<br />2023 - 964/3260<br />2022 - 1058/3272<br />2021 - 1333/4010<br />2020 - 1284/4225<br />2019 - 801/2604<br />2018 - 405/2868<br />2017 - 104/1540<br />2016 - 116/1430<br />2015 - 65/1414<br />2014 - 12/1305</p> CUNY Academic Commons - Feature #19278 (Resolved): "Account Settings > Edit Profile" screen and "...https://redmine.gc.cuny.edu/issues/192782023-11-15T22:33:22ZRaymond Hoh
<p>I decided to create a new ticket from <a class="issue tracker-2 status-5 priority-4 priority-default closed child" title="Feature: Account Settings Tab (Resolved)" href="https://redmine.gc.cuny.edu/issues/17769">#17769</a>.</p>
<p>Here are Sara's mockups for the "Account Settings > Edit Profile" screen:</p>
<p><img src="https://redmine.gc.cuny.edu/attachments/download/26231/Screen%20Shot%202023-09-05%20at%2011.27.19%20AM.png" alt="" /></p>
<p><img src="https://redmine.gc.cuny.edu/attachments/download/26841/Screenshot%202023-11-14%20at%2011.58.16%20AM.png" alt="" /></p>
<hr />
<p>There was a bit of talk in the dev chat about keeping the CV data and the Commons Profile header data separate. I'm wondering whether we can just use the CV's data as the main source of data. By that I mean, if a user has filled in their CV's name, pronouns, one-line bio, social links, etc, we will display that same data in the Commons Profile header and we will not show the "Account Settings > Edit Profile" screen at all. I've already got some code for this ready to go. The code uses the <code>parse_blocks()</code> function and thanks to the placeholders in those blocks, it is possible to extract data for specific blocks from the CV.</p>
<p>If a user has not filled in their CV, for the header, we will fall back to the data that the user inputted previously during account signup or for their Public Portfolio. For these users, the "Account Settings > Edit Profile" screen will be available so that data can be edited.</p>
<p>I think this would limit the confusion of having two separate pieces of profile data. On the contrary, would users be surprised to see some of their CV data in their Commons Profile header? What does everyone think?</p> CUNY Academic Commons - Bug #18495 (Resolved): bp-nelo Accessibility Fixeshttps://redmine.gc.cuny.edu/issues/184952023-07-20T23:06:53ZRaymond Hoh
<p>Previously we did a few accessibility fixes for the homepage in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Homepage accessibility enhancements (Resolved)" href="https://redmine.gc.cuny.edu/issues/15127">#15127</a>. I'm going to do another accessibility audit across our main directory and registration pages using the WAVE acessibility tool: <a class="external" href="https://wave.webaim.org/">https://wave.webaim.org/</a></p>
<p>We have a few things to fix up.</p> CUNY Academic Commons - Bug #18118 (Resolved): Two Factor v0.8 breaks our BP Two Factor frontend ...https://redmine.gc.cuny.edu/issues/181182023-04-26T04:45:08ZRaymond Hoh
<p>I <a href="https://github.com/r-a-y/bp-two-factor/issues/1" class="external">received a report</a> that our BP Two Factor plugin is broken due to changes in the latest, major version of the core Two Factor plugin -- v0.8.0. In v0.8.0, the Two Factor plugin switched to using the WP REST API to do various save routines and removed some previous code that our BP Two Factor plugin was referencing.</p>
<p>What this means is if you go to <code>/members/USERNAME/settings/</code>, you will get a fatal error. I have <a href="https://github.com/r-a-y/bp-two-factor/compare/5b751d0...5b9a8de" class="external">committed some fixes</a> in my repo and have added them to production without committing so the user settings page will still be functioning. However, there are still some usability things I want to sort out before committing such as ensuring the TOTP checkbox is checked after successful TOTP setup and ensuring some of our custom verbiage is used. I'm looking into this.</p> CUNY Academic Commons - Bug #15408 (Resolved): Pagination broken on Sites Directoryhttps://redmine.gc.cuny.edu/issues/154082022-02-22T17:40:54ZRaymond Hoh
<p>See <a class="external" href="https://buddypress.trac.wordpress.org/ticket/8633">https://buddypress.trac.wordpress.org/ticket/8633</a>.</p>
<p>During the refactoring of BP_Blogs_Blog::get() to use an array as a function argument, this broke pagination due to the parameters not being the same.</p>
<p>I'll add the patch as a hotfix.</p> CUNY Academic Commons - Design/UX #15369 (Resolved): "Add Site Icon" overlay on Sites Directory ...https://redmine.gc.cuny.edu/issues/153692022-02-16T22:09:36ZRaymond Hoh
<p>I was thinking of an easy way to encourage site owners to add a new site icon.</p>
<p>What about adding an "Add Site Icon" overlay on the Sites Directory page for sites without a custom site icon? This overlay would only show if the current user is an administrator for the site and if the site is not connected to a group. Clicking on this icon would link directly to the site's Customizer's page to add the icon: <code>/wp-admin/customize.php?autofocus[section=title_tagline</code></p>
<p>Here's a quick mockup:</p>
<p><img src="https://i.postimg.cc/vBWcc3pp/2022-02-16-140516.png" alt="" /></p>
<p>I think this could easily go into a maintenance release. What does everyone think?</p> CUNY Academic Commons - Bug #15127 (Resolved): Homepage accessibility enhancementshttps://redmine.gc.cuny.edu/issues/151272022-01-04T02:29:15ZRaymond Hoh
<p>Matt noted in a forum post about whether the new homepage is WCAG 2.1 compatible.</p>
<p>I just did an accessibility audit and found a couple of issues:</p>
<ol>
<li>On desktop, it is not possible to use keyboard navigation to view the main nav's nested menu items. (Try using the <code>Tab</code> key to navigate under the "About" item for the main nav.)</li>
<li>We are missing some <code>role</code> and <code>aria</code> attributes for our HTML markup to make things visually and structurally better for screen readers.</li>
</ol>
<p>I've pushed some updates to a new <code>homepage-accessibility</code> branch to address these issues. (See <a class="external" href="https://github.com/cuny-academic-commons/cac/compare/3b4f0a3...1a5c9a0.">https://github.com/cuny-academic-commons/cac/compare/3b4f0a3...1a5c9a0.</a>) I've slated this for the next 1.19.1 maintenance release.</p>
<p>Other than the WP admin bar, which has some <code>tabindex</code> issues that are out of our control, we are WCAG 2.1 compatible after these changes.</p>
<p>We could do a few things better with CSS to better outline when an element is in focus, but that's not imperative.</p> CUNY Academic Commons - Bug #13966 (Resolved): Replying by email to a trashed or spammed forum to...https://redmine.gc.cuny.edu/issues/139662021-02-09T19:05:35ZRaymond Hoh
<p>So on the dev call, I thought that there was a timeout issue when parsing the RBE inbox check.</p>
<p>Turns out the problem was simpler than that! A user was replying to a trashed forum topic and that caused a fatal error due to the way RBE handles replies when a forum topic was trashed or marked as spammed.</p>
<p>Full details here: <a class="external" href="https://github.com/r-a-y/bp-reply-by-email/issues/125">https://github.com/r-a-y/bp-reply-by-email/issues/125</a></p>
<p>I initially copied the reply logic from bbPress and they also recently addressed the issue in bbPress 2.6.5: <a class="external" href="https://bbpress.trac.wordpress.org/ticket/3409">https://bbpress.trac.wordpress.org/ticket/3409</a></p> NYCDH Community Site - Maintenance #13614 (Duplicate): New version of Avadahttps://redmine.gc.cuny.edu/issues/136142020-11-24T01:40:09ZRaymond Hoh
<p>The DHWeek site on NYCDH is currently running Avada 6.1. The latest version is 7.1.</p>
<p>Just wanted to know if we have access to the latest version. If so, can someone provide me with the latest version of the theme? The theme also requires the Avada Core and Avada Builder plugins, which should come bundled with the theme or in a separate download.</p>
<p>Before upgrading, here's a list of major changes from Avada 6.2 and up:<br /><a class="external" href="https://theme-fusion.com/documentation/avada/installation-maintenance/important-update-information-archive/">https://theme-fusion.com/documentation/avada/installation-maintenance/important-update-information-archive/</a></p>
<p>This might be useful just in case anything breaks (layout-wise) and will require some attention.</p>
<p>Could hold off the upgrade until closer to DHWeek as well.</p> CUNY Academic Commons - Feature #13000 (Resolved): New accessible email subscriptions panelhttps://redmine.gc.cuny.edu/issues/130002020-06-29T23:54:13ZRaymond Hoh
<p>I was working on the subscriptions panel for the main Group Email Subscription plugin and thought it would be a nice enhancement for 1.17.</p>
<p>To summarize, the main changes are:<br />- Subscriptions panel is now accessible via keyboard and the options can be navigated by tabbing through each option. The older panel could only be accessed via a mouse click or touchscreen tap.<br />- New minimal styling.</p>
<p>Here's a GIF of the new subscriptions panel in action when navigating by keyboard:</p>
<p><img src="https://user-images.githubusercontent.com/505921/85660412-1e27b800-b6a5-11ea-9c64-34bf3a472c2b.gif" alt="" /></p>
<p>Boone, just a FYI that I'm going to add the <code>4.0.x</code> branch of the Group Email Subscription plugin to <code>1.17.x</code> branch. This means we will roll in whatever other fixes and enhancements we have for GES 4.0.x to the Commons. Let me know what you think before I merge it in. Or we can bump to another release.</p> NYCDH Community Site - Maintenance #12827 (Resolved): Events Calendar Pro and Filter Bar plugin u...https://redmine.gc.cuny.edu/issues/128272020-05-19T16:56:23ZRaymond Hoh
<p>Hi Jesse,</p>
<p>I just upgraded the regular Events Calendar plugin due to my regular updates and now the The Events Calendar is asking to update its Pro plugin to 5.1.0+ and the Filter Bar plugin to 4.10.0+ in the dashboard.</p>
<p>Can you provide the ZIP files for these plugins to me? Also, for future updates, would you prefer I hold off from updating Events Calendar until a later date or to continue asking for the latest versions as needed?</p>
<p>Thanks!</p> NYCDH Community Site - Bug #11013 (Resolved): Convert subdomain install to subdirectory installhttps://redmine.gc.cuny.edu/issues/110132019-01-25T03:02:01ZRaymond Hoh
<p>NYCDH does not have a wildcard SSL certificate, so we cannot enforce HTTPS across the entire NYCDH multisite install due to our multisite configuration using a subdomain set up.</p>
<p>Converting our multisite install from a subdomain configuration to a subdirectory one would allow us to enforce HTTPS.</p>
<p>I'll look into making this conversion some time after DH Week is completed so we won't disrupt anything.</p> CUNY Academic Commons - Bug #7825 (Rejected): WP Cron fails to spawn on productionhttps://redmine.gc.cuny.edu/issues/78252017-03-22T17:31:27ZRaymond Hoh
<p>I was checking to see if a scheduled task that I added to WP cron was there or not and it appears that WP cron doesn't appear to be working.</p>
<p>I used the following wp-cli command to see if WP cron was functioning correctly:<br /><code>wp cron test</code></p>
<p>And that throws back the following error:</p>
<p><code>Error: WP-Cron spawn failed with error: cURL error 28: Operation timed out after 3001 milliseconds with 0 out<br />of -1 bytes received</code></p>
<p>I then checked the cron schedule with:</p>
<p><code>wp cron event list</code></p>
<p>And there are a bunch of older cron events dating as far back as March 7th that haven't run. This might be the cause of other issues such as #7346. Also, I'm guessing that no one has received a daily digest since March 7th.</p>
<p>I did some brief research to see what might be causing the problem and a Github user notes that <code>commons.gc.cuny.edu</code> might not be in the HOSTS file during the cURL lookup:<br /><a class="external" href="https://github.com/Automattic/vip-quickstart/issues/421#issuecomment-91355870">https://github.com/Automattic/vip-quickstart/issues/421#issuecomment-91355870</a></p>
<p>We'd have to confirm with Lihua if that is the case or not.</p>
<p>I also just tested WP cron on the development server and it appears to be working there though.</p> CUNY Academic Commons - Bug #5313 (Resolved): Migrate over to BuddyPress 2.5 Emailshttps://redmine.gc.cuny.edu/issues/53132016-03-10T15:08:48ZRaymond Hoh
<p>Since we're scheduled to roll BuddyPress 2.5 onto the Commons on the 21st, we need to decide whether we want to keep using our existing email system (a hodgepodge of various email plugins - WP Better Emails, WP Better Emails for BuddyPress, BP Group Email Subscription, etc.) or migrate over to BuddyPress 2.5's email system.</p>
<p>For the 1.9.x milestone, we should probably just continue to use what we currently have.</p>
<p>Sometime down the road (probably the 2.0 milestone), we should migrate over to BP's email system.</p>
<p>Migrating over to BuddyPress 2.5 presents a few things that we'll need to address.</p>
<p>Here are the notables (these notes are mostly for Boone to glean over.):</p>
<ul>
<li>Making modifications to BP Group Email Subscription (GES) to support BP 2.5's email system. (I recently did something similar for the Genchem platform, so I'm a little familiar with this.). Should we also use BP's email system for GES digests?</li>
<li>Making modifications to Reply By Email to support BP 2.5's email system. (Work is pretty much completed here.)</li>
<li>Ensuring that HTML content in emails shows up (blockquotes, bold, italics, links, etc). I'm mostly only concerned with group forum emails here. If time permits, I'll also work on activity updates and private messages (these will require BP core changes).</li>
<li>Ensuring that HTML content in plain-text emails degrades well for accessibility reasons (converting over links, text emphasis, etc.)</li>
<li>Ensuring that the HTML email option under a user's "Settings > Email" page is respected. (This is a feature of the WP Better Emails for BuddyPress plugin.) Will need to do some research here.</li>
<li>Deactivate and remove WP Better Emails for BuddyPress.</li>
<li>Deactivate WP Better Emails.</li>
<li>Investigate what needs to be done with our custom "WP Better Emails for BP Groupblog" plugin (<a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: new_groupblog_post emails not being sent as HTML (Resolved)" href="https://redmine.gc.cuny.edu/issues/3219">#3219</a>). (This might not be required after modifications to GES are made.)</li>
<li>Make a decision as to whether we should use BP's default email template or use the same template we use with WP Better Emails. If we use the default BP template, we should remove the "unsubscribe" link located in the email footer.</li>
</ul>
<p>I'm probably forgetting some things, but these are the main items.</p>
<p>Placing this in the 2.0 milestone for now.</p> CUNY Academic Commons - Bug #3546 (Resolved): My Commons - New user sees all site activity for "E...https://redmine.gc.cuny.edu/issues/35462014-10-10T18:29:55ZRaymond Hoh
<p>When a new user joins the site, this user has not joined any groups, followed any sites or created any friendships.</p>
<p>Currently, on the "My Commons" page, this user sees the "Everything" and "My Sites" tabs. If the user clicks on one of these tabs, they see all site activity instead of nothing.</p>
<p>I'm going to fix this so no activity is shown and will override the default empty message to state something like:</p>
<p>"It looks like you're new here. To see some activity here, join a group (link to groups directory) , add a friend (link to members directory) or follow a site (link to sites directory)."</p>
<p>Let me know what you think.</p>