CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2021-04-02T21:34:01ZCUNY Graduate Center - Project Tracking System
Redmine CUNY Academic Commons - Bug #14276 (Deferred): Increase number of workers in Cavalcadehttps://redmine.gc.cuny.edu/issues/142762021-04-02T21:34:01ZRaymond Hoh
<p>I wanted to check in on how Cavalcade was doing since the upgrade in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: wp-ms-request-membership not added properly as a git submodule (Resolved)" href="https://redmine.gc.cuny.edu/issues/12240">#12240</a> and it looks like we are running into a backlog again.</p>
<p>Backlog was 1 hour behind, but I'm working to temporarily address this by removing some of the older items as mentioned in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: wp-ms-request-membership not added properly as a git submodule (Resolved)" href="https://redmine.gc.cuny.edu/issues/12240">#12240</a>. What this means is Cavalcade's workers cannot get through the job queue fast enough.</p>
<p>Boone, I think we might want to increase the number of workers used by Cavalcade. Currently, that number is set to 4 by default:<br /><a class="external" href="https://github.com/humanmade/Cavalcade-Runner/blob/0dfb42d505e9cd870a11366c49ee680d327c961a/inc/class-runner.php#L36">https://github.com/humanmade/Cavalcade-Runner/blob/0dfb42d505e9cd870a11366c49ee680d327c961a/inc/class-runner.php#L36</a></p>
<p>Perhaps 6 or 8 workers might be preferable. If we wanted to change this, we would need to do this at the <code>/bin/</code> script level. In the sample script provided by Cavalcade, that would be here:<br /><a class="external" href="https://github.com/humanmade/Cavalcade-Runner/blob/0dfb42d505e9cd870a11366c49ee680d327c961a/bin/cavalcade#L30">https://github.com/humanmade/Cavalcade-Runner/blob/0dfb42d505e9cd870a11366c49ee680d327c961a/bin/cavalcade#L30</a></p>
<p>The other way to address this is by patching the runner so it doesn't use the last updated <code>nextrun</code> timestamp with the interval as it does now when rescheduling jobs. See <a class="external" href="https://github.com/humanmade/Cavalcade-Runner/issues/51">https://github.com/humanmade/Cavalcade-Runner/issues/51</a>.</p>
<p>A workaround is to schedule a task to purge older <code>waiting</code> jobs that reschedule every hour or less than an hour on a daily or twice-daily basis.</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 - 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 #4083 (Resolved): My Commons: New users see empty "group joined" acti...https://redmine.gc.cuny.edu/issues/40832015-05-25T19:23:46ZRaymond Hoh
<p>When a new user joins CAC and goes to the "My Commons" page, that user will see tons of empty "group joined" activity items.</p>
<p>These are just some of the numerous examples on cdev:<br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=248113&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=248113&action=edit</a><br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224703&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224703&action=edit</a><br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224700&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224700&action=edit</a></p>
<p>The problem is because of older "group joined" activity items being recorded with the group ID of <code>0</code>. The last instance of this was over a year ago with most of them being recorded between 4-5 years ago.</p>
<p>Boone - Since the empty activity group scope relies on group ID 0, I plan on changing the group scope arguments on CAC to check for some invalid query like <code>'component = -1'</code>. Let me know if you're okay with this or if you'd rather solve this by deleting all the invalid "group joined" activity items.</p> CUNY Academic Commons - Bug #3792 (Resolved): My Commons adjustments for BuddyPress 2.2https://redmine.gc.cuny.edu/issues/37922015-02-06T20:37:10ZRaymond Hoh
<p>Right now, we're scheduled to update BuddyPress to v2.2.0 on February 21st.</p>
<p>There are some adjustments I need to make to the My Commons code so it will be compatible with BP 2.2.</p>
<p>I'll get started on these changes after the maintenance update on the 11th. Will also add this to the 1.7.13 milestone once it's been created.</p> CUNY Academic Commons - Bug #3781 (Resolved): Plain-text email formatting issueshttps://redmine.gc.cuny.edu/issues/37812015-02-02T06:13:44ZRaymond Hoh
<p>Basically the same issue as <a class="issue tracker-1 status-5 priority-5 priority-high4 closed" title="Bug: Group email plain-text formatting problem (Resolved)" href="https://redmine.gc.cuny.edu/issues/3608">#3608</a>.</p>
<p>Need to reapply hotfix for 1.7.11.</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> CUNY Academic Commons - Bug #3402 (Resolved): Clicking subnav tabs on "News" tab does not workhttps://redmine.gc.cuny.edu/issues/34022014-08-26T00:22:53ZRaymond Hoh
<p>When you're on the "News" tab and you're logged in, clicking on any of the subnav tabs (My Friends, My Groups, etc.) does nothing.</p>
<p>This is because of commit fefc5f30 to address <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Creating a Blog, Creating a Group (Resolved)" href="https://redmine.gc.cuny.edu/issues/2135">#2135</a>:<br /><a class="external" href="https://github.com/castiron/cac/commit/fefc5f308f0bb2b7be92210e0cf41a681aa3ce2c">https://github.com/castiron/cac/commit/fefc5f308f0bb2b7be92210e0cf41a681aa3ce2c</a></p>
<p>I'm going to add a fix for this in 1.7.x branch for testing on cdev in a bit.</p> CUNY Academic Commons - Bug #2263 (Resolved): Google Docs Shortcode doesn't support older present...https://redmine.gc.cuny.edu/issues/22632012-11-19T02:49:36ZRaymond Hoh
<p>As per an email convo I had with Chris, Chris <a href="http://commons.gc.cuny.edu/groups/wordpress-help/forum/topic/embedding-google-docs-presentation/" class="external">noted on CAC that older Google Doc presentations do not embed</a>.</p>
<p>Should be quite easy to support the older format.</p>
<hr />
<p>Also, Chris noted that Google has slightly changed the interface for configuring the docs. If you login to Google Docs, create a new doc and then click on "_File > Publish for the Web_". You'll notice that there is no longer a checkbox to automatically update.</p>
<p><strong>Scott:</strong> The first screenshot in the <a href="http://codex.commons.gc.cuny.edu/2012/08/12/google-docs-embed-plugin-now-available-with-commons-1-4/" class="external">codex article</a> needs to be updated.</p> CUNY Academic Commons - Bug #2054 (Resolved): Fix errors in BP External Activityhttps://redmine.gc.cuny.edu/issues/20542012-08-19T04:43:55ZRaymond Hoh
<p>See BP External Activity errors listed here:<br /><a class="external" href="http://redmine.gc.cuny.edu/issues/2046#note-6">http://redmine.gc.cuny.edu/issues/2046#note-6</a></p> CUNY Academic Commons - Bug #1856 (Resolved): .htpasswd on cdev conflicting with WP cronhttps://redmine.gc.cuny.edu/issues/18562012-04-24T18:46:13ZRaymond Hoh
<p>Since we added .htpasswd on cdev, I've noticed that Reply By Email has stopped working.</p>
<p>I believe this has something to do with how WordPress needs to use wp_remote_post() to ping the site and spawn cron. Since wp_remote_post() cannot access the site without authentication, I'll probably have to write a small override filter to bypass the arguments in wp_remote_post().</p>
<p>Boone: I've added you as a watcher. Feel free to unwatch!</p> CUNY Academic Commons - Bug #788 (Resolved): bp-nelo/functions.php - Remove redundant BP textdoma...https://redmine.gc.cuny.edu/issues/7882011-06-02T21:04:37ZRaymond Hoh
<p>In bp-nelo/functions.php, there is a redundant lookup for a BP language file that doesn't exist.</p>
<p>bp-custom.php already loads the custom BP language file for CAC.</p> CUNY Academic Commons - Bug #787 (Resolved): bp-nelo/footer.php - Remove "get_option('tn_wpmu_gog...https://redmine.gc.cuny.edu/issues/7872011-06-02T20:56:29ZRaymond Hoh
<p>In bp-nelo/footer.php, there is the following line:<br /><pre>
<?php $tn_wpmu_goggle_code = get_option('tn_wpmu_goggle_code'); echo stripslashes($tn_wpmu_goggle_code); ?>
</pre></p>
<p>I couldn't find any reference to "tn_wpmu_goggle_code" on CAC and am wondering if it is safe to remove this.</p>
<p>Even if it is relevant, this line of code should be moved above the </body> line.</p> CUNY Academic Commons - Bug #776 (Resolved): Make sure Blog Authors menu doesn't overflow off vis...https://redmine.gc.cuny.edu/issues/7762011-05-26T08:55:29ZRaymond Hoh
<p>When there are multiple authors on a CAC blog and a user hovers over the "Blog Authors" menu, the author's names are cut off.</p> CUNY Academic Commons - Bug #725 (Resolved): BP Group Email Subscription - Double notificationshttps://redmine.gc.cuny.edu/issues/7252011-04-30T03:27:44ZRaymond Hoh
<p>Initially reported by Matt here:<br /><a class="external" href="http://redmine.gc.cuny.edu/issues/show/661#note-16">http://redmine.gc.cuny.edu/issues/show/661#note-16</a></p>
<p>If you're the author of an activity update within a group and you have your group email set to "All Mail", if someone replies to your activity update you will receive two emails - one from BP Group Email subscription and one from BuddyPress.</p>
<p>A way to workaround this is to temporarily set the activity update author's "*notification_activity_new_reply*" user meta setting to "no" during the group email send.</p>
<p>Boone, do you have any other ideas?</p>